Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-6704 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-30YBw7ZLTZXi/agent.2083 SSH_AGENT_PID=2085 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_10172400919973400843.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_10172400919973400843.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5073232402847406627.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-bCSV 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-bCSV/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-bCSV/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.5 botocore==1.34.5 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.4 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.9.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins3886676543157617911.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins1980405070251318159.sh + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-london-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.5RXVxzVuxX ++ echo ROBOT_VENV=/tmp/tmp.5RXVxzVuxX +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.5RXVxzVuxX ++ source /tmp/tmp.5RXVxzVuxX/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.5RXVxzVuxX +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.5RXVxzVuxX/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.5RXVxzVuxX) ' '!=' x ']' +++ PS1='(tmp.5RXVxzVuxX) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.0 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.4 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.5RXVxzVuxX/src/onap ++ rm -rf /tmp/tmp.5RXVxzVuxX/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.9.0 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.4 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.5RXVxzVuxX/bin/activate + '[' -z /tmp/tmp.5RXVxzVuxX/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.5RXVxzVuxX/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.5RXVxzVuxX ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.5RXVxzVuxX/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.5RXVxzVuxX) ' ++ '[' 'x(tmp.5RXVxzVuxX) ' '!=' x ']' ++ PS1='(tmp.5RXVxzVuxX) (tmp.5RXVxzVuxX) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.sWMthrQMWR + cd /tmp/tmp.sWMthrQMWR + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds policy-db-migrator Up 13 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:03 up 3 min, 0 users, load average: 2.50, 1.00, 0.38 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.3 us, 2.0 sy, 0.0 ni, 83.5 id, 4.2 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS c1f923801a9b grafana 0.02% 52.9MiB / 31.41GiB 0.16% 18.2kB / 3.09kB 0B / 23.7MB 15 5ce91c4edb87 policy-api 0.11% 940.7MiB / 31.41GiB 2.92% 1.04MB / 739kB 0B / 0B 50 86877ff10778 mariadb 0.02% 100.2MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.1MB / 67.9MB 28 1f9f703dd0c3 prometheus 0.00% 18.15MiB / 31.41GiB 0.06% 782B / 0B 0B / 0B 12 + echo + cd /tmp/tmp.sWMthrQMWR + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.sWMthrQMWR/output.xml Log: /tmp/tmp.sWMthrQMWR/log.html Report: /tmp/tmp.sWMthrQMWR/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:15 up 5 min, 0 users, load average: 0.89, 0.84, 0.37 Tasks: 176 total, 2 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.6 sy, 0.0 ni, 86.2 id, 3.4 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute 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 c1f923801a9b grafana 0.02% 59.21MiB / 31.41GiB 0.18% 19.5kB / 4.42kB 0B / 23.7MB 15 5ce91c4edb87 policy-api 0.09% 979.3MiB / 31.41GiB 3.04% 7.32MB / 2.87MB 0B / 0B 52 86877ff10778 mariadb 0.02% 101MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11.1MB / 68.1MB 18 1f9f703dd0c3 prometheus 0.00% 25.23MiB / 31.41GiB 0.08% 37.5kB / 7.01kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2023-12-21T11:35:38.555773427Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2023-12-21T11:35:38.555993049Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-21T11:35:38.556003679Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-21T11:35:38.556008869Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-21T11:35:38.556012319Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-21T11:35:38.556016779Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-21T11:35:38.556020649Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-21T11:35:38.556023939Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-21T11:35:38.556027409Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-21T11:35:38.556030949Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-21T11:35:38.556034759Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-21T11:35:38.556039399Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-21T11:35:38.556042719Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-21T11:35:38.556047589Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-21T11:35:38.556050989Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-21T11:35:38.556054079Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-21T11:35:38.556057099Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-21T11:35:38.556062159Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-21T11:35:38.55606556Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-21T11:35:38.556359572Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-21T11:35:38.556379023Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-21T11:35:38.556989519Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-21T11:35:38.557868588Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-21T11:35:38.558580865Z level=info msg="Migration successfully executed" id="create migration_log table" duration=711.997µs grafana | logger=migrator t=2023-12-21T11:35:38.729390065Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-21T11:35:38.730693938Z level=info msg="Migration successfully executed" id="create user table" duration=1.304493ms grafana | logger=migrator t=2023-12-21T11:35:38.737199773Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-21T11:35:38.738695018Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.497475ms grafana | logger=migrator t=2023-12-21T11:35:38.746669208Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-21T11:35:38.747597317Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=927.869µs grafana | logger=migrator t=2023-12-21T11:35:38.750972111Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-21T11:35:38.751655668Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=682.807µs grafana | logger=migrator t=2023-12-21T11:35:38.755631288Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-21T11:35:38.756785909Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.156501ms grafana | logger=migrator t=2023-12-21T11:35:38.761425876Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-21T11:35:38.76582677Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.400264ms grafana | logger=migrator t=2023-12-21T11:35:38.769713699Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-21T11:35:38.770399226Z level=info msg="Migration successfully executed" id="create user table v2" duration=685.787µs grafana | logger=migrator t=2023-12-21T11:35:38.773657408Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-21T11:35:38.774409616Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=752.278µs grafana | logger=migrator t=2023-12-21T11:35:38.77881181Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-21T11:35:38.779978462Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.166082ms grafana | logger=migrator t=2023-12-21T11:35:38.78580257Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-21T11:35:38.786464837Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=656.997µs grafana | logger=migrator t=2023-12-21T11:35:38.789731849Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-21T11:35:38.790524607Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=792.198µs grafana | logger=migrator t=2023-12-21T11:35:38.793708099Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-21T11:35:38.79475754Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.048921ms grafana | logger=migrator t=2023-12-21T11:35:38.799449967Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-21T11:35:38.799479197Z level=info msg="Migration successfully executed" id="Update user table charset" duration=30.11µs grafana | logger=migrator t=2023-12-21T11:35:38.803649709Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-21T11:35:38.805338626Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.688337ms grafana | logger=migrator t=2023-12-21T11:35:38.808620438Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-21T11:35:38.808986822Z level=info msg="Migration successfully executed" id="Add missing user data" duration=365.734µs grafana | logger=migrator t=2023-12-21T11:35:38.812088213Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-21T11:35:38.813192294Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.104591ms grafana | logger=migrator t=2023-12-21T11:35:38.817016363Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-21T11:35:38.817875721Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=856.788µs grafana | logger=migrator t=2023-12-21T11:35:38.820597018Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-21T11:35:38.822395716Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.805608ms grafana | logger=migrator t=2023-12-21T11:35:38.82570398Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-21T11:35:38.834651799Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.94827ms grafana | logger=migrator t=2023-12-21T11:35:38.837558398Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-21T11:35:38.838069173Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=510.785µs grafana | logger=migrator t=2023-12-21T11:35:38.842343956Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-21T11:35:38.843527498Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.182992ms grafana | logger=migrator t=2023-12-21T11:35:38.847419007Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-21T11:35:38.848610219Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.190912ms grafana | logger=migrator t=2023-12-21T11:35:38.853165275Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-21T11:35:38.853931282Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=766.048µs grafana | logger=migrator t=2023-12-21T11:35:38.857414897Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-21T11:35:38.858493368Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.076931ms grafana | logger=migrator t=2023-12-21T11:35:38.862264276Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-21T11:35:38.862308146Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=36.66µs grafana | logger=migrator t=2023-12-21T11:35:38.86572174Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-21T11:35:38.86667612Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=956.23µs grafana | logger=migrator t=2023-12-21T11:35:38.945032894Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-21T11:35:38.946046925Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.014031ms grafana | logger=migrator t=2023-12-21T11:35:38.950302117Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-21T11:35:38.951295557Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=993.43µs grafana | logger=migrator t=2023-12-21T11:35:38.955306127Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-21T11:35:38.955946414Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=640.167µs grafana | logger=migrator t=2023-12-21T11:35:38.959842543Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-21T11:35:38.963842743Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.00023ms grafana | logger=migrator t=2023-12-21T11:35:38.967432619Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-21T11:35:38.968646231Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.213332ms grafana | logger=migrator t=2023-12-21T11:35:38.972109476Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-21T11:35:38.972805693Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=695.186µs grafana | logger=migrator t=2023-12-21T11:35:38.97756116Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-21T11:35:38.978324378Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=762.728µs grafana | logger=migrator t=2023-12-21T11:35:38.982753372Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-21T11:35:38.983466289Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=713.067µs grafana | logger=migrator t=2023-12-21T11:35:38.993362708Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-21T11:35:38.9945647Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.202022ms grafana | logger=migrator t=2023-12-21T11:35:39.097915293Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-21T11:35:39.098505899Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=591.126µs grafana | logger=migrator t=2023-12-21T11:35:39.105292896Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-21T11:35:39.106128354Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=835.358µs grafana | logger=migrator t=2023-12-21T11:35:39.111407487Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-21T11:35:39.111954612Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=547.065µs grafana | logger=migrator t=2023-12-21T11:35:39.11776774Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-21T11:35:39.118678119Z level=info msg="Migration successfully executed" id="create star table" duration=909.509µs grafana | logger=migrator t=2023-12-21T11:35:39.128023102Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-21T11:35:39.128767729Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=742.987µs grafana | logger=migrator t=2023-12-21T11:35:39.133177263Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-21T11:35:39.134315144Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.132922ms grafana | logger=migrator t=2023-12-21T11:35:39.141425475Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-21T11:35:39.142134182Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=708.407µs grafana | logger=migrator t=2023-12-21T11:35:39.147299523Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-21T11:35:39.148268032Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=968.109µs grafana | logger=migrator t=2023-12-21T11:35:39.151910009Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-21T11:35:39.15300638Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.096081ms grafana | logger=migrator t=2023-12-21T11:35:39.15805466Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-21T11:35:39.158835388Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=780.358µs grafana | logger=migrator t=2023-12-21T11:35:39.164197361Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-21T11:35:39.165756706Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.558625ms grafana | logger=migrator t=2023-12-21T11:35:39.172303172Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-21T11:35:39.172340652Z level=info msg="Migration successfully executed" id="Update org table charset" duration=38.77µs grafana | logger=migrator t=2023-12-21T11:35:39.177608124Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-21T11:35:39.177644194Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=45.03µs grafana | logger=migrator t=2023-12-21T11:35:39.183029918Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-21T11:35:39.183319111Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=287.683µs grafana | logger=migrator t=2023-12-21T11:35:39.188338121Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-21T11:35:39.189314001Z level=info msg="Migration successfully executed" id="create dashboard table" duration=975.629µs grafana | logger=migrator t=2023-12-21T11:35:39.194873866Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-21T11:35:39.19630887Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.435434ms grafana | logger=migrator t=2023-12-21T11:35:39.199953117Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-21T11:35:39.20128927Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.329903ms grafana | logger=migrator t=2023-12-21T11:35:39.20535439Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-21T11:35:39.206008606Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=653.986µs grafana | logger=migrator t=2023-12-21T11:35:39.215310109Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-21T11:35:39.217700633Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=2.366923ms grafana | logger=migrator t=2023-12-21T11:35:39.224987255Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-21T11:35:39.226258948Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.266372ms grafana | logger=migrator t=2023-12-21T11:35:39.229214457Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-21T11:35:39.237623671Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.406384ms grafana | logger=migrator t=2023-12-21T11:35:39.240797012Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-21T11:35:39.241467489Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=670.657µs grafana | logger=migrator t=2023-12-21T11:35:39.246869413Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-21T11:35:39.247552479Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=682.986µs grafana | logger=migrator t=2023-12-21T11:35:39.250942913Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-21T11:35:39.252085894Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.150761ms grafana | logger=migrator t=2023-12-21T11:35:39.256048304Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-21T11:35:39.256523448Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=474.995µs grafana | logger=migrator t=2023-12-21T11:35:39.259606049Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-21T11:35:39.260378537Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=772.028µs mariadb | 2023-12-21 11:35:34+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-21 11:35:34+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-21 11:35:34+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-21 11:35:34+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-21 11:35:34 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-21 11:35:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-21 11:35:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-21 11:35:36+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-21 11:35:36+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-21 11:35:36+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-21 11:35:36 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-21 11:35:36 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-21 11:35:36 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-21 11:35:36 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2023-12-21T11:35:39.264198815Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-21T11:35:39.264261396Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=63.071µs grafana | logger=migrator t=2023-12-21T11:35:39.267327886Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-21T11:35:39.269078533Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.749917ms grafana | logger=migrator t=2023-12-21T11:35:39.274580858Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-21T11:35:39.276610958Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.03499ms grafana | logger=migrator t=2023-12-21T11:35:39.286686099Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.287914751Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.228653ms grafana | logger=migrator t=2023-12-21T11:35:39.289955131Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.290452566Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=497.315µs grafana | logger=migrator t=2023-12-21T11:35:39.294453915Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.296205073Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.751108ms grafana | logger=migrator t=2023-12-21T11:35:39.299257193Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.29999292Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=735.437µs grafana | logger=migrator t=2023-12-21T11:35:39.302754038Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-21 11:35:36 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-21 11:35:36 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-21 11:35:36 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-21 11:35:36 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-21 11:35:36 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-21 11:35:36 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-21 11:35:37+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-21 11:35:39+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-21 11:35:39+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-21 11:35:39+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-21 11:35:39+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2023-12-21T11:35:39.303444465Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=690.257µs grafana | logger=migrator t=2023-12-21T11:35:39.309154892Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-21T11:35:39.309178252Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.09µs grafana | logger=migrator t=2023-12-21T11:35:39.311548065Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-21T11:35:39.311574246Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.771µs grafana | logger=migrator t=2023-12-21T11:35:39.314583165Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.316386983Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.803338ms grafana | logger=migrator t=2023-12-21T11:35:39.319390053Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.321207731Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.817258ms grafana | logger=migrator t=2023-12-21T11:35:39.325518764Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.327341692Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.822488ms grafana | logger=migrator t=2023-12-21T11:35:39.330716606Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.334019589Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.302682ms grafana | logger=migrator t=2023-12-21T11:35:39.337525993Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.337723095Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=195.782µs grafana | logger=migrator t=2023-12-21T11:35:39.342335621Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-21T11:35:39.343360141Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.02317ms grafana | logger=migrator t=2023-12-21T11:35:39.346816566Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-21T11:35:39.347971507Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.154461ms grafana | logger=migrator t=2023-12-21T11:35:39.37648218Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-21T11:35:39.376625902Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=146.032µs grafana | logger=migrator t=2023-12-21T11:35:39.4046197Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-21T11:35:39.406393878Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.774398ms grafana | logger=migrator t=2023-12-21T11:35:39.413417098Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-21T11:35:39.414069324Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=652.076µs grafana | logger=migrator t=2023-12-21T11:35:39.420200705Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-21T11:35:39.431389726Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=11.189111ms grafana | logger=migrator t=2023-12-21T11:35:39.435645799Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-21T11:35:39.436393746Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=746.537µs grafana | logger=migrator t=2023-12-21T11:35:39.443635299Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-21T11:35:39.444357186Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=722.117µs grafana | logger=migrator t=2023-12-21T11:35:39.451055082Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-21T11:35:39.4518577Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=800.738µs grafana | logger=migrator t=2023-12-21T11:35:39.457035981Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-21T11:35:39.457481956Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=435.174µs grafana | logger=migrator t=2023-12-21T11:35:39.464757198Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-21T11:35:39.4659169Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.159931ms grafana | logger=migrator t=2023-12-21T11:35:39.472252122Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-21T11:35:39.474273892Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.02152ms grafana | logger=migrator t=2023-12-21T11:35:39.481478524Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-21T11:35:39.483151371Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.671756ms grafana | logger=migrator t=2023-12-21T11:35:39.489746426Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-21T11:35:39.490188141Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=441.585µs grafana | logger=migrator t=2023-12-21T11:35:39.497825077Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-21T11:35:39.498265841Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=440.464µs grafana | logger=migrator t=2023-12-21T11:35:39.510310601Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-21T11:35:39.511719595Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.414194ms grafana | logger=migrator t=2023-12-21T11:35:39.518030757Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-21T11:35:39.521524592Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.493365ms grafana | logger=migrator t=2023-12-21T11:35:39.528663903Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-21T11:35:39.529903075Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.238772ms grafana | logger=migrator t=2023-12-21T11:35:39.539675703Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-21T11:35:39.540996506Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.320963ms grafana | logger=migrator t=2023-12-21T11:35:39.580360537Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-21T11:35:39.58172304Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.368853ms grafana | logger=migrator t=2023-12-21T11:35:39.590948112Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-21T11:35:39.592428407Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.480035ms grafana | logger=migrator t=2023-12-21T11:35:39.599675979Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-21T11:35:39.601414006Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.737947ms grafana | logger=migrator t=2023-12-21T11:35:39.606116093Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-21T11:35:39.615645908Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.530185ms grafana | logger=migrator t=2023-12-21T11:35:39.622810309Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-21T11:35:39.623729498Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=920.47µs grafana | logger=migrator t=2023-12-21T11:35:39.630109801Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-21T11:35:39.631649356Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.539035ms grafana | logger=migrator t=2023-12-21T11:35:39.641171141Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-21T11:35:39.642293262Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.118731ms grafana | logger=migrator t=2023-12-21T11:35:39.647209641Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-21T11:35:39.648213691Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=1.00878ms grafana | logger=migrator t=2023-12-21T11:35:39.656414733Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-21T11:35:39.660058749Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.643827ms grafana | logger=migrator t=2023-12-21T11:35:39.668817036Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-21T11:35:39.672849566Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.01699ms grafana | logger=migrator t=2023-12-21T11:35:39.676854906Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-21T11:35:39.676879686Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.71µs grafana | logger=migrator t=2023-12-21T11:35:39.682192729Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-21T11:35:39.682409631Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=216.452µs grafana | logger=migrator t=2023-12-21T11:35:39.686501692Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-21T11:35:39.690144388Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.617946ms grafana | logger=migrator t=2023-12-21T11:35:39.698178728Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-21T11:35:39.69842956Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=243.722µs grafana | logger=migrator t=2023-12-21T11:35:39.707767863Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-21T11:35:39.708199688Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=435.795µs grafana | logger=migrator t=2023-12-21T11:35:39.713962675Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-21T11:35:39.718141066Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.175441ms grafana | logger=migrator t=2023-12-21T11:35:39.727337878Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-21T11:35:39.727513699Z level=info msg="Migration successfully executed" id="Update uid value" duration=175.242µs grafana | logger=migrator t=2023-12-21T11:35:39.733058854Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-21T11:35:39.734442448Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.390324ms grafana | logger=migrator t=2023-12-21T11:35:39.741773871Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-21T11:35:39.743299716Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.525125ms grafana | logger=migrator t=2023-12-21T11:35:39.750954372Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-21T11:35:39.752065863Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.111161ms grafana | logger=migrator t=2023-12-21T11:35:39.759857201Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-21T11:35:39.761132853Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.279532ms grafana | logger=migrator t=2023-12-21T11:35:39.766875231Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-21T11:35:39.768245744Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.369514ms grafana | logger=migrator t=2023-12-21T11:35:39.776618848Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-21T11:35:39.777447996Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=828.878µs grafana | logger=migrator t=2023-12-21T11:35:39.786413505Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-21T11:35:39.787542866Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.129061ms grafana | logger=migrator t=2023-12-21T11:35:39.793278903Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-21T11:35:39.794546715Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.267832ms grafana | logger=migrator t=2023-12-21T11:35:39.799933509Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-21T11:35:39.801431434Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.497805ms grafana | logger=migrator t=2023-12-21T11:35:39.810346152Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-21T11:35:39.820347372Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.99761ms grafana | logger=migrator t=2023-12-21T11:35:39.827835196Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-21T11:35:39.828474363Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=639.157µs grafana | logger=migrator t=2023-12-21T11:35:39.83327472Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-21T11:35:39.834444032Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.168992ms grafana | logger=migrator t=2023-12-21T11:35:39.842531142Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-21T11:35:39.843689124Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.158112ms grafana | logger=migrator t=2023-12-21T11:35:39.850746904Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-21T11:35:39.852030287Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.282662ms grafana | logger=migrator t=2023-12-21T11:35:39.857998746Z level=info msg="Executing migration" id="copy api_key v1 to v2" 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-12-21 11:35:40+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-12-21 11:35:40 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Buffer pool(s) dump completed at 231221 11:35:40 mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Shutdown completed; log sequence number 330681; transaction id 298 mariadb | 2023-12-21 11:35:40 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-12-21 11:35:40+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-12-21 11:35:40+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-12-21 11:35:40 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-21 11:35:40 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-21 11:35:40 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-21 11:35:40 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: log sequence number 330681; transaction id 299 mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-12-21 11:35:40 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-21 11:35:40 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-21 11:35:40 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-12-21 11:35:40 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-12-21 11:35:40 0 [Note] Server socket created on IP: '::'. mariadb | 2023-12-21 11:35:40 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2023-12-21 11:35:40 0 [Note] InnoDB: Buffer pool(s) load completed at 231221 11:35:40 mariadb | 2023-12-21 11:35:41 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-12-21 11:35:41 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2023-12-21T11:35:39.858543131Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=544.005µs grafana | logger=migrator t=2023-12-21T11:35:39.862906825Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-21T11:35:39.863717863Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=811.038µs grafana | logger=migrator t=2023-12-21T11:35:39.870190497Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-21T11:35:39.870241868Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=50.731µs grafana | logger=migrator t=2023-12-21T11:35:39.879208067Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-21T11:35:39.883139106Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.930339ms grafana | logger=migrator t=2023-12-21T11:35:39.890732981Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-21T11:35:39.894087845Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.353353ms grafana | logger=migrator t=2023-12-21T11:35:39.899020704Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-21T11:35:39.899273266Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=247.532µs grafana | logger=migrator t=2023-12-21T11:35:39.905993533Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-21T11:35:39.909223545Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.228042ms grafana | logger=migrator t=2023-12-21T11:35:39.91577326Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-21T11:35:39.920308345Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.538145ms grafana | logger=migrator t=2023-12-21T11:35:39.92581339Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-21T11:35:39.926647448Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=834.778µs grafana | logger=migrator t=2023-12-21T11:35:39.936035882Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-21T11:35:39.936560827Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=524.666µs grafana | logger=migrator t=2023-12-21T11:35:39.942321454Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-21T11:35:39.943065652Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=743.437µs grafana | logger=migrator t=2023-12-21T11:35:39.950722438Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-21T11:35:39.95195067Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.219452ms grafana | logger=migrator t=2023-12-21T11:35:39.961280472Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-21T11:35:39.962446644Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.174172ms grafana | logger=migrator t=2023-12-21T11:35:39.972052939Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-21T11:35:39.973352602Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.299873ms grafana | logger=migrator t=2023-12-21T11:35:39.978752746Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-21T11:35:39.978859877Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=108.571µs grafana | logger=migrator t=2023-12-21T11:35:39.983573574Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-21T11:35:39.983620635Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=53.361µs grafana | logger=migrator t=2023-12-21T11:35:39.988907467Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-21T11:35:39.993116189Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.208122ms grafana | logger=migrator t=2023-12-21T11:35:40.001849986Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-21T11:35:40.004540162Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.689826ms grafana | logger=migrator t=2023-12-21T11:35:40.009415482Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-21T11:35:40.009477412Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.74µs grafana | logger=migrator t=2023-12-21T11:35:40.01516712Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-21T11:35:40.016404383Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.236643ms grafana | logger=migrator t=2023-12-21T11:35:40.023462665Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-21T11:35:40.024806568Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.343824ms grafana | logger=migrator t=2023-12-21T11:35:40.034426066Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-21T11:35:40.034492197Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=41.791µs grafana | logger=migrator t=2023-12-21T11:35:40.042051914Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-21T11:35:40.043281207Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.228883ms grafana | logger=migrator t=2023-12-21T11:35:40.050990225Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-21T11:35:40.052320429Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.327404ms grafana | logger=migrator t=2023-12-21T11:35:40.058135458Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-21T11:35:40.062869587Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.733349ms grafana | logger=migrator t=2023-12-21T11:35:40.070306143Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-21T11:35:40.070331443Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.19µs grafana | logger=migrator t=2023-12-21T11:35:40.080512887Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-21T11:35:40.081947311Z level=info msg="Migration successfully executed" id="create session table" duration=1.438285ms grafana | logger=migrator t=2023-12-21T11:35:40.0886659Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-21T11:35:40.088825862Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=162.352µs grafana | logger=migrator t=2023-12-21T11:35:40.093756622Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-21T11:35:40.093834383Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=81.441µs grafana | logger=migrator t=2023-12-21T11:35:40.101273768Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-21T11:35:40.102313109Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.030521ms grafana | logger=migrator t=2023-12-21T11:35:40.11027305Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-21T11:35:40.111316971Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.043591ms grafana | logger=migrator t=2023-12-21T11:35:40.116732296Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-21T11:35:40.116773566Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=37.27µs grafana | logger=migrator t=2023-12-21T11:35:40.121606996Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-21T11:35:40.121643056Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=36.97µs grafana | logger=migrator t=2023-12-21T11:35:40.126581467Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-21T11:35:40.131573228Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.991301ms grafana | logger=migrator t=2023-12-21T11:35:40.140824312Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-21T11:35:40.145568521Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.743999ms grafana | logger=migrator t=2023-12-21T11:35:40.150108157Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-21T11:35:40.150194168Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=80.211µs grafana | logger=migrator t=2023-12-21T11:35:40.154282089Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-21T11:35:40.15436564Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=84.251µs grafana | logger=migrator t=2023-12-21T11:35:40.158597293Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-21T11:35:40.159701745Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.104352ms grafana | logger=migrator t=2023-12-21T11:35:40.165685866Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-21T11:35:40.165722436Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=37.82µs grafana | logger=migrator t=2023-12-21T11:35:40.173708268Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-21T11:35:40.1788105Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.100552ms grafana | logger=migrator t=2023-12-21T11:35:40.184141964Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-21T11:35:40.184291326Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=149.162µs grafana | logger=migrator t=2023-12-21T11:35:40.191891953Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-21T11:35:40.196651662Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.754879ms grafana | logger=migrator t=2023-12-21T11:35:40.201454971Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-21T11:35:40.204511222Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.057481ms grafana | logger=migrator t=2023-12-21T11:35:40.208053838Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-21T11:35:40.208113919Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=60.531µs grafana | logger=migrator t=2023-12-21T11:35:40.21120587Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-21T11:35:40.212080989Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=874.779µs grafana | logger=migrator t=2023-12-21T11:35:40.245526521Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-21T11:35:40.246795174Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.268673ms grafana | logger=migrator t=2023-12-21T11:35:40.250528922Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-21T11:35:40.252089577Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.555715ms grafana | logger=migrator t=2023-12-21T11:35:40.256814556Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-21T11:35:40.2582053Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.390304ms grafana | logger=migrator t=2023-12-21T11:35:40.261744016Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-21T11:35:40.262544384Z level=info msg="Migration successfully executed" id="add index alert state" duration=800.158µs grafana | logger=migrator t=2023-12-21T11:35:40.265733447Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-21T11:35:40.266528285Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=794.508µs grafana | logger=migrator t=2023-12-21T11:35:40.270612506Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-21T11:35:40.271212243Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=601.987µs grafana | logger=migrator t=2023-12-21T11:35:40.274420805Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-21T11:35:40.275337275Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=916.05µs grafana | logger=migrator t=2023-12-21T11:35:40.278871021Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-21T11:35:40.280099484Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.228203ms grafana | logger=migrator t=2023-12-21T11:35:40.284966143Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-21T11:35:40.297719782Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.753769ms grafana | logger=migrator t=2023-12-21T11:35:40.301140277Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-21T11:35:40.301584712Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=444.415µs grafana | logger=migrator t=2023-12-21T11:35:40.304149078Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-12-21T11:35:40.304972656Z 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=823.268µs grafana | logger=migrator t=2023-12-21T11:35:40.309089838Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-21T11:35:40.309355521Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=263.473µs grafana | logger=migrator t=2023-12-21T11:35:40.312344951Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-21T11:35:40.312826906Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=481.815µs grafana | logger=migrator t=2023-12-21T11:35:40.315889288Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-21T11:35:40.316536744Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=647.156µs grafana | logger=migrator t=2023-12-21T11:35:40.320600276Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-21T11:35:40.325997291Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.396505ms grafana | logger=migrator t=2023-12-21T11:35:40.329381415Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-21T11:35:40.33281053Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.428695ms grafana | logger=migrator t=2023-12-21T11:35:40.336219235Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-21T11:35:40.33958653Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.365085ms grafana | logger=migrator t=2023-12-21T11:35:40.343845143Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-21T11:35:40.347235438Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.389835ms grafana | logger=migrator t=2023-12-21T11:35:40.350678012Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-21T11:35:40.351537141Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=860.419µs grafana | logger=migrator t=2023-12-21T11:35:40.355198449Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-21T11:35:40.355221899Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=24.24µs grafana | logger=migrator t=2023-12-21T11:35:40.358590113Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-21T11:35:40.358613774Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.481µs grafana | logger=migrator t=2023-12-21T11:35:40.362789866Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-21T11:35:40.363983838Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.193612ms grafana | logger=migrator t=2023-12-21T11:35:40.367363353Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-21T11:35:40.368756197Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.383384ms grafana | logger=migrator t=2023-12-21T11:35:40.372528396Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-21T11:35:40.373198783Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=670.077µs grafana | logger=migrator t=2023-12-21T11:35:40.377345625Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-21T11:35:40.378018252Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=672.567µs grafana | logger=migrator t=2023-12-21T11:35:40.381193134Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-21T11:35:40.382538868Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.345184ms grafana | logger=migrator t=2023-12-21T11:35:40.386454478Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-21T11:35:40.390460848Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.00466ms grafana | logger=migrator t=2023-12-21T11:35:40.393655001Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-21T11:35:40.397201367Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.543706ms grafana | logger=migrator t=2023-12-21T11:35:40.400546252Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-21T11:35:40.400717153Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=170.951µs grafana | logger=migrator t=2023-12-21T11:35:40.408313741Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-21T11:35:40.409112599Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=798.628µs grafana | logger=migrator t=2023-12-21T11:35:40.418568315Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-21T11:35:40.419848289Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.279714ms grafana | logger=migrator t=2023-12-21T11:35:40.427665048Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-21T11:35:40.433359706Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.693168ms grafana | logger=migrator t=2023-12-21T11:35:40.441402198Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-21T11:35:40.441467659Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=65.971µs grafana | logger=migrator t=2023-12-21T11:35:40.447279288Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-21T11:35:40.448581772Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.302244ms grafana | logger=migrator t=2023-12-21T11:35:40.459515453Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-21T11:35:40.460882327Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.366814ms grafana | logger=migrator t=2023-12-21T11:35:40.469642126Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-21T11:35:40.469771858Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=130.432µs grafana | logger=migrator t=2023-12-21T11:35:40.477497777Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-21T11:35:40.478671599Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.173542ms grafana | logger=migrator t=2023-12-21T11:35:40.516751067Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-21T11:35:40.518125261Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.377024ms grafana | logger=migrator t=2023-12-21T11:35:40.52290587Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-21T11:35:40.523756789Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=850.799µs grafana | logger=migrator t=2023-12-21T11:35:40.528894661Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-21T11:35:40.530240235Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.344874ms grafana | logger=migrator t=2023-12-21T11:35:40.534288006Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-21T11:35:40.535749691Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.461235ms grafana | logger=migrator t=2023-12-21T11:35:40.540376848Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-21T11:35:40.541943764Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.567186ms grafana | logger=migrator t=2023-12-21T11:35:40.547757374Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-21T11:35:40.547782554Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=25.76µs grafana | logger=migrator t=2023-12-21T11:35:40.550645113Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.554539503Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.89166ms grafana | logger=migrator t=2023-12-21T11:35:40.558941178Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-21T11:35:40.559837107Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=895.699µs grafana | logger=migrator t=2023-12-21T11:35:40.564833328Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.57086159Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.027822ms grafana | logger=migrator t=2023-12-21T11:35:40.57486291Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-21T11:35:40.575492467Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=629.497µs grafana | logger=migrator t=2023-12-21T11:35:40.579596509Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-21T11:35:40.580439517Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=836.748µs grafana | logger=migrator t=2023-12-21T11:35:40.583714551Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-21T11:35:40.585102155Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.387384ms grafana | logger=migrator t=2023-12-21T11:35:40.588470689Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-21T11:35:40.603906907Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.437538ms grafana | logger=migrator t=2023-12-21T11:35:40.608386123Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-21T11:35:40.609034869Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=651.996µs grafana | logger=migrator t=2023-12-21T11:35:40.612642926Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-12-21T11:35:40.613468874Z 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=825.478µs grafana | logger=migrator t=2023-12-21T11:35:40.618057701Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-21T11:35:40.618470165Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=412.454µs grafana | logger=migrator t=2023-12-21T11:35:40.622458016Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-12-21T11:35:40.623279554Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=818.248µs grafana | logger=migrator t=2023-12-21T11:35:40.635057655Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-21T11:35:40.635339468Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=282.253µs grafana | logger=migrator t=2023-12-21T11:35:40.639307658Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.645542182Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.234324ms grafana | logger=migrator t=2023-12-21T11:35:40.649417491Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.65228473Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.866969ms grafana | logger=migrator t=2023-12-21T11:35:40.65807419Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.658983169Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=914.209µs grafana | logger=migrator t=2023-12-21T11:35:40.664349224Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.665774748Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.427474ms grafana | logger=migrator t=2023-12-21T11:35:40.670418136Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-21T11:35:40.67087398Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=449.465µs grafana | logger=migrator t=2023-12-21T11:35:40.676526168Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-21T11:35:40.68060048Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.074102ms grafana | logger=migrator t=2023-12-21T11:35:40.685067505Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-21T11:35:40.685983524Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=915.659µs grafana | logger=migrator t=2023-12-21T11:35:40.690282388Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-21T11:35:40.69044258Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=160.502µs grafana | logger=migrator t=2023-12-21T11:35:40.695587872Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-21T11:35:40.69628538Z level=info msg="Migration successfully executed" id="Move region to single row" duration=696.048µs grafana | logger=migrator t=2023-12-21T11:35:40.700750065Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.702101589Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.351564ms grafana | logger=migrator t=2023-12-21T11:35:40.707910108Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.708781867Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=871.419µs grafana | logger=migrator t=2023-12-21T11:35:40.714560216Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.716108592Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.548006ms grafana | logger=migrator t=2023-12-21T11:35:40.721114403Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.722040012Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=925.159µs grafana | logger=migrator t=2023-12-21T11:35:40.728426548Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.729800672Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.373704ms grafana | logger=migrator t=2023-12-21T11:35:40.735642641Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-21T11:35:40.737055956Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.418275ms grafana | logger=migrator t=2023-12-21T11:35:40.742791794Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-21T11:35:40.742891315Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=95.121µs grafana | logger=migrator t=2023-12-21T11:35:40.748983077Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-21T11:35:40.749764515Z level=info msg="Migration successfully executed" id="create test_data table" duration=783.228µs grafana | logger=migrator t=2023-12-21T11:35:40.757912859Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-21T11:35:40.759156471Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.242863ms grafana | logger=migrator t=2023-12-21T11:35:40.763546696Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-21T11:35:40.765051541Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.504875ms grafana | logger=migrator t=2023-12-21T11:35:40.770680949Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-21T11:35:40.771690209Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.00864ms grafana | logger=migrator t=2023-12-21T11:35:40.777974113Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-21T11:35:40.778399638Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=420.065µs grafana | logger=migrator t=2023-12-21T11:35:40.78353056Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-21T11:35:40.784230647Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=700.167µs grafana | logger=migrator t=2023-12-21T11:35:40.787757093Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-12-21T11:35:40.787839944Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=82.321µs grafana | logger=migrator t=2023-12-21T11:35:40.792076937Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-21T11:35:40.792826405Z level=info msg="Migration successfully executed" id="create team table" duration=749.128µs grafana | logger=migrator t=2023-12-21T11:35:40.797308421Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-21T11:35:40.798879627Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.563496ms grafana | logger=migrator t=2023-12-21T11:35:40.804560985Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-21T11:35:40.806013269Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.452164ms grafana | logger=migrator t=2023-12-21T11:35:40.810189072Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-21T11:35:40.815697118Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.509036ms grafana | logger=migrator t=2023-12-21T11:35:40.824469848Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-21T11:35:40.82470285Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=232.272µs grafana | logger=migrator t=2023-12-21T11:35:40.832696182Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-21T11:35:40.833720822Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.02449ms grafana | logger=migrator t=2023-12-21T11:35:40.839284579Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-21T11:35:40.840087817Z level=info msg="Migration successfully executed" id="create team member table" duration=805.058µs grafana | logger=migrator t=2023-12-21T11:35:40.844166039Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-21T11:35:40.845348441Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.181242ms grafana | logger=migrator t=2023-12-21T11:35:40.848605884Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-21T11:35:40.850095839Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.496445ms grafana | logger=migrator t=2023-12-21T11:35:40.853416443Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-21T11:35:40.854355413Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=938.95µs grafana | logger=migrator t=2023-12-21T11:35:40.858244762Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-21T11:35:40.862739398Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.494276ms grafana | logger=migrator t=2023-12-21T11:35:40.865573697Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-21T11:35:40.869996892Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.422655ms grafana | logger=migrator t=2023-12-21T11:35:40.873104214Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-21T11:35:40.87759364Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.484116ms grafana | logger=migrator t=2023-12-21T11:35:40.880699162Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-21T11:35:40.88152317Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=824.108µs grafana | logger=migrator t=2023-12-21T11:35:40.925265656Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-21T11:35:40.92662365Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.357414ms grafana | logger=migrator t=2023-12-21T11:35:40.93049789Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-21T11:35:40.932133717Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.634736ms grafana | logger=migrator t=2023-12-21T11:35:40.936819664Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-21T11:35:40.937746794Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=927.02µs grafana | logger=migrator t=2023-12-21T11:35:40.940997877Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-21T11:35:40.941840946Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=842.829µs grafana | logger=migrator t=2023-12-21T11:35:40.944939017Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-21T11:35:40.946004808Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=845.479µs grafana | logger=migrator t=2023-12-21T11:35:40.953507435Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-21T11:35:40.954546315Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.04039ms grafana | logger=migrator t=2023-12-21T11:35:40.957420955Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-21T11:35:40.958404055Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=982.85µs grafana | logger=migrator t=2023-12-21T11:35:40.961447356Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-21T11:35:40.962029292Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=581.506µs grafana | logger=migrator t=2023-12-21T11:35:40.964408636Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-21T11:35:40.964732159Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=322.633µs grafana | logger=migrator t=2023-12-21T11:35:40.967783471Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-21T11:35:40.968962203Z level=info msg="Migration successfully executed" id="create tag table" duration=1.177941ms grafana | logger=migrator t=2023-12-21T11:35:40.972448998Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-21T11:35:40.974005104Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.555406ms grafana | logger=migrator t=2023-12-21T11:35:40.977357498Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-21T11:35:40.978130006Z level=info msg="Migration successfully executed" id="create login attempt table" duration=768.948µs grafana | logger=migrator t=2023-12-21T11:35:40.981533991Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-12-21T11:35:40.982504241Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=970.15µs grafana | logger=migrator t=2023-12-21T11:35:40.985519021Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-21T11:35:40.986477871Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=958.72µs grafana | logger=migrator t=2023-12-21T11:35:40.989486442Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-21T11:35:41.00694048Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.456268ms grafana | logger=migrator t=2023-12-21T11:35:41.009881994Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-21T11:35:41.010464511Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=579.687µs grafana | logger=migrator t=2023-12-21T11:35:41.013421676Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-21T11:35:41.014120865Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=699.169µs grafana | logger=migrator t=2023-12-21T11:35:41.016920848Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-21T11:35:41.017522595Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=600.947µs grafana | logger=migrator t=2023-12-21T11:35:41.020740454Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-21T11:35:41.021807586Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.066692ms grafana | logger=migrator t=2023-12-21T11:35:41.024924964Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-21T11:35:41.025735493Z level=info msg="Migration successfully executed" id="create user auth table" duration=809.929µs grafana | logger=migrator t=2023-12-21T11:35:41.028609318Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-21T11:35:41.02959074Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=981.192µs grafana | logger=migrator t=2023-12-21T11:35:41.032403213Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-21T11:35:41.032579115Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=175.572µs grafana | logger=migrator t=2023-12-21T11:35:41.03552805Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-21T11:35:41.040656262Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.127602ms grafana | logger=migrator t=2023-12-21T11:35:41.04380395Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-21T11:35:41.048798809Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.994429ms grafana | logger=migrator t=2023-12-21T11:35:41.051766035Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-21T11:35:41.056813915Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.04575ms grafana | logger=migrator t=2023-12-21T11:35:41.060110914Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-21T11:35:41.065092194Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.98061ms grafana | logger=migrator t=2023-12-21T11:35:41.068341073Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-21T11:35:41.069316305Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=975.002µs grafana | logger=migrator t=2023-12-21T11:35:41.07221637Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-21T11:35:41.077391631Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.174391ms grafana | logger=migrator t=2023-12-21T11:35:41.080364257Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-21T11:35:41.081336259Z level=info msg="Migration successfully executed" id="create server_lock table" duration=971.182µs grafana | logger=migrator t=2023-12-21T11:35:41.084479256Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-21T11:35:41.085475788Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=996.482µs grafana | logger=migrator t=2023-12-21T11:35:41.088573545Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-21T11:35:41.089425665Z level=info msg="Migration successfully executed" id="create user auth token table" duration=851.43µs grafana | logger=migrator t=2023-12-21T11:35:41.092730475Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-21T11:35:41.093726847Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=996.192µs grafana | logger=migrator t=2023-12-21T11:35:41.09814724Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-21T11:35:41.099153012Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.005532ms grafana | logger=migrator t=2023-12-21T11:35:41.102184898Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-21T11:35:41.103267911Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.082523ms grafana | logger=migrator t=2023-12-21T11:35:41.106449289Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-21T11:35:41.111774713Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.324994ms grafana | logger=migrator t=2023-12-21T11:35:41.114985731Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-21T11:35:41.116062174Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.076153ms grafana | logger=migrator t=2023-12-21T11:35:41.119284113Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-21T11:35:41.120190903Z level=info msg="Migration successfully executed" id="create cache_data table" duration=906.29µs grafana | logger=migrator t=2023-12-21T11:35:41.123493553Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-21T11:35:41.124556066Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.062233ms grafana | logger=migrator t=2023-12-21T11:35:41.127743054Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-12-21T11:35:41.128663325Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=919.691µs grafana | logger=migrator t=2023-12-21T11:35:41.131716401Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-21T11:35:41.132744794Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.028263ms grafana | logger=migrator t=2023-12-21T11:35:41.135581147Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-21T11:35:41.13580868Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=204.643µs grafana | logger=migrator t=2023-12-21T11:35:41.138657324Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-21T11:35:41.138851977Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=193.863µs grafana | logger=migrator t=2023-12-21T11:35:41.141751061Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-21T11:35:41.142662572Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=911.001µs grafana | logger=migrator t=2023-12-21T11:35:41.146066223Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-21T11:35:41.147086005Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.018402ms grafana | logger=migrator t=2023-12-21T11:35:41.150227293Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-21T11:35:41.151257705Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.031412ms grafana | logger=migrator t=2023-12-21T11:35:41.154349832Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-21T11:35:41.154527434Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=176.932µs grafana | logger=migrator t=2023-12-21T11:35:41.157829324Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-21T11:35:41.158848306Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.018722ms grafana | logger=migrator t=2023-12-21T11:35:41.16253792Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-21T11:35:41.163515652Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=978.262µs grafana | logger=migrator t=2023-12-21T11:35:41.166770881Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-21T11:35:41.167891974Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.119943ms grafana | logger=migrator t=2023-12-21T11:35:41.171112503Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-21T11:35:41.172187516Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.074413ms grafana | logger=migrator t=2023-12-21T11:35:41.175211042Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:41.18092108Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.709448ms grafana | logger=migrator t=2023-12-21T11:35:41.184041947Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-21T11:35:41.185002589Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=960.082µs grafana | logger=migrator t=2023-12-21T11:35:41.188073836Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-21T11:35:41.188282168Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=206.412µs grafana | logger=migrator t=2023-12-21T11:35:41.191693409Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-21T11:35:41.19264661Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=954.361µs grafana | logger=migrator t=2023-12-21T11:35:41.196434946Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-12-21T11:35:41.197462078Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.026752ms grafana | logger=migrator t=2023-12-21T11:35:41.200475914Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-12-21T11:35:41.201521186Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.043682ms grafana | logger=migrator t=2023-12-21T11:35:41.204698974Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-21T11:35:41.204872566Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=173.182µs grafana | logger=migrator t=2023-12-21T11:35:41.207900323Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-21T11:35:41.208854584Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=952.781µs grafana | logger=migrator t=2023-12-21T11:35:41.211949851Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-21T11:35:41.212858672Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=906.101µs grafana | logger=migrator t=2023-12-21T11:35:41.21606751Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-12-21T11:35:41.217099953Z 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.031373ms grafana | logger=migrator t=2023-12-21T11:35:41.219835576Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-21T11:35:41.220856888Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.021162ms grafana | logger=migrator t=2023-12-21T11:35:41.224257728Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-21T11:35:41.230028668Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.77049ms grafana | logger=migrator t=2023-12-21T11:35:41.233782232Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-21T11:35:41.234772454Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=989.992µs grafana | logger=migrator t=2023-12-21T11:35:41.238015303Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-21T11:35:41.239252798Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.238775ms grafana | logger=migrator t=2023-12-21T11:35:41.243360647Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-21T11:35:41.283495067Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=40.13434ms grafana | logger=migrator t=2023-12-21T11:35:41.287139731Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-21T11:35:41.32221295Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.072589ms grafana | logger=migrator t=2023-12-21T11:35:41.328789209Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-21T11:35:41.329884842Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.095013ms grafana | logger=migrator t=2023-12-21T11:35:41.333316173Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-21T11:35:41.334399656Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.082993ms grafana | logger=migrator t=2023-12-21T11:35:41.337746186Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-21T11:35:41.343358253Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.611687ms grafana | logger=migrator t=2023-12-21T11:35:41.346555261Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-21T11:35:41.347484083Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=928.731µs grafana | logger=migrator t=2023-12-21T11:35:41.352126068Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-21T11:35:41.353673757Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.546039ms grafana | logger=migrator t=2023-12-21T11:35:41.357043177Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-21T11:35:41.358889789Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.846432ms grafana | logger=migrator t=2023-12-21T11:35:41.361991616Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-21T11:35:41.36317862Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.154634ms grafana | logger=migrator t=2023-12-21T11:35:41.366264357Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-21T11:35:41.36644883Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=184.073µs grafana | logger=migrator t=2023-12-21T11:35:41.369906091Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-21T11:35:41.375874752Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.968151ms grafana | logger=migrator t=2023-12-21T11:35:41.379140351Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-21T11:35:41.385244485Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.103914ms grafana | logger=migrator t=2023-12-21T11:35:41.388520164Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-21T11:35:41.394600667Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.078093ms grafana | logger=migrator t=2023-12-21T11:35:41.397801875Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-21T11:35:41.398773806Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=971.711µs grafana | logger=migrator t=2023-12-21T11:35:41.401721711Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-21T11:35:41.402798784Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.076713ms grafana | logger=migrator t=2023-12-21T11:35:41.405627148Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-21T11:35:41.411737341Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.109523ms grafana | logger=migrator t=2023-12-21T11:35:41.415025671Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-21T11:35:41.421193145Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.166803ms grafana | logger=migrator t=2023-12-21T11:35:41.425474426Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-12-21T11:35:41.426556029Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.114724ms grafana | logger=migrator t=2023-12-21T11:35:41.429881999Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-21T11:35:41.435927161Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.044832ms grafana | logger=migrator t=2023-12-21T11:35:41.43922135Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-21T11:35:41.445243162Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.021222ms grafana | logger=migrator t=2023-12-21T11:35:41.44924297Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-21T11:35:41.449418382Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=174.882µs grafana | logger=migrator t=2023-12-21T11:35:41.452054764Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-21T11:35:41.453077896Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.024492ms grafana | logger=migrator t=2023-12-21T11:35:41.456424486Z 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-12-21T11:35:41.457542279Z 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.117313ms grafana | logger=migrator t=2023-12-21T11:35:41.461262704Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-12-21T11:35:41.462430538Z 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.167614ms grafana | logger=migrator t=2023-12-21T11:35:41.465507075Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-21T11:35:41.465682757Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=175.122µs grafana | logger=migrator t=2023-12-21T11:35:41.467923803Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-21T11:35:41.474109378Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.185195ms grafana | logger=migrator t=2023-12-21T11:35:41.477886973Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-21T11:35:41.484180178Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.292535ms grafana | logger=migrator t=2023-12-21T11:35:41.487153824Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-21T11:35:41.493406999Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.250875ms grafana | logger=migrator t=2023-12-21T11:35:41.496664538Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-21T11:35:41.502819461Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.153944ms grafana | logger=migrator t=2023-12-21T11:35:41.507362855Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-21T11:35:41.517346435Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.9865ms grafana | logger=migrator t=2023-12-21T11:35:41.521490894Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-21T11:35:41.521628156Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=138.062µs grafana | logger=migrator t=2023-12-21T11:35:41.527158352Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-21T11:35:41.528468628Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.309336ms grafana | logger=migrator t=2023-12-21T11:35:41.533966684Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-21T11:35:41.540166788Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.199144ms grafana | logger=migrator t=2023-12-21T11:35:41.544182186Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-21T11:35:41.544367258Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=184.902µs grafana | logger=migrator t=2023-12-21T11:35:41.547453885Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-21T11:35:41.553910402Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.456187ms grafana | logger=migrator t=2023-12-21T11:35:41.593435585Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-21T11:35:41.595167366Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.731661ms grafana | logger=migrator t=2023-12-21T11:35:41.601668804Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-21T11:35:41.607982179Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.311255ms grafana | logger=migrator t=2023-12-21T11:35:41.614214564Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-21T11:35:41.615001583Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=786.479µs grafana | logger=migrator t=2023-12-21T11:35:41.618223852Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-21T11:35:41.619598558Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.373526ms grafana | logger=migrator t=2023-12-21T11:35:41.626238158Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-21T11:35:41.633687167Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.449639ms grafana | logger=migrator t=2023-12-21T11:35:41.637210139Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-21T11:35:41.637999998Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=789.109µs grafana | logger=migrator t=2023-12-21T11:35:41.641310718Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-21T11:35:41.642388001Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.077073ms grafana | logger=migrator t=2023-12-21T11:35:41.649189632Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-21T11:35:41.650092543Z level=info msg="Migration successfully executed" id="create alert_image table" duration=902.451µs grafana | logger=migrator t=2023-12-21T11:35:41.653423233Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-21T11:35:41.654468735Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.045472ms grafana | logger=migrator t=2023-12-21T11:35:41.659726578Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-21T11:35:41.65990545Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=178.912µs grafana | logger=migrator t=2023-12-21T11:35:41.667874836Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-21T11:35:41.669516515Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.641079ms grafana | logger=migrator t=2023-12-21T11:35:41.674548115Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-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-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-12-21T11:35:49.705+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 34 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-21T11:35:49.707+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-21T11:35:50.990+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-21T11:35:51.077+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 74 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-21T11:35:52.173+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-21T11:35:52.186+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-21T11:35:52.186+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-21T11:35:52.186+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-12-21T11:35:52.262+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-21T11:35:52.263+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2499 ms policy-api | [2023-12-21T11:35:52.717+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-21T11:35:52.786+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-12-21T11:35:53.060+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-12-21T11:35:53.203+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2023-12-21T11:35:41.676292666Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.743811ms grafana | logger=migrator t=2023-12-21T11:35:41.683426752Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-21T11:35:41.683932598Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-21T11:35:41.722984415Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-21T11:35:41.723750454Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=765.429µs grafana | logger=migrator t=2023-12-21T11:35:41.743083376Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-21T11:35:41.744854047Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.771901ms grafana | logger=migrator t=2023-12-21T11:35:41.784099196Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-21T11:35:41.795342401Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=11.242245ms grafana | logger=migrator t=2023-12-21T11:35:41.826528784Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-21T11:35:41.828046562Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.517898ms grafana | logger=migrator t=2023-12-21T11:35:41.856490312Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-21T11:35:41.858721069Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.231107ms grafana | logger=migrator t=2023-12-21T11:35:41.863631628Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-21T11:35:41.865065095Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.435268ms grafana | logger=migrator t=2023-12-21T11:35:41.871817836Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-21T11:35:41.873737188Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.918882ms grafana | logger=migrator t=2023-12-21T11:35:41.87883136Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-21T11:35:41.879977653Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.140823ms grafana | logger=migrator t=2023-12-21T11:35:41.885623961Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-21T11:35:41.885871864Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=251.623µs grafana | logger=migrator t=2023-12-21T11:35:41.893283122Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-21T11:35:41.893459865Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=176.503µs grafana | logger=migrator t=2023-12-21T11:35:41.897371611Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-21T11:35:41.897738946Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=367.405µs grafana | logger=migrator t=2023-12-21T11:35:41.901368459Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-21T11:35:41.902397152Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.029173ms grafana | logger=migrator t=2023-12-21T11:35:41.905861053Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-21T11:35:41.906679903Z level=info msg="Migration successfully executed" id="create secrets table" duration=818.33µs grafana | logger=migrator t=2023-12-21T11:35:41.910881033Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-21T11:35:41.960160073Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.278629ms grafana | logger=migrator t=2023-12-21T11:35:41.965127402Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-21T11:35:41.97251175Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.384768ms grafana | logger=migrator t=2023-12-21T11:35:41.977304058Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-21T11:35:41.977552641Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=246.412µs grafana | logger=migrator t=2023-12-21T11:35:41.984491174Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-21T11:35:42.033102705Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=48.611751ms grafana | logger=migrator t=2023-12-21T11:35:42.039262898Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-21T11:35:42.089819203Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=50.554405ms grafana | logger=migrator t=2023-12-21T11:35:42.094237436Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-21T11:35:42.094868453Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=630.517µs grafana | logger=migrator t=2023-12-21T11:35:42.09960374Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-21T11:35:42.100753543Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.149063ms grafana | logger=migrator t=2023-12-21T11:35:42.104598589Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-21T11:35:42.104911933Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=313.154µs grafana | logger=migrator t=2023-12-21T11:35:42.112902559Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-21T11:35:42.113780249Z level=info msg="Migration successfully executed" id="create permission table" duration=877.22µs grafana | logger=migrator t=2023-12-21T11:35:42.124385426Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-21T11:35:42.126095266Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.71298ms grafana | logger=migrator t=2023-12-21T11:35:42.130883523Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.132744206Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.860333ms grafana | logger=migrator t=2023-12-21T11:35:42.137607114Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-21T11:35:42.138454414Z level=info msg="Migration successfully executed" id="create role table" duration=847.78µs grafana | logger=migrator t=2023-12-21T11:35:42.142421581Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-21T11:35:42.150190094Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.766053ms grafana | logger=migrator t=2023-12-21T11:35:42.156007604Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-21T11:35:42.161263837Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.255833ms grafana | logger=migrator t=2023-12-21T11:35:42.164438935Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-21T11:35:42.165540438Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.101443ms grafana | logger=migrator t=2023-12-21T11:35:42.170234884Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-21T11:35:42.1723803Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=2.144755ms grafana | logger=migrator t=2023-12-21T11:35:42.178206359Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-21T11:35:42.179881169Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.67337ms grafana | logger=migrator t=2023-12-21T11:35:42.185727949Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-21T11:35:42.187146056Z level=info msg="Migration successfully executed" id="create team role table" duration=1.411427ms grafana | logger=migrator t=2023-12-21T11:35:42.193239729Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-21T11:35:42.195089771Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.850082ms grafana | logger=migrator t=2023-12-21T11:35:42.199993899Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-21T11:35:42.201554568Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.561479ms grafana | logger=migrator t=2023-12-21T11:35:42.205461245Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-21T11:35:42.206577628Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.116403ms grafana | logger=migrator t=2023-12-21T11:35:42.210702077Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-21T11:35:42.212096774Z level=info msg="Migration successfully executed" id="create user role table" duration=1.393957ms grafana | logger=migrator t=2023-12-21T11:35:42.219810686Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-21T11:35:42.221577567Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.763391ms grafana | logger=migrator t=2023-12-21T11:35:42.226700598Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-21T11:35:42.228627672Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.925854ms grafana | logger=migrator t=2023-12-21T11:35:42.282627677Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-21T11:35:42.284461749Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.834502ms grafana | logger=migrator t=2023-12-21T11:35:42.290117016Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-21T11:35:42.291003017Z level=info msg="Migration successfully executed" id="create builtin role table" duration=885.441µs grafana | logger=migrator t=2023-12-21T11:35:42.295003995Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-21T11:35:42.297004839Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.000224ms grafana | logger=migrator t=2023-12-21T11:35:42.302064209Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-21T11:35:42.303228933Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.164734ms grafana | logger=migrator t=2023-12-21T11:35:42.309424277Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-21T11:35:42.317883268Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.458511ms grafana | logger=migrator t=2023-12-21T11:35:42.322306511Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-21T11:35:42.323602587Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.295505ms grafana | logger=migrator t=2023-12-21T11:35:42.326819035Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-21T11:35:42.32803749Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.215995ms grafana | logger=migrator t=2023-12-21T11:35:42.332327051Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-21T11:35:42.333487635Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.162404ms grafana | logger=migrator t=2023-12-21T11:35:42.338884289Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-21T11:35:42.340147464Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.262685ms grafana | logger=migrator t=2023-12-21T11:35:42.34816503Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-21T11:35:42.349033261Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=867.781µs grafana | logger=migrator t=2023-12-21T11:35:42.354046301Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-21T11:35:42.355844052Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.797521ms grafana | logger=migrator t=2023-12-21T11:35:42.360854212Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-21T11:35:42.371246246Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.466444ms grafana | logger=migrator t=2023-12-21T11:35:42.375657949Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-21T11:35:42.38495214Z level=info msg="Migration successfully executed" id="permission kind migration" duration=9.295741ms grafana | logger=migrator t=2023-12-21T11:35:42.3883035Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-21T11:35:42.393969848Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.664938ms grafana | logger=migrator t=2023-12-21T11:35:42.397643832Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-21T11:35:42.407898434Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=10.254313ms grafana | logger=migrator t=2023-12-21T11:35:42.412176415Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-21T11:35:42.413741914Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.564459ms grafana | logger=migrator t=2023-12-21T11:35:42.421609918Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-21T11:35:42.422683271Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.073013ms grafana | logger=migrator t=2023-12-21T11:35:42.427027183Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-21T11:35:42.428254937Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.228394ms grafana | logger=migrator t=2023-12-21T11:35:42.433075315Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-21T11:35:42.433143436Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=71.511µs grafana | logger=migrator t=2023-12-21T11:35:42.43853779Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-21T11:35:42.438603651Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=66.891µs grafana | logger=migrator t=2023-12-21T11:35:42.441949361Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-21T11:35:42.442593059Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=643.958µs grafana | logger=migrator t=2023-12-21T11:35:42.445896928Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-21T11:35:42.446428574Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=532.596µs grafana | logger=migrator t=2023-12-21T11:35:42.45026257Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-21T11:35:42.450882548Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=620.198µs grafana | logger=migrator t=2023-12-21T11:35:42.45690025Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-21T11:35:42.457091942Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=194.952µs 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-api | [2023-12-21T11:35:53.300+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-21T11:35:53.326+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-12-21T11:35:54.686+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-12-21T11:35:54.702+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-21T11:35:55.770+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-21T11:35:56.501+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-21T11:35:57.590+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@359ae83a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4fddd42b, org.springframework.security.web.context.SecurityContextPersistenceFilter@4d19ddeb, org.springframework.security.web.header.HeaderWriterFilter@b1fccca, org.springframework.security.web.authentication.logout.LogoutFilter@5bee88e3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@65ff1e6d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@625439ba, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2416378c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7473cf13, org.springframework.security.web.session.SessionManagementFilter@190a5f74, org.springframework.security.web.access.ExceptionTranslationFilter@9af2a00, org.springframework.security.web.access.intercept.AuthorizationFilter@66abb7d4] policy-api | [2023-12-21T11:35:57.727+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-12-21T11:36:00.746+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-21T11:36:00.770+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-21T11:36:00.804+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-21T11:36:00.821+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.999 seconds (JVM running for 12.574) policy-api | [2023-12-21T11:36:06.849+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-21T11:36:06.849+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-21T11:36:06.851+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-12-21T11:36:09.696+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-7] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-21T11:36:09.820+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2023-12-21T11:36:10.061+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-21T11:36:11.214+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-12-21T11:36:13.077+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-21T11:36:13.470+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-21T11:36:13.759+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-12-21T11:36:14.029+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-12-21T11:36:14.245+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-12-21T11:36:14.473+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 prometheus | ts=2023-12-21T11:35:37.443Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-12-21T11:35:37.443Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2023-12-21T11:35:37.443Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-12-21T11:35:37.443Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-12-21T11:35:37.443Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-12-21T11:35:37.443Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-12-21T11:35:37.445Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-12-21T11:35:37.445Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-12-21T11:35:37.448Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-12-21T11:35:37.448Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-12-21T11:35:37.451Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-12-21T11:35:37.451Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2µs prometheus | ts=2023-12-21T11:35:37.452Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-12-21T11:35:37.452Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-12-21T11:35:37.452Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=36.121µs wal_replay_duration=383.634µs wbl_replay_duration=190ns total_replay_duration=447.465µs prometheus | ts=2023-12-21T11:35:37.454Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-12-21T11:35:37.454Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-12-21T11:35:37.454Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-12-21T11:35:37.455Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=903.28µs db_storage=1.27µs remote_storage=1.93µs web_handler=590ns query_engine=1.25µs scrape=208.423µs scrape_sd=135.951µs notify=37.121µs notify_sd=11.57µs rules=1.77µs tracing=10.73µs prometheus | ts=2023-12-21T11:35:37.455Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-12-21T11:35:37.455Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-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 grafana | logger=migrator t=2023-12-21T11:35:42.464717183Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.46533657Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=619.327µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-21T11:35:42.47199858Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.473237565Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.239095ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.476332082Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.477952491Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.620699ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-12-21T11:35:42.483110423Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.494337987Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.229514ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-21T11:35:42.500400639Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.50046414Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=64.301µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.506114008Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.507524795Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.410657ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-12-21T11:35:42.512862378Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.51467796Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.816102ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.519190904Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.520253607Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.062233ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.523309513Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.532719526Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.408463ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-12-21T11:35:42.539927862Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.541554082Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.61821ms grafana | logger=migrator t=2023-12-21T11:35:42.544703229Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-21T11:35:42.546497901Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.790532ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.553944599Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.584532795Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.587616ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.589732127Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-12-21T11:35:42.590419265Z level=info msg="Migration successfully executed" id="create correlation v2" duration=684.958µs 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)) grafana | logger=migrator t=2023-12-21T11:35:42.593065787Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.595507706Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.439069ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.601859542Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.602986446Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.127114ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-21T11:35:42.606105993Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 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)) grafana | logger=migrator t=2023-12-21T11:35:42.607130635Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.024302ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.611973243Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.612239966Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=266.683µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.616031932Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-12-21T11:35:42.616795191Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=763.23µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.619921328Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.630290082Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.366364ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.634530083Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.635271102Z level=info msg="Migration successfully executed" id="create entity_events table" duration=740.809µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.638524751Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-21T11:35:42.639411371Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=886.23µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.644735815Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-21T11:35:42.64520328Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.648944935Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.649427361Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.653349137Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-12-21T11:35:42.655379342Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=2.029404ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.66107649Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.66194466Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=868.1µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.666821488Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.668507468Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.68662ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.671811118Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2023-12-21T11:35:42.673765451Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.953973ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.679017174Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.680050997Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.033953ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.683370536Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.684390478Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.018012ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.688124933Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2023-12-21T11:35:42.688872052Z level=info msg="Migration successfully executed" id="Drop public config table" duration=747.149µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.695002295Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-21T11:35:42.696400992Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.397847ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.701661525Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.702712417Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.051042ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.706882737Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-12-21T11:35:42.70881525Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.932493ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.713894951Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.714940283Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.045012ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.719123043Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.752231269Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.107896ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.758509905Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2023-12-21T11:35:42.766219677Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.709072ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.769398975Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.778686435Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.287061ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.785012401Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.785204093Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=191.652µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.789766468Z level=info msg="Executing migration" id="add share column" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-12-21T11:35:42.798542622Z level=info msg="Migration successfully executed" id="add share column" duration=8.775064ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.802039384Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-21T11:35:42.802375768Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=337.164µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.807379438Z level=info msg="Executing migration" id="create file table" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-12-21T11:35:42.809533824Z level=info msg="Migration successfully executed" id="create file table" duration=2.156006ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.815179621Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.816449926Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.271705ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.819838067Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.82088907Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.050813ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.824403372Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-12-21T11:35:42.825161681Z level=info msg="Migration successfully executed" id="create file_meta table" duration=759.529µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.837104854Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.839513312Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.411399ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.845775327Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.845983819Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=209.112µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.851674618Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-12-21T11:35:42.85184073Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=164.072µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.858460249Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-21T11:35:42.859029575Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=569.466µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.862552787Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.86274741Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=194.703µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.865738336Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-12-21T11:35:42.867121662Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.377596ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.87194974Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.881590435Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.641315ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.886521144Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.886634175Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=113.391µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.894765712Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2023-12-21T11:35:42.896496263Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.730881ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.901157989Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2023-12-21T11:35:42.901569384Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=411.865µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.905996557Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.906206859Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=210.182µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.910556551Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-12-21T11:35:42.911255209Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=698.368µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.914999344Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-21T11:35:42.928092981Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=13.092417ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.932431483Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.938760318Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.327885ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:42.981267997Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-12-21T11:35:42.982897497Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.62923ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:42.9873388Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-21T11:35:43.09878626Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.4408ms grafana | logger=migrator t=2023-12-21T11:35:43.108444095Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 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)) grafana | logger=migrator t=2023-12-21T11:35:43.110249296Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.804801ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.115638301Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.116831525Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.194255ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.122207979Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-12-21T11:35:43.158358491Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.150042ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.165636568Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2023-12-21T11:35:43.165943731Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=305.584µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.173212338Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.173598503Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=385.955µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.178107307Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-12-21T11:35:43.17840076Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=290.973µs 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)) grafana | logger=migrator t=2023-12-21T11:35:43.181802871Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.182831643Z level=info msg="Migration successfully executed" id="create folder table" duration=1.026632ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.187842143Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.189734165Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.891772ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-12-21T11:35:43.193691562Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.19512576Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.433847ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2023-12-21T11:35:43.200122989Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.200154449Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.23µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.210893488Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.212932952Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.039554ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-12-21T11:35:43.217579308Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.219212037Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.633359ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2023-12-21T11:35:43.222982922Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.224375919Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.393297ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.22950197Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.230405561Z level=info msg="Migration successfully executed" id="create anon_device table" duration=901.731µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-12-21T11:35:43.234906125Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.236851288Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.944003ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2023-12-21T11:35:43.242854559Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.244031913Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.177074ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.24789759Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.248703269Z level=info msg="Migration successfully executed" id="create signing_key table" duration=804.999µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-12-21T11:35:43.25215451Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.253281554Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.125474ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-12-21T11:35:43.257434963Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.258617678Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.182575ms policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.262539975Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.263051761Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=511.236µs policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-12-21T11:35:43.267703796Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.277364791Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.660805ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-21T11:35:43.282992678Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.283535225Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=543.417µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.286595532Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.288329452Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.72919ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-12-21T11:35:43.29233443Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.293870249Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.535508ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2023-12-21T11:35:43.301229156Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-21T11:35:43.302005536Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=776.909µs policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.308690515Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | grafana | logger=migrator t=2023-12-21T11:35:43.309197581Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=509.326µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-12-21T11:35:43.314410854Z level=info msg="migrations completed" performed=523 skipped=0 duration=4.756569037s policy-db-migrator | -------------- grafana | logger=sqlstore t=2023-12-21T11:35:43.324884559Z level=info msg="Created default admin" user=admin policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=sqlstore t=2023-12-21T11:35:43.325185802Z level=info msg="Created default organization" policy-db-migrator | -------------- grafana | logger=secrets t=2023-12-21T11:35:43.331082223Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2023-12-21T11:35:43.350615076Z level=info msg="Loading plugins..." policy-db-migrator | grafana | logger=local.finder t=2023-12-21T11:35:43.383288716Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=plugin.store t=2023-12-21T11:35:43.383345577Z level=info msg="Plugins loaded" count=55 duration=32.731371ms policy-db-migrator | -------------- grafana | logger=query_data t=2023-12-21T11:35:43.386590015Z level=info msg="Query Service initialization" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=live.push_http t=2023-12-21T11:35:43.39037914Z level=info msg="Live Push Gateway initialization" policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2023-12-21T11:35:43.395426711Z level=info msg=Starting policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2023-12-21T11:35:43.396723656Z level=info msg="Migrating alerts for organisation" policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2023-12-21T11:35:43.397296713Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=ngalert.migration orgID=1 t=2023-12-21T11:35:43.398196074Z level=warn msg="No available receivers" 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)) grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2023-12-21T11:35:43.401025518Z level=info msg="Completed legacy migration" policy-db-migrator | -------------- grafana | logger=infra.usagestats.collector t=2023-12-21T11:35:43.441662663Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | grafana | logger=provisioning.datasources t=2023-12-21T11:35:43.445115534Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | grafana | logger=provisioning.alerting t=2023-12-21T11:35:43.462862686Z level=info msg="starting to provision alerting" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=provisioning.alerting t=2023-12-21T11:35:43.462897166Z level=info msg="finished to provision alerting" policy-db-migrator | -------------- grafana | logger=grafanaStorageLogger t=2023-12-21T11:35:43.463442093Z level=info msg="Storage starting" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=ngalert.state.manager t=2023-12-21T11:35:43.463646885Z level=info msg="Warming state cache for startup" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2023-12-21T11:35:43.463926309Z level=info msg="State cache has been initialized" states=0 duration=278.004µs policy-db-migrator | grafana | logger=ngalert.scheduler t=2023-12-21T11:35:43.463955229Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | grafana | logger=ticker t=2023-12-21T11:35:43.464001239Z level=info msg=starting first_tick=2023-12-21T11:35:50Z policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=ngalert.multiorg.alertmanager t=2023-12-21T11:35:43.463980749Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | -------------- grafana | logger=http.server t=2023-12-21T11:35:43.467715444Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=grafana.update.checker t=2023-12-21T11:35:43.491757351Z level=info msg="Update check succeeded" duration=28.580951ms policy-db-migrator | -------------- grafana | logger=plugins.update.checker t=2023-12-21T11:35:43.536458105Z level=info msg="Update check succeeded" duration=72.914051ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:41 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:42 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:43 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:44 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2112231135410800u 1 2023-12-21 11:35:45 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:45 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:45 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2112231135410900u 1 2023-12-21 11:35:46 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2112231135411000u 1 2023-12-21 11:35:46 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2112231135411100u 1 2023-12-21 11:35:47 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2112231135411200u 1 2023-12-21 11:35:47 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2112231135411200u 1 2023-12-21 11:35:47 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2112231135411200u 1 2023-12-21 11:35:47 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2112231135411200u 1 2023-12-21 11:35:47 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.sWMthrQMWR ]] + rsync -av /tmp/tmp.sWMthrQMWR/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,808 bytes received 95 bytes 2,691,806.00 bytes/sec total size is 1,345,158 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2085 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins18293156057098098696.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15597958578627244819.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2265886402376803354.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bCSV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-bCSV/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12862120536502599819.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config7034044007017407405tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16353802651273067734.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5915506004132335189.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bCSV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-bCSV/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins17732007786109866122.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins4149116079966928777.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bCSV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-bCSV/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins1017929511374786005.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-bCSV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-bCSV/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/216 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-6704 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: 2800.000 BogoMIPS: 5600.00 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 835 27409 0 3921 30875 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:26:e4:21 brd ff:ff:ff:ff:ff:ff inet 10.30.107.75/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86040sec preferred_lft 86040sec inet6 fe80::f816:3eff:fe26:e421/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:29:e2:ec:ec 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-6704) 12/21/23 _x86_64_ (8 CPU) 11:32:20 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 97.25 23.17 74.09 1198.03 18689.04 11:35:01 126.40 23.03 103.37 2753.81 25304.05 11:36:01 374.44 13.05 361.39 806.90 71224.10 11:37:01 12.46 0.42 12.05 33.46 11527.50 11:38:01 65.86 1.50 64.36 122.36 15773.26 Average: 135.41 12.19 123.21 982.16 28535.98 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30084352 31687180 2854868 8.67 69492 1843888 1426888 4.20 882956 1679080 164972 11:35:01 29136184 31688456 3803036 11.55 98408 2731224 1393944 4.10 965856 2473160 676316 11:36:01 26903316 30535996 6035904 18.32 126736 3676780 4566244 13.43 2205828 3378624 260 11:37:01 26866060 30473324 6073160 18.44 126900 3678492 4589996 13.50 2269928 3350108 20 11:38:01 28067576 31614560 4871644 14.79 129520 3653912 1475828 4.34 1164736 3281400 3864 Average: 28211498 31199903 4727722 14.35 110211 3116859 2690580 7.92 1497861 2832474 169086 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 lo 1.42 1.42 0.15 0.15 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 ens3 60.68 41.89 994.07 7.38 0.00 0.00 0.00 0.00 11:35:01 lo 6.40 6.40 0.60 0.60 0.00 0.00 0.00 0.00 11:35:01 br-1e68928376c0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 167.22 114.93 4405.25 13.06 0.00 0.00 0.00 0.00 11:36:01 lo 3.90 3.90 0.34 0.34 0.00 0.00 0.00 0.00 11:36:01 br-1e68928376c0 0.55 0.55 0.05 0.30 0.00 0.00 0.00 0.00 11:36:01 vethdd380d1 50.22 61.12 19.69 16.43 0.00 0.00 0.00 0.00 11:36:01 vethdc07a9a 0.00 0.18 0.00 0.01 0.00 0.00 0.00 0.00 11:37:01 lo 10.40 10.40 8.29 8.29 0.00 0.00 0.00 0.00 11:37:01 br-1e68928376c0 3.13 3.62 5.88 2.23 0.00 0.00 0.00 0.00 11:37:01 vethdd380d1 69.39 88.22 99.99 28.28 0.00 0.00 0.00 0.01 11:37:01 vethdc07a9a 0.18 0.20 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 lo 8.00 8.00 0.69 0.69 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 ens3 753.65 538.32 11151.96 121.78 0.00 0.00 0.00 0.00 Average: lo 6.04 6.04 2.02 2.02 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 94.62 65.50 2084.89 11.22 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6704) 12/21/23 _x86_64_ (8 CPU) 11:32:20 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 9.34 0.00 0.66 2.96 0.03 87.01 11:34:01 0 2.55 0.00 0.64 13.24 0.03 83.54 11:34:01 1 11.15 0.00 0.77 0.71 0.02 87.36 11:34:01 2 0.56 0.00 0.29 1.29 0.00 97.86 11:34:01 3 2.72 0.00 0.17 0.12 0.02 96.98 11:34:01 4 34.60 0.00 1.83 2.80 0.10 60.67 11:34:01 5 19.42 0.00 1.05 1.29 0.05 78.19 11:34:01 6 1.85 0.00 0.19 3.75 0.02 94.20 11:34:01 7 2.05 0.00 0.39 0.46 0.03 97.06 11:35:01 all 10.24 0.00 1.38 2.90 0.04 85.44 11:35:01 0 2.10 0.00 1.39 2.00 0.03 94.48 11:35:01 1 22.72 0.00 1.54 1.74 0.07 73.94 11:35:01 2 3.34 0.00 1.74 9.67 0.03 85.22 11:35:01 3 9.55 0.00 1.12 0.94 0.02 88.38 11:35:01 4 17.16 0.00 1.68 0.44 0.05 80.68 11:35:01 5 14.50 0.00 1.45 0.89 0.07 83.09 11:35:01 6 9.67 0.00 0.97 0.15 0.02 89.20 11:35:01 7 2.98 0.00 1.15 7.38 0.03 88.46 11:36:01 all 15.68 0.00 3.46 6.48 0.09 74.29 11:36:01 0 17.80 0.00 4.18 3.00 0.07 74.96 11:36:01 1 20.62 0.00 3.33 1.16 0.08 74.80 11:36:01 2 9.33 0.00 3.13 3.85 0.07 83.62 11:36:01 3 13.77 0.00 3.29 2.41 0.10 80.43 11:36:01 4 11.17 0.00 4.49 32.21 0.10 52.03 11:36:01 5 18.00 0.00 3.14 0.72 0.08 78.06 11:36:01 6 16.30 0.00 2.86 1.50 0.10 79.24 11:36:01 7 18.44 0.00 3.24 7.11 0.10 71.10 11:37:01 all 4.51 0.00 0.43 0.98 0.04 94.04 11:37:01 0 4.71 0.00 0.58 0.03 0.02 94.66 11:37:01 1 7.49 0.00 0.77 0.05 0.02 91.68 11:37:01 2 5.56 0.00 0.28 0.57 0.07 93.51 11:37:01 3 5.36 0.00 0.55 0.00 0.03 94.06 11:37:01 4 4.96 0.00 0.43 7.02 0.03 87.56 11:37:01 5 2.84 0.00 0.37 0.10 0.03 96.66 11:37:01 6 3.03 0.00 0.17 0.07 0.02 96.72 11:37:01 7 2.14 0.00 0.25 0.03 0.10 97.48 11:38:01 all 6.10 0.00 0.61 1.51 0.04 91.74 11:38:01 0 1.17 0.00 0.43 0.02 0.03 98.35 11:38:01 1 2.90 0.00 0.52 1.03 0.03 95.51 11:38:01 2 23.81 0.00 1.12 1.32 0.05 73.70 11:38:01 3 7.79 0.00 0.67 0.84 0.03 90.68 11:38:01 4 1.05 0.00 0.57 7.77 0.05 90.56 11:38:01 5 5.11 0.00 0.52 0.48 0.03 93.85 11:38:01 6 5.34 0.00 0.42 0.57 0.02 93.66 11:38:01 7 1.63 0.00 0.67 0.10 0.05 97.55 Average: all 9.16 0.00 1.31 2.96 0.05 86.52 Average: 0 5.65 0.00 1.44 3.63 0.04 89.24 Average: 1 12.96 0.00 1.38 0.94 0.04 84.67 Average: 2 8.54 0.00 1.32 3.35 0.04 86.75 Average: 3 7.84 0.00 1.16 0.86 0.04 90.10 Average: 4 13.70 0.00 1.79 10.03 0.07 74.40 Average: 5 11.95 0.00 1.30 0.69 0.05 86.00 Average: 6 7.24 0.00 0.92 1.20 0.03 90.61 Average: 7 5.44 0.00 1.14 3.02 0.06 90.34