Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-10793 (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-jRq6oixxF7th/agent.2145 SSH_AGENT_PID=2147 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_13966899545769796398.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_13966899545769796398.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/jenkins15069561642615826663.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-jWYf 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-jWYf/bin to PATH Generating Requirements File 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.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-jWYf/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.54 botocore==1.34.54 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 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.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.5.0 python-openstackclient==6.0.1 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins6853794554311164677.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/jenkins5515226553594739129.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.Vd8Xj22b5v ++ echo ROBOT_VENV=/tmp/tmp.Vd8Xj22b5v +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.Vd8Xj22b5v ++ source /tmp/tmp.Vd8Xj22b5v/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.Vd8Xj22b5v +++ 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.Vd8Xj22b5v/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.Vd8Xj22b5v) ' '!=' x ']' +++ PS1='(tmp.Vd8Xj22b5v) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.9.0.post0 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.Vd8Xj22b5v/src/onap ++ rm -rf /tmp/tmp.Vd8Xj22b5v/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 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==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.9.0.post0 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.Vd8Xj22b5v/bin/activate + '[' -z /tmp/tmp.Vd8Xj22b5v/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.Vd8Xj22b5v/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.Vd8Xj22b5v ++ 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.Vd8Xj22b5v/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.Vd8Xj22b5v) ' ++ '[' 'x(tmp.Vd8Xj22b5v) ' '!=' x ']' ++ PS1='(tmp.Vd8Xj22b5v) (tmp.Vd8Xj22b5v) ' ++ 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.ZinM1SqjRR + cd /tmp/tmp.ZinM1SqjRR + 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:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 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:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... 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 prometheus Up 11 seconds mariadb Up 14 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds prometheus Up 16 seconds mariadb Up 19 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds prometheus Up 21 seconds mariadb Up 24 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds prometheus Up 26 seconds mariadb Up 29 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:51 up 4 min, 0 users, load average: 2.68, 1.21, 0.50 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.8 sy, 0.0 ni, 80.1 id, 8.7 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.8G 25G 1.0M 3.8G 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 prometheus Up 26 seconds mariadb Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 69fb1e6762e8 grafana 0.04% 51.96MiB / 31.41GiB 0.16% 18.1kB / 3.12kB 0B / 23.8MB 17 aa22232fd031 policy-api 0.10% 863.9MiB / 31.41GiB 2.69% 1.04MB / 739kB 0B / 0B 50 1a58008a0c00 prometheus 0.00% 18.44MiB / 31.41GiB 0.06% 920B / 158B 201kB / 0B 12 075cb932ee42 mariadb 0.02% 100.7MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 65MB 30 + echo + cd /tmp/tmp.ZinM1SqjRR + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + echo 'api-test.robot api-slas.robot' + 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.ZinM1SqjRR/output.xml Log: /tmp/tmp.ZinM1SqjRR/log.html Report: /tmp/tmp.ZinM1SqjRR/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 prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:02 up 5 min, 0 users, load average: 1.10, 1.07, 0.50 Tasks: 171 total, 2 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.0 us, 1.5 sy, 0.0 ni, 83.3 id, 7.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 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 prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 69fb1e6762e8 grafana 0.02% 57.96MiB / 31.41GiB 0.18% 19kB / 4.3kB 0B / 23.8MB 17 aa22232fd031 policy-api 0.08% 878.8MiB / 31.41GiB 2.73% 7.32MB / 2.87MB 0B / 0B 52 1a58008a0c00 prometheus 0.00% 24.32MiB / 31.41GiB 0.08% 37.5kB / 7.01kB 201kB / 0B 13 075cb932ee42 mariadb 0.01% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11MB / 65.1MB 18 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, prometheus, mariadb grafana | logger=settings t=2024-03-04T11:36:25.9288042Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-03-04T11:36:25Z grafana | logger=settings t=2024-03-04T11:36:25.929160912Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-04T11:36:25.929177052Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-04T11:36:25.929181383Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-04T11:36:25.929185153Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-04T11:36:25.929188213Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-04T11:36:25.929190943Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-04T11:36:25.929193933Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-04T11:36:25.929197053Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-04T11:36:25.929201063Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-04T11:36:25.929204763Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-04T11:36:25.929208994Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-04T11:36:25.929214124Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-04T11:36:25.929219374Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-04T11:36:25.929223114Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-04T11:36:25.929226964Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-04T11:36:25.929229904Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-04T11:36:25.929233644Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-04T11:36:25.929236855Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-04T11:36:25.929643749Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-04T11:36:25.929664439Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-04T11:36:25.930267851Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-04T11:36:25.931204243Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-04T11:36:25.93198559Z level=info msg="Migration successfully executed" id="create migration_log table" duration=780.877µs grafana | logger=migrator t=2024-03-04T11:36:25.993128809Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-04T11:36:25.995800732Z level=info msg="Migration successfully executed" id="create user table" duration=2.674953ms grafana | logger=migrator t=2024-03-04T11:36:26.0052991Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-04T11:36:26.006271881Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=962.6µs grafana | logger=migrator t=2024-03-04T11:36:26.009796717Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-04T11:36:26.010501969Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=704.152µs grafana | logger=migrator t=2024-03-04T11:36:26.014208782Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-04T11:36:26.014919235Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=709.373µs grafana | logger=migrator t=2024-03-04T11:36:26.018285815Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-04T11:36:26.018916975Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=629.75µs grafana | logger=migrator t=2024-03-04T11:36:26.02484882Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-04T11:36:26.029212333Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.363093ms grafana | logger=migrator t=2024-03-04T11:36:26.033070649Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-04T11:36:26.033929438Z level=info msg="Migration successfully executed" id="create user table v2" duration=858.359µs grafana | logger=migrator t=2024-03-04T11:36:26.037755173Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-04T11:36:26.038549939Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=794.116µs grafana | logger=migrator t=2024-03-04T11:36:26.044647769Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-04T11:36:26.045375563Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=727.154µs grafana | logger=migrator t=2024-03-04T11:36:26.049163037Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:26.049818678Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=653.551µs grafana | logger=migrator t=2024-03-04T11:36:26.054784561Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-04T11:36:26.055544626Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=758.995µs grafana | logger=migrator t=2024-03-04T11:36:26.061838183Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-04T11:36:26.064050845Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.212502ms grafana | logger=migrator t=2024-03-04T11:36:26.068089678Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-04T11:36:26.068131389Z level=info msg="Migration successfully executed" id="Update user table charset" duration=42.721µs grafana | logger=migrator t=2024-03-04T11:36:26.070843428Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-04T11:36:26.071891712Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.047914ms grafana | logger=migrator t=2024-03-04T11:36:26.075227061Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-04T11:36:26.075460079Z level=info msg="Migration successfully executed" id="Add missing user data" duration=232.838µs grafana | logger=migrator t=2024-03-04T11:36:26.084061881Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-04T11:36:26.085819099Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.665095ms grafana | logger=migrator t=2024-03-04T11:36:26.089634623Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-04T11:36:26.091151053Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.51631ms grafana | logger=migrator t=2024-03-04T11:36:26.095171475Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-04T11:36:26.097419319Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.249614ms grafana | logger=migrator t=2024-03-04T11:36:26.10083388Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-04T11:36:26.110592481Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.758251ms grafana | logger=migrator t=2024-03-04T11:36:26.117440355Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-04T11:36:26.118390827Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=945.101µs grafana | logger=migrator t=2024-03-04T11:36:26.121946833Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-04T11:36:26.122744049Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=796.306µs grafana | logger=migrator t=2024-03-04T11:36:26.16119692Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-04T11:36:26.163155794Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.980055ms grafana | logger=migrator t=2024-03-04T11:36:26.169192182Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-04T11:36:26.170299628Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.108116ms grafana | logger=migrator t=2024-03-04T11:36:26.173648457Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-04T11:36:26.174402753Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=753.786µs grafana | logger=migrator t=2024-03-04T11:36:26.177880437Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-04T11:36:26.177936988Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=57.312µs grafana | logger=migrator t=2024-03-04T11:36:26.184174663Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-04T11:36:26.184875855Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=697.722µs grafana | logger=migrator t=2024-03-04T11:36:26.188517495Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-04T11:36:26.189153036Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=634.991µs grafana | logger=migrator t=2024-03-04T11:36:26.193308902Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-04T11:36:26.193988685Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=680.213µs grafana | logger=migrator t=2024-03-04T11:36:26.201651035Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-04T11:36:26.20300858Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.356915ms grafana | logger=migrator t=2024-03-04T11:36:26.223194732Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-04T11:36:26.228916059Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.721757ms grafana | logger=migrator t=2024-03-04T11:36:26.268858048Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-04T11:36:26.26979866Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=940.322µs grafana | logger=migrator t=2024-03-04T11:36:26.293206837Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-04T11:36:26.294944134Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.736677ms grafana | logger=migrator t=2024-03-04T11:36:26.345590514Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-04T11:36:26.347545419Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.956665ms grafana | logger=migrator t=2024-03-04T11:36:26.354784115Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-04T11:36:26.35555511Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=769.475µs grafana | logger=migrator t=2024-03-04T11:36:26.361856788Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-04T11:36:26.363283594Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.427526ms grafana | logger=migrator t=2024-03-04T11:36:26.368087832Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:26.368707882Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=619.53µs grafana | logger=migrator t=2024-03-04T11:36:26.372937681Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-04T11:36:26.373632054Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=693.862µs grafana | logger=migrator t=2024-03-04T11:36:26.377120218Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-04T11:36:26.37750747Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=387.032µs grafana | logger=migrator t=2024-03-04T11:36:26.424655786Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-04T11:36:26.425425691Z level=info msg="Migration successfully executed" id="create star table" duration=767.945µs grafana | logger=migrator t=2024-03-04T11:36:26.429675891Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-04T11:36:26.431120498Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.444096ms grafana | logger=migrator t=2024-03-04T11:36:26.449428518Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-04T11:36:26.450782652Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.354144ms grafana | logger=migrator t=2024-03-04T11:36:26.459362533Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-04T11:36:26.460092908Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=726.245µs grafana | logger=migrator t=2024-03-04T11:36:26.466026982Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-04T11:36:26.466981313Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=952.651µs grafana | logger=migrator t=2024-03-04T11:36:26.472468143Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-04T11:36:26.4735819Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.113497ms grafana | logger=migrator t=2024-03-04T11:36:26.479230455Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-04T11:36:26.480195537Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=965.072µs grafana | logger=migrator t=2024-03-04T11:36:26.485824321Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-04T11:36:26.486600746Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=775.675µs grafana | logger=migrator t=2024-03-04T11:36:26.491713654Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-04T11:36:26.491744595Z level=info msg="Migration successfully executed" id="Update org table charset" duration=31.371µs grafana | logger=migrator t=2024-03-04T11:36:26.496886144Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-04T11:36:26.496916735Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=30.891µs grafana | logger=migrator t=2024-03-04T11:36:26.500537783Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-04T11:36:26.500802482Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=265.469µs grafana | logger=migrator t=2024-03-04T11:36:26.508744952Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-04T11:36:26.509555259Z level=info msg="Migration successfully executed" id="create dashboard table" duration=808.047µs grafana | logger=migrator t=2024-03-04T11:36:26.513681895Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-04T11:36:26.514589394Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=907.18µs grafana | logger=migrator t=2024-03-04T11:36:26.519417453Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-04T11:36:26.520330632Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=912.46µs grafana | logger=migrator t=2024-03-04T11:36:26.524096546Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-04T11:36:26.525201172Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.099596ms grafana | logger=migrator t=2024-03-04T11:36:26.532496602Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-04T11:36:26.533945279Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.448777ms grafana | logger=migrator t=2024-03-04T11:36:26.538160167Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-04T11:36:26.539304474Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.199499ms grafana | logger=migrator t=2024-03-04T11:36:26.552791937Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-04T11:36:26.559272459Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.478082ms grafana | logger=migrator t=2024-03-04T11:36:26.568317985Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-04T11:36:26.569382751Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.064345ms grafana | logger=migrator t=2024-03-04T11:36:26.574719386Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-04T11:36:26.57545943Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=739.474µs grafana | logger=migrator t=2024-03-04T11:36:26.579074818Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-04T11:36:26.580208516Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.131977ms grafana | logger=migrator t=2024-03-04T11:36:26.586997838Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:26.587724931Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=723.473µs grafana | logger=migrator t=2024-03-04T11:36:26.5922456Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-04T11:36:26.593581013Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.335523ms grafana | logger=migrator t=2024-03-04T11:36:26.631054512Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-04T11:36:26.631227738Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=165.305µs grafana | logger=migrator t=2024-03-04T11:36:26.649501916Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-04T11:36:26.653280571Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.776715ms grafana | logger=migrator t=2024-03-04T11:36:26.684046599Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-04T11:36:26.687840033Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.795354ms grafana | logger=migrator t=2024-03-04T11:36:26.691438701Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.693378245Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.938084ms grafana | logger=migrator t=2024-03-04T11:36:26.697569202Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.698373129Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=803.177µs grafana | logger=migrator t=2024-03-04T11:36:26.702492093Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.705058828Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.564735ms grafana | logger=migrator t=2024-03-04T11:36:26.710213577Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.712033547Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.82032ms grafana | logger=migrator t=2024-03-04T11:36:26.71884346Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-04T11:36:26.719404548Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=563.418µs grafana | logger=migrator t=2024-03-04T11:36:26.729454368Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-04T11:36:26.729499899Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=46.591µs grafana | logger=migrator t=2024-03-04T11:36:26.735718723Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-04T11:36:26.735781255Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=61.802µs grafana | logger=migrator t=2024-03-04T11:36:26.798813582Z level=info msg="Executing migration" id="Add column folder_id in dashboard" mariadb | 2024-03-04 11:36:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-04 11:36:21+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-04 11:36:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-04 11:36:22+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-04 11:36:22 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-04 11:36:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-04 11:36:22 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-03-04 11:36:23+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-04 11:36:23+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-04 11:36:23+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-04 11:36:23 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-04 11:36:23 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-04 11:36:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-04 11:36:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-04 11:36:23 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-04 11:36:23 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-04 11:36:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-04 11:36:23 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-04 11:36:23 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-04 11:36:23 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-03-04 11:36:24+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-04 11:36:26+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-04 11:36:26+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-03-04 11:36:26+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-03-04 11:36:26+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 | # grafana | logger=migrator t=2024-03-04T11:36:26.803310278Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=4.501157ms grafana | logger=migrator t=2024-03-04T11:36:26.811697363Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.81463572Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.932666ms grafana | logger=migrator t=2024-03-04T11:36:26.819767738Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.821592548Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.82446ms grafana | logger=migrator t=2024-03-04T11:36:26.8643686Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.869080205Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=4.712965ms grafana | logger=migrator t=2024-03-04T11:36:26.876561209Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-04T11:36:26.876741435Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=180.226µs grafana | logger=migrator t=2024-03-04T11:36:26.884229061Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-04T11:36:26.885417241Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.18783ms grafana | logger=migrator t=2024-03-04T11:36:26.898993195Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-04T11:36:26.900946459Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.952684ms grafana | logger=migrator t=2024-03-04T11:36:26.907498514Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-04T11:36:26.907520374Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=22.8µs grafana | logger=migrator t=2024-03-04T11:36:26.916740997Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-04T11:36:26.917989448Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.243961ms grafana | logger=migrator t=2024-03-04T11:36:26.929269668Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-04T11:36:26.930733896Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.444138ms grafana | logger=migrator t=2024-03-04T11:36:26.938620545Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-04T11:36:26.945713187Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.092552ms grafana | logger=migrator t=2024-03-04T11:36:26.950644619Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-04T11:36:26.951072762Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=427.613µs grafana | logger=migrator t=2024-03-04T11:36:26.957085099Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-04T11:36:26.958818497Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.732717ms grafana | logger=migrator t=2024-03-04T11:36:26.963830421Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-04T11:36:26.964765211Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=935.46µs grafana | logger=migrator t=2024-03-04T11:36:26.970028814Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:26.970395056Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=366.092µs grafana | logger=migrator t=2024-03-04T11:36:26.976440334Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-04T11:36:26.97723892Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=798.236µs grafana | logger=migrator t=2024-03-04T11:36:26.981765389Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-04T11:36:26.98517062Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.401251ms grafana | logger=migrator t=2024-03-04T11:36:26.99095817Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-04T11:36:26.992574843Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.614704ms grafana | logger=migrator t=2024-03-04T11:36:26.996830522Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-04T11:36:26.997006078Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=175.846µs grafana | logger=migrator t=2024-03-04T11:36:27.002613093Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-03-04T11:36:27.002774749Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=161.216µs grafana | logger=migrator t=2024-03-04T11:36:27.007467679Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-04T11:36:27.008667391Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.199352ms grafana | logger=migrator t=2024-03-04T11:36:27.013645983Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-04T11:36:27.018575414Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=4.929241ms grafana | logger=migrator t=2024-03-04T11:36:27.025062859Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-04T11:36:27.026017323Z level=info msg="Migration successfully executed" id="create data_source table" duration=953.503µs grafana | logger=migrator t=2024-03-04T11:36:27.032093553Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-04T11:36:27.032940592Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=846.939µs grafana | logger=migrator t=2024-03-04T11:36:27.037805651Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-03-04T11:36:27.039380275Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.572134ms grafana | logger=migrator t=2024-03-04T11:36:27.044379929Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-04T11:36:27.045227029Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=846.9µs grafana | logger=migrator t=2024-03-04T11:36:27.050839074Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-03-04T11:36:27.051849388Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.010914ms grafana | logger=migrator t=2024-03-04T11:36:27.057795785Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-04T11:36:27.066730544Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.93823ms grafana | logger=migrator t=2024-03-04T11:36:27.074750563Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-04T11:36:27.075412205Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=662.632µs grafana | logger=migrator t=2024-03-04T11:36:27.08074597Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-04T11:36:27.08215699Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.41117ms grafana | logger=migrator t=2024-03-04T11:36:27.087796406Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-04T11:36:27.08909304Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.296195ms grafana | logger=migrator t=2024-03-04T11:36:27.096376803Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-04T11:36:27.097278914Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=900.261µs grafana | logger=migrator t=2024-03-04T11:36:27.103969047Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-04T11:36:27.108650808Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.680931ms grafana | logger=migrator t=2024-03-04T11:36:27.113861219Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-04T11:36:27.118562123Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.698194ms grafana | logger=migrator t=2024-03-04T11:36:27.129591175Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-04T11:36:27.129989409Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=427.665µs grafana | logger=migrator t=2024-03-04T11:36:27.134842738Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-04T11:36:27.135158519Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=316.82µs grafana | logger=migrator t=2024-03-04T11:36:27.139857501Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-04T11:36:27.1438494Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.991459ms grafana | logger=migrator t=2024-03-04T11:36:27.151024068Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-04T11:36:27.151187354Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=165.766µs grafana | logger=migrator t=2024-03-04T11:36:27.159668388Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-04T11:36:27.159920768Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=249.899µs grafana | logger=migrator t=2024-03-04T11:36:27.164779705Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-04T11:36:27.168609319Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.828704ms grafana | logger=migrator t=2024-03-04T11:36:27.17328363Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-04T11:36:27.173441216Z level=info msg="Migration successfully executed" id="Update uid value" duration=157.736µs grafana | logger=migrator t=2024-03-04T11:36:27.177837029Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-04T11:36:27.178682678Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=843.769µs grafana | logger=migrator t=2024-03-04T11:36:27.188955304Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-04T11:36:27.1902908Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.334886ms grafana | logger=migrator t=2024-03-04T11:36:27.196572519Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-04T11:36:27.19776526Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.192281ms grafana | logger=migrator t=2024-03-04T11:36:27.201683065Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-04T11:36:27.202984001Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.300076ms grafana | logger=migrator t=2024-03-04T11:36:27.209992714Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-03-04T11:36:27.210917826Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=924.292µs grafana | logger=migrator t=2024-03-04T11:36:27.218960326Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-03-04T11:36:27.220296681Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.335506ms grafana | logger=migrator t=2024-03-04T11:36:27.226411063Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-03-04T11:36:27.227606155Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.194542ms grafana | logger=migrator t=2024-03-04T11:36:27.234836096Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-03-04T11:36:27.235925074Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.088299ms grafana | logger=migrator t=2024-03-04T11:36:27.240391028Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-03-04T11:36:27.241485137Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.091929ms grafana | logger=migrator t=2024-03-04T11:36:27.246345405Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-03-04T11:36:27.25514277Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.795895ms grafana | logger=migrator t=2024-03-04T11:36:27.257843123Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-03-04T11:36:27.258323691Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=480.328µs grafana | logger=migrator t=2024-03-04T11:36:27.26321115Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-03-04T11:36:27.263713338Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=502.508µs grafana | logger=migrator t=2024-03-04T11:36:27.316974235Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-03-04T11:36:27.318255669Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.280484ms grafana | logger=migrator t=2024-03-04T11:36:27.32462156Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-04T11:36:27.325955077Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.333067ms grafana | logger=migrator t=2024-03-04T11:36:27.330530255Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:27.331064864Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=534.379µs grafana | logger=migrator t=2024-03-04T11:36:27.34018665Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-04T11:36:27.341010799Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=823.559µs grafana | logger=migrator t=2024-03-04T11:36:27.34912137Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-04T11:36:27.349156621Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=35.841µs grafana | logger=migrator t=2024-03-04T11:36:27.356714224Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-04T11:36:27.360833606Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.117262ms grafana | logger=migrator t=2024-03-04T11:36:27.367472667Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-04T11:36:27.369799777Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.32665ms grafana | logger=migrator t=2024-03-04T11:36:27.372970048Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-04T11:36:27.373120293Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=151.845µs grafana | logger=migrator t=2024-03-04T11:36:27.377428232Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-04T11:36:27.3802585Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.826318ms grafana | logger=migrator t=2024-03-04T11:36:27.384648373Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-04T11:36:27.388225617Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.577964ms grafana | logger=migrator t=2024-03-04T11:36:27.39811001Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-04T11:36:27.399180017Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.069497ms grafana | logger=migrator t=2024-03-04T11:36:27.406333694Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-04T11:36:27.407201245Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=866.421µs grafana | logger=migrator t=2024-03-04T11:36:27.413843015Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-04T11:36:27.415014946Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.169271ms grafana | logger=migrator t=2024-03-04T11:36:27.419560353Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-03-04T11:36:27.420909261Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.344447ms grafana | logger=migrator t=2024-03-04T11:36:27.42493348Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-04T11:36:27.425650084Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=715.634µs grafana | logger=migrator t=2024-03-04T11:36:27.434401988Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-04T11:36:27.435854009Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.451141ms grafana | logger=migrator t=2024-03-04T11:36:27.443226725Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-04T11:36:27.443330428Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=105.283µs grafana | logger=migrator t=2024-03-04T11:36:27.447380268Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-03-04T11:36:27.44741978Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=39.062µs grafana | logger=migrator t=2024-03-04T11:36:27.450043521Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-04T11:36:27.45318731Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.146829ms grafana | logger=migrator t=2024-03-04T11:36:27.463212418Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-04T11:36:27.467788516Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.578308ms grafana | logger=migrator t=2024-03-04T11:36:27.472648055Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-03-04T11:36:27.472707227Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=59.392µs grafana | logger=migrator t=2024-03-04T11:36:27.476971525Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-03-04T11:36:27.478005231Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.033236ms 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=2024-03-04T11:36:27.486357451Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-04T11:36:27.487840152Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.482222ms grafana | logger=migrator t=2024-03-04T11:36:27.491582722Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-03-04T11:36:27.491616143Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=34.901µs grafana | logger=migrator t=2024-03-04T11:36:27.49641515Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-04T11:36:27.497169136Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=753.346µs grafana | logger=migrator t=2024-03-04T11:36:27.50163518Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-04T11:36:27.502494751Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=860.35µs grafana | logger=migrator t=2024-03-04T11:36:27.50766154Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-04T11:36:27.510431976Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.769946ms grafana | logger=migrator t=2024-03-04T11:36:27.517637555Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-03-04T11:36:27.517658706Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=21.041µs grafana | logger=migrator t=2024-03-04T11:36:27.525353143Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-04T11:36:27.526727831Z level=info msg="Migration successfully executed" id="create session table" duration=1.375107ms grafana | logger=migrator t=2024-03-04T11:36:27.534167839Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-03-04T11:36:27.534349185Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=180.456µs grafana | logger=migrator t=2024-03-04T11:36:27.542235509Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-03-04T11:36:27.542479637Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=243.748µs grafana | logger=migrator t=2024-03-04T11:36:27.554023888Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-04T11:36:27.554870517Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=846.449µs grafana | logger=migrator t=2024-03-04T11:36:27.565367411Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-04T11:36:27.566615615Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.247674ms grafana | logger=migrator t=2024-03-04T11:36:27.573438351Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-03-04T11:36:27.573478903Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=41.971µs grafana | logger=migrator t=2024-03-04T11:36:27.57888645Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-04T11:36:27.578909711Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=23.911µs grafana | logger=migrator t=2024-03-04T11:36:27.582194025Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-03-04T11:36:27.585629954Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.435449ms grafana | logger=migrator t=2024-03-04T11:36:27.58981971Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-03-04T11:36:27.592827464Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.009195ms grafana | logger=migrator t=2024-03-04T11:36:27.596955928Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-04T11:36:27.597110683Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=155.016µs grafana | logger=migrator t=2024-03-04T11:36:27.600314644Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-04T11:36:27.600394717Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=80.643µs grafana | logger=migrator t=2024-03-04T11:36:27.603750863Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-04T11:36:27.604485298Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=734.365µs grafana | logger=migrator t=2024-03-04T11:36:27.60942714Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-04T11:36:27.609453411Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=30.021µs grafana | logger=migrator t=2024-03-04T11:36:27.615936525Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-03-04T11:36:27.621177657Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.241352ms grafana | logger=migrator t=2024-03-04T11:36:27.624878685Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-04T11:36:27.625129875Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=252.28µs grafana | logger=migrator t=2024-03-04T11:36:27.62815349Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-04T11:36:27.631408302Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.254532ms grafana | logger=migrator t=2024-03-04T11:36:27.635722821Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-03-04T11:36:27.638909172Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.186631ms grafana | logger=migrator t=2024-03-04T11:36:27.642816988Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-03-04T11:36:27.642902611Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=88.773µs grafana | logger=migrator t=2024-03-04T11:36:27.648420532Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-03-04T11:36:27.651324793Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=2.912951ms grafana | logger=migrator t=2024-03-04T11:36:27.659767376Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-03-04T11:36:27.663675781Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=3.906945ms grafana | logger=migrator t=2024-03-04T11:36:27.668671985Z level=info msg="Executing migration" id="create alert table v1" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-03-04 11:36:27+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-03-04 11:36:27 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-03-04 11:36:27 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-03-04 11:36:27 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-03-04 11:36:27 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-04 11:36:27 0 [Note] InnoDB: Buffer pool(s) dump completed at 240304 11:36:27 mariadb | 2024-03-04 11:36:27 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-03-04 11:36:27 0 [Note] InnoDB: Shutdown completed; log sequence number 331577; transaction id 298 mariadb | 2024-03-04 11:36:27 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-03-04 11:36:27+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-03-04 11:36:27+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-03-04 11:36:28 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-04 11:36:28 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-04 11:36:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-04 11:36:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: log sequence number 331577; transaction id 299 mariadb | 2024-03-04 11:36:28 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-04 11:36:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-04 11:36:28 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-03-04 11:36:28 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-03-04 11:36:28 0 [Note] Server socket created on IP: '::'. mariadb | 2024-03-04 11:36:28 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-03-04 11:36:28 0 [Note] InnoDB: Buffer pool(s) load completed at 240304 11:36:28 mariadb | 2024-03-04 11:36:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-03-04 11:36:28 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=2024-03-04T11:36:27.669805985Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.131519ms grafana | logger=migrator t=2024-03-04T11:36:27.67544809Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-03-04T11:36:27.676473295Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.025985ms grafana | logger=migrator t=2024-03-04T11:36:27.681829731Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-03-04T11:36:27.682791474Z level=info msg="Migration successfully executed" id="add index alert state" duration=960.943µs grafana | logger=migrator t=2024-03-04T11:36:27.692030215Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-04T11:36:27.692718979Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=690.125µs grafana | logger=migrator t=2024-03-04T11:36:27.696705047Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-03-04T11:36:27.698960165Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=2.257828ms grafana | logger=migrator t=2024-03-04T11:36:27.704765907Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-03-04T11:36:27.706823698Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=2.057571ms grafana | logger=migrator t=2024-03-04T11:36:27.711138448Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-03-04T11:36:27.711836113Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=697.915µs grafana | logger=migrator t=2024-03-04T11:36:27.714438402Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-03-04T11:36:27.733734891Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=19.295329ms grafana | logger=migrator t=2024-03-04T11:36:27.769679798Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-03-04T11:36:27.770580789Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=904.511µs grafana | logger=migrator t=2024-03-04T11:36:27.784397589Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-03-04T11:36:27.785530659Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.13412ms grafana | logger=migrator t=2024-03-04T11:36:27.799870426Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:27.800209187Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=339.201µs grafana | logger=migrator t=2024-03-04T11:36:27.81035885Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-03-04T11:36:27.810823676Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=465.326µs grafana | logger=migrator t=2024-03-04T11:36:27.841881383Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-03-04T11:36:27.842789644Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=911.461µs grafana | logger=migrator t=2024-03-04T11:36:27.859632709Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-03-04T11:36:27.864641052Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.011984ms grafana | logger=migrator t=2024-03-04T11:36:27.872000758Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-03-04T11:36:27.875668655Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.669757ms grafana | logger=migrator t=2024-03-04T11:36:27.884893095Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-04T11:36:27.890500779Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.607984ms grafana | logger=migrator t=2024-03-04T11:36:27.932415943Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-03-04T11:36:27.938307288Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.888854ms grafana | logger=migrator t=2024-03-04T11:36:27.94441231Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-03-04T11:36:27.945046142Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=633.592µs grafana | logger=migrator t=2024-03-04T11:36:27.949494066Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-03-04T11:36:27.949530707Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=37.752µs grafana | logger=migrator t=2024-03-04T11:36:27.953832317Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-03-04T11:36:27.953870648Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=38.922µs grafana | logger=migrator t=2024-03-04T11:36:27.957652489Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-03-04T11:36:27.958755348Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.099368ms grafana | logger=migrator t=2024-03-04T11:36:27.963713029Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-04T11:36:27.965347486Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.632637ms grafana | logger=migrator t=2024-03-04T11:36:27.972088439Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-03-04T11:36:27.973703486Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.619517ms grafana | logger=migrator t=2024-03-04T11:36:27.98017037Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-03-04T11:36:27.980994009Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=823.429µs grafana | logger=migrator t=2024-03-04T11:36:27.984862683Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-04T11:36:27.985897378Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.035045ms grafana | logger=migrator t=2024-03-04T11:36:27.989098259Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-03-04T11:36:27.992918412Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.820223ms grafana | logger=migrator t=2024-03-04T11:36:27.998343141Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.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 | [2024-03-04T11:36:37.105+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 | [2024-03-04T11:36:37.108+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-03-04T11:36:38.547+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-03-04T11:36:38.632+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 71 ms. Found 6 JPA repository interfaces. policy-api | [2024-03-04T11:36:39.739+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-03-04T11:36:39.750+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-04T11:36:39.750+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-03-04T11:36:39.751+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-03-04T11:36:39.839+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-03-04T11:36:39.839+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2654 ms policy-api | [2024-03-04T11:36:40.354+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-03-04T11:36:40.447+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-03-04T11:36:40.696+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-03-04T11:36:40.866+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-03-04T11:36:40.982+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-03-04T11:36:41.013+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-03-04T11:36:42.556+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-03-04T11:36:42.570+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-03-04T11:36:43.693+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-03-04T11:36:44.335+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-03-04T11:36:45.313+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@10ac5a14, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5cfcb55c, org.springframework.security.web.context.SecurityContextPersistenceFilter@a555005, org.springframework.security.web.header.HeaderWriterFilter@e73787, org.springframework.security.web.authentication.logout.LogoutFilter@337f6716, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5bee88e3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@42d039ef, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@190a5f74, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@416dd4d8, org.springframework.security.web.session.SessionManagementFilter@50cdaf32, org.springframework.security.web.access.ExceptionTranslationFilter@556d8c78, org.springframework.security.web.access.intercept.AuthorizationFilter@65ff1e6d] policy-api | [2024-03-04T11:36:45.454+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-03-04T11:36:47.932+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-03-04T11:36:47.998+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-04T11:36:48.029+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-03-04T11:36:48.043+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.728 seconds (JVM running for 12.351) policy-api | [2024-03-04T11:36:54.324+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-03-04T11:36:54.324+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-03-04T11:36:54.328+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 3 ms policy-api | [2024-03-04T11:36:56.702+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-03-04T11:36:56.802+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-03-04T11:36:57.054+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-03-04T11:36:58.211+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-03-04T11:37:00.090+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-04T11:37:00.516+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-04T11:37:00.758+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 | [2024-03-04T11:37:00.990+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-03-04T11:37:01.214+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-03-04T11:37:01.442+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-03-04T11:36:28.001936325Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.593124ms grafana | logger=migrator t=2024-03-04T11:36:28.004866487Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-03-04T11:36:28.005125405Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=258.979µs grafana | logger=migrator t=2024-03-04T11:36:28.008312497Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-03-04T11:36:28.00922795Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=918.153µs grafana | logger=migrator t=2024-03-04T11:36:28.016315638Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-03-04T11:36:28.017240691Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=924.013µs grafana | logger=migrator t=2024-03-04T11:36:28.020493895Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-03-04T11:36:28.027630594Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=7.136229ms grafana | logger=migrator t=2024-03-04T11:36:28.090455677Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-03-04T11:36:28.090668454Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=168.186µs grafana | logger=migrator t=2024-03-04T11:36:28.096051403Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-03-04T11:36:28.097471692Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.419979ms grafana | logger=migrator t=2024-03-04T11:36:28.100950354Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-03-04T11:36:28.101902698Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=952.014µs grafana | logger=migrator t=2024-03-04T11:36:28.10511569Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-03-04T11:36:28.105198133Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=82.233µs grafana | logger=migrator t=2024-03-04T11:36:28.112403226Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-03-04T11:36:28.113738062Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.333336ms grafana | logger=migrator t=2024-03-04T11:36:28.119433682Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-03-04T11:36:28.120749857Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.314135ms grafana | logger=migrator t=2024-03-04T11:36:28.124886813Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-03-04T11:36:28.125718332Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=832.849µs grafana | logger=migrator t=2024-03-04T11:36:28.131833246Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-03-04T11:36:28.132958306Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.12376ms grafana | logger=migrator t=2024-03-04T11:36:28.137248696Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-03-04T11:36:28.138831392Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.581976ms grafana | logger=migrator t=2024-03-04T11:36:28.144094926Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-03-04T11:36:28.14507802Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=982.224µs grafana | logger=migrator t=2024-03-04T11:36:28.15276971Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-03-04T11:36:28.152846173Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=78.733µs grafana | logger=migrator t=2024-03-04T11:36:28.156500531Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.163658842Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.157432ms grafana | logger=migrator t=2024-03-04T11:36:28.225010132Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-03-04T11:36:28.22640108Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.389558ms grafana | logger=migrator t=2024-03-04T11:36:28.232780074Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.238976442Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.197388ms grafana | logger=migrator t=2024-03-04T11:36:28.24236978Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-03-04T11:36:28.243002662Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=632.572µs grafana | logger=migrator t=2024-03-04T11:36:28.247554142Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-03-04T11:36:28.249331514Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.776952ms grafana | logger=migrator t=2024-03-04T11:36:28.255963147Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-03-04T11:36:28.256862798Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=899.191µs grafana | logger=migrator t=2024-03-04T11:36:28.260450943Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-03-04T11:36:28.278538458Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.089195ms grafana | logger=migrator t=2024-03-04T11:36:28.283345037Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-03-04T11:36:28.284468456Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=1.121918ms grafana | logger=migrator t=2024-03-04T11:36:28.29344641Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-03-04T11:36:28.294404133Z 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=958.203µs grafana | logger=migrator t=2024-03-04T11:36:28.300417515Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-03-04T11:36:28.30086713Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=449.415µs grafana | logger=migrator t=2024-03-04T11:36:28.303962849Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-03-04T11:36:28.304460946Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=497.217µs grafana | logger=migrator t=2024-03-04T11:36:28.30970865Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-03-04T11:36:28.309874026Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=165.696µs grafana | logger=migrator t=2024-03-04T11:36:28.312421265Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.318661794Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.242429ms grafana | logger=migrator t=2024-03-04T11:36:28.323062218Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.327032957Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.970189ms grafana | logger=migrator t=2024-03-04T11:36:28.332511989Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.333367039Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=854.16µs grafana | logger=migrator t=2024-03-04T11:36:28.336783339Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.338390695Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.606456ms grafana | logger=migrator t=2024-03-04T11:36:28.341548966Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-03-04T11:36:28.341928699Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=375.003µs grafana | logger=migrator t=2024-03-04T11:36:28.347331728Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-03-04T11:36:28.351392451Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.061293ms grafana | logger=migrator t=2024-03-04T11:36:28.354903364Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-03-04T11:36:28.355800395Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=896.581µs grafana | logger=migrator t=2024-03-04T11:36:28.358768499Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-03-04T11:36:28.358964767Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=196.608µs grafana | logger=migrator t=2024-03-04T11:36:28.361959172Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-03-04T11:36:28.362735659Z level=info msg="Migration successfully executed" id="Move region to single row" duration=776.386µs grafana | logger=migrator t=2024-03-04T11:36:28.368986377Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.369882679Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=896.541µs grafana | logger=migrator t=2024-03-04T11:36:28.372295783Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.375441663Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=3.146ms grafana | logger=migrator t=2024-03-04T11:36:28.378638486Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.379579169Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=940.023µs grafana | logger=migrator t=2024-03-04T11:36:28.386629045Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.38817135Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.541765ms grafana | logger=migrator t=2024-03-04T11:36:28.39103475Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.392409128Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.374248ms grafana | logger=migrator t=2024-03-04T11:36:28.397903861Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-03-04T11:36:28.39900027Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.096309ms grafana | logger=migrator t=2024-03-04T11:36:28.402311945Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-03-04T11:36:28.402400549Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=89.063µs grafana | logger=migrator t=2024-03-04T11:36:28.405787387Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-03-04T11:36:28.406543894Z level=info msg="Migration successfully executed" id="create test_data table" duration=756.417µs grafana | logger=migrator t=2024-03-04T11:36:28.413978554Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-03-04T11:36:28.415208758Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.229954ms grafana | logger=migrator t=2024-03-04T11:36:28.421133635Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-03-04T11:36:28.423197857Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=2.063372ms grafana | logger=migrator t=2024-03-04T11:36:28.42698407Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-03-04T11:36:28.428933048Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.946858ms grafana | logger=migrator t=2024-03-04T11:36:28.433055813Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-03-04T11:36:28.433404615Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=348.502µs grafana | logger=migrator t=2024-03-04T11:36:28.439954374Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-03-04T11:36:28.440824065Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=865.461µs grafana | logger=migrator t=2024-03-04T11:36:28.445652034Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-03-04T11:36:28.445928564Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=276.09µs grafana | logger=migrator t=2024-03-04T11:36:28.450881367Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-03-04T11:36:28.451773419Z level=info msg="Migration successfully executed" id="create team table" duration=887.722µs grafana | logger=migrator t=2024-03-04T11:36:28.454960721Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-03-04T11:36:28.456049329Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.087907ms grafana | logger=migrator t=2024-03-04T11:36:28.460111741Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-03-04T11:36:28.461203189Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.091288ms grafana | logger=migrator t=2024-03-04T11:36:28.464824046Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-03-04T11:36:28.472500235Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.672599ms grafana | logger=migrator t=2024-03-04T11:36:28.476277277Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-03-04T11:36:28.476512925Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=235.068µs grafana | logger=migrator t=2024-03-04T11:36:28.480640151Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-03-04T11:36:28.481662396Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.020696ms grafana | logger=migrator t=2024-03-04T11:36:28.485390057Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-03-04T11:36:28.486738874Z level=info msg="Migration successfully executed" id="create team member table" duration=1.347657ms grafana | logger=migrator t=2024-03-04T11:36:28.490451584Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-03-04T11:36:28.491409598Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=959.724µs grafana | logger=migrator t=2024-03-04T11:36:28.495852963Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-03-04T11:36:28.496833448Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=979.545µs grafana | logger=migrator t=2024-03-04T11:36:28.500329671Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-03-04T11:36:28.501318035Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=988.435µs grafana | logger=migrator t=2024-03-04T11:36:28.504689214Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-03-04T11:36:28.509221962Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.532398ms grafana | logger=migrator t=2024-03-04T11:36:28.513830584Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-03-04T11:36:28.521768222Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.937328ms grafana | logger=migrator t=2024-03-04T11:36:28.525196062Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-03-04T11:36:28.528456546Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.260114ms grafana | logger=migrator t=2024-03-04T11:36:28.531769242Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-03-04T11:36:28.532683075Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=913.463µs grafana | logger=migrator t=2024-03-04T11:36:28.536862161Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-03-04T11:36:28.537897137Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.034766ms grafana | logger=migrator t=2024-03-04T11:36:28.543520014Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-03-04T11:36:28.545552575Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.033061ms grafana | logger=migrator t=2024-03-04T11:36:28.549182772Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-03-04T11:36:28.55025742Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.074438ms grafana | logger=migrator t=2024-03-04T11:36:28.560211269Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-03-04T11:36:28.561240465Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.029876ms grafana | logger=migrator t=2024-03-04T11:36:28.564622534Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-03-04T11:36:28.565617398Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=992.744µs grafana | logger=migrator t=2024-03-04T11:36:28.569755414Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-03-04T11:36:28.571137462Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.386548ms grafana | logger=migrator t=2024-03-04T11:36:28.575787025Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-03-04T11:36:28.577101331Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.315726ms grafana | logger=migrator t=2024-03-04T11:36:28.5813497Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-03-04T11:36:28.582005913Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=656.263µs grafana | logger=migrator t=2024-03-04T11:36:28.588960847Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-03-04T11:36:28.589385712Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=425.885µs grafana | logger=migrator t=2024-03-04T11:36:28.592340635Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-03-04T11:36:28.593180134Z level=info msg="Migration successfully executed" id="create tag table" duration=839.089µs grafana | logger=migrator t=2024-03-04T11:36:28.59648216Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-03-04T11:36:28.597847368Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.365148ms grafana | logger=migrator t=2024-03-04T11:36:28.601830047Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-03-04T11:36:28.602643877Z level=info msg="Migration successfully executed" id="create login attempt table" duration=813.48µs grafana | logger=migrator t=2024-03-04T11:36:28.606056046Z level=info msg="Executing migration" id="add index login_attempt.username" prometheus | ts=2024-03-04T11:36:24.944Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-03-04T11:36:24.944Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" prometheus | ts=2024-03-04T11:36:24.944Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-03-04T11:36:24.944Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-03-04T11:36:24.944Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-04T11:36:24.944Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-03-04T11:36:24.946Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-04T11:36:24.946Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-03-04T11:36:24.950Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-04T11:36:24.950Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-03-04T11:36:24.954Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-04T11:36:24.954Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.74µs prometheus | ts=2024-03-04T11:36:24.954Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-04T11:36:24.955Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-03-04T11:36:24.955Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=46.161µs wal_replay_duration=529.37µs wbl_replay_duration=200ns total_replay_duration=768.868µs prometheus | ts=2024-03-04T11:36:24.957Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-03-04T11:36:24.957Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-03-04T11:36:24.957Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-03-04T11:36:24.959Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.13368ms db_storage=1.23µs remote_storage=1.98µs web_handler=780ns query_engine=790ns scrape=238.288µs scrape_sd=144.025µs notify=32.181µs notify_sd=11.72µs rules=2.231µs tracing=6.17µs prometheus | ts=2024-03-04T11:36:24.959Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-03-04T11:36:24.959Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-03-04T11:36:28.607102312Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.046146ms grafana | logger=migrator t=2024-03-04T11:36:28.61045374Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-03-04T11:36:28.611478916Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.025256ms grafana | logger=migrator t=2024-03-04T11:36:28.615898951Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-04T11:36:28.638290315Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=22.392275ms grafana | logger=migrator t=2024-03-04T11:36:28.641876352Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-03-04T11:36:28.642523694Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=646.722µs grafana | logger=migrator t=2024-03-04T11:36:28.645202138Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-03-04T11:36:28.646294716Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.093138ms grafana | logger=migrator t=2024-03-04T11:36:28.692779975Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:28.693581213Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=799.218µs grafana | logger=migrator t=2024-03-04T11:36:28.697582253Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-03-04T11:36:28.698749754Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.166791ms grafana | logger=migrator t=2024-03-04T11:36:28.702277058Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-03-04T11:36:28.703096176Z level=info msg="Migration successfully executed" id="create user auth table" duration=818.728µs grafana | logger=migrator t=2024-03-04T11:36:28.70746075Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-03-04T11:36:28.708464474Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.006084ms grafana | logger=migrator t=2024-03-04T11:36:28.711952017Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-03-04T11:36:28.712018Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=122.295µs grafana | logger=migrator t=2024-03-04T11:36:28.715296834Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-03-04T11:36:28.720561149Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.263685ms grafana | logger=migrator t=2024-03-04T11:36:28.724559979Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-03-04T11:36:28.730411284Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.851195ms grafana | logger=migrator t=2024-03-04T11:36:28.735668778Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-03-04T11:36:28.741812393Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.146825ms grafana | logger=migrator t=2024-03-04T11:36:28.746373553Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-03-04T11:36:28.751604417Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.230764ms grafana | logger=migrator t=2024-03-04T11:36:28.756093694Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-03-04T11:36:28.756991566Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=894.312µs grafana | logger=migrator t=2024-03-04T11:36:28.7611234Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-03-04T11:36:28.766126556Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.005456ms grafana | logger=migrator t=2024-03-04T11:36:28.769319017Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-03-04T11:36:28.770117665Z level=info msg="Migration successfully executed" id="create server_lock table" duration=798.388µs grafana | logger=migrator t=2024-03-04T11:36:28.77425005Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-03-04T11:36:28.775190863Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=941.733µs grafana | logger=migrator t=2024-03-04T11:36:28.778369244Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-03-04T11:36:28.779098Z level=info msg="Migration successfully executed" id="create user auth token table" duration=728.576µs grafana | logger=migrator t=2024-03-04T11:36:28.782573082Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-03-04T11:36:28.783475964Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=903.791µs grafana | logger=migrator t=2024-03-04T11:36:28.789764784Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-03-04T11:36:28.790954126Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.188482ms grafana | logger=migrator t=2024-03-04T11:36:28.794372136Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-03-04T11:36:28.795945241Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.571836ms grafana | logger=migrator t=2024-03-04T11:36:28.802251012Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-03-04T11:36:28.808352255Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.103583ms grafana | logger=migrator t=2024-03-04T11:36:28.812712608Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-03-04T11:36:28.813426153Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=713.455µs grafana | logger=migrator t=2024-03-04T11:36:28.816510561Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-03-04T11:36:28.81703829Z level=info msg="Migration successfully executed" id="create cache_data table" duration=526.769µs grafana | logger=migrator t=2024-03-04T11:36:28.825002699Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-03-04T11:36:28.826605005Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.601865ms grafana | logger=migrator t=2024-03-04T11:36:28.833274569Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-03-04T11:36:28.834602625Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.328406ms grafana | logger=migrator t=2024-03-04T11:36:28.838582565Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-03-04T11:36:28.840197441Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.610896ms grafana | logger=migrator t=2024-03-04T11:36:28.844050367Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-03-04T11:36:28.844182801Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=137.424µs grafana | logger=migrator t=2024-03-04T11:36:28.847769127Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-03-04T11:36:28.84786885Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=99.663µs grafana | logger=migrator t=2024-03-04T11:36:28.8507129Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-03-04T11:36:28.852146591Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.435921ms grafana | logger=migrator t=2024-03-04T11:36:28.855937233Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-04T11:36:28.857438605Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.500652ms grafana | logger=migrator t=2024-03-04T11:36:28.862313426Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-04T11:36:28.864011236Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.69743ms grafana | logger=migrator t=2024-03-04T11:36:28.867344203Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-04T11:36:28.867412105Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=68.242µs grafana | logger=migrator t=2024-03-04T11:36:28.870750532Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 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) grafana | logger=migrator t=2024-03-04T11:36:28.871672145Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=921.393µs grafana | logger=migrator t=2024-03-04T11:36:28.875627583Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-04T11:36:28.876478173Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=850.04µs grafana | logger=migrator t=2024-03-04T11:36:28.880703141Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-03-04T11:36:28.882166222Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.465491ms grafana | logger=migrator t=2024-03-04T11:36:28.886730082Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-04T11:36:28.888253165Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.522393ms grafana | logger=migrator t=2024-03-04T11:36:28.894592758Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-03-04T11:36:28.903411517Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.816829ms grafana | logger=migrator t=2024-03-04T11:36:28.906949641Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-03-04T11:36:28.907592603Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=642.792µs grafana | logger=migrator t=2024-03-04T11:36:28.911901244Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-03-04T11:36:28.911961797Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=60.943µs grafana | logger=migrator t=2024-03-04T11:36:28.914514186Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-03-04T11:36:28.91579465Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.279874ms grafana | logger=migrator t=2024-03-04T11:36:28.919144848Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-03-04T11:36:28.920656851Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.511723ms grafana | logger=migrator t=2024-03-04T11:36:28.925275783Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-03-04T11:36:28.926229676Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=953.243µs grafana | logger=migrator t=2024-03-04T11:36:28.929735779Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-04T11:36:28.929795611Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=60.112µs grafana | logger=migrator t=2024-03-04T11:36:28.933629366Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-03-04T11:36:28.934992913Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.362617ms grafana | logger=migrator t=2024-03-04T11:36:28.939475141Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-03-04T11:36:28.940781046Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.305125ms grafana | logger=migrator t=2024-03-04T11:36:28.944343711Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-03-04T11:36:28.945821323Z 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.476762ms grafana | logger=migrator t=2024-03-04T11:36:28.949508342Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-03-04T11:36:28.950424425Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=915.443µs grafana | logger=migrator t=2024-03-04T11:36:28.954561149Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-03-04T11:36:28.960131744Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.571455ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-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) grafana | logger=migrator t=2024-03-04T11:36:28.963320156Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-04T11:36:28.964188897Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=868.241µs grafana | logger=migrator t=2024-03-04T11:36:28.967275985Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-04T11:36:28.968835039Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.556634ms grafana | logger=migrator t=2024-03-04T11:36:28.974534459Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-03-04T11:36:29.013271529Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.736709ms grafana | logger=migrator t=2024-03-04T11:36:29.018494592Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-03-04T11:36:29.055885437Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=37.386025ms grafana | logger=migrator t=2024-03-04T11:36:29.058771488Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-04T11:36:29.059497585Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=723.527µs grafana | logger=migrator t=2024-03-04T11:36:29.061596728Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-04T11:36:29.062267932Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=668.534µs grafana | logger=migrator t=2024-03-04T11:36:29.066989087Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-03-04T11:36:29.072567484Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.576736ms grafana | logger=migrator t=2024-03-04T11:36:29.07558521Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-03-04T11:36:29.081057552Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.474102ms grafana | logger=migrator t=2024-03-04T11:36:29.089327063Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-03-04T11:36:29.090713752Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.386499ms grafana | logger=migrator t=2024-03-04T11:36:29.168604511Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-03-04T11:36:29.170099213Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.495172ms grafana | logger=migrator t=2024-03-04T11:36:29.194931797Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-03-04T11:36:29.196958968Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.026581ms grafana | logger=migrator t=2024-03-04T11:36:29.200957019Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-03-04T11:36:29.202036946Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.083388ms grafana | logger=migrator t=2024-03-04T11:36:29.209197478Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-04T11:36:29.209263401Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=66.323µs grafana | logger=migrator t=2024-03-04T11:36:29.215741718Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-03-04T11:36:29.225323586Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.580268ms grafana | logger=migrator t=2024-03-04T11:36:29.229632727Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-03-04T11:36:29.233920098Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.286781ms grafana | logger=migrator t=2024-03-04T11:36:29.238315742Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-03-04T11:36:29.244185509Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.869077ms grafana | logger=migrator t=2024-03-04T11:36:29.24907354Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-03-04T11:36:29.250070096Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=995.906µs grafana | logger=migrator t=2024-03-04T11:36:29.252855204Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-03-04T11:36:29.253853609Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=998.015µs grafana | logger=migrator t=2024-03-04T11:36:29.257924311Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-03-04T11:36:29.266627268Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.703577ms grafana | logger=migrator t=2024-03-04T11:36:29.270128421Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-03-04T11:36:29.276183104Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.053883ms grafana | logger=migrator t=2024-03-04T11:36:29.282416493Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-03-04T11:36:29.283409489Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=992.585µs grafana | logger=migrator t=2024-03-04T11:36:29.287564454Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-03-04T11:36:29.297342478Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.775063ms grafana | logger=migrator t=2024-03-04T11:36:29.301689051Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-03-04T11:36:29.305995323Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.305292ms grafana | logger=migrator t=2024-03-04T11:36:29.309695103Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-03-04T11:36:29.309758275Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=63.333µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-03-04T11:36:29.316543723Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-03-04T11:36:29.319322171Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.777807ms grafana | logger=migrator t=2024-03-04T11:36:29.324383989Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-03-04T11:36:29.325657244Z 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.272755ms grafana | logger=migrator t=2024-03-04T11:36:29.329182498Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-03-04T11:36:29.330843966Z 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.660488ms grafana | logger=migrator t=2024-03-04T11:36:29.335753539Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-04T11:36:29.335821221Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=68.473µs grafana | logger=migrator t=2024-03-04T11:36:29.339877184Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-03-04T11:36:29.347716829Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.839625ms grafana | logger=migrator t=2024-03-04T11:36:29.353198252Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-03-04T11:36:29.360035293Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.836891ms grafana | logger=migrator t=2024-03-04T11:36:29.393388546Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-03-04T11:36:29.399736779Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.348223ms grafana | logger=migrator t=2024-03-04T11:36:29.403732289Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-03-04T11:36:29.410146245Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.413996ms grafana | logger=migrator t=2024-03-04T11:36:29.419165812Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-03-04T11:36:29.425222435Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.055893ms grafana | logger=migrator t=2024-03-04T11:36:29.428739698Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-03-04T11:36:29.428969726Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=240.268µs grafana | logger=migrator t=2024-03-04T11:36:29.433451694Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-03-04T11:36:29.434247222Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=796.088µs grafana | logger=migrator t=2024-03-04T11:36:29.438611486Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-03-04T11:36:29.44499255Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.380754ms grafana | logger=migrator t=2024-03-04T11:36:29.449861931Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-03-04T11:36:29.449924624Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=63.243µs grafana | logger=migrator t=2024-03-04T11:36:29.455530861Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-03-04T11:36:29.46176423Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.232939ms grafana | logger=migrator t=2024-03-04T11:36:29.465231621Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-03-04T11:36:29.466009679Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=777.868µs grafana | logger=migrator t=2024-03-04T11:36:29.469271144Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-03-04T11:36:29.473934818Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=4.663054ms grafana | logger=migrator t=2024-03-04T11:36:29.478087674Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-03-04T11:36:29.478896792Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=808.278µs grafana | logger=migrator t=2024-03-04T11:36:29.484903633Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-03-04T11:36:29.485992562Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.088579ms grafana | logger=migrator t=2024-03-04T11:36:29.49446179Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-03-04T11:36:29.500744471Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.28213ms grafana | logger=migrator t=2024-03-04T11:36:29.504579075Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-03-04T11:36:29.505358253Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=778.558µs grafana | logger=migrator t=2024-03-04T11:36:29.510273775Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-03-04T11:36:29.512800594Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=2.532419ms grafana | logger=migrator t=2024-03-04T11:36:29.519915735Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-03-04T11:36:29.522383502Z level=info msg="Migration successfully executed" id="create alert_image table" duration=2.474588ms grafana | logger=migrator t=2024-03-04T11:36:29.531768331Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-03-04T11:36:29.533480652Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.711711ms grafana | logger=migrator t=2024-03-04T11:36:29.538373704Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-03-04T11:36:29.538621003Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=247.169µs 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 policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:29.54283089Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-03-04T11:36:29.543754623Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=923.083µs grafana | logger=migrator t=2024-03-04T11:36:29.547857727Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-03-04T11:36:29.549797576Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.938579ms grafana | logger=migrator t=2024-03-04T11:36:29.555226277Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-03-04T11:36:29.5561743Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-03-04T11:36:29.562299175Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-03-04T11:36:29.563078342Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=780.947µs grafana | logger=migrator t=2024-03-04T11:36:29.568307596Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-03-04T11:36:29.569590722Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.284516ms grafana | logger=migrator t=2024-03-04T11:36:29.680366597Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-03-04T11:36:29.691028832Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=10.663306ms grafana | logger=migrator t=2024-03-04T11:36:29.697124376Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-03-04T11:36:29.69921583Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=2.091034ms grafana | logger=migrator t=2024-03-04T11:36:29.705038315Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-03-04T11:36:29.706399163Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.362189ms grafana | logger=migrator t=2024-03-04T11:36:29.709960728Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-03-04T11:36:29.710836388Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=875.72µs grafana | logger=migrator t=2024-03-04T11:36:29.714653722Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-03-04T11:36:29.715953059Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.298856ms grafana | logger=migrator t=2024-03-04T11:36:29.72054369Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-03-04T11:36:29.721652699Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.108579ms grafana | logger=migrator t=2024-03-04T11:36:29.726541981Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-03-04T11:36:29.726589563Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=48.192µs grafana | logger=migrator t=2024-03-04T11:36:29.732975697Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-03-04T11:36:29.73305867Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=82.833µs grafana | logger=migrator t=2024-03-04T11:36:29.737926131Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-03-04T11:36:29.738577284Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=650.193µs grafana | logger=migrator t=2024-03-04T11:36:29.743816558Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-03-04T11:36:29.74557858Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.761242ms grafana | logger=migrator t=2024-03-04T11:36:29.749649723Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-03-04T11:36:29.750599586Z level=info msg="Migration successfully executed" id="create secrets table" duration=949.153µs grafana | logger=migrator t=2024-03-04T11:36:29.754323898Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-03-04T11:36:29.800612365Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.280057ms grafana | logger=migrator t=2024-03-04T11:36:29.809726086Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-03-04T11:36:29.817889653Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.161488ms grafana | logger=migrator t=2024-03-04T11:36:29.822905339Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-03-04T11:36:29.823079115Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=172.526µs grafana | logger=migrator t=2024-03-04T11:36:29.827790721Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-03-04T11:36:29.877680726Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.890625ms grafana | logger=migrator t=2024-03-04T11:36:29.882893109Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:29.929773587Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=46.877338ms grafana | logger=migrator t=2024-03-04T11:36:29.934425041Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-03-04T11:36:29.935220539Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=798.298µs grafana | logger=migrator t=2024-03-04T11:36:29.939354115Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-03-04T11:36:29.940409151Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.054466ms grafana | logger=migrator t=2024-03-04T11:36:29.943960206Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-03-04T11:36:29.944226615Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=267.079µs grafana | logger=migrator t=2024-03-04T11:36:29.951433679Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-03-04T11:36:29.952815537Z level=info msg="Migration successfully executed" id="create permission table" duration=1.385648ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:29.962357203Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-03-04T11:36:29.964108385Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.751011ms grafana | logger=migrator t=2024-03-04T11:36:29.9679516Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-03-04T11:36:29.969184043Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.232533ms grafana | logger=migrator t=2024-03-04T11:36:29.973771825Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-03-04T11:36:29.974613834Z level=info msg="Migration successfully executed" id="create role table" duration=841.779µs grafana | logger=migrator t=2024-03-04T11:36:29.978851443Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-03-04T11:36:29.986403858Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.553285ms grafana | logger=migrator t=2024-03-04T11:36:29.992583046Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-03-04T11:36:30.003940396Z level=info msg="Migration successfully executed" id="add column group_name" duration=11.35523ms grafana | logger=migrator t=2024-03-04T11:36:30.010231797Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-03-04T11:36:30.011341735Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.109918ms grafana | logger=migrator t=2024-03-04T11:36:30.01486127Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-03-04T11:36:30.016796357Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.934447ms grafana | logger=migrator t=2024-03-04T11:36:30.023034867Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-03-04T11:36:30.024130976Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.095868ms grafana | logger=migrator t=2024-03-04T11:36:30.029818786Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-03-04T11:36:30.030689516Z level=info msg="Migration successfully executed" id="create team role table" duration=870.371µs grafana | logger=migrator t=2024-03-04T11:36:30.035178164Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-03-04T11:36:30.036954657Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.779713ms grafana | logger=migrator t=2024-03-04T11:36:30.040939247Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-03-04T11:36:30.042230742Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.291294ms grafana | logger=migrator t=2024-03-04T11:36:30.048075587Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-03-04T11:36:30.049962334Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.886507ms grafana | logger=migrator t=2024-03-04T11:36:30.054015287Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-03-04T11:36:30.055404425Z level=info msg="Migration successfully executed" id="create user role table" duration=1.390658ms grafana | logger=migrator t=2024-03-04T11:36:30.060990412Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-03-04T11:36:30.062121061Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.13065ms grafana | logger=migrator t=2024-03-04T11:36:30.071371987Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-03-04T11:36:30.073211941Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.839574ms grafana | logger=migrator t=2024-03-04T11:36:30.077075437Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-03-04T11:36:30.078936312Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.860995ms grafana | logger=migrator t=2024-03-04T11:36:30.083964039Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-03-04T11:36:30.084737877Z level=info msg="Migration successfully executed" id="create builtin role table" duration=773.298µs grafana | logger=migrator t=2024-03-04T11:36:30.089300527Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-03-04T11:36:30.091128832Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.827524ms grafana | logger=migrator t=2024-03-04T11:36:30.133996159Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-03-04T11:36:30.135788122Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.789943ms grafana | logger=migrator t=2024-03-04T11:36:30.139985109Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-03-04T11:36:30.149750253Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.767014ms grafana | logger=migrator t=2024-03-04T11:36:30.153729053Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-03-04T11:36:30.15506409Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.334888ms grafana | logger=migrator t=2024-03-04T11:36:30.159944761Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-03-04T11:36:30.161981663Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.033612ms grafana | logger=migrator t=2024-03-04T11:36:30.166952558Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-03-04T11:36:30.168208822Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.257654ms grafana | logger=migrator t=2024-03-04T11:36:30.176741842Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-03-04T11:36:30.178949069Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=2.207258ms grafana | logger=migrator t=2024-03-04T11:36:30.210673916Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-03-04T11:36:30.211592538Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=922.833µs grafana | logger=migrator t=2024-03-04T11:36:30.278087546Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-03-04T11:36:30.279504766Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.421539ms grafana | logger=migrator t=2024-03-04T11:36:30.285937491Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-03-04T11:36:30.294745072Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.804141ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:30.298514084Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-03-04T11:36:30.306082361Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.567287ms grafana | logger=migrator t=2024-03-04T11:36:30.313685507Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-03-04T11:36:30.321383958Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.697851ms grafana | logger=migrator t=2024-03-04T11:36:30.324418215Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-03-04T11:36:30.33222428Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.805325ms grafana | logger=migrator t=2024-03-04T11:36:30.335346509Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-03-04T11:36:30.336581622Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.234653ms grafana | logger=migrator t=2024-03-04T11:36:30.341547147Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-03-04T11:36:30.34246633Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=915.733µs grafana | logger=migrator t=2024-03-04T11:36:30.349981134Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-03-04T11:36:30.351172436Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.190522ms grafana | logger=migrator t=2024-03-04T11:36:30.356344128Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-03-04T11:36:30.356538175Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=193.917µs grafana | logger=migrator t=2024-03-04T11:36:30.361088094Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-03-04T11:36:30.361197598Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=89.623µs grafana | logger=migrator t=2024-03-04T11:36:30.364723643Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-03-04T11:36:30.365278852Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=554.759µs grafana | logger=migrator t=2024-03-04T11:36:30.368524786Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-03-04T11:36:30.36920145Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=677.294µs grafana | logger=migrator t=2024-03-04T11:36:30.372272408Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-03-04T11:36:30.37292336Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=650.552µs grafana | logger=migrator t=2024-03-04T11:36:30.377811212Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-03-04T11:36:30.378087012Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=275.7µs grafana | logger=migrator t=2024-03-04T11:36:30.38313709Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-03-04T11:36:30.383588615Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=451.635µs grafana | logger=migrator t=2024-03-04T11:36:30.389747062Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-03-04T11:36:30.390605863Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=858.481µs grafana | logger=migrator t=2024-03-04T11:36:30.395783995Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-03-04T11:36:30.396876983Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.092488ms grafana | logger=migrator t=2024-03-04T11:36:30.400186369Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-03-04T11:36:30.407902551Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.715392ms grafana | logger=migrator t=2024-03-04T11:36:30.411269589Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-03-04T11:36:30.411404304Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=134.355µs grafana | logger=migrator t=2024-03-04T11:36:30.41444373Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-03-04T11:36:30.415345993Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=899.713µs grafana | logger=migrator t=2024-03-04T11:36:30.424187694Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-03-04T11:36:30.425308753Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.119779ms grafana | logger=migrator t=2024-03-04T11:36:30.432762375Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-03-04T11:36:30.434831868Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.075793ms grafana | logger=migrator t=2024-03-04T11:36:30.43859266Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-03-04T11:36:30.448040682Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.448622ms grafana | logger=migrator t=2024-03-04T11:36:30.452496599Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.453330978Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=834.089µs grafana | logger=migrator t=2024-03-04T11:36:30.456912964Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.458110636Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.195132ms grafana | logger=migrator t=2024-03-04T11:36:30.464113107Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-04T11:36:30.494675172Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.521334ms grafana | logger=migrator t=2024-03-04T11:36:30.498425114Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-03-04T11:36:30.499347187Z level=info msg="Migration successfully executed" id="create correlation v2" duration=921.213µs grafana | logger=migrator t=2024-03-04T11:36:30.502981824Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-03-04T11:36:30.504472206Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.492692ms policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:30.510513299Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-03-04T11:36:30.511545195Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.031726ms grafana | logger=migrator t=2024-03-04T11:36:30.516035934Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-03-04T11:36:30.517305458Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.268214ms grafana | logger=migrator t=2024-03-04T11:36:30.520921515Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-03-04T11:36:30.521489725Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=567.609µs grafana | logger=migrator t=2024-03-04T11:36:30.528939707Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-03-04T11:36:30.529834078Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=893.191µs grafana | logger=migrator t=2024-03-04T11:36:30.572176998Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-03-04T11:36:30.583989443Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.812275ms grafana | logger=migrator t=2024-03-04T11:36:30.587238157Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-03-04T11:36:30.587822297Z level=info msg="Migration successfully executed" id="create entity_events table" duration=584µs grafana | logger=migrator t=2024-03-04T11:36:30.594092588Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-03-04T11:36:30.595674224Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.581276ms grafana | logger=migrator t=2024-03-04T11:36:30.600090489Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.600881837Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.604566636Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.605062864Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.608340359Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-03-04T11:36:30.609148228Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=806.849µs grafana | logger=migrator t=2024-03-04T11:36:30.614344111Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-03-04T11:36:30.615866654Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.518792ms grafana | logger=migrator t=2024-03-04T11:36:30.62030794Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.622110823Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.802373ms grafana | logger=migrator t=2024-03-04T11:36:30.626608942Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-04T11:36:30.628099404Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.490783ms grafana | logger=migrator t=2024-03-04T11:36:30.634218779Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-04T11:36:30.635360699Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.14086ms grafana | logger=migrator t=2024-03-04T11:36:30.640866173Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-04T11:36:30.6419255Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.058757ms grafana | logger=migrator t=2024-03-04T11:36:30.646300244Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-03-04T11:36:30.647100912Z level=info msg="Migration successfully executed" id="Drop public config table" duration=799.898µs grafana | logger=migrator t=2024-03-04T11:36:30.651605321Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-03-04T11:36:30.652570884Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=963.533µs grafana | logger=migrator t=2024-03-04T11:36:30.65669957Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-04T11:36:30.657823719Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.123689ms grafana | logger=migrator t=2024-03-04T11:36:30.664253985Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-04T11:36:30.665446117Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.191932ms grafana | logger=migrator t=2024-03-04T11:36:30.670958951Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-03-04T11:36:30.671824901Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=867.05µs grafana | logger=migrator t=2024-03-04T11:36:30.676436644Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-03-04T11:36:30.709434014Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.99842ms grafana | logger=migrator t=2024-03-04T11:36:30.71272062Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-03-04T11:36:30.719665314Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.943834ms grafana | logger=migrator t=2024-03-04T11:36:30.723160526Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-03-04T11:36:30.731753119Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.591593ms grafana | logger=migrator t=2024-03-04T11:36:30.736817007Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-03-04T11:36:30.736991483Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=174.736µs grafana | logger=migrator t=2024-03-04T11:36:30.740063001Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-03-04T11:36:30.750737666Z level=info msg="Migration successfully executed" id="add share column" duration=10.674575ms 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 | -------------- grafana | logger=migrator t=2024-03-04T11:36:30.754781559Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-03-04T11:36:30.755012207Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=187.036µs grafana | logger=migrator t=2024-03-04T11:36:30.758451718Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-03-04T11:36:30.759280557Z level=info msg="Migration successfully executed" id="create file table" duration=828.998µs grafana | logger=migrator t=2024-03-04T11:36:30.766414308Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-03-04T11:36:30.768236742Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.821874ms grafana | logger=migrator t=2024-03-04T11:36:30.772842954Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-03-04T11:36:30.774185821Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.344198ms grafana | logger=migrator t=2024-03-04T11:36:30.777689174Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-03-04T11:36:30.778443171Z level=info msg="Migration successfully executed" id="create file_meta table" duration=754.046µs grafana | logger=migrator t=2024-03-04T11:36:30.783051863Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-03-04T11:36:30.784259285Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.206912ms grafana | logger=migrator t=2024-03-04T11:36:30.790457623Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-03-04T11:36:30.790595489Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=139.015µs grafana | logger=migrator t=2024-03-04T11:36:30.794469674Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-03-04T11:36:30.794603139Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=134.925µs grafana | logger=migrator t=2024-03-04T11:36:30.799529843Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-03-04T11:36:30.800481426Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=950.913µs grafana | logger=migrator t=2024-03-04T11:36:30.805481162Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-03-04T11:36:30.805769882Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=285.5µs grafana | logger=migrator t=2024-03-04T11:36:30.810862691Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-03-04T11:36:30.812182437Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.319446ms grafana | logger=migrator t=2024-03-04T11:36:30.815891628Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-03-04T11:36:30.826800741Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.906883ms grafana | logger=migrator t=2024-03-04T11:36:30.831355881Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-03-04T11:36:30.831527647Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=170.976µs grafana | logger=migrator t=2024-03-04T11:36:30.834877375Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-03-04T11:36:30.835791058Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=914.413µs grafana | logger=migrator t=2024-03-04T11:36:30.839671434Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-03-04T11:36:30.840011896Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=340.902µs grafana | logger=migrator t=2024-03-04T11:36:30.844657029Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-03-04T11:36:30.845049183Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=392.244µs grafana | logger=migrator t=2024-03-04T11:36:30.849550712Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-03-04T11:36:30.850386991Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=835.929µs grafana | logger=migrator t=2024-03-04T11:36:30.854339919Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-03-04T11:36:30.864901191Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.562182ms grafana | logger=migrator t=2024-03-04T11:36:30.868454286Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-03-04T11:36:30.876318492Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.863076ms grafana | logger=migrator t=2024-03-04T11:36:30.881315858Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-04T11:36:30.882458698Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.14238ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:30.885938761Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:30.996709346Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=110.767345ms policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.025690695Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-04T11:36:31.02752649Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.836025ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.033398696Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-04T11:36:31.034605209Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.206343ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.037995438Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.073940322Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.943794ms policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.078558154Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-04T11:36:31.078766501Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=209.267µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.082264655Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.082449181Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=184.396µs policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.085958095Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.086267515Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=309.261µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-04T11:36:31.093155258Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.09436668Z level=info msg="Migration successfully executed" id="create folder table" duration=1.209252ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-04T11:36:31.099607705Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.101567344Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.95969ms policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.105521332Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.106737475Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.215713ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-04T11:36:31.111065957Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.111095118Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.031µs policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-03-04T11:36:31.11456997Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.115715121Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.145161ms policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.119326258Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.120606933Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.280744ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-04T11:36:31.125288918Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.12652105Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.231283ms policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-03-04T11:36:31.133092832Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.133535438Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=442.635µs policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.13701108Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.13732102Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=307.601µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-03-04T11:36:31.140675158Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.141927483Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.251195ms policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.146415901Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.148368269Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.952128ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-04T11:36:31.151933295Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.153074105Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.14048ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-04T11:36:31.157304223Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.158437303Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.1329ms policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.164202856Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.165408948Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.205882ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-04T11:36:31.170513398Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.17169942Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.186262ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-04T11:36:31.176072843Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.176642563Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=575.11µs policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.179870576Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.186641805Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=6.771229ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-04T11:36:31.18962899Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.190332755Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=704.445µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-04T11:36:31.197925902Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-04T11:36:31.199925012Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.9985ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-04T11:36:31.204543354Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-03-04T11:36:31.205793039Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.250485ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.211360024Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.212191563Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=831.829µs policy-db-migrator | grafana | logger=migrator t=2024-03-04T11:36:31.216811836Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-04T11:36:31.217115087Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=303.561µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-04T11:36:31.221099166Z level=info msg="migrations completed" performed=526 skipped=0 duration=5.289929934s policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=sqlstore t=2024-03-04T11:36:31.233650408Z level=info msg="Created default admin" user=admin policy-db-migrator | -------------- grafana | logger=sqlstore t=2024-03-04T11:36:31.233871186Z level=info msg="Created default organization" policy-db-migrator | grafana | logger=secrets t=2024-03-04T11:36:31.239420001Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2024-03-04T11:36:31.255100272Z level=info msg="Loading plugins..." policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- grafana | logger=local.finder t=2024-03-04T11:36:31.302954305Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 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)) grafana | logger=plugin.store t=2024-03-04T11:36:31.303074829Z level=info msg="Plugins loaded" count=55 duration=47.998608ms policy-db-migrator | -------------- grafana | logger=query_data t=2024-03-04T11:36:31.305400231Z level=info msg="Query Service initialization" policy-db-migrator | grafana | logger=live.push_http t=2024-03-04T11:36:31.308830912Z level=info msg="Live Push Gateway initialization" policy-db-migrator | grafana | logger=ngalert.migration t=2024-03-04T11:36:31.313456814Z level=info msg=Starting policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=ngalert.migration orgID=1 t=2024-03-04T11:36:31.314774901Z level=info msg="Migrating alerts for organisation" policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2024-03-04T11:36:31.315798297Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-03-04T11:36:31.317808448Z level=info msg="Completed legacy migration" policy-db-migrator | -------------- grafana | logger=infra.usagestats.collector t=2024-03-04T11:36:31.344467035Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | grafana | logger=provisioning.datasources t=2024-03-04T11:36:31.346732375Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | grafana | logger=provisioning.alerting t=2024-03-04T11:36:31.358855961Z level=info msg="starting to provision alerting" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=provisioning.alerting t=2024-03-04T11:36:31.358873931Z level=info msg="finished to provision alerting" policy-db-migrator | -------------- grafana | logger=ngalert.multiorg.alertmanager t=2024-03-04T11:36:31.35912297Z level=info msg="Starting MultiOrg Alertmanager" 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)) grafana | logger=ngalert.state.manager t=2024-03-04T11:36:31.359083918Z level=info msg="Warming state cache for startup" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2024-03-04T11:36:31.35966586Z level=info msg="State cache has been initialized" states=0 duration=580.992µs policy-db-migrator | grafana | logger=ngalert.scheduler t=2024-03-04T11:36:31.359728262Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | grafana | logger=ticker t=2024-03-04T11:36:31.359788744Z level=info msg=starting first_tick=2024-03-04T11:36:40Z policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=grafanaStorageLogger t=2024-03-04T11:36:31.360265871Z level=info msg="Storage starting" policy-db-migrator | -------------- grafana | logger=http.server t=2024-03-04T11:36:31.363487934Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=grafana-apiserver t=2024-03-04T11:36:31.365877458Z level=info msg="Authentication is disabled" policy-db-migrator | -------------- grafana | logger=grafana-apiserver t=2024-03-04T11:36:31.372514931Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | grafana | logger=plugins.update.checker t=2024-03-04T11:36:31.477031747Z level=info msg="Update check succeeded" duration=117.710079ms policy-db-migrator | grafana | logger=grafana.update.checker t=2024-03-04T11:36:31.507858451Z level=info msg="Update check succeeded" duration=148.670819ms 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 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:29 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:30 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:31 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:32 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:33 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:33 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:33 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:33 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:33 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0403241136290800u 1 2024-03-04 11:36:33 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0403241136290900u 1 2024-03-04 11:36:33 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0403241136291000u 1 2024-03-04 11:36:34 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0403241136291100u 1 2024-03-04 11:36:34 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0403241136291200u 1 2024-03-04 11:36:34 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0403241136291200u 1 2024-03-04 11:36:34 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0403241136291200u 1 2024-03-04 11:36:34 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0403241136291200u 1 2024-03-04 11:36:34 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 prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing mariadb ... done Removing policy-api ... done Removing prometheus ... done Removing policy-db-migrator ... done Removing grafana ... 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.ZinM1SqjRR ]] + rsync -av /tmp/tmp.ZinM1SqjRR/ /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,346,080 bytes received 95 bytes 2,692,350.00 bytes/sec total size is 1,345,430 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 2147 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -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/jenkins3029348708417346606.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11499578367146567345.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/jenkins878138673956032419.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-jWYf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-jWYf/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9194318793578501181.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config18297408744816306769tmp 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/jenkins689016572866553738.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13541643051510855519.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-jWYf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-jWYf/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2983102696780864705.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12165894341612998887.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-jWYf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-jWYf/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/jenkins2017303941635259729.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-jWYf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-jWYf/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/290 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-10793 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 822 27461 0 3883 30888 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:cd:ec:e2 brd ff:ff:ff:ff:ff:ff inet 10.30.106.93/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86020sec preferred_lft 86020sec inet6 fe80::f816:3eff:fecd:ece2/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:31:65:b4:8e 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-10793) 03/04/24 _x86_64_ (8 CPU) 11:32:46 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 183.70 122.38 61.32 8216.36 55085.75 11:35:01 107.33 13.81 93.52 977.70 26358.94 11:36:01 113.30 22.90 90.40 2728.21 27406.50 11:37:01 358.67 12.93 345.74 787.77 75086.09 11:38:01 14.53 0.00 14.53 0.00 17811.90 11:39:01 73.00 2.02 70.99 124.78 22049.59 Average: 141.76 29.01 112.75 2139.14 37299.79 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30336864 31692252 2602356 7.90 50888 1626376 1467140 4.32 851112 1484232 60216 11:35:01 30048880 31695484 2890340 8.77 75084 1877500 1450644 4.27 882144 1706564 79388 11:36:01 28631248 31673176 4307972 13.08 103824 3204808 1525536 4.49 980572 2943776 1148920 11:37:01 27008020 30587032 5931200 18.01 126500 3645456 4569652 13.44 2154848 3326424 1216 11:38:01 27011424 30581764 5927796 18.00 126564 3645528 4535248 13.34 2162484 3317084 40 11:39:01 28081712 31590460 4857508 14.75 129928 3617692 1536472 4.52 1189080 3245320 14128 Average: 28519691 31303361 4419529 13.42 102131 2936227 2514115 7.40 1370040 2670567 217318 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 lo 2.67 2.67 0.26 0.26 0.00 0.00 0.00 0.00 11:34:01 ens3 355.37 236.71 945.74 60.04 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 11:35:01 ens3 46.46 31.18 862.35 5.74 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 8.27 8.27 0.76 0.76 0.00 0.00 0.00 0.00 11:36:01 ens3 246.48 159.66 7272.85 15.98 0.00 0.00 0.00 0.00 11:36:01 br-49f8237a9298 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth365368f 0.05 0.25 0.00 0.02 0.00 0.00 0.00 0.00 11:37:01 lo 7.20 7.20 7.62 7.62 0.00 0.00 0.00 0.00 11:37:01 ens3 62.44 41.58 1849.15 4.17 0.00 0.00 0.00 0.00 11:37:01 vethdbfdc3e 113.53 93.40 45.25 117.72 0.00 0.00 0.00 0.01 11:38:01 veth365368f 0.15 0.15 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 lo 6.47 6.47 0.90 0.90 0.00 0.00 0.00 0.00 11:38:01 ens3 1.32 1.15 0.22 0.20 0.00 0.00 0.00 0.00 11:38:01 vethdbfdc3e 1.98 1.82 1.47 1.39 0.00 0.00 0.00 0.00 11:39:01 lo 6.65 6.65 0.63 0.63 0.00 0.00 0.00 0.00 11:39:01 ens3 60.59 55.31 97.81 27.00 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.35 5.35 1.71 1.71 0.00 0.00 0.00 0.00 Average: ens3 128.78 87.60 1838.02 18.85 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 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-10793) 03/04/24 _x86_64_ (8 CPU) 11:32:46 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 7.24 0.00 1.15 9.83 0.04 81.75 11:34:01 0 7.39 0.00 0.95 20.50 0.03 71.12 11:34:01 1 9.78 0.00 2.49 16.09 0.03 71.60 11:34:01 2 14.99 0.00 1.10 7.39 0.03 76.49 11:34:01 3 7.46 0.00 1.06 20.03 0.03 71.43 11:34:01 4 6.08 0.00 0.85 0.23 0.03 92.80 11:34:01 5 3.63 0.00 0.77 9.65 0.05 85.90 11:34:01 6 4.20 0.00 0.85 4.25 0.05 90.64 11:34:01 7 4.38 0.00 1.00 0.48 0.02 94.12 11:35:01 all 7.63 0.00 0.61 6.91 0.04 84.82 11:35:01 0 0.68 0.00 0.10 0.07 0.02 99.13 11:35:01 1 17.22 0.00 1.02 10.40 0.05 71.32 11:35:01 2 30.18 0.00 2.04 11.68 0.07 56.03 11:35:01 3 0.92 0.00 0.30 18.88 0.02 79.88 11:35:01 4 7.07 0.00 0.40 0.23 0.02 92.28 11:35:01 5 2.89 0.00 0.60 6.07 0.02 90.42 11:35:01 6 1.52 0.00 0.20 6.77 0.05 91.46 11:35:01 7 0.57 0.00 0.25 1.18 0.07 97.93 11:36:01 all 10.68 0.00 2.11 3.10 0.06 84.04 11:36:01 0 9.88 0.00 1.65 1.58 0.03 86.85 11:36:01 1 18.34 0.00 2.67 11.84 0.07 67.08 11:36:01 2 12.12 0.00 2.01 0.50 0.03 85.33 11:36:01 3 6.13 0.00 1.76 0.49 0.08 91.53 11:36:01 4 7.02 0.00 2.13 0.40 0.03 90.41 11:36:01 5 3.00 0.00 2.43 4.51 0.08 89.97 11:36:01 6 14.63 0.00 2.53 1.84 0.07 80.93 11:36:01 7 14.36 0.00 1.68 3.68 0.07 80.21 11:37:01 all 17.13 0.00 2.92 5.89 0.09 73.96 11:37:01 0 15.40 0.00 2.21 1.72 0.07 80.60 11:37:01 1 13.64 0.00 3.07 1.01 0.07 82.21 11:37:01 2 17.78 0.00 2.82 5.70 0.13 73.57 11:37:01 3 16.84 0.00 2.90 1.46 0.07 78.73 11:37:01 4 18.60 0.00 3.71 28.16 0.10 49.43 11:37:01 5 16.78 0.00 2.58 6.02 0.08 74.53 11:37:01 6 18.19 0.00 3.21 1.93 0.08 76.58 11:37:01 7 19.87 0.00 2.93 1.23 0.08 75.89 11:38:01 all 0.26 0.00 0.04 1.19 0.03 98.48 11:38:01 0 0.42 0.00 0.03 0.00 0.03 99.52 11:38:01 1 0.37 0.00 0.02 0.05 0.05 99.52 11:38:01 2 0.22 0.00 0.05 9.44 0.05 90.24 11:38:01 3 0.23 0.00 0.05 0.02 0.02 99.68 11:38:01 4 0.27 0.00 0.03 0.00 0.02 99.68 11:38:01 5 0.37 0.00 0.02 0.02 0.02 99.58 11:38:01 6 0.17 0.00 0.02 0.00 0.00 99.82 11:38:01 7 0.10 0.00 0.03 0.00 0.03 99.83 11:39:01 all 8.35 0.00 0.67 1.84 0.04 89.10 11:39:01 0 2.51 0.00 0.48 0.63 0.02 96.36 11:39:01 1 12.17 0.00 0.62 0.50 0.05 86.66 11:39:01 2 2.79 0.00 0.53 10.64 0.03 86.01 11:39:01 3 1.03 0.00 0.58 1.60 0.02 96.76 11:39:01 4 6.87 0.00 0.65 0.12 0.03 92.33 11:39:01 5 20.58 0.00 0.70 0.73 0.05 77.94 11:39:01 6 17.49 0.00 1.09 0.42 0.03 80.97 11:39:01 7 3.37 0.00 0.68 0.03 0.05 95.86 Average: all 8.54 0.00 1.25 4.79 0.05 85.38 Average: 0 6.05 0.00 0.90 4.08 0.03 88.94 Average: 1 11.91 0.00 1.64 6.64 0.05 79.75 Average: 2 13.00 0.00 1.42 7.57 0.06 77.95 Average: 3 5.42 0.00 1.11 7.08 0.04 86.35 Average: 4 7.63 0.00 1.29 4.82 0.04 86.21 Average: 5 7.87 0.00 1.18 4.50 0.05 86.40 Average: 6 9.35 0.00 1.31 2.53 0.05 86.76 Average: 7 7.08 0.00 1.09 1.10 0.05 90.68