Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-8320 (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-XUlGaX3aM4Nb/agent.2111 SSH_AGENT_PID=2113 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_8123199219024990004.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_8123199219024990004.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/jenkins559696701101830424.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-tsqm 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-tsqm/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-tsqm/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.49 botocore==1.34.49 bs4==0.0.2 cachetools==5.3.2 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.0.post1 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.7 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.4.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.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.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.3 tqdm==4.66.2 typing_extensions==4.9.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/jenkins13546765082183643901.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/jenkins17669014944527698750.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.jghaJLHUfC ++ echo ROBOT_VENV=/tmp/tmp.jghaJLHUfC +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.jghaJLHUfC ++ source /tmp/tmp.jghaJLHUfC/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.jghaJLHUfC +++ 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.jghaJLHUfC/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.jghaJLHUfC) ' '!=' x ']' +++ PS1='(tmp.jghaJLHUfC) ' +++ 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.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.jghaJLHUfC/src/onap ++ rm -rf /tmp/tmp.jghaJLHUfC/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.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o 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.jghaJLHUfC/bin/activate + '[' -z /tmp/tmp.jghaJLHUfC/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.jghaJLHUfC/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.jghaJLHUfC ++ 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.jghaJLHUfC/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.jghaJLHUfC) ' ++ '[' 'x(tmp.jghaJLHUfC) ' '!=' x ']' ++ PS1='(tmp.jghaJLHUfC) (tmp.jghaJLHUfC) ' ++ 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.f9d2X0JsCe + cd /tmp/tmp.f9d2X0JsCe + 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:042258e3578a558ce41b036104dfa997b2d25151ab6889a3f4d6187e27b1176c 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 mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:36:42 up 3 min, 0 users, load average: 1.98, 0.86, 0.33 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.4 us, 2.1 sy, 0.0 ni, 82.9 id, 3.6 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.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 mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 1754def5fa68 grafana 0.03% 52.48MiB / 31.41GiB 0.16% 18.3kB / 3.31kB 0B / 23.8MB 19 79699359dc13 policy-api 0.10% 890.5MiB / 31.41GiB 2.77% 1.04MB / 755kB 0B / 0B 50 9f2f42ac6101 mariadb 0.01% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 63.6MB 26 c79ae0b212ec prometheus 0.00% 18.75MiB / 31.41GiB 0.06% 16.3kB / 802B 225kB / 0B 13 + echo + cd /tmp/tmp.f9d2X0JsCe + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.f9d2X0JsCe/output.xml Log: /tmp/tmp.f9d2X0JsCe/log.html Report: /tmp/tmp.f9d2X0JsCe/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:53 up 4 min, 0 users, load average: 0.91, 0.77, 0.34 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.6 sy, 0.0 ni, 85.9 id, 2.9 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 1754def5fa68 grafana 0.02% 53.05MiB / 31.41GiB 0.16% 19.2kB / 4.46kB 0B / 23.8MB 19 79699359dc13 policy-api 0.16% 921.3MiB / 31.41GiB 2.86% 7.32MB / 2.89MB 0B / 0B 52 9f2f42ac6101 mariadb 0.02% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.36MB 11MB / 63.7MB 18 c79ae0b212ec prometheus 0.00% 24.4MiB / 31.41GiB 0.08% 53kB / 7.84kB 225kB / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-02-24T11:36:27.430+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 33 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-24T11:36:27.433+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-24T11:36:28.721+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-24T11:36:28.805+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 73 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-24T11:36:29.842+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-24T11:36:29.854+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-24T11:36:29.854+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-24T11:36:29.854+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-02-24T11:36:29.932+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-24T11:36:29.932+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2444 ms policy-api | [2024-02-24T11:36:30.395+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-24T11:36:30.458+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-02-24T11:36:30.722+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-02-24T11:36:30.854+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-24T11:36:30.969+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-24T11:36:30.993+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-02-24T11:36:32.419+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-02-24T11:36:32.433+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-24T11:36:33.546+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-24T11:36:34.179+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-24T11:36:35.133+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@66abb7d4, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@494f74cd, org.springframework.security.web.context.SecurityContextPersistenceFilter@48d588dd, org.springframework.security.web.header.HeaderWriterFilter@33684b87, org.springframework.security.web.authentication.logout.LogoutFilter@73e4ecb, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4485ca30, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4d19ddeb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@625439ba, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@359ae83a, org.springframework.security.web.session.SessionManagementFilter@42d039ef, org.springframework.security.web.access.ExceptionTranslationFilter@4de5d46c, org.springframework.security.web.access.intercept.AuthorizationFilter@2dca3c72] policy-api | [2024-02-24T11:36:35.270+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-02-24T11:36:38.201+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-24T11:36:38.226+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-24T11:36:38.259+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-24T11:36:38.274+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.648 seconds (JVM running for 12.242) policy-api | [2024-02-24T11:36:39.959+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-24T11:36:39.959+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-24T11:36:39.960+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 1 ms policy-api | [2024-02-24T11:36:48.098+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-7] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-02-24T11:36:48.215+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-02-24T11:36:48.446+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policytypes policy-api | [2024-02-24T11:36:49.653+00:00|WARN|CommonRestController|http-nio-6969-exec-2] POST /policies policy-api | [2024-02-24T11:36:51.562+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-24T11:36:51.949+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-24T11:36:52.168+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-24T11:36:52.429+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-24T11:36:52.655+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-24T11:36:52.877+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=settings t=2024-02-24T11:36:17.414923572Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-24T11:36:17Z grafana | logger=settings t=2024-02-24T11:36:17.415189667Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-24T11:36:17.415204887Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-24T11:36:17.415209768Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-24T11:36:17.415233418Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-24T11:36:17.415248738Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-24T11:36:17.415252948Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-24T11:36:17.415256679Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-24T11:36:17.415261409Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-24T11:36:17.415268169Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-24T11:36:17.415272399Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-24T11:36:17.415276069Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-24T11:36:17.415279689Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-24T11:36:17.415290659Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-24T11:36:17.41532139Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-24T11:36:17.41534821Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-24T11:36:17.415360201Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-24T11:36:17.415364111Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-24T11:36:17.415369821Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-24T11:36:17.41577438Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-24T11:36:17.415841911Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-24T11:36:17.416523155Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-24T11:36:17.417546656Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-24T11:36:17.418411824Z level=info msg="Migration successfully executed" id="create migration_log table" duration=864.518µs grafana | logger=migrator t=2024-02-24T11:36:17.421912717Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-24T11:36:17.422465868Z level=info msg="Migration successfully executed" id="create user table" duration=552.651µs grafana | logger=migrator t=2024-02-24T11:36:17.426668345Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-24T11:36:17.427458982Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=788.767µs grafana | logger=migrator t=2024-02-24T11:36:17.430828062Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-24T11:36:17.432136989Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.308757ms grafana | logger=migrator t=2024-02-24T11:36:17.435795105Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-24T11:36:17.4365287Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=733.635µs mariadb | 2024-02-24 11:36:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-24 11:36:13+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-24 11:36:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-24 11:36:13+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-24 11:36:13 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-24 11:36:13 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-24 11:36:13 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-02-24 11:36:15+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-24 11:36:15+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-24 11:36:15+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-24 11:36:15 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-24 11:36:15 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-24 11:36:15 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-24 11:36:15 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-24 11:36:15 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-24 11:36:15 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-24 11:36:15 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-24 11:36:15 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-24 11:36:15 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-24 11:36:15 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-02-24 11:36:16+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-24 11:36:17+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-24 11:36:17+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-02-24 11:36:17+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-02-24 11:36:17+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-24T11:36:17.441130006Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-24T11:36:17.4418303Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=700.484µs grafana | logger=migrator t=2024-02-24T11:36:17.444365463Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-24T11:36:17.448656701Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.290298ms grafana | logger=migrator t=2024-02-24T11:36:17.454350859Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-24T11:36:17.455155957Z level=info msg="Migration successfully executed" id="create user table v2" duration=804.628µs grafana | logger=migrator t=2024-02-24T11:36:17.462982708Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-24T11:36:17.464689774Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.706026ms grafana | logger=migrator t=2024-02-24T11:36:17.468560794Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-24T11:36:17.469827931Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.263247ms grafana | logger=migrator t=2024-02-24T11:36:17.473220441Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-24T11:36:17.473580768Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=360.197µs grafana | logger=migrator t=2024-02-24T11:36:17.478830697Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-24T11:36:17.479288557Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=454.87µs grafana | logger=migrator t=2024-02-24T11:36:17.482198957Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-24T11:36:17.484068456Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.866809ms grafana | logger=migrator t=2024-02-24T11:36:17.487786193Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-24T11:36:17.487992637Z level=info msg="Migration successfully executed" id="Update user table charset" duration=206.014µs grafana | logger=migrator t=2024-02-24T11:36:17.491344748Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-24T11:36:17.492598293Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.252996ms grafana | logger=migrator t=2024-02-24T11:36:17.497296591Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-24T11:36:17.497592817Z level=info msg="Migration successfully executed" id="Add missing user data" duration=296.356µs grafana | logger=migrator t=2024-02-24T11:36:17.500241192Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-24T11:36:17.501368145Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.126773ms grafana | logger=migrator t=2024-02-24T11:36:17.50449762Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-24T11:36:17.505238585Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=740.945µs grafana | logger=migrator t=2024-02-24T11:36:17.508102584Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-24T11:36:17.509226768Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.123614ms grafana | logger=migrator t=2024-02-24T11:36:17.513924806Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-24T11:36:17.524135807Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.211111ms grafana | logger=migrator t=2024-02-24T11:36:17.540817893Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-24T11:36:17.541589519Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=771.296µs grafana | logger=migrator t=2024-02-24T11:36:17.544728875Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-24T11:36:17.545305136Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=576.071µs grafana | logger=migrator t=2024-02-24T11:36:17.550193188Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-24T11:36:17.550743299Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=549.921µs grafana | logger=migrator t=2024-02-24T11:36:17.554298003Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-24T11:36:17.554858514Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=561.951µs grafana | logger=migrator t=2024-02-24T11:36:17.558010609Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-24T11:36:17.558558922Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=546.243µs grafana | logger=migrator t=2024-02-24T11:36:17.563886811Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-24T11:36:17.563925522Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=40.241µs grafana | logger=migrator t=2024-02-24T11:36:17.56763808Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-24T11:36:17.569184251Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.546121ms grafana | logger=migrator t=2024-02-24T11:36:17.573776217Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-24T11:36:17.574528632Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=752.675µs grafana | logger=migrator t=2024-02-24T11:36:17.617726299Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-24T11:36:17.619316511Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.590002ms grafana | logger=migrator t=2024-02-24T11:36:17.62405381Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-24T11:36:17.625139222Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.085702ms grafana | logger=migrator t=2024-02-24T11:36:17.629637706Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-24T11:36:17.632223889Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=2.585643ms grafana | logger=migrator t=2024-02-24T11:36:17.704924467Z level=info msg="Executing migration" id="create temp_user v2" 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 | prometheus | ts=2024-02-24T11:36:16.336Z 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-02-24T11:36:16.336Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.0, branch=HEAD, revision=814b920e8a6345d35712b5857ebd4cb5e90fc107)" prometheus | ts=2024-02-24T11:36:16.336Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@384077e1cf50, date=20240222-09:38:19, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-24T11:36:16.336Z 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-02-24T11:36:16.336Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-24T11:36:16.336Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-24T11:36:16.339Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-24T11:36:16.340Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-24T11:36:16.347Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-24T11:36:16.347Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-24T11:36:16.350Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-24T11:36:16.350Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.76µs prometheus | ts=2024-02-24T11:36:16.350Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-24T11:36:16.350Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-24T11:36:16.351Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=20.361µs wal_replay_duration=531.911µs wbl_replay_duration=210ns total_replay_duration=588.452µs prometheus | ts=2024-02-24T11:36:16.353Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-24T11:36:16.353Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-02-24T11:36:16.353Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-24T11:36:16.355Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.311718ms db_storage=1.46µs remote_storage=2.69µs web_handler=560ns query_engine=1.14µs scrape=262.215µs scrape_sd=163.204µs notify=40.63µs notify_sd=13.501µs rules=2.17µs tracing=11.23µs prometheus | ts=2024-02-24T11:36:16.355Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." prometheus | ts=2024-02-24T11:36:16.355Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2024-02-24T11:36:17.706490579Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.583782ms grafana | logger=migrator t=2024-02-24T11:36:17.711894071Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-24T11:36:17.713215789Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.320858ms grafana | logger=migrator t=2024-02-24T11:36:17.719444928Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-24T11:36:17.720324186Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=882.028µs grafana | logger=migrator t=2024-02-24T11:36:17.724723408Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-24T11:36:17.726274729Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.551061ms grafana | logger=migrator t=2024-02-24T11:36:17.731962797Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-24T11:36:17.733232184Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.266017ms grafana | logger=migrator t=2024-02-24T11:36:17.736829239Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-24T11:36:17.737521633Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=692.354µs grafana | logger=migrator t=2024-02-24T11:36:17.741145919Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-24T11:36:17.741767821Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=621.582µs grafana | logger=migrator t=2024-02-24T11:36:17.746362227Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-24T11:36:17.746803486Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=440.859µs grafana | logger=migrator t=2024-02-24T11:36:17.803485131Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-24T11:36:17.804484142Z level=info msg="Migration successfully executed" id="create star table" duration=998.451µs grafana | logger=migrator t=2024-02-24T11:36:17.808267491Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-24T11:36:17.809525776Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.256795ms grafana | logger=migrator t=2024-02-24T11:36:17.815701854Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-24T11:36:17.81690531Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.202526ms grafana | logger=migrator t=2024-02-24T11:36:17.841322156Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-24T11:36:17.842585322Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.262746ms grafana | logger=migrator t=2024-02-24T11:36:17.849022396Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-24T11:36:17.850083738Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.060783ms grafana | logger=migrator t=2024-02-24T11:36:17.856768816Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-24T11:36:17.857966741Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.198105ms grafana | logger=migrator t=2024-02-24T11:36:17.864046138Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-24T11:36:17.865241252Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.194834ms grafana | logger=migrator t=2024-02-24T11:36:17.868818036Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-24T11:36:17.870076273Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.257857ms grafana | logger=migrator t=2024-02-24T11:36:17.873195767Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-24T11:36:17.873221078Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.051µs grafana | logger=migrator t=2024-02-24T11:36:17.876309392Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-24T11:36:17.876333012Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=24.47µs grafana | logger=migrator t=2024-02-24T11:36:17.88250826Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-24T11:36:17.882766325Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=258.455µs grafana | logger=migrator t=2024-02-24T11:36:17.886035043Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-24T11:36:17.887104906Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.069313ms grafana | logger=migrator t=2024-02-24T11:36:17.890542597Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-24T11:36:17.891279972Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=736.965µs grafana | logger=migrator t=2024-02-24T11:36:17.894676442Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-24T11:36:17.89549726Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=820.218µs grafana | logger=migrator t=2024-02-24T11:36:17.900676508Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-24T11:36:17.901318891Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=642.054µs grafana | logger=migrator t=2024-02-24T11:36:17.904499716Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-24T11:36:17.905239332Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=738.905µs grafana | logger=migrator t=2024-02-24T11:36:17.908403157Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-24T11:36:17.90945876Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.055252ms grafana | logger=migrator t=2024-02-24T11:36:17.914828641Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-24T11:36:17.924083243Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.255432ms grafana | logger=migrator t=2024-02-24T11:36:17.927265569Z level=info msg="Executing migration" id="create dashboard v2" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-02-24 11:36:18+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-24 11:36:18 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-24 11:36:18 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-24 11:36:18 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-24 11:36:18 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-24 11:36:18 0 [Note] InnoDB: Buffer pool(s) dump completed at 240224 11:36:18 mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Shutdown completed; log sequence number 331999; transaction id 298 mariadb | 2024-02-24 11:36:19 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-24 11:36:19+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-24 11:36:19+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-24 11:36:19 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-24 11:36:19 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-24 11:36:19 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-24 11:36:19 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: log sequence number 331999; transaction id 299 mariadb | 2024-02-24 11:36:19 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-24 11:36:19 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-24 11:36:19 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-24 11:36:19 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-24 11:36:19 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-24 11:36:19 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-24 11:36:19 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-02-24 11:36:19 0 [Note] InnoDB: Buffer pool(s) load completed at 240224 11:36:19 mariadb | 2024-02-24 11:36:20 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-02-24 11:36:20 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-02-24T11:36:17.927723308Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=457.47µs grafana | logger=migrator t=2024-02-24T11:36:17.930620278Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-24T11:36:17.93114212Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=521.201µs grafana | logger=migrator t=2024-02-24T11:36:17.937216625Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-24T11:36:17.938340978Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.116203ms grafana | logger=migrator t=2024-02-24T11:36:17.94272803Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-24T11:36:17.9432309Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=502.43µs grafana | logger=migrator t=2024-02-24T11:36:17.948115672Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-24T11:36:17.949290175Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.174304ms grafana | logger=migrator t=2024-02-24T11:36:17.955187918Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-24T11:36:17.955250009Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=62.511µs grafana | logger=migrator t=2024-02-24T11:36:17.959239782Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-24T11:36:17.960904356Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.663994ms grafana | logger=migrator t=2024-02-24T11:36:17.964903Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-24T11:36:17.967584755Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.680885ms grafana | logger=migrator t=2024-02-24T11:36:17.972523717Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-24T11:36:17.974224293Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.695016ms grafana | logger=migrator t=2024-02-24T11:36:17.977436629Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-24T11:36:17.978159424Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=722.215µs grafana | logger=migrator t=2024-02-24T11:36:17.981705678Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-24T11:36:17.983451814Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.745756ms grafana | logger=migrator t=2024-02-24T11:36:17.98858205Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-02-24T11:36:17.989753024Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.170344ms grafana | logger=migrator t=2024-02-24T11:36:17.993445142Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-24T11:36:17.994583295Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.137454ms grafana | logger=migrator t=2024-02-24T11:36:17.99967355Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-24T11:36:17.999697621Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.521µs grafana | logger=migrator t=2024-02-24T11:36:18.004422124Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-24T11:36:18.004463985Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=47.271µs grafana | logger=migrator t=2024-02-24T11:36:18.008458076Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-24T11:36:18.011421838Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.962213ms grafana | logger=migrator t=2024-02-24T11:36:18.016653548Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-24T11:36:18.018436432Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.782524ms grafana | logger=migrator t=2024-02-24T11:36:18.022972494Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-24T11:36:18.025210069Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.233715ms grafana | logger=migrator t=2024-02-24T11:36:18.030595002Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-24T11:36:18.033089984Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.495722ms grafana | logger=migrator t=2024-02-24T11:36:18.039296897Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-24T11:36:18.039479001Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=182.124µs grafana | logger=migrator t=2024-02-24T11:36:18.042821023Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-24T11:36:18.043575013Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=750.429µs grafana | logger=migrator t=2024-02-24T11:36:18.048688258Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-24T11:36:18.049478158Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=788.4µs grafana | logger=migrator t=2024-02-24T11:36:18.054652986Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-24T11:36:18.054689707Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=38.251µs grafana | logger=migrator t=2024-02-24T11:36:18.06171861Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-24T11:36:18.062875229Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.156139ms grafana | logger=migrator t=2024-02-24T11:36:18.069610775Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-24T11:36:18.070557368Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=946.423µs grafana | logger=migrator t=2024-02-24T11:36:18.075775397Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-24T11:36:18.084511152Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.736195ms grafana | logger=migrator t=2024-02-24T11:36:18.088938922Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-24T11:36:18.089899165Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=959.943µs grafana | logger=migrator t=2024-02-24T11:36:18.09617113Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-24T11:36:18.097291268Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.119878ms grafana | logger=migrator t=2024-02-24T11:36:18.103630284Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-24T11:36:18.104663579Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.033395ms grafana | logger=migrator t=2024-02-24T11:36:18.110024392Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-24T11:36:18.110462913Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=438.632µs grafana | logger=migrator t=2024-02-24T11:36:18.115827155Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-24T11:36:18.116638165Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=833.921µs grafana | logger=migrator t=2024-02-24T11:36:18.124868489Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-24T11:36:18.128363715Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.494696ms grafana | logger=migrator t=2024-02-24T11:36:18.133970683Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-24T11:36:18.134737732Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=766.708µs grafana | logger=migrator t=2024-02-24T11:36:18.139140891Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-24T11:36:18.139301594Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=160.913µs grafana | logger=migrator t=2024-02-24T11:36:18.145547938Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-24T11:36:18.145823385Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=275.517µs grafana | logger=migrator t=2024-02-24T11:36:18.151969177Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-24T11:36:18.153094665Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.125189ms grafana | logger=migrator t=2024-02-24T11:36:18.158892358Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-24T11:36:18.1622178Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.325172ms grafana | logger=migrator t=2024-02-24T11:36:18.170607657Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-24T11:36:18.171431677Z level=info msg="Migration successfully executed" id="create data_source table" duration=823.95µs grafana | logger=migrator t=2024-02-24T11:36:18.177478946Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-24T11:36:18.178599554Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.120438ms grafana | logger=migrator t=2024-02-24T11:36:18.216696044Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-24T11:36:18.217906654Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.21048ms grafana | logger=migrator t=2024-02-24T11:36:18.22466837Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-24T11:36:18.225343658Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=675.608µs grafana | logger=migrator t=2024-02-24T11:36:18.229561341Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-24T11:36:18.230767151Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.20444ms grafana | logger=migrator t=2024-02-24T11:36:18.236803811Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-24T11:36:18.245007243Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.209553ms grafana | logger=migrator t=2024-02-24T11:36:18.251092153Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-24T11:36:18.252658901Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.566648ms grafana | logger=migrator t=2024-02-24T11:36:18.259447589Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-24T11:36:18.2607233Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.275181ms grafana | logger=migrator t=2024-02-24T11:36:18.26639588Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-24T11:36:18.267664422Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.266662ms grafana | logger=migrator t=2024-02-24T11:36:18.272972443Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-24T11:36:18.273837374Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=863.701µs grafana | logger=migrator t=2024-02-24T11:36:18.279902174Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-24T11:36:18.283870851Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.968427ms grafana | logger=migrator t=2024-02-24T11:36:18.288997008Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-24T11:36:18.292831713Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.834545ms grafana | logger=migrator t=2024-02-24T11:36:18.301952138Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-24T11:36:18.301983359Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=31.811µs grafana | logger=migrator t=2024-02-24T11:36:18.309512085Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-24T11:36:18.309904244Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=392.379µs grafana | logger=migrator t=2024-02-24T11:36:18.316557838Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-24T11:36:18.320636149Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.078641ms grafana | logger=migrator t=2024-02-24T11:36:18.32677271Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:18.326979115Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=205.945µs grafana | logger=migrator t=2024-02-24T11:36:18.335748712Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-24T11:36:18.336117061Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=366.759µs grafana | logger=migrator t=2024-02-24T11:36:18.342707983Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-24T11:36:18.346477667Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.769274ms grafana | logger=migrator t=2024-02-24T11:36:18.353845538Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-24T11:36:18.354052773Z level=info msg="Migration successfully executed" id="Update uid value" duration=207.025µs grafana | logger=migrator t=2024-02-24T11:36:18.361077187Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-24T11:36:18.362388389Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.311001ms grafana | logger=migrator t=2024-02-24T11:36:18.368627793Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-24T11:36:18.369753231Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.127818ms grafana | logger=migrator t=2024-02-24T11:36:18.376346923Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-24T11:36:18.37700958Z level=info msg="Migration successfully executed" id="create api_key table" duration=664.887µs grafana | logger=migrator t=2024-02-24T11:36:18.38227697Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-24T11:36:18.38350878Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.2317ms grafana | logger=migrator t=2024-02-24T11:36:18.39119726Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-24T11:36:18.392535543Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.339343ms grafana | logger=migrator t=2024-02-24T11:36:18.398539251Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-24T11:36:18.399902125Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.361954ms grafana | logger=migrator t=2024-02-24T11:36:18.406793124Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-24T11:36:18.407565044Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=771.77µs grafana | logger=migrator t=2024-02-24T11:36:18.412511055Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-24T11:36:18.413699285Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.18856ms grafana | logger=migrator t=2024-02-24T11:36:18.421948979Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-24T11:36:18.422627215Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=678.296µs grafana | logger=migrator t=2024-02-24T11:36:18.428511871Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-24T11:36:18.440074206Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.562686ms grafana | logger=migrator t=2024-02-24T11:36:18.446524525Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-24T11:36:18.447147901Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=623.146µs grafana | logger=migrator t=2024-02-24T11:36:18.451543459Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-24T11:36:18.452345219Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=795.56µs grafana | logger=migrator t=2024-02-24T11:36:18.456745757Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-24T11:36:18.457926797Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.18039ms grafana | logger=migrator t=2024-02-24T11:36:18.465522604Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-24T11:36:18.466784885Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.261601ms grafana | logger=migrator t=2024-02-24T11:36:18.474424793Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-24T11:36:18.474891905Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=467.252µs grafana | logger=migrator t=2024-02-24T11:36:18.479925239Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-24T11:36:18.480710869Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=785.45µs grafana | logger=migrator t=2024-02-24T11:36:18.484303057Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-24T11:36:18.484342088Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=40.601µs grafana | logger=migrator t=2024-02-24T11:36:18.490000938Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-24T11:36:18.49416254Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.160952ms grafana | logger=migrator t=2024-02-24T11:36:18.502999619Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-24T11:36:18.506348321Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.352942ms grafana | logger=migrator t=2024-02-24T11:36:18.510930674Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-24T11:36:18.511190931Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=248.737µs grafana | logger=migrator t=2024-02-24T11:36:18.517103167Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-24T11:36:18.51965894Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.555193ms grafana | logger=migrator t=2024-02-24T11:36:18.527296958Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-24T11:36:18.5298195Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.521572ms grafana | logger=migrator t=2024-02-24T11:36:18.534701681Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-24T11:36:18.535387628Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=682.786µs grafana | logger=migrator t=2024-02-24T11:36:18.540123985Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:18.540639197Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=515.572µs grafana | logger=migrator t=2024-02-24T11:36:18.547157508Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-24T11:36:18.548330387Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.171679ms grafana | logger=migrator t=2024-02-24T11:36:18.556181171Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-24T11:36:18.55734555Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.163978ms grafana | logger=migrator t=2024-02-24T11:36:18.561996605Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-24T11:36:18.563196824Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.199509ms grafana | logger=migrator t=2024-02-24T11:36:18.569238853Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-24T11:36:18.570127515Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=888.182µs grafana | logger=migrator t=2024-02-24T11:36:18.576883772Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-24T11:36:18.577038085Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=154.003µs grafana | logger=migrator t=2024-02-24T11:36:18.583419333Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-24T11:36:18.583494744Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=67.722µs grafana | logger=migrator t=2024-02-24T11:36:18.588953279Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-24T11:36:18.593214935Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.261806ms grafana | logger=migrator t=2024-02-24T11:36:18.634833132Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-24T11:36:18.639882067Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=5.048865ms grafana | logger=migrator t=2024-02-24T11:36:18.644134541Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-24T11:36:18.644198103Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.332µs grafana | logger=migrator t=2024-02-24T11:36:18.654230651Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-24T11:36:18.655235915Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.004684ms grafana | logger=migrator t=2024-02-24T11:36:18.660617938Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-24T11:36:18.661964581Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.346133ms grafana | logger=migrator t=2024-02-24T11:36:18.668357529Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-24T11:36:18.66837982Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=28.551µs grafana | logger=migrator t=2024-02-24T11:36:18.673858095Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-24T11:36:18.675027213Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.168968ms grafana | logger=migrator t=2024-02-24T11:36:18.679694339Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-24T11:36:18.68097501Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.283331ms grafana | logger=migrator t=2024-02-24T11:36:18.685075352Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-24T11:36:18.689256304Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.182142ms grafana | logger=migrator t=2024-02-24T11:36:18.694529475Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-24T11:36:18.694552915Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=24.16µs grafana | logger=migrator t=2024-02-24T11:36:18.701345392Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-24T11:36:18.702594594Z level=info msg="Migration successfully executed" id="create session table" duration=1.248632ms grafana | logger=migrator t=2024-02-24T11:36:18.709519454Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-24T11:36:18.709648927Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=130.243µs grafana | logger=migrator t=2024-02-24T11:36:18.713825471Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-24T11:36:18.713952624Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=127.453µs grafana | logger=migrator t=2024-02-24T11:36:18.718094126Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-24T11:36:18.7190515Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=950.844µs grafana | logger=migrator t=2024-02-24T11:36:18.72556021Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-24T11:36:18.726517063Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=957.013µs grafana | logger=migrator t=2024-02-24T11:36:18.731882656Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-24T11:36:18.731917267Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=35.901µs grafana | logger=migrator t=2024-02-24T11:36:18.737656268Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-24T11:36:18.737695969Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=41.161µs grafana | logger=migrator t=2024-02-24T11:36:18.743737649Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-24T11:36:18.748549127Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.811328ms grafana | logger=migrator t=2024-02-24T11:36:18.756303909Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-24T11:36:18.75918227Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.883421ms grafana | logger=migrator t=2024-02-24T11:36:18.766700086Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:18.766826199Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=127.003µs grafana | logger=migrator t=2024-02-24T11:36:18.771709369Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-24T11:36:18.771852143Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=148.594µs grafana | logger=migrator t=2024-02-24T11:36:18.775591145Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-24T11:36:18.776692332Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.096556ms grafana | logger=migrator t=2024-02-24T11:36:18.78189571Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-24T11:36:18.781932351Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=38.071µs grafana | logger=migrator t=2024-02-24T11:36:18.785480378Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-24T11:36:18.79041476Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.934042ms grafana | logger=migrator t=2024-02-24T11:36:18.795187808Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-24T11:36:18.795345942Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=205.375µs grafana | logger=migrator t=2024-02-24T11:36:18.798749246Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-24T11:36:18.803449082Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.707096ms grafana | logger=migrator t=2024-02-24T11:36:18.807209265Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-24T11:36:18.812159187Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.949372ms grafana | logger=migrator t=2024-02-24T11:36:18.816575857Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-24T11:36:18.816635998Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=60.862µs grafana | logger=migrator t=2024-02-24T11:36:18.819515269Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-24T11:36:18.820475272Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=963.863µs grafana | logger=migrator t=2024-02-24T11:36:18.823676801Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-24T11:36:18.825805994Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=2.100632ms grafana | logger=migrator t=2024-02-24T11:36:18.831162726Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-02-24T11:36:18.832463548Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.297222ms grafana | logger=migrator t=2024-02-24T11:36:18.836372865Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-24T11:36:18.837784679Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.411384ms grafana | logger=migrator t=2024-02-24T11:36:18.841370747Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-24T11:36:18.842625809Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.254662ms grafana | logger=migrator t=2024-02-24T11:36:18.861166896Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-24T11:36:18.862562591Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.395475ms grafana | logger=migrator t=2024-02-24T11:36:18.867478062Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-24T11:36:18.868474597Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=996.665µs grafana | logger=migrator t=2024-02-24T11:36:18.872129486Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-24T11:36:18.873512311Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.382675ms grafana | logger=migrator t=2024-02-24T11:36:18.878193237Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-24T11:36:18.878979486Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=786.219µs grafana | logger=migrator t=2024-02-24T11:36:18.885051046Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-24T11:36:18.901676666Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=16.62626ms grafana | logger=migrator t=2024-02-24T11:36:18.905041089Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-24T11:36:18.905521761Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=480.641µs grafana | logger=migrator t=2024-02-24T11:36:18.909610342Z 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-02-24T11:36:18.910469263Z 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=859.101µs grafana | logger=migrator t=2024-02-24T11:36:18.91360713Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-24T11:36:18.913867746Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=260.576µs grafana | logger=migrator t=2024-02-24T11:36:18.918432989Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-24T11:36:18.919207308Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=774.319µs grafana | logger=migrator t=2024-02-24T11:36:18.92372352Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-24T11:36:18.924831857Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.107557ms grafana | logger=migrator t=2024-02-24T11:36:18.928879978Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-24T11:36:18.932342773Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.464226ms grafana | logger=migrator t=2024-02-24T11:36:18.935707066Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-24T11:36:18.939099729Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.392473ms grafana | logger=migrator t=2024-02-24T11:36:18.943263282Z level=info msg="Executing migration" id="Add column send_reminder" 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-02-24T11:36:18.946689957Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.426395ms grafana | logger=migrator t=2024-02-24T11:36:18.949916916Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-24T11:36:18.95331382Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.396444ms grafana | logger=migrator t=2024-02-24T11:36:18.956693504Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-24T11:36:18.957501214Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=807.42µs grafana | logger=migrator t=2024-02-24T11:36:18.961483041Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-24T11:36:18.961509032Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=26.921µs grafana | logger=migrator t=2024-02-24T11:36:18.964199008Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-24T11:36:18.964223089Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.581µs grafana | logger=migrator t=2024-02-24T11:36:18.968744491Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-24T11:36:18.969731625Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=989.084µs grafana | logger=migrator t=2024-02-24T11:36:18.983079295Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-24T11:36:18.984467009Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.387284ms grafana | logger=migrator t=2024-02-24T11:36:18.993464811Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-24T11:36:18.994517637Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.052446ms grafana | logger=migrator t=2024-02-24T11:36:19.003360705Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-24T11:36:19.004568729Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.203554ms grafana | logger=migrator t=2024-02-24T11:36:19.04119852Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-24T11:36:19.042513296Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.314796ms grafana | logger=migrator t=2024-02-24T11:36:19.050032178Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-24T11:36:19.055919616Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.885568ms grafana | logger=migrator t=2024-02-24T11:36:19.065581651Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-02-24T11:36:19.071162133Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.579152ms grafana | logger=migrator t=2024-02-24T11:36:19.10723463Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-24T11:36:19.107575647Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=341.826µs grafana | logger=migrator t=2024-02-24T11:36:19.11272363Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-24T11:36:19.114028397Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.303797ms grafana | logger=migrator t=2024-02-24T11:36:19.120052088Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-24T11:36:19.121272013Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.219155ms grafana | logger=migrator t=2024-02-24T11:36:19.12709434Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-24T11:36:19.131214173Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.120243ms grafana | logger=migrator t=2024-02-24T11:36:19.135296415Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-24T11:36:19.135357516Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=61.271µs grafana | logger=migrator t=2024-02-24T11:36:19.139332947Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-24T11:36:19.140225335Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=891.588µs grafana | logger=migrator t=2024-02-24T11:36:19.144523502Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-24T11:36:19.14545911Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=934.248µs grafana | logger=migrator t=2024-02-24T11:36:19.150817648Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-24T11:36:19.150951491Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=134.113µs grafana | logger=migrator t=2024-02-24T11:36:19.156019813Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-24T11:36:19.157182656Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.162363ms grafana | logger=migrator t=2024-02-24T11:36:19.16086949Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-24T11:36:19.162158537Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.288757ms grafana | logger=migrator t=2024-02-24T11:36:19.166469363Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-24T11:36:19.16779912Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.328997ms grafana | logger=migrator t=2024-02-24T11:36:19.171079316Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-24T11:36:19.171922223Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=842.547µs grafana | logger=migrator t=2024-02-24T11:36:19.175029386Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-24T11:36:19.176013006Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=982.88µs grafana | logger=migrator t=2024-02-24T11:36:19.18024075Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-24T11:36:19.181135159Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=893.959µs grafana | logger=migrator t=2024-02-24T11:36:19.184205531Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-02-24T11:36:19.184231791Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.11µs grafana | logger=migrator t=2024-02-24T11:36:19.188383535Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.195157082Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.773377ms grafana | logger=migrator t=2024-02-24T11:36:19.199644331Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-24T11:36:19.200472269Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=827.578µs grafana | logger=migrator t=2024-02-24T11:36:19.204621222Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.20850468Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.883088ms grafana | logger=migrator t=2024-02-24T11:36:19.247956385Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-24T11:36:19.249029107Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=1.071192ms grafana | logger=migrator t=2024-02-24T11:36:19.254741302Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-24T11:36:19.256218712Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.47659ms grafana | logger=migrator t=2024-02-24T11:36:19.260994467Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-24T11:36:19.262217793Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.221126ms grafana | logger=migrator t=2024-02-24T11:36:19.268990359Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-24T11:36:19.287262767Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.273638ms grafana | logger=migrator t=2024-02-24T11:36:19.292785049Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-02-24T11:36:19.293449702Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=663.813µs grafana | logger=migrator t=2024-02-24T11:36:19.298017453Z 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-02-24T11:36:19.299036804Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.018801ms grafana | logger=migrator t=2024-02-24T11:36:19.304709449Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-02-24T11:36:19.305083596Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=376.078µs grafana | logger=migrator t=2024-02-24T11:36:19.309413554Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-24T11:36:19.310043496Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=625.482µs grafana | logger=migrator t=2024-02-24T11:36:19.314423534Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-02-24T11:36:19.314821152Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=397.178µs grafana | logger=migrator t=2024-02-24T11:36:19.318574348Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.322917305Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.342667ms grafana | logger=migrator t=2024-02-24T11:36:19.327821314Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.331926887Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.105283ms grafana | logger=migrator t=2024-02-24T11:36:19.337429928Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.338366417Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=936.358µs grafana | logger=migrator t=2024-02-24T11:36:19.345921519Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.347383758Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.461969ms grafana | logger=migrator t=2024-02-24T11:36:19.354313998Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-24T11:36:19.354785967Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=470.919µs grafana | logger=migrator t=2024-02-24T11:36:19.359042233Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-02-24T11:36:19.363634136Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.592382ms grafana | logger=migrator t=2024-02-24T11:36:19.367150056Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-02-24T11:36:19.368175426Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.02517ms grafana | logger=migrator t=2024-02-24T11:36:19.3733166Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-02-24T11:36:19.373590586Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=273.905µs grafana | logger=migrator t=2024-02-24T11:36:19.378038986Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-02-24T11:36:19.37876436Z level=info msg="Migration successfully executed" id="Move region to single row" duration=724.434µs grafana | logger=migrator t=2024-02-24T11:36:19.384093007Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.385510366Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.416599ms grafana | logger=migrator t=2024-02-24T11:36:19.427922081Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.429500932Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.579951ms grafana | logger=migrator t=2024-02-24T11:36:19.439848791Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.441347881Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.49477ms grafana | logger=migrator t=2024-02-24T11:36:19.445243219Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 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-02-24T11:36:19.446697739Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.4541ms grafana | logger=migrator t=2024-02-24T11:36:19.451958954Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.452833033Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=874.319µs grafana | logger=migrator t=2024-02-24T11:36:19.456577388Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-02-24T11:36:19.457593628Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.01519ms grafana | logger=migrator t=2024-02-24T11:36:19.461371705Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-02-24T11:36:19.461601729Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=228.804µs grafana | logger=migrator t=2024-02-24T11:36:19.466278594Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-02-24T11:36:19.46759584Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.312977ms grafana | logger=migrator t=2024-02-24T11:36:19.471152071Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-24T11:36:19.471978478Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=825.747µs grafana | logger=migrator t=2024-02-24T11:36:19.476818785Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-02-24T11:36:19.478268815Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.44944ms grafana | logger=migrator t=2024-02-24T11:36:19.483236895Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-02-24T11:36:19.484653013Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.416598ms grafana | logger=migrator t=2024-02-24T11:36:19.487917279Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-02-24T11:36:19.488133883Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=216.524µs grafana | logger=migrator t=2024-02-24T11:36:19.491170034Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-02-24T11:36:19.491508012Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=337.978µs grafana | logger=migrator t=2024-02-24T11:36:19.494704846Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-02-24T11:36:19.494800518Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=94.462µs grafana | logger=migrator t=2024-02-24T11:36:19.499559993Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-02-24T11:36:19.500633286Z level=info msg="Migration successfully executed" id="create team table" duration=1.100272ms grafana | logger=migrator t=2024-02-24T11:36:19.504112425Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-02-24T11:36:19.505026283Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=923.748µs grafana | logger=migrator t=2024-02-24T11:36:19.508401302Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-24T11:36:19.509240739Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=839.037µs grafana | logger=migrator t=2024-02-24T11:36:19.513616266Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-02-24T11:36:19.517879013Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.262337ms grafana | logger=migrator t=2024-02-24T11:36:19.521253691Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-02-24T11:36:19.521541956Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=289.006µs grafana | logger=migrator t=2024-02-24T11:36:19.525200131Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-02-24T11:36:19.52667605Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.475249ms grafana | logger=migrator t=2024-02-24T11:36:19.531191111Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-02-24T11:36:19.531917726Z level=info msg="Migration successfully executed" id="create team member table" duration=735.845µs grafana | logger=migrator t=2024-02-24T11:36:19.535399065Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-02-24T11:36:19.536873996Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.475291ms grafana | logger=migrator t=2024-02-24T11:36:19.540710083Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-02-24T11:36:19.54206353Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.352717ms grafana | logger=migrator t=2024-02-24T11:36:19.546969898Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-02-24T11:36:19.547852867Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=880.659µs grafana | logger=migrator t=2024-02-24T11:36:19.551309356Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-02-24T11:36:19.555774706Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.46488ms grafana | logger=migrator t=2024-02-24T11:36:19.559523702Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-02-24T11:36:19.563978841Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.454269ms grafana | logger=migrator t=2024-02-24T11:36:19.568804789Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-02-24T11:36:19.573218498Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.4134ms grafana | logger=migrator t=2024-02-24T11:36:19.576934192Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-24T11:36:19.577742208Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=806.356µs grafana | logger=migrator t=2024-02-24T11:36:19.581195509Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-02-24T11:36:19.582043875Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=848.236µs grafana | logger=migrator t=2024-02-24T11:36:19.586620187Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 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)) grafana | logger=migrator t=2024-02-24T11:36:19.587614578Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.003801ms grafana | logger=migrator t=2024-02-24T11:36:19.59120352Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-24T11:36:19.59269076Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.48657ms grafana | logger=migrator t=2024-02-24T11:36:19.599370644Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-02-24T11:36:19.600265172Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=894.368µs grafana | logger=migrator t=2024-02-24T11:36:19.603460056Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-02-24T11:36:19.604343975Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=883.209µs grafana | logger=migrator t=2024-02-24T11:36:19.60808109Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-02-24T11:36:19.609648342Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.569642ms grafana | logger=migrator t=2024-02-24T11:36:19.613488389Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-02-24T11:36:19.615181393Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.693604ms grafana | logger=migrator t=2024-02-24T11:36:19.619908078Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-02-24T11:36:19.620659674Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=751.806µs grafana | logger=migrator t=2024-02-24T11:36:19.625568862Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-02-24T11:36:19.625896278Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=327.756µs grafana | logger=migrator t=2024-02-24T11:36:19.629667895Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-02-24T11:36:19.630649254Z level=info msg="Migration successfully executed" id="create tag table" duration=980.859µs grafana | logger=migrator t=2024-02-24T11:36:19.634017042Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-02-24T11:36:19.63488332Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=868.078µs grafana | logger=migrator t=2024-02-24T11:36:19.638254418Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-02-24T11:36:19.638932461Z level=info msg="Migration successfully executed" id="create login attempt table" duration=676.743µs grafana | logger=migrator t=2024-02-24T11:36:19.64331844Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-02-24T11:36:19.644237978Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=920.358µs grafana | logger=migrator t=2024-02-24T11:36:19.647482303Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-02-24T11:36:19.648436403Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=952.25µs grafana | logger=migrator t=2024-02-24T11:36:19.652228869Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-24T11:36:19.672336974Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.109325ms grafana | logger=migrator t=2024-02-24T11:36:19.677467328Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-02-24T11:36:19.678134891Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=667.243µs grafana | logger=migrator t=2024-02-24T11:36:19.68204836Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-02-24T11:36:19.682915118Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=866.178µs grafana | logger=migrator t=2024-02-24T11:36:19.686227114Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-02-24T11:36:19.68650456Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=277.186µs grafana | logger=migrator t=2024-02-24T11:36:19.690757626Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-02-24T11:36:19.691339187Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=581.241µs grafana | logger=migrator t=2024-02-24T11:36:19.69494951Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-24T11:36:19.696090733Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.140623ms grafana | logger=migrator t=2024-02-24T11:36:19.699877959Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-02-24T11:36:19.701287487Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.409198ms grafana | logger=migrator t=2024-02-24T11:36:19.706187666Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-02-24T11:36:19.706288468Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=101.992µs grafana | logger=migrator t=2024-02-24T11:36:19.710183887Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-02-24T11:36:19.715198827Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.01481ms grafana | logger=migrator t=2024-02-24T11:36:19.718481844Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-02-24T11:36:19.723431933Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.949149ms grafana | logger=migrator t=2024-02-24T11:36:19.727831802Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-02-24T11:36:19.732770702Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.93984ms grafana | logger=migrator t=2024-02-24T11:36:19.736412615Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-02-24T11:36:19.744489118Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=8.076523ms grafana | logger=migrator t=2024-02-24T11:36:19.74807127Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-02-24T11:36:19.748693602Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=621.952µs grafana | logger=migrator t=2024-02-24T11:36:19.752996529Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.760909639Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.90977ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.764538152Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.765098873Z level=info msg="Migration successfully executed" id="create server_lock table" duration=560.721µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-24T11:36:19.768546682Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.769175306Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=629.563µs policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.773525763Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.774714797Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.189044ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.814284974Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.815757993Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.462229ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-24T11:36:19.82152931Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.822982719Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.45443ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.828022321Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.829661963Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.638712ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.833284337Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.838481331Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.196484ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-24T11:36:19.842682886Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.844688087Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=2.009871ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.849524664Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.85079095Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.266366ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.854463053Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.856106027Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.642694ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-24T11:36:19.859726389Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.860528675Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=802.166µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.865308572Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.866218Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=909.208µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.869815073Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.869886894Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=64.941µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-24T11:36:19.873350704Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.873434786Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=84.572µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.876178211Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.877544528Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.366377ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.88210524Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.88311934Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.01438ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-24T11:36:19.886244843Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.887256064Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.011971ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.890570531Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.890678583Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=109.612µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.895172874Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.896742625Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.569671ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-24T11:36:19.900340837Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.901711215Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.369878ms policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.905489541Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.90641272Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=920.079µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.911339259Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.912312089Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=972.52µs policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-24T11:36:19.915722567Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.923001914Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.279897ms policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-24T11:36:19.927620277Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.928598927Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=978.15µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.931987515Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.932066257Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=80.362µs grafana | logger=migrator t=2024-02-24T11:36:19.935428764Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-02-24T11:36:19.936289661Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=859.507µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.940822293Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.942280832Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.457989ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.945765833Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-24T11:36:19.946702531Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=934.168µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.949807624Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-24T11:36:19.949869565Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=62.691µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.954423887Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.955802025Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.378057ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.960550331Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-24T11:36:19.961813176Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.263475ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.96646629Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-24T11:36:19.967383968Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=917.028µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.970587593Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.971644604Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.055811ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.975849258Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-24T11:36:19.983053804Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.205456ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.987677747Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-24T11:36:19.988622016Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=941.289µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:19.992121546Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.992981164Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=857.318µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:19.99623004Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-24T11:36:20.031480359Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.250209ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.03649491Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 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-02-24T11:36:20.071638469Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.143329ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.07468592Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.075380424Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=694.004µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.078791332Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-24T11:36:20.079454585Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=661.383µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.083845474Z level=info msg="Executing migration" id="add current_reason column related to current_state" 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-02-24T11:36:20.090996949Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.150705ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.095781175Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.101318246Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.536812ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.107581052Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-24T11:36:20.109070362Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.48957ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.115287838Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.116311469Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.023402ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.119961452Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-24T11:36:20.120901441Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=939.879µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.12434106Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-02-24T11:36:20.125397012Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.056042ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.130028714Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.130136526Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=109.472µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.133908073Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.140575347Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.668044ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-02-24T11:36:20.145522357Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.151318384Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.794206ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.157385256Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.163188142Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.802556ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-24T11:36:20.230765384Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.232295455Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.531531ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-02-24T11:36:20.238812996Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-02-24T11:36:20.240375738Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.562272ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-02-24T11:36:20.245196325Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-24T11:36:20.253536633Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=8.339318ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.257242698Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.262903162Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.659754ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.267884432Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-24T11:36:20.268882362Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=997.59µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.273545506Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-24T11:36:20.279386294Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.839898ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.283159339Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.288960296Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.800937ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.292859955Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-24T11:36:20.292919587Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=60.042µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.296453617Z level=info msg="Executing migration" id="create alert_rule_version table" 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=migrator t=2024-02-24T11:36:20.297898326Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.444939ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.302983479Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.304559961Z 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.575052ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.308044911Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-24T11:36:20.309125352Z 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.079741ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.314075182Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-24T11:36:20.314139063Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=63.851µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.317704035Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.324723727Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.020152ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.328465582Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-24T11:36:20.334752029Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.283947ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.339513175Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 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=migrator t=2024-02-24T11:36:20.345620137Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.106442ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.349022657Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.355048338Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.025421ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.358292313Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-02-24T11:36:20.364462147Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.168864ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.368185922Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-24T11:36:20.368246953Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=61.601µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.372821786Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.373495139Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=673.193µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.377316597Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-24T11:36:20.38640657Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.092842ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.389808858Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 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) grafana | logger=migrator t=2024-02-24T11:36:20.389872249Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=64.301µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.394139296Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.404705518Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.565583ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.408714189Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-24T11:36:20.409627697Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=913.168µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.413037935Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 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) grafana | logger=migrator t=2024-02-24T11:36:20.418096228Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=5.056933ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.422573578Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.423255082Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=681.104µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.427330694Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-02-24T11:36:20.428362105Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.029681ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.432248883Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-24T11:36:20.441288726Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.040012ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.446473969Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.44698617Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=539.971µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.451286676Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-24T11:36:20.45292198Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.635104ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.458362229Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-02-24T11:36:20.459536403Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.173904ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.463188356Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.464756678Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.566972ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.469460843Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-24T11:36:20.469523784Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=62.961µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.472101976Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-24T11:36:20.473555285Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.453189ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.47730671Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.478989245Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.683325ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.484079117Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-24T11:36:20.484463515Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.487494776Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-24T11:36:20.488161339Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=666.653µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.49214942Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.493820653Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.671493ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.498215352Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-24T11:36:20.504795094Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.579112ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.51053236Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.511413878Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=880.978µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.516553341Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-02-24T11:36:20.518182054Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.628313ms grafana | logger=migrator t=2024-02-24T11:36:20.523168845Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-24T11:36:20.52393641Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=764.305µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.528552453Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.529556523Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.00384ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.532916341Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-02-24T11:36:20.533912991Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=996.69µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.5383619Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-02-24T11:36:20.538389321Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=29.601µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.543082116Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.543197028Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=116.552µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.55223624Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-24T11:36:20.552674969Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=437.899µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.556254922Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.557571188Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.317687ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-02-24T11:36:20.563509967Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.564577159Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.067992ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-24T11:36:20.567570399Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.624625948Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=57.052659ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.627852663Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.634747383Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.89335ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-24T11:36:20.639153681Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.639292924Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=139.283µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.644215383Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.690452964Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.237841ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-24T11:36:20.693653279Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.740162696Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=46.510417ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-02-24T11:36:20.745741448Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.746521445Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=779.997µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.749955654Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.750965154Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.008679ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-02-24T11:36:20.754383342Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.754597336Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=214.484µs policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-02-24T11:36:20.758067717Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.758862403Z level=info msg="Migration successfully executed" id="create permission table" duration=794.476µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.764984846Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | msg grafana | logger=migrator t=2024-02-24T11:36:20.766592909Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.608093ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-02-24T11:36:20.770804403Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.77213017Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.325787ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-02-24T11:36:20.77712745Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.777858806Z level=info msg="Migration successfully executed" id="create role table" duration=731.156µs policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-02-24T11:36:20.781344416Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.788402837Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.056331ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.792944019Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.800556213Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.611734ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-24T11:36:20.804568473Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.805558594Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=987.861µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-24T11:36:20.81088199Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.811942932Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.060432ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.823031346Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.824613027Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.582331ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-24T11:36:20.827646188Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.828471835Z level=info msg="Migration successfully executed" id="create team role table" duration=825.117µs policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.832356333Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.833492787Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.135384ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-02-24T11:36:20.836879545Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.838800363Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.920678ms 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)) grafana | logger=migrator t=2024-02-24T11:36:20.848158222Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.849182842Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.02531ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.853238174Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.854384137Z level=info msg="Migration successfully executed" id="create user role table" duration=1.145753ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-02-24T11:36:20.858584412Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.860184464Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.599952ms policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.865735526Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.867329188Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.593052ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-02-24T11:36:20.872576974Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.873567674Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=990.2µs 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 | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.880430621Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.881620986Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.192575ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.885679007Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-24T11:36:20.88726107Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.581843ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-24T11:36:20.892358942Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-02-24T11:36:20.893342532Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=982.87µs policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-02-24T11:36:20.896932144Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | name version grafana | logger=migrator t=2024-02-24T11:36:20.904617219Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.683845ms policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-02-24T11:36:20.908996108Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-02-24T11:36:20.910051479Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.05323ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.914164971Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.915218003Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.052572ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.920236974Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.921243044Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.00559ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.924570781Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.925605881Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.03446ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.931357157Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.932108123Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=750.216µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.939681365Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.941362889Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.680634ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.946252228Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.95629173Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.039802ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.961958564Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.969676089Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.715705ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.975219461Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:20 grafana | logger=migrator t=2024-02-24T11:36:20.982867175Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.647404ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:20.987298424Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:20.995118612Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.820378ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.033500345Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.035348073Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.843408ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.04114191Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.042136129Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=993.509µs policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.045336204Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.047297453Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.963489ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.053276424Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.053339725Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=66.461µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.057465199Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.05751179Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=48.211µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.060314526Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.061134602Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=812.106µs policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.066941339Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.067960049Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.02496ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.071875549Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.073821387Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.939928ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.077640415Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.077834709Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=194.544µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.0808719Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.081196726Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=324.706µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.08387487Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.085097954Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.223164ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.08879433Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 grafana | logger=migrator t=2024-02-24T11:36:21.090452102Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.656472ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:21 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.093719898Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.102081367Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.360238ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.110260561Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-02-24T11:36:21.110403034Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=143.533µs grafana | logger=migrator t=2024-02-24T11:36:21.113026297Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.113805254Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=779.086µs policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.116191861Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.117013658Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=821.727µs policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.120679592Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.121439357Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=761.265µs policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.124713943Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.131089792Z level=info msg="Migration successfully executed" id="add correlation config column" duration=6.375529ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.135097672Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.136073342Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=975.44µs policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.138896719Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.139624163Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=727.044µs policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.14193287Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.174122568Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=32.189018ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.178283012Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.179212961Z level=info msg="Migration successfully executed" id="create correlation v2" duration=929.749µs policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.183106179Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.185200211Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.091582ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.189258834Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.191241203Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.981159ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.196918367Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.197974719Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.056192ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.200852537Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:22 grafana | logger=migrator t=2024-02-24T11:36:21.201121422Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=269.115µs policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.203508121Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.204911008Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.403487ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.209292067Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.218786558Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.495701ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.223190057Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.223749398Z level=info msg="Migration successfully executed" id="create entity_events table" duration=559.631µs policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.229436713Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.23082289Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.386277ms policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.233945824Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.234636368Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.237996195Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.238431384Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.241186389Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.241917044Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=729.765µs policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.244409544Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.245284232Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=874.588µs policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.249042808Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.250083328Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.04016ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.25317401Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.254521638Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.348338ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:23 grafana | logger=migrator t=2024-02-24T11:36:21.260732783Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.261748263Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.01415ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.265826056Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:24 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:24 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2402241136200800u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.266824946Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=998.579µs policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.270951819Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.271734275Z level=info msg="Migration successfully executed" id="Drop public config table" duration=782.606µs policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.275089022Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.276071023Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=981.86µs policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.279162655Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.280241406Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.076871ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.282685675Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.284080553Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.394388ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.289952461Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.29186218Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.903319ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.295402361Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.331239713Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=35.840842ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2402241136200900u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.335475149Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.341588112Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.111473ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.344822267Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.355348589Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.525572ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.358499153Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:24 grafana | logger=migrator t=2024-02-24T11:36:21.358745417Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=247.824µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.362984613Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.371706859Z level=info msg="Migration successfully executed" id="add share column" duration=8.721136ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.375053686Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2402241136201000u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.37526603Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=212.554µs policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2402241136201100u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.416305718Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2402241136201200u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.418608193Z level=info msg="Migration successfully executed" id="create file table" duration=2.304476ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2402241136201200u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.423450381Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2402241136201200u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.424656236Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.205675ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2402241136201200u 1 2024-02-24 11:36:25 grafana | logger=migrator t=2024-02-24T11:36:21.427539104Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | policyadmin: OK @ 1200 grafana | logger=migrator t=2024-02-24T11:36:21.428730067Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.190483ms grafana | logger=migrator t=2024-02-24T11:36:21.432032404Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-02-24T11:36:21.432859561Z level=info msg="Migration successfully executed" id="create file_meta table" duration=825.527µs grafana | logger=migrator t=2024-02-24T11:36:21.437858261Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-02-24T11:36:21.439078506Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.219695ms grafana | logger=migrator t=2024-02-24T11:36:21.444151099Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-02-24T11:36:21.44424166Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=90.912µs grafana | logger=migrator t=2024-02-24T11:36:21.447480555Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-02-24T11:36:21.447528176Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=47.981µs grafana | logger=migrator t=2024-02-24T11:36:21.451602708Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-02-24T11:36:21.452618049Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.014971ms grafana | logger=migrator t=2024-02-24T11:36:21.45860788Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-02-24T11:36:21.459036398Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=428.198µs grafana | logger=migrator t=2024-02-24T11:36:21.462515818Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-02-24T11:36:21.464267224Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.751166ms grafana | logger=migrator t=2024-02-24T11:36:21.469298735Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-02-24T11:36:21.480837557Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.535612ms grafana | logger=migrator t=2024-02-24T11:36:21.485182174Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-02-24T11:36:21.485394999Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=212.725µs grafana | logger=migrator t=2024-02-24T11:36:21.490632364Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-02-24T11:36:21.491933291Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.299707ms grafana | logger=migrator t=2024-02-24T11:36:21.495695227Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-02-24T11:36:21.496293138Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=598.612µs grafana | logger=migrator t=2024-02-24T11:36:21.50132253Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-02-24T11:36:21.501547084Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=224.134µs grafana | logger=migrator t=2024-02-24T11:36:21.504081385Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-02-24T11:36:21.504906652Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=822.857µs grafana | logger=migrator t=2024-02-24T11:36:21.508678928Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-02-24T11:36:21.519924995Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.243567ms grafana | logger=migrator t=2024-02-24T11:36:21.525276582Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-02-24T11:36:21.531851495Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.574643ms grafana | logger=migrator t=2024-02-24T11:36:21.534979058Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-02-24T11:36:21.536128411Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.148943ms grafana | logger=migrator t=2024-02-24T11:36:21.539504529Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-02-24T11:36:21.649595557Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=110.085388ms grafana | logger=migrator t=2024-02-24T11:36:21.655683319Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-02-24T11:36:21.656576787Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=893.258µs grafana | logger=migrator t=2024-02-24T11:36:21.661355094Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-02-24T11:36:21.662703881Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.348757ms grafana | logger=migrator t=2024-02-24T11:36:21.667470317Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-02-24T11:36:21.700990942Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.519995ms grafana | logger=migrator t=2024-02-24T11:36:21.707200187Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-02-24T11:36:21.707462403Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=264.376µs grafana | logger=migrator t=2024-02-24T11:36:21.710355921Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-02-24T11:36:21.710587646Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=231.535µs grafana | logger=migrator t=2024-02-24T11:36:21.713558016Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-02-24T11:36:21.713733079Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=173.893µs grafana | logger=migrator t=2024-02-24T11:36:21.71924631Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-02-24T11:36:21.721097957Z level=info msg="Migration successfully executed" id="create folder table" duration=1.851787ms grafana | logger=migrator t=2024-02-24T11:36:21.725272701Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-02-24T11:36:21.726548987Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.279116ms grafana | logger=migrator t=2024-02-24T11:36:21.729844344Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-02-24T11:36:21.731125839Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.281095ms grafana | logger=migrator t=2024-02-24T11:36:21.736216462Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-02-24T11:36:21.736241823Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.31µs grafana | logger=migrator t=2024-02-24T11:36:21.741241563Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-24T11:36:21.743170222Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.927409ms grafana | logger=migrator t=2024-02-24T11:36:21.747880307Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-24T11:36:21.749880107Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.00042ms grafana | logger=migrator t=2024-02-24T11:36:21.754971589Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-02-24T11:36:21.756374128Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.402739ms grafana | logger=migrator t=2024-02-24T11:36:21.759886538Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-02-24T11:36:21.760244836Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=358.177µs grafana | logger=migrator t=2024-02-24T11:36:21.763617824Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-02-24T11:36:21.76392082Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=302.876µs grafana | logger=migrator t=2024-02-24T11:36:21.79919911Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-24T11:36:21.800888875Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.688665ms grafana | logger=migrator t=2024-02-24T11:36:21.807006408Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-02-24T11:36:21.809172432Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.165744ms grafana | logger=migrator t=2024-02-24T11:36:21.813200422Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-02-24T11:36:21.814352386Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.152004ms grafana | logger=migrator t=2024-02-24T11:36:21.820253055Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-02-24T11:36:21.821186303Z level=info msg="Migration successfully executed" id="create signing_key table" duration=932.698µs grafana | logger=migrator t=2024-02-24T11:36:21.824869227Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-02-24T11:36:21.826310867Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.44081ms grafana | logger=migrator t=2024-02-24T11:36:21.829508101Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-24T11:36:21.830590223Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.082241ms grafana | logger=migrator t=2024-02-24T11:36:21.838016202Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-24T11:36:21.838432861Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=418.769µs grafana | logger=migrator t=2024-02-24T11:36:21.843313809Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-02-24T11:36:21.855504765Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.190465ms grafana | logger=migrator t=2024-02-24T11:36:21.858842693Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-02-24T11:36:21.859375533Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=535.42µs grafana | logger=migrator t=2024-02-24T11:36:21.862548617Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-02-24T11:36:21.863999766Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.450689ms grafana | logger=migrator t=2024-02-24T11:36:21.869805583Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-02-24T11:36:21.871336044Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.529452ms grafana | logger=migrator t=2024-02-24T11:36:21.88007742Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-02-24T11:36:21.881330916Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.254746ms grafana | logger=migrator t=2024-02-24T11:36:21.884440818Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-02-24T11:36:21.884929678Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=489.68µs grafana | logger=migrator t=2024-02-24T11:36:21.889373187Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.471854671s grafana | logger=sqlstore t=2024-02-24T11:36:21.898796607Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-02-24T11:36:21.899167885Z level=info msg="Created default organization" grafana | logger=secrets t=2024-02-24T11:36:21.904591484Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-02-24T11:36:21.920595967Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-02-24T11:36:21.956762415Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-02-24T11:36:21.956814886Z level=info msg="Plugins loaded" count=55 duration=36.220079ms grafana | logger=query_data t=2024-02-24T11:36:21.960645853Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-24T11:36:21.969560283Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-24T11:36:21.978747687Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-24T11:36:21.980274049Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-24T11:36:21.981457892Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-24T11:36:21.984859081Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-24T11:36:22.013970307Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-24T11:36:22.016021579Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-24T11:36:22.027685384Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-24T11:36:22.027704124Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-02-24T11:36:22.028095842Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-02-24T11:36:22.028176523Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-02-24T11:36:22.02899175Z level=info msg="State cache has been initialized" states=0 duration=893.577µs grafana | logger=ngalert.multiorg.alertmanager t=2024-02-24T11:36:22.029267385Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-02-24T11:36:22.029430828Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-24T11:36:22.029660234Z level=info msg=starting first_tick=2024-02-24T11:36:30Z grafana | logger=http.server t=2024-02-24T11:36:22.030358548Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-02-24T11:36:22.053188547Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-24T11:36:22.056441173Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=plugins.update.checker t=2024-02-24T11:36:22.132559936Z level=info msg="Update check succeeded" duration=104.120707ms grafana | logger=grafana.update.checker t=2024-02-24T11:36:22.164875607Z level=info msg="Update check succeeded" duration=136.592392ms grafana | logger=sqlstore.transactions t=2024-02-24T11:36:22.243620234Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-24T11:36:22.255300339Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-24T11:36:22.266495814Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-24T11:36:22.286974137Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" grafana | logger=infra.usagestats t=2024-02-24T11:37:31.040557869Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-db-migrator ... done Removing policy-api ... done Removing grafana ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.f9d2X0JsCe ]] + rsync -av /tmp/tmp.f9d2X0JsCe/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,347,266 bytes received 95 bytes 2,694,722.00 bytes/sec total size is 1,346,620 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 2113 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/jenkins1631276501437473432.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins16477463484100412817.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/jenkins9447786320576931465.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-tsqm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-tsqm/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15229395856018170036.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config10946892123045487881tmp 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/jenkins17170965329750984756.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14567573977267211749.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-tsqm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-tsqm/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8314730049479453904.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2521073383552476416.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-tsqm 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-tsqm/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/jenkins17980707398415416071.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-tsqm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-tsqm/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/281 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-8320 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 856 27426 0 3884 30854 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:1a:d2:40 brd ff:ff:ff:ff:ff:ff inet 10.30.106.71/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86069sec preferred_lft 86069sec inet6 fe80::f816:3eff:fe1a:d240/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:cf:78:3c:e3 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-8320) 02/24/24 _x86_64_ (8 CPU) 11:33:25 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 104.23 22.20 82.04 1139.41 27003.37 11:36:01 154.49 24.00 130.49 2818.06 36025.86 11:37:01 349.81 12.48 337.33 801.47 75927.63 11:38:01 37.83 0.02 37.81 1.73 21845.23 Average: 161.59 14.67 146.92 1190.17 40200.52 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30052584 31689516 2886636 8.76 72292 1873712 1464940 4.31 886880 1703048 205228 11:36:01 28149664 31649692 4789556 14.54 111716 3626336 1439596 4.24 1011332 3363856 1526240 11:37:01 26944928 30518428 5994292 18.20 126260 3646704 4572540 13.45 2221856 3319824 236 11:38:01 27092104 30688668 5847116 17.75 126572 3673476 3059416 9.00 2076748 3332060 0 Average: 28059820 31136576 4879400 14.81 109210 3205057 2634123 7.75 1549204 2929697 432926 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 64.51 44.54 1034.83 8.03 0.00 0.00 0.00 0.00 11:35:01 lo 1.67 1.67 0.18 0.18 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 br-0f2c7775dc0a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 310.53 209.17 9119.75 25.08 0.00 0.00 0.00 0.00 11:36:01 lo 9.40 9.40 0.87 0.87 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth7b99807 115.11 95.10 46.48 119.10 0.00 0.00 0.00 0.01 11:37:01 br-0f2c7775dc0a 3.63 4.10 5.94 2.52 0.00 0.00 0.00 0.00 11:37:01 vethbdd867b 0.13 0.32 0.01 0.27 0.00 0.00 0.00 0.00 11:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:38:01 veth7b99807 1.37 1.42 0.55 0.10 0.00 0.00 0.00 0.00 11:38:01 br-0f2c7775dc0a 1.83 2.05 0.15 0.20 0.00 0.00 0.00 0.00 11:38:01 ens3 709.32 492.37 10933.24 98.34 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: veth7b99807 29.12 24.13 11.76 29.80 0.00 0.00 0.00 0.00 Average: br-0f2c7775dc0a 1.37 1.54 1.52 0.68 0.00 0.00 0.00 0.00 Average: ens3 98.99 68.55 2541.16 10.18 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8320) 02/24/24 _x86_64_ (8 CPU) 11:33:25 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.19 0.00 0.72 2.34 0.04 86.72 11:35:01 0 2.48 0.00 0.27 0.07 0.00 97.18 11:35:01 1 0.37 0.00 0.05 0.32 0.07 99.20 11:35:01 2 0.13 0.00 0.07 0.10 0.02 99.68 11:35:01 3 40.40 0.00 2.07 2.15 0.07 55.31 11:35:01 4 1.15 0.00 0.45 14.20 0.05 84.15 11:35:01 5 20.08 0.00 1.22 0.67 0.05 77.98 11:35:01 6 15.19 0.00 1.12 0.30 0.03 83.36 11:35:01 7 1.67 0.00 0.47 0.87 0.02 96.98 11:36:01 all 12.24 0.00 2.65 2.63 0.05 82.42 11:36:01 0 6.03 0.00 1.88 1.19 0.03 90.87 11:36:01 1 8.55 0.00 3.10 1.01 0.08 87.26 11:36:01 2 6.80 0.00 2.22 5.27 0.05 85.66 11:36:01 3 36.65 0.00 4.65 1.21 0.07 57.42 11:36:01 4 11.76 0.00 2.47 11.12 0.07 74.59 11:36:01 5 11.51 0.00 2.72 0.30 0.03 85.43 11:36:01 6 6.65 0.00 2.30 0.29 0.02 90.74 11:36:01 7 10.02 0.00 1.92 0.69 0.05 87.33 11:37:01 all 16.73 0.00 2.13 4.41 0.05 76.67 11:37:01 0 17.09 0.00 1.99 1.16 0.05 79.71 11:37:01 1 19.40 0.00 2.73 1.05 0.05 76.77 11:37:01 2 16.66 0.00 2.75 23.27 0.05 57.27 11:37:01 3 19.02 0.00 2.28 2.78 0.05 75.87 11:37:01 4 14.91 0.00 1.71 1.52 0.05 81.81 11:37:01 5 13.87 0.00 1.51 1.79 0.07 82.76 11:37:01 6 14.14 0.00 1.92 0.32 0.05 83.57 11:37:01 7 18.78 0.00 2.11 3.49 0.08 75.54 11:38:01 all 0.90 0.00 0.26 1.25 0.03 97.57 11:38:01 0 1.25 0.00 0.23 0.12 0.02 98.38 11:38:01 1 0.33 0.00 0.27 0.03 0.02 99.35 11:38:01 2 0.18 0.00 0.17 6.40 0.02 93.23 11:38:01 3 0.77 0.00 0.33 2.43 0.05 96.41 11:38:01 4 1.85 0.00 0.20 0.36 0.02 97.57 11:38:01 5 0.70 0.00 0.30 0.60 0.00 98.40 11:38:01 6 0.43 0.00 0.20 0.00 0.03 99.33 11:38:01 7 1.65 0.00 0.38 0.07 0.08 97.81 Average: all 10.00 0.00 1.44 2.66 0.04 85.86 Average: 0 6.70 0.00 1.09 0.63 0.03 91.55 Average: 1 7.15 0.00 1.53 0.60 0.05 90.66 Average: 2 5.93 0.00 1.30 8.75 0.03 83.99 Average: 3 24.18 0.00 2.33 2.15 0.06 71.29 Average: 4 7.41 0.00 1.20 6.77 0.05 84.58 Average: 5 11.53 0.00 1.43 0.84 0.04 86.15 Average: 6 9.11 0.00 1.38 0.23 0.03 89.25 Average: 7 8.01 0.00 1.22 1.28 0.06 89.44