Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-3386 (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-nR3LcQq5u58G/agent.2125 SSH_AGENT_PID=2127 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_5048598461664379584.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_5048598461664379584.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/jenkins5349109158528208745.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-hTwh 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-hTwh/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-hTwh/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.36 botocore==1.34.36 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.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.33 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.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.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.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.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.0 python-swiftclient==4.4.0 pytz==2024.1 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.17.1 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.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 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/jenkins7224347744098668055.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/jenkins14603931175436298858.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.cjg8BzTGqY ++ echo ROBOT_VENV=/tmp/tmp.cjg8BzTGqY +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.cjg8BzTGqY ++ source /tmp/tmp.cjg8BzTGqY/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.cjg8BzTGqY +++ 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.cjg8BzTGqY/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.cjg8BzTGqY) ' '!=' x ']' +++ PS1='(tmp.cjg8BzTGqY) ' +++ 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.cjg8BzTGqY/src/onap ++ rm -rf /tmp/tmp.cjg8BzTGqY/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==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==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 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.cjg8BzTGqY/bin/activate + '[' -z /tmp/tmp.cjg8BzTGqY/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.cjg8BzTGqY/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.cjg8BzTGqY ++ 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.cjg8BzTGqY/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.cjg8BzTGqY) ' ++ '[' 'x(tmp.cjg8BzTGqY) ' '!=' x ']' ++ PS1='(tmp.cjg8BzTGqY) (tmp.cjg8BzTGqY) ' ++ 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.sygN77aGcJ + cd /tmp/tmp.sygN77aGcJ + 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:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 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:7567a7c70a3c1d75aeeedc968d1304174a16651e55a60d1fb132a05e1e63a054 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ 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:00 up 3 min, 0 users, load average: 2.18, 0.96, 0.38 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.0 us, 2.1 sy, 0.0 ni, 83.3 id, 3.5 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS d9ac9315a5aa policy-api 0.12% 786.5MiB / 31.41GiB 2.45% 1.04MB / 739kB 0B / 0B 50 06f6e4016947 grafana 0.04% 56.47MiB / 31.41GiB 0.18% 18.5kB / 3.16kB 0B / 23.8MB 21 f1edaf317211 mariadb 0.01% 100.7MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 10.9MB / 67.5MB 26 c05512fdb2fd prometheus 0.38% 19MiB / 31.41GiB 0.06% 1.45kB / 158B 4.1kB / 0B 13 + echo + cd /tmp/tmp.sygN77aGcJ + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.sygN77aGcJ/output.xml Log: /tmp/tmp.sygN77aGcJ/log.html Report: /tmp/tmp.sygN77aGcJ/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 policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:11 up 4 min, 0 users, load average: 1.04, 0.90, 0.40 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 86.1 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.7G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS d9ac9315a5aa policy-api 0.15% 805.6MiB / 31.41GiB 2.50% 7.32MB / 2.87MB 0B / 0B 53 06f6e4016947 grafana 0.02% 63.47MiB / 31.41GiB 0.20% 19.7kB / 4.49kB 0B / 23.8MB 21 f1edaf317211 mariadb 0.01% 101.5MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 10.9MB / 67.6MB 18 c05512fdb2fd prometheus 0.00% 24.4MiB / 31.41GiB 0.08% 38.1kB / 7.17kB 4.1kB / 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 policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-02-07T11:35:32.208765565Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z grafana | logger=settings t=2024-02-07T11:35:32.208991427Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-07T11:35:32.209000727Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-07T11:35:32.209004127Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-07T11:35:32.209007087Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-07T11:35:32.209011317Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-07T11:35:32.209014167Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-07T11:35:32.209016897Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-07T11:35:32.209019957Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-07T11:35:32.209022847Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-07T11:35:32.209025577Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-07T11:35:32.209028237Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-07T11:35:32.209032677Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-07T11:35:32.209037307Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-07T11:35:32.209040057Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-07T11:35:32.209043457Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-07T11:35:32.209046207Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-07T11:35:32.209048917Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-07T11:35:32.209051647Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-07T11:35:32.209303419Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-07T11:35:32.209318209Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-07T11:35:32.209863133Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-07T11:35:32.210663969Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-07T11:35:32.211382744Z level=info msg="Migration successfully executed" id="create migration_log table" duration=718.535µs grafana | logger=migrator t=2024-02-07T11:35:32.23601296Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-07T11:35:32.237107538Z level=info msg="Migration successfully executed" id="create user table" duration=1.094228ms grafana | logger=migrator t=2024-02-07T11:35:32.242248205Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-07T11:35:32.243381263Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.132538ms grafana | logger=migrator t=2024-02-07T11:35:32.250204932Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-07T11:35:32.251284109Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.069427ms grafana | logger=migrator t=2024-02-07T11:35:32.254458112Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-07T11:35:32.255490419Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.031327ms grafana | logger=migrator t=2024-02-07T11:35:32.258743343Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-07T11:35:32.259919511Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.174038ms grafana | logger=migrator t=2024-02-07T11:35:32.263157174Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-07T11:35:32.267704417Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.546363ms grafana | logger=migrator t=2024-02-07T11:35:32.273000325Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-07T11:35:32.27380163Z level=info msg="Migration successfully executed" id="create user table v2" duration=801.075µs grafana | logger=migrator t=2024-02-07T11:35:32.276865812Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-07T11:35:32.277744719Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=877.057µs grafana | logger=migrator t=2024-02-07T11:35:32.280954212Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-07T11:35:32.28213268Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.184459ms grafana | logger=migrator t=2024-02-07T11:35:32.287160035Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-07T11:35:32.287599379Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=438.964µs grafana | logger=migrator t=2024-02-07T11:35:32.290444919Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-07T11:35:32.291004613Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=558.864µs grafana | logger=migrator t=2024-02-07T11:35:32.294218516Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-07T11:35:32.295993278Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.773712ms grafana | logger=migrator t=2024-02-07T11:35:32.299465163Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-07T11:35:32.299566004Z level=info msg="Migration successfully executed" id="Update user table charset" duration=46.73µs grafana | logger=migrator t=2024-02-07T11:35:32.304461439Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-07T11:35:32.305582036Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.120207ms grafana | logger=migrator t=2024-02-07T11:35:32.308535307Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-07T11:35:32.308805649Z level=info msg="Migration successfully executed" id="Add missing user data" duration=267.182µs grafana | logger=migrator t=2024-02-07T11:35:32.311456208Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-07T11:35:32.313248881Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.791823ms grafana | logger=migrator t=2024-02-07T11:35:32.316508564Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-07T11:35:32.317736353Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.227339ms grafana | logger=migrator t=2024-02-07T11:35:32.322345705Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-07T11:35:32.323523384Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.177249ms grafana | logger=migrator t=2024-02-07T11:35:32.326940288Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-07T11:35:32.339592358Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.65239ms grafana | logger=migrator t=2024-02-07T11:35:32.342900461Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-07T11:35:32.343434875Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=533.954µs grafana | logger=migrator t=2024-02-07T11:35:32.348121448Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-07T11:35:32.348979504Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=857.346µs grafana | logger=migrator t=2024-02-07T11:35:32.352843272Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-07T11:35:32.353653978Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=810.396µs grafana | logger=migrator t=2024-02-07T11:35:32.357538835Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-07T11:35:32.35829044Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=751.535µs grafana | logger=migrator t=2024-02-07T11:35:32.363197595Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-07T11:35:32.364263893Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.017188ms grafana | logger=migrator t=2024-02-07T11:35:32.368413432Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-07T11:35:32.368454403Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=38.141µs grafana | logger=migrator t=2024-02-07T11:35:32.372173079Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-07T11:35:32.372880834Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=707.615µs grafana | logger=migrator t=2024-02-07T11:35:32.377339636Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-07T11:35:32.378042551Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=699.075µs grafana | logger=migrator t=2024-02-07T11:35:32.381530865Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-07T11:35:32.382588543Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.057528ms grafana | logger=migrator t=2024-02-07T11:35:32.386218359Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-07T11:35:32.387304696Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.082537ms grafana | logger=migrator t=2024-02-07T11:35:32.391690907Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-07T11:35:32.395257833Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.568696ms grafana | logger=migrator t=2024-02-07T11:35:32.398683537Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-07T11:35:32.399471393Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=787.556µs grafana | logger=migrator t=2024-02-07T11:35:32.402908137Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-07T11:35:32.403680873Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=772.636µs grafana | logger=migrator t=2024-02-07T11:35:32.407878442Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-07T11:35:32.409097891Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.218909ms grafana | logger=migrator t=2024-02-07T11:35:32.412819668Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-07T11:35:32.414048256Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.228238ms grafana | logger=migrator t=2024-02-07T11:35:32.417560141Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-07T11:35:32.418325227Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=764.796µs grafana | logger=migrator t=2024-02-07T11:35:32.422157344Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-07T11:35:32.422615897Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=455.003µs grafana | logger=migrator t=2024-02-07T11:35:32.426710466Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-07T11:35:32.427688923Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=977.657µs grafana | logger=migrator t=2024-02-07T11:35:32.431289859Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-07T11:35:32.431960233Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=669.494µs grafana | logger=migrator t=2024-02-07T11:35:32.435635469Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-07T11:35:32.436655197Z level=info msg="Migration successfully executed" id="create star table" duration=1.018938ms grafana | logger=migrator t=2024-02-07T11:35:32.441117468Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-07T11:35:32.441894084Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=781.346µs grafana | logger=migrator t=2024-02-07T11:35:32.445695801Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-07T11:35:32.446421796Z level=info msg="Migration successfully executed" id="create org table v1" duration=725.655µs grafana | logger=migrator t=2024-02-07T11:35:32.451595242Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-07T11:35:32.452809931Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.213949ms grafana | logger=migrator t=2024-02-07T11:35:32.456434087Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-07T11:35:32.457558305Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.125248ms grafana | logger=migrator t=2024-02-07T11:35:32.461875836Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-07T11:35:32.462675401Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=799.385µs grafana | logger=migrator t=2024-02-07T11:35:32.466199546Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-07T11:35:32.467448325Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.247119ms grafana | logger=migrator t=2024-02-07T11:35:32.471250772Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-07T11:35:32.472481351Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.230249ms grafana | logger=migrator t=2024-02-07T11:35:32.476408839Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-07T11:35:32.476450529Z level=info msg="Migration successfully executed" id="Update org table charset" duration=43.34µs grafana | logger=migrator t=2024-02-07T11:35:32.481322154Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-07T11:35:32.481361444Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=40.89µs grafana | logger=migrator t=2024-02-07T11:35:32.485383032Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-07T11:35:32.485782945Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=401.373µs grafana | logger=migrator t=2024-02-07T11:35:32.489754034Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-07T11:35:32.490942652Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.188149ms grafana | logger=migrator t=2024-02-07T11:35:32.494714819Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-07T11:35:32.495576255Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=861.136µs grafana | logger=migrator t=2024-02-07T11:35:32.500220268Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-07T11:35:32.501171594Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=950.436µs grafana | logger=migrator t=2024-02-07T11:35:32.504627079Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-07T11:35:32.505379194Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=753.095µs grafana | logger=migrator t=2024-02-07T11:35:32.508912479Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-07T11:35:32.509763695Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=850.886µs grafana | logger=migrator t=2024-02-07T11:35:32.514127026Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-07T11:35:32.515126694Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=997.938µs grafana | logger=migrator t=2024-02-07T11:35:32.518664348Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-07T11:35:32.527654693Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.991025ms grafana | logger=migrator t=2024-02-07T11:35:32.564298592Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-07T11:35:32.565451401Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.152879ms grafana | logger=migrator t=2024-02-07T11:35:32.570078723Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-07T11:35:32.571358393Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.279139ms grafana | logger=migrator t=2024-02-07T11:35:32.575295361Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-07T11:35:32.576141907Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=845.866µs grafana | logger=migrator t=2024-02-07T11:35:32.579844493Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-07T11:35:32.580226435Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=381.562µs grafana | logger=migrator t=2024-02-07T11:35:32.583830921Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-07T11:35:32.585212191Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.38032ms grafana | logger=migrator t=2024-02-07T11:35:32.590001185Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-07T11:35:32.590220746Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=218.801µs grafana | logger=migrator t=2024-02-07T11:35:32.594128384Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-07T11:35:32.597149006Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.016121ms grafana | logger=migrator t=2024-02-07T11:35:32.60190741Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-07T11:35:32.603702052Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.794222ms grafana | logger=migrator t=2024-02-07T11:35:32.607415098Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.610321759Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.905701ms grafana | logger=migrator t=2024-02-07T11:35:32.613873544Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.615209774Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.32977ms grafana | logger=migrator t=2024-02-07T11:35:32.619691606Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.621588639Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.891393ms grafana | logger=migrator t=2024-02-07T11:35:32.625103514Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.626444564Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.34044ms grafana | logger=migrator t=2024-02-07T11:35:32.630279021Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-07T11:35:32.631686331Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.4072ms grafana | logger=migrator t=2024-02-07T11:35:32.636523345Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-07T11:35:32.636548935Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=32.05µs grafana | logger=migrator t=2024-02-07T11:35:32.639276234Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-07T11:35:32.639300535Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.261µs grafana | logger=migrator t=2024-02-07T11:35:32.643503235Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.646646987Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.142772ms grafana | logger=migrator t=2024-02-07T11:35:32.651832204Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.653776127Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.943643ms grafana | logger=migrator t=2024-02-07T11:35:32.657889087Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.660690737Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.80598ms grafana | logger=migrator t=2024-02-07T11:35:32.664261262Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.667450655Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.196143ms grafana | logger=migrator t=2024-02-07T11:35:32.671164391Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.671422673Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=257.562µs grafana | logger=migrator t=2024-02-07T11:35:32.675696833Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 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 | 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 | 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 | -------------- grafana | logger=migrator t=2024-02-07T11:35:32.676521559Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=823.936µs grafana | logger=migrator t=2024-02-07T11:35:32.680104744Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-07T11:35:32.681384703Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.279569ms grafana | logger=migrator t=2024-02-07T11:35:32.685031709Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-07T11:35:32.68507284Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=42.551µs grafana | logger=migrator t=2024-02-07T11:35:32.6893064Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-07T11:35:32.690127785Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=820.775µs grafana | logger=migrator t=2024-02-07T11:35:32.693463059Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-07T11:35:32.694556827Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.092728ms grafana | logger=migrator t=2024-02-07T11:35:32.698574645Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-07T11:35:32.708236964Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.662489ms grafana | logger=migrator t=2024-02-07T11:35:32.712799706Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-07T11:35:32.713519291Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=719.015µs grafana | logger=migrator t=2024-02-07T11:35:32.716941626Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-07T11:35:32.717750211Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=808.525µs grafana | logger=migrator t=2024-02-07T11:35:32.721153616Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-07T11:35:32.722022432Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=871.576µs grafana | logger=migrator t=2024-02-07T11:35:32.725790669Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-07T11:35:32.726143821Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=353.042µs grafana | logger=migrator t=2024-02-07T11:35:32.730592923Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-07T11:35:32.731252608Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=659.355µs grafana | logger=migrator t=2024-02-07T11:35:32.734861933Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-07T11:35:32.738277997Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.408884ms grafana | logger=migrator t=2024-02-07T11:35:32.741799672Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-07T11:35:32.742625088Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=825.236µs grafana | logger=migrator t=2024-02-07T11:35:32.746836268Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-07T11:35:32.74708236Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=242.372µs grafana | logger=migrator t=2024-02-07T11:35:32.750877027Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-07T11:35:32.751263949Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=379.043µs grafana | logger=migrator t=2024-02-07T11:35:32.756037383Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-07T11:35:32.757366083Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.32911ms grafana | logger=migrator t=2024-02-07T11:35:32.763497596Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-07T11:35:32.766439427Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.943131ms grafana | logger=migrator t=2024-02-07T11:35:32.769778491Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-07T11:35:32.770667477Z level=info msg="Migration successfully executed" id="create data_source table" duration=888.556µs grafana | logger=migrator t=2024-02-07T11:35:32.774154752Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-07T11:35:32.774955308Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=800.506µs grafana | logger=migrator t=2024-02-07T11:35:32.779160947Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-07T11:35:32.780071784Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=910.307µs grafana | logger=migrator t=2024-02-07T11:35:32.783300607Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-07T11:35:32.784071042Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=770.465µs grafana | logger=migrator t=2024-02-07T11:35:32.787340315Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-07T11:35:32.788120891Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=780.706µs grafana | logger=migrator t=2024-02-07T11:35:32.792473052Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-07T11:35:32.802998656Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.526934ms grafana | logger=migrator t=2024-02-07T11:35:32.806421411Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-07T11:35:32.807067546Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=640.814µs grafana | logger=migrator t=2024-02-07T11:35:32.810421809Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-07T11:35:32.811321185Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=903.986µs grafana | logger=migrator t=2024-02-07T11:35:32.815443335Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-07T11:35:32.816324841Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=881.196µs grafana | logger=migrator t=2024-02-07T11:35:32.858932984Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-07T11:35:32.85979784Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=864.636µs grafana | logger=migrator t=2024-02-07T11:35:32.863558046Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-07T11:35:32.867206042Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.647486ms grafana | logger=migrator t=2024-02-07T11:35:32.871712984Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-07T11:35:32.87399058Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.275516ms grafana | logger=migrator t=2024-02-07T11:35:32.877238823Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-07T11:35:32.877265494Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.501µs grafana | logger=migrator t=2024-02-07T11:35:32.880682188Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-07T11:35:32.880847679Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=165.231µs grafana | logger=migrator t=2024-02-07T11:35:32.88528347Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-07T11:35:32.887609887Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.318057ms grafana | logger=migrator t=2024-02-07T11:35:32.89085188Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-07T11:35:32.891045581Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=193.691µs grafana | logger=migrator t=2024-02-07T11:35:32.894191464Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-07T11:35:32.894344155Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=152.821µs grafana | logger=migrator t=2024-02-07T11:35:32.897568268Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-07T11:35:32.901304774Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.727246ms grafana | logger=migrator t=2024-02-07T11:35:32.905711626Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-07T11:35:32.905884537Z level=info msg="Migration successfully executed" id="Update uid value" duration=172.961µs grafana | logger=migrator t=2024-02-07T11:35:32.90908648Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-07T11:35:32.909909295Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=819.785µs grafana | logger=migrator t=2024-02-07T11:35:32.913099878Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-07T11:35:32.914130115Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.028107ms grafana | logger=migrator t=2024-02-07T11:35:32.918681208Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-07T11:35:32.919785895Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.104507ms grafana | logger=migrator t=2024-02-07T11:35:32.965048566Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-07T11:35:32.966243954Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.195028ms grafana | logger=migrator t=2024-02-07T11:35:32.970130452Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-07T11:35:32.971396361Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.264869ms grafana | logger=migrator t=2024-02-07T11:35:32.975970573Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-07T11:35:32.976837419Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=866.266µs grafana | logger=migrator t=2024-02-07T11:35:32.981889015Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-07T11:35:32.98262193Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=731.725µs grafana | logger=migrator t=2024-02-07T11:35:32.985975664Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-07T11:35:32.98675358Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=777.646µs grafana | logger=migrator t=2024-02-07T11:35:32.990923099Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-07T11:35:32.991703325Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=779.476µs grafana | logger=migrator t=2024-02-07T11:35:32.9952856Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-07T11:35:33.00645357Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.17047ms grafana | logger=migrator t=2024-02-07T11:35:33.011381064Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-07T11:35:33.012856715Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.478611ms grafana | logger=migrator t=2024-02-07T11:35:33.016844923Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-07T11:35:33.017702749Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=857.876µs grafana | logger=migrator t=2024-02-07T11:35:33.020706831Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-07T11:35:33.021515766Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=808.455µs grafana | logger=migrator t=2024-02-07T11:35:33.025540205Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-07T11:35:33.026392871Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=851.636µs grafana | logger=migrator t=2024-02-07T11:35:33.029967646Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-07T11:35:33.030377689Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=409.573µs grafana | logger=migrator t=2024-02-07T11:35:33.033814214Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-07T11:35:33.034370088Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=551.303µs grafana | logger=migrator t=2024-02-07T11:35:33.039749556Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-07T11:35:33.039776366Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=27.76µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.043319251Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-07T11:35:33.047871323Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.551702ms grafana | logger=migrator t=2024-02-07T11:35:33.05163678Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-07T11:35:33.054975763Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.392513ms grafana | logger=migrator t=2024-02-07T11:35:33.059570496Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-07T11:35:33.059924429Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=390.603µs grafana | logger=migrator t=2024-02-07T11:35:33.064020888Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-07T11:35:33.066707247Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.685889ms grafana | logger=migrator t=2024-02-07T11:35:33.06999086Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-07T11:35:33.072691949Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.702259ms grafana | logger=migrator t=2024-02-07T11:35:33.076022283Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-07T11:35:33.076856859Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=836.376µs grafana | logger=migrator t=2024-02-07T11:35:33.116864362Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-07T11:35:33.118097791Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.235519ms grafana | logger=migrator t=2024-02-07T11:35:33.121927248Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-07T11:35:33.123354958Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.42745ms grafana | logger=migrator t=2024-02-07T11:35:33.127921941Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-07T11:35:33.128887698Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=959.516µs grafana | logger=migrator t=2024-02-07T11:35:33.132435693Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-07T11:35:33.133374069Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=938.587µs grafana | logger=migrator t=2024-02-07T11:35:33.137411278Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-07T11:35:33.138555236Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.143608ms grafana | logger=migrator t=2024-02-07T11:35:33.141821209Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-07T11:35:33.14194131Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=120.441µs grafana | logger=migrator t=2024-02-07T11:35:33.14619474Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-07T11:35:33.14621965Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.77µs grafana | logger=migrator t=2024-02-07T11:35:33.150337699Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-07T11:35:33.153134389Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.79639ms grafana | logger=migrator t=2024-02-07T11:35:33.157577601Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-07T11:35:33.16025295Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.674829ms grafana | logger=migrator t=2024-02-07T11:35:33.165512317Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-07T11:35:33.165581958Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=70.251µs grafana | logger=migrator t=2024-02-07T11:35:33.168891081Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-07T11:35:33.169687707Z level=info msg="Migration successfully executed" id="create quota table v1" duration=796.236µs grafana | logger=migrator t=2024-02-07T11:35:33.173298362Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-07T11:35:33.174777043Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.469481ms grafana | logger=migrator t=2024-02-07T11:35:33.17863891Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-07T11:35:33.17868684Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=49.51µs grafana | logger=migrator t=2024-02-07T11:35:33.183244303Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-07T11:35:33.184046378Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=798.775µs grafana | logger=migrator t=2024-02-07T11:35:33.187218881Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-07T11:35:33.188117397Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=898.246µs grafana | logger=migrator t=2024-02-07T11:35:33.191476151Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-07T11:35:33.194442982Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.966241ms grafana | logger=migrator t=2024-02-07T11:35:33.198709532Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-07T11:35:33.198733793Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=25.331µs grafana | logger=migrator t=2024-02-07T11:35:33.202306348Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-07T11:35:33.203334365Z level=info msg="Migration successfully executed" id="create session table" duration=1.027567ms grafana | logger=migrator t=2024-02-07T11:35:33.206750319Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-07T11:35:33.207050202Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=302.063µs grafana | logger=migrator t=2024-02-07T11:35:33.211233171Z level=info msg="Executing migration" id="Drop old table playlist_item table" prometheus | ts=2024-02-07T11:35:31.254Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-02-07T11:35:31.254Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-02-07T11:35:31.254Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-07T11:35:31.254Z caller=main.go:594 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-07T11:35:31.254Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-07T11:35:31.254Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-07T11:35:31.256Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-07T11:35:31.256Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-07T11:35:31.258Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-07T11:35:31.259Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-07T11:35:31.263Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-07T11:35:31.263Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.33µs prometheus | ts=2024-02-07T11:35:31.263Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-07T11:35:31.263Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-07T11:35:31.263Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=37.83µs wal_replay_duration=431.857µs wbl_replay_duration=190ns total_replay_duration=508.748µs prometheus | ts=2024-02-07T11:35:31.266Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-07T11:35:31.266Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-02-07T11:35:31.266Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-07T11:35:31.268Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.524125ms db_storage=1.42µs remote_storage=2.17µs web_handler=690ns query_engine=970ns scrape=403.507µs scrape_sd=180.573µs notify=45.311µs notify_sd=14.06µs rules=1.79µs tracing=5.93µs prometheus | ts=2024-02-07T11:35:31.268Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-02-07T11:35:31.268Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-02-07T11:35:33.211513173Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=279.462µs grafana | logger=migrator t=2024-02-07T11:35:33.215035258Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-07T11:35:33.215798994Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=763.116µs grafana | logger=migrator t=2024-02-07T11:35:33.218770464Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-07T11:35:33.219724461Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=953.687µs grafana | logger=migrator t=2024-02-07T11:35:33.222781043Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-07T11:35:33.222806883Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=26.74µs grafana | logger=migrator t=2024-02-07T11:35:33.226841382Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-07T11:35:33.226867362Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=26.85µs grafana | logger=migrator t=2024-02-07T11:35:33.230577568Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-07T11:35:33.235891226Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.312688ms grafana | logger=migrator t=2024-02-07T11:35:33.23930189Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-07T11:35:33.243350999Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.043199ms grafana | logger=migrator t=2024-02-07T11:35:33.253493061Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-07T11:35:33.253616641Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=127.1µs grafana | logger=migrator t=2024-02-07T11:35:33.257249657Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-07T11:35:33.257508309Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=258.182µs grafana | logger=migrator t=2024-02-07T11:35:33.260753112Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-07T11:35:33.26186114Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.109058ms grafana | logger=migrator t=2024-02-07T11:35:33.266281161Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-07T11:35:33.266526853Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=245.422µs grafana | logger=migrator t=2024-02-07T11:35:33.274791691Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-07T11:35:33.278267856Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.475985ms grafana | logger=migrator t=2024-02-07T11:35:33.281511249Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-07T11:35:33.281831441Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=320.782µs grafana | logger=migrator t=2024-02-07T11:35:33.292081614Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-07T11:35:33.299881289Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=7.799515ms grafana | logger=migrator t=2024-02-07T11:35:33.305367758Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-07T11:35:33.309080944Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.726866ms grafana | logger=migrator t=2024-02-07T11:35:33.31265263Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-07T11:35:33.312906522Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=254.142µs grafana | logger=migrator t=2024-02-07T11:35:33.31554075Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-07T11:35:33.316746109Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.205299ms grafana | logger=migrator t=2024-02-07T11:35:33.321212701Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-07T11:35:33.322374019Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.160839ms grafana | logger=migrator t=2024-02-07T11:35:33.325815253Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-02-07T11:35:33.327643456Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.825833ms grafana | logger=migrator t=2024-02-07T11:35:33.333614088Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-07T11:35:33.336874352Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=3.260354ms grafana | logger=migrator t=2024-02-07T11:35:33.34236207Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-07T11:35:33.34511311Z level=info msg="Migration successfully executed" id="add index alert state" duration=2.75042ms grafana | logger=migrator t=2024-02-07T11:35:33.351997229Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-07T11:35:33.353258088Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.240248ms grafana | logger=migrator t=2024-02-07T11:35:33.360202277Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-07T11:35:33.360995442Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=792.805µs grafana | logger=migrator t=2024-02-07T11:35:33.368357335Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-07T11:35:33.369588593Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.232238ms grafana | logger=migrator t=2024-02-07T11:35:33.373822373Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-07T11:35:33.375297684Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.468951ms grafana | logger=migrator t=2024-02-07T11:35:33.379273752Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-07T11:35:33.396835816Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=17.558354ms grafana | logger=migrator t=2024-02-07T11:35:33.400975786Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-07T11:35:33.401487279Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=504.873µs 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 | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.406814027Z 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" mariadb | 2024-02-07 11:35:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 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-api | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-02-07T11:35:33.407966455Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.152038ms mariadb | 2024-02-07 11:35:33+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' policy-db-migrator | -------------- policy-api | mariadb (172.17.0.2:3306) open grafana | logger=migrator t=2024-02-07T11:35:33.412529468Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" mariadb | 2024-02-07 11:35:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.412955491Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=427.223µs mariadb | 2024-02-07 11:35:33+00:00 [Note] [Entrypoint]: Initializing database files policy-db-migrator | policy-api | Waiting for policy-db-migrator port 6824... grafana | logger=migrator t=2024-02-07T11:35:33.417183211Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" mariadb | 2024-02-07 11:35:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-api | policy-db-migrator (172.17.0.5:6824) open grafana | logger=migrator t=2024-02-07T11:35:33.417818165Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=636.624µs mariadb | 2024-02-07 11:35:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | 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-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ mariadb | 2024-02-07 11:35:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) mariadb | policy-db-migrator | policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ mariadb | policy-db-migrator | policy-api | :: Spring Boot :: (v2.7.8) policy-api | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-api | [2024-02-07T11:35:47.493+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-07T11:35:47.495+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" mariadb | To do so, start the server, then issue the following command: policy-db-migrator | -------------- policy-api | [2024-02-07T11:35:48.813+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-07T11:35:48.936+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. mariadb | 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-api | [2024-02-07T11:35:49.932+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-07T11:35:49.944+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] mariadb | '/usr/bin/mysql_secure_installation' policy-db-migrator | -------------- policy-api | [2024-02-07T11:35:49.944+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-07T11:35:49.945+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] mariadb | policy-db-migrator | policy-api | [2024-02-07T11:35:50.022+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-07T11:35:50.022+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2471 ms mariadb | which will also give you the option of removing the test policy-db-migrator | policy-api | [2024-02-07T11:35:50.503+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-07T11:35:50.572+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final mariadb | databases and anonymous user created by default. This is policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-api | [2024-02-07T11:35:50.786+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} grafana | logger=migrator t=2024-02-07T11:35:33.42128288Z level=info msg="Executing migration" id="create alert_notification table v1" mariadb | strongly recommended for production servers. policy-db-migrator | -------------- policy-api | [2024-02-07T11:35:50.921+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-07T11:35:51.025+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. mariadb | 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-api | [2024-02-07T11:35:51.047+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-02-07T11:35:52.455+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb policy-db-migrator | -------------- policy-api | [2024-02-07T11:35:52.469+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-07T11:35:53.557+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml mariadb | policy-db-migrator | policy-api | [2024-02-07T11:35:54.286+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-02-07T11:35:33.422552489Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.269139ms mariadb | Please report any problems at https://mariadb.org/jira policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.426411336Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-07T11:35:33.430605016Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.1948ms mariadb | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-02-07T11:35:33.437324403Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-07T11:35:33.442282648Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.963335ms mariadb | The latest information about MariaDB is available at https://mariadb.org/. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.447907078Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-07T11:35:33.450414546Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.505448ms mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-02-07T11:35:33.453051825Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-07T11:35:33.456981773Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.923678ms mariadb | Consider joining MariaDB's strong and vibrant community: policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.460179175Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-07T11:35:33.461220903Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.041618ms grafana | logger=migrator t=2024-02-07T11:35:33.497575891Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | mariadb | https://mariadb.org/get-involved/ grafana | logger=migrator t=2024-02-07T11:35:33.497608911Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=34.991µs grafana | logger=migrator t=2024-02-07T11:35:33.502429215Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | mariadb | grafana | logger=migrator t=2024-02-07T11:35:33.502456425Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.93µs grafana | logger=migrator t=2024-02-07T11:35:33.505605907Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql mariadb | 2024-02-07 11:35:35+00:00 [Note] [Entrypoint]: Database files initialized grafana | logger=migrator t=2024-02-07T11:35:33.506348913Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=740.206µs grafana | logger=migrator t=2024-02-07T11:35:33.512246904Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:35+00:00 [Note] [Entrypoint]: Starting temporary server grafana | logger=migrator t=2024-02-07T11:35:33.513162401Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=914.457µs grafana | logger=migrator t=2024-02-07T11:35:33.517423711Z level=info msg="Executing migration" id="drop alert_notification_journal" 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) mariadb | 2024-02-07 11:35:35+00:00 [Note] [Entrypoint]: Waiting for server startup grafana | logger=migrator t=2024-02-07T11:35:33.518182187Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=757.646µs grafana | logger=migrator t=2024-02-07T11:35:33.52157757Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... grafana | logger=migrator t=2024-02-07T11:35:33.522546867Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=966.587µs grafana | logger=migrator t=2024-02-07T11:35:33.526157163Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-02-07T11:35:33.527398982Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.235399ms grafana | logger=migrator t=2024-02-07T11:35:33.530774416Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-02-07T11:35:33.534900655Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.125929ms grafana | logger=migrator t=2024-02-07T11:35:33.540382944Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-02-07T11:35:33.544391952Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.009348ms grafana | logger=migrator t=2024-02-07T11:35:33.548942615Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-02-07T11:35:33.549135996Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=193.591µs grafana | logger=migrator t=2024-02-07T11:35:33.551737624Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 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) mariadb | 2024-02-07 11:35:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-02-07T11:35:33.553265475Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.527831ms grafana | logger=migrator t=2024-02-07T11:35:33.558084209Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-02-07T11:35:33.559447819Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.36346ms grafana | logger=migrator t=2024-02-07T11:35:33.563939201Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-02-07T11:35:33.567736788Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.797177ms grafana | logger=migrator t=2024-02-07T11:35:33.571149582Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-02-07T11:35:33.571211722Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.9µs grafana | logger=migrator t=2024-02-07T11:35:33.575270991Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-02-07T11:35:33.576088297Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=817.016µs grafana | logger=migrator t=2024-02-07T11:35:33.582483392Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-02-07T11:35:33.583906672Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.42275ms grafana | logger=migrator t=2024-02-07T11:35:33.588701466Z level=info msg="Executing migration" id="Drop old annotation table v4" 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-api | [2024-02-07T11:35:55.372+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6fad6743, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@68a0a4ae, org.springframework.security.web.context.SecurityContextPersistenceFilter@7f2163d3, org.springframework.security.web.header.HeaderWriterFilter@190a5f74, org.springframework.security.web.authentication.logout.LogoutFilter@6415112c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5fc4af25, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@57404a8d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4734a551, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@426753a6, org.springframework.security.web.session.SessionManagementFilter@2763500e, org.springframework.security.web.access.ExceptionTranslationFilter@37dcda42, org.springframework.security.web.access.intercept.AuthorizationFilter@2411cf8b] mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.588870548Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=160.641µs grafana | logger=migrator t=2024-02-07T11:35:33.59490492Z level=info msg="Executing migration" id="create annotation table v5" mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.595922088Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.014628ms grafana | logger=migrator t=2024-02-07T11:35:33.605763567Z level=info msg="Executing migration" id="add index annotation 0 v3" mariadb | 2024-02-07 11:35:35 0 [Note] InnoDB: log sequence number 46590; transaction id 14 policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.607455649Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.692882ms grafana | logger=migrator t=2024-02-07T11:35:33.61176176Z level=info msg="Executing migration" id="add index annotation 1 v3" mariadb | 2024-02-07 11:35:35 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-02-07T11:35:33.61318368Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.42262ms grafana | logger=migrator t=2024-02-07T11:35:33.618951001Z level=info msg="Executing migration" id="add index annotation 2 v3" mariadb | 2024-02-07 11:35:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.619776136Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=829.325µs grafana | logger=migrator t=2024-02-07T11:35:33.690208616Z level=info msg="Executing migration" id="add index annotation 3 v3" mariadb | 2024-02-07 11:35:35 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-07T11:35:33.692035629Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.823393ms grafana | logger=migrator t=2024-02-07T11:35:33.699080008Z level=info msg="Executing migration" id="add index annotation 4 v3" mariadb | 2024-02-07 11:35:35 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.699994975Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=914.807µs grafana | logger=migrator t=2024-02-07T11:35:33.704164385Z level=info msg="Executing migration" id="Update annotation table charset" mariadb | 2024-02-07 11:35:35 0 [Note] mariadbd: ready for connections. policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.704185875Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=22.27µs grafana | logger=migrator t=2024-02-07T11:35:33.710938783Z level=info msg="Executing migration" id="Add column region_id to annotation table" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.717253667Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.315194ms grafana | logger=migrator t=2024-02-07T11:35:33.721999931Z level=info msg="Executing migration" id="Drop category_id index" mariadb | 2024-02-07 11:35:36+00:00 [Note] [Entrypoint]: Temporary server started. policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-02-07T11:35:33.722829097Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=828.546µs grafana | logger=migrator t=2024-02-07T11:35:33.728142965Z level=info msg="Executing migration" id="Add column tags to annotation table" mariadb | 2024-02-07 11:35:37+00:00 [Note] [Entrypoint]: Creating user policy_user policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.734770691Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.623336ms grafana | logger=migrator t=2024-02-07T11:35:33.740083809Z level=info msg="Executing migration" id="Create annotation_tag table v2" mariadb | 2024-02-07 11:35:37+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-02-07T11:35:33.740814204Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=730.215µs grafana | logger=migrator t=2024-02-07T11:35:33.746128572Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.747853074Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.713152ms grafana | logger=migrator t=2024-02-07T11:35:33.753710496Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" mariadb | 2024-02-07 11:35:37+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.754515942Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=805.536µs grafana | logger=migrator t=2024-02-07T11:35:33.760914817Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.776234895Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.320378ms grafana | logger=migrator t=2024-02-07T11:35:33.780266494Z level=info msg="Executing migration" id="Create annotation_tag table v3" mariadb | 2024-02-07 11:35:37+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-02-07T11:35:33.780821658Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=550.954µs policy-api | [2024-02-07T11:35:55.526+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 mariadb | #!/bin/bash -xv policy-db-migrator | -------------- policy-api | [2024-02-07T11:35:58.083+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-07T11:35:58.114+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 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-api | [2024-02-07T11:35:58.140+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-07T11:35:58.156+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.435 seconds (JVM running for 12.068) mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-db-migrator | -------------- policy-api | [2024-02-07T11:36:03.583+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-07T11:36:03.584+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' mariadb | # policy-db-migrator | policy-api | [2024-02-07T11:36:03.585+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms policy-api | [2024-02-07T11:36:06.056+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | policy-api | [] policy-api | [2024-02-07T11:36:06.167+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes mariadb | # you may not use this file except in compliance with the License. policy-db-migrator | > upgrade 0470-pdp.sql policy-api | [2024-02-07T11:36:06.446+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-api | [2024-02-07T11:36:07.573+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies mariadb | # You may obtain a copy of the License at policy-db-migrator | -------------- policy-api | [2024-02-07T11:36:09.537+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-07T11:36:09.932+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 mariadb | # 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-api | [2024-02-07T11:36:10.179+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-07T11:36:10.421+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | -------------- policy-api | [2024-02-07T11:36:10.631+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-07T11:36:10.860+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | # policy-db-migrator | mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.785625972Z 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" mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-02-07T11:35:33.786613059Z 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=986.537µs mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.79386626Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" mariadb | # See the License for the specific language governing permissions and policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-02-07T11:35:33.794237003Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=371.953µs mariadb | # limitations under the License. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.797745208Z level=info msg="Executing migration" id="drop table annotation_tag_v2" mariadb | policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.798357312Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=611.524µs mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.801565955Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" mariadb | do policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-02-07T11:35:33.801824617Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=258.432µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.831748149Z level=info msg="Executing migration" id="Add created time to annotation table" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2024-02-07T11:35:33.838250825Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.506476ms mariadb | done policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-07T11:35:33.843804124Z level=info msg="Executing migration" id="Add updated time to annotation table" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.847938234Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.13369ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.851734141Z level=info msg="Executing migration" id="Add index for created in annotation table" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.852792778Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.061457ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-02-07T11:35:33.85876173Z level=info msg="Executing migration" id="Add index for updated in annotation table" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.860648494Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.885994ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-07T11:35:33.86714905Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.867454952Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=305.382µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.871872733Z level=info msg="Executing migration" id="Add epoch_end column" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:33.876684557Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.812874ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-07T11:35:33.880766936Z level=info msg="Executing migration" id="Add index for epoch_end" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-07T11:35:33.882063395Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.296049ms 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)) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-07T11:35:33.887608645Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-02-07T11:35:33.888209289Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=600.324µs policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-07T11:35:33.892946233Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-07T11:35:33.893369086Z level=info msg="Migration successfully executed" id="Move region to single row" duration=422.473µs policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.898556012Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-02-07T11:35:33.901344972Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=2.78818ms mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.90806383Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2024-02-07T11:35:33.909093647Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.026907ms policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2024-02-07T11:35:33.915758824Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2024-02-07T11:35:33.917086564Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.35993ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.919872273Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 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)) mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2024-02-07T11:35:33.921265263Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.39248ms policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-02-07T11:35:33.926372009Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | mariadb | 2024-02-07 11:35:38+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2024-02-07T11:35:33.927525518Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.153439ms policy-db-migrator | mariadb | 2024-02-07 11:35:38 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2024-02-07T11:35:33.934135915Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2024-02-07T11:35:33.935766236Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.628352ms policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2024-02-07T11:35:33.940255658Z level=info msg="Executing migration" id="Increase tags column to length 4096" 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)) mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-02-07T11:35:33.94053515Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=283.972µs policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Buffer pool(s) dump completed at 240207 11:35:38 grafana | logger=migrator t=2024-02-07T11:35:33.944931171Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-02-07T11:35:33.946295341Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.361969ms policy-db-migrator | mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Shutdown completed; log sequence number 344821; transaction id 298 grafana | logger=migrator t=2024-02-07T11:35:33.950694132Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql mariadb | 2024-02-07 11:35:38 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-02-07T11:35:33.951503828Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=806.406µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:33.957061007Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 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)) mariadb | grafana | logger=migrator t=2024-02-07T11:35:33.958806949Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.745352ms policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:38+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-02-07T11:35:33.961965252Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | mariadb | grafana | logger=migrator t=2024-02-07T11:35:33.963816285Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.852653ms policy-db-migrator | mariadb | 2024-02-07 11:35:38+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2024-02-07T11:35:33.969603216Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql mariadb | grafana | logger=migrator t=2024-02-07T11:35:33.969975668Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=371.662µs policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:38 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2024-02-07T11:35:33.976265533Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 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)) mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-02-07T11:35:33.977006178Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=739.995µs policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-02-07T11:35:33.981670142Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-02-07T11:35:33.981810063Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=139.141µs policy-db-migrator | mariadb | 2024-02-07 11:35:38 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-02-07T11:35:33.985801621Z level=info msg="Executing migration" id="create team table" policy-db-migrator | > upgrade 0570-toscadatatype.sql mariadb | 2024-02-07 11:35:38 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-02-07T11:35:33.986718447Z level=info msg="Migration successfully executed" id="create team table" duration=914.796µs policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:38 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-02-07T11:35:33.992904181Z level=info msg="Executing migration" id="add index team.org_id" 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)) mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-02-07T11:35:33.994530893Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.637292ms policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-02-07T11:35:33.998948014Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | mariadb | 2024-02-07 11:35:38 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-02-07T11:35:34.000215853Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.267409ms policy-db-migrator | mariadb | 2024-02-07 11:35:39 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-02-07T11:35:34.00510943Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | > upgrade 0580-toscadatatypes.sql mariadb | 2024-02-07 11:35:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-02-07T11:35:34.00958378Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.4738ms policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:39 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-02-07T11:35:34.014712406Z level=info msg="Executing migration" id="Update uid column values in team" 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)) mariadb | 2024-02-07 11:35:39 0 [Note] InnoDB: log sequence number 344821; transaction id 299 grafana | logger=migrator t=2024-02-07T11:35:34.014981237Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=268.581µs policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:39 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-02-07T11:35:34.019915363Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | mariadb | 2024-02-07 11:35:39 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-02-07T11:35:34.021193179Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.277486ms policy-db-migrator | mariadb | 2024-02-07 11:35:39 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-02-07T11:35:34.025696832Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql mariadb | 2024-02-07 11:35:39 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-02-07T11:35:34.026433076Z level=info msg="Migration successfully executed" id="create team member table" duration=735.774µs policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:39 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2024-02-07T11:35:34.035206371Z level=info msg="Executing migration" id="add index team_member.org_id" 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)) mariadb | 2024-02-07 11:35:39 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-02-07T11:35:34.03684881Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.632558ms policy-db-migrator | -------------- mariadb | 2024-02-07 11:35:39 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-02-07T11:35:34.040285917Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.041850765Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.564298ms mariadb | 2024-02-07 11:35:39 0 [Note] InnoDB: Buffer pool(s) load completed at 240207 11:35:39 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-02-07T11:35:34.0487285Z level=info msg="Executing migration" id="add index team_member.team_id" mariadb | 2024-02-07 11:35:39 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.049895466Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.150696ms mariadb | 2024-02-07 11:35:40 55 [Warning] Aborted connection 55 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.056014738Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.060963593Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.944155ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.065309395Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.072959555Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=7.64916ms policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-07T11:35:34.076610803Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.086203923Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=9.592149ms 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-07T11:35:34.09348882Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-07T11:35:34.094307904Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=821.664µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.09742112Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.098301755Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=880.375µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.110415627Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-02-07T11:35:34.113594243Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=3.178076ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.118110826Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-07T11:35:34.11883953Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=728.464µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-07T11:35:34.125316763Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.126357828Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.040755ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.131454574Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.133233654Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.77907ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-02-07T11:35:34.170072082Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.172332854Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=2.260852ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.178545616Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.179616031Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.075835ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.183799743Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.184370806Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=570.533µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-02-07T11:35:34.189515332Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.189818514Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=303.122µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.195131491Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.196314337Z level=info msg="Migration successfully executed" id="create tag table" duration=1.182346ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.246462811Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.247741168Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.280797ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-02-07T11:35:34.255456747Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.256874964Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.416037ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-07T11:35:34.262660253Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.263646328Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=985.825µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.267353027Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.268239772Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=886.445µs policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-02-07T11:35:34.274892005Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.298220513Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=23.329518ms grafana | logger=migrator t=2024-02-07T11:35:34.304219394Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-07T11:35:34.305002578Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=783.014µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.30937181Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.310747067Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.373537ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-07T11:35:34.316295305Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.316754447Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=460.662µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.322453176Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.3232631Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=810.124µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.32717436Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.327972714Z level=info msg="Migration successfully executed" id="create user auth table" duration=797.944µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-07T11:35:34.331884114Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 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 | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.332844239Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=952.985µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.33711336Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.337182581Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=70.021µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-07T11:35:34.342204536Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.347399873Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.195057ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.350146186Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.357290363Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=7.149777ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.363765756Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.368923012Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.156686ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-07T11:35:34.372651511Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.377887547Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.235516ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.383092904Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.38427658Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.186676ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.390044159Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.395301375Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.257476ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-02-07T11:35:34.400366481Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.401113785Z level=info msg="Migration successfully executed" id="create server_lock table" duration=744.074µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.405902749Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.406822024Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=915.635µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.41192784Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.412731144Z level=info msg="Migration successfully executed" id="create user auth token table" duration=802.954µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-07T11:35:34.417012225Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.418511813Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.498978ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-07T11:35:34.426153652Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.427383908Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.217376ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.431517299Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.433098517Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.583178ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-02-07T11:35:34.438310133Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.44755939Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=9.251157ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-07T11:35:34.453023778Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.453773512Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=744.774µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.462499806Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.463954063Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.449127ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-07T11:35:34.470709118Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.471681623Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=972.575µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.477241771Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.478038785Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=796.724µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.482655048Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.483736424Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.080876ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-07T11:35:34.489084731Z 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-07T11:35:34.489165601Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=81.49µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.491452943Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.491537173Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=84.71µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.495035421Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.497423423Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=2.407452ms policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-07T11:35:34.503671215Z 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-07T11:35:34.508887941Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=5.209256ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-07T11:35:34.515561445Z 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-07T11:35:34.517093483Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.532498ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.521544465Z 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-07T11:35:34.521631176Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=86.631µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-07T11:35:34.526129669Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.527120554Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=990.265µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.533339405Z 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-07T11:35:34.53416776Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=828.175µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.539770988Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-02-07T11:35:34.540716053Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=945.925µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.544514012Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 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-07T11:35:34.545525987Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.011445ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.551882699Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.559027276Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.113396ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.565329737Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-07T11:35:34.566245922Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=916.315µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.572252172Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-07T11:35:34.572344143Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=91.891µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.576356973Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.57774249Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.392057ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.583145928Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-07T11:35:34.584706696Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.556468ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.591625841Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-07T11:35:34.59350845Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.888429ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.597564331Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.597671701Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=108.02µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.601986973Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-02-07T11:35:34.602984468Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=995.135µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.608906628Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-07T11:35:34.610851528Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.94094ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.615304241Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.616672378Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.368077ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.62098582Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-07T11:35:34.621910224Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=924.024µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.627710424Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-02-07T11:35:34.633358212Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.641118ms grafana | logger=migrator t=2024-02-07T11:35:34.638240607Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-07T11:35:34.639093931Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=863.464µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.64283464Z 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-07T11:35:34.644051566Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.213436ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.650233978Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-07T11:35:34.695387217Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=45.152949ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.699621528Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-07T11:35:34.731354489Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=31.729201ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.744240924Z 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-07T11:35:34.74525789Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.016666ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.750947878Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-07T11:35:34.752569607Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.621379ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.756961639Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-07T11:35:34.762719198Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.752699ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.768749559Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-07T11:35:34.774775569Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.97602ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.783280402Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-07T11:35:34.784382528Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.101916ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.790041566Z 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-07T11:35:34.791884036Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.84182ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.797910766Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:34.798969742Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.058266ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.805717756Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-02-07T11:35:34.807684846Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.96621ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.813022683Z 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-07T11:35:34.813088184Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=66.341µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.818463531Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:34.824872633Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.409082ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.831276186Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-02-07T11:35:34.839296446Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.02106ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.843617698Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.84996757Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.349492ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.854148212Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:34.855162277Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.009375ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.861425218Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-02-07T11:35:34.862684825Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.266607ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.866651315Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.877174248Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=10.527423ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.881841962Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:34.889106329Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.262437ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.896812308Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-02-07T11:35:34.897990344Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.178166ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.901820183Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.912806289Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.986366ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.91896294Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:34.924381378Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.417368ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.930591369Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-02-07T11:35:34.930652509Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=61.8µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.934083217Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.936480869Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.395762ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.940265578Z 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 | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-07T11:35:34.942027687Z 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.761189ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.949633946Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-02-07T11:35:34.952169758Z 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=2.529882ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.955561476Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.955706636Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=161.28µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.959455765Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-07T11:35:34.967800668Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.345753ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.975284636Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-02-07T11:35:34.985120266Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.83909ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:34.98795885Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.994086511Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.128011ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:34.997036716Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.003176948Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.141922ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-02-07T11:35:35.006126374Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.012698581Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.571747ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.017196123Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.017257173Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=61.7µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-07T11:35:35.020524866Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.021371942Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=846.686µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-02-07T11:35:35.025105659Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.035744203Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.639014ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.040593688Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.040772289Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=178.101µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-07T11:35:35.043404157Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.05094634Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=7.538783ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-07T11:35:35.054675727Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.055715454Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.039097ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.060306216Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.071139622Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.831706ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-07T11:35:35.074473146Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.074973489Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=500.333µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-07T11:35:35.07796167Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.078641175Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=679.285µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.083154717Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.09356158Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.408203ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-07T11:35:35.096729122Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.097259016Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=529.874µ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-07T11:35:35.100390618Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.101153724Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=763.016µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.107097265Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.107909061Z level=info msg="Migration successfully executed" id="create alert_image table" duration=811.506µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:35.111182394Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.112950097Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.767172ms 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-07T11:35:35.116488921Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.116682953Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=193.702µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.120057716Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.120957243Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=899.117µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:35.126524982Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.129453143Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=2.927831ms 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-07T11:35:35.137782091Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.138182444Z 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-07T11:35:35.147858372Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.148567457Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=708.555µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:35.158229875Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.160027928Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.792493ms 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-07T11:35:35.169793616Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.180709103Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=10.917167ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.190366521Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.192091483Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.724962ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:35.199961078Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-07T11:35:35.201908032Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.942254ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.206607775Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.207767203Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.160038ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.212652058Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-07T11:35:35.214001237Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.348819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.219328925Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-07T11:35:35.220421382Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.092017ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.223478344Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.223501734Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=24.51µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.228989113Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-07T11:35:35.229211084Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=229.171µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.233333343Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 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-07T11:35:35.233643345Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=309.792µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.236641176Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.237619743Z level=info msg="Migration successfully executed" id="create data_keys table" duration=978.127µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.240707315Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-07T11:35:35.241510671Z level=info msg="Migration successfully executed" id="create secrets table" duration=797.716µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.245467209Z level=info msg="Executing migration" id="rename data_keys name column to id" 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-07T11:35:35.293139464Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.667635ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.326928271Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.333980761Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.0235ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.337409735Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-07T11:35:35.337649477Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=212.272µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.341519784Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-02-07T11:35:35.386237849Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=44.718505ms 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-07T11:35:35.390873571Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.436567923Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=45.697862ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.439948296Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-07T11:35:35.440817482Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=875.306µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.445071152Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-07T11:35:35.44617547Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.104028ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.449371363Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.449666115Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=294.542µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.452880627Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-07T11:35:35.454182216Z level=info msg="Migration successfully executed" id="create permission table" duration=1.300539ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.459845696Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-07T11:35:35.461978941Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.150865ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.465179514Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.466428413Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.248089ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.471374417Z level=info msg="Executing migration" id="create role table" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-07T11:35:35.472676417Z level=info msg="Migration successfully executed" id="create role table" duration=1.30058ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.47597177Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-07T11:35:35.485447776Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.476736ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.488534468Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.496032371Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.499203ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.501300478Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-07T11:35:35.502040463Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=739.095µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.504997294Z level=info msg="Executing migration" id="add unique index role_org_id_name" 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-07T11:35:35.505769849Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=772.215µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.509114823Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.510760494Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.645671ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.516988448Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-07T11:35:35.518393548Z level=info msg="Migration successfully executed" id="create team role table" duration=1.40397ms policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-02-07T11:35:35.521875483Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.523793026Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.916963ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.52712406Z 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-07T11:35:35.528285588Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.160639ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-07T11:35:35.533426174Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.534437311Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.010217ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.537484772Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.538240148Z level=info msg="Migration successfully executed" id="create user role table" duration=754.686µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-07T11:35:35.541603941Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.542610608Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.007137ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-02-07T11:35:35.547556923Z 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-07T11:35:35.54859013Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.032107ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.551512681Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.552548758Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.035337ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-07T11:35:35.556859179Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.557622224Z level=info msg="Migration successfully executed" id="create builtin role table" duration=763.215µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-02-07T11:35:35.563061442Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.56414064Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.078398ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.567151811Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.569321046Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.172505ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-07T11:35:35.574299391Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.584670964Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.372593ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-02-07T11:35:35.588640632Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-02-07T11:35:35.58982431Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.184078ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-02-07T11:35:35.593662517Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-07T11:35:35.594859546Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.196829ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.598532572Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.59974373Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.211298ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.604353393Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-07T11:35:35.605566471Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.213008ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.608855294Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-07T11:35:35.60967655Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=820.586µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.614302283Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.616226376Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.925053ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.619781831Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-07T11:35:35.6295922Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.808639ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.632971444Z level=info msg="Executing migration" id="permission kind migration" 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-07T11:35:35.638718084Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.74634ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.642451411Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.652731653Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=10.279782ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.657260275Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-07T11:35:35.663044325Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.78404ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.665994076Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-07T11:35:35.667069704Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.075248ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.670354207Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.671282993Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=928.966µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.675887556Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-07T11:35:35.677641828Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.753412ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.681023352Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 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-07T11:35:35.681130793Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=107.731µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.68361389Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.683718051Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=102.401µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.689426831Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.690137206Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=709.925µs 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-07T11:35:35.693372179Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-02-07T11:35:35.694215435Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=843.616µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.697523018Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.698236083Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=708.695µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.701725938Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-07T11:35:35.702210991Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=493.114µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.705653205Z level=info msg="Executing migration" id="alerting notification permissions" 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-07T11:35:35.706263979Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=610.374µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.711243454Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.712233041Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=988.877µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.73335703Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-07T11:35:35.734552278Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.193818ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.738150914Z level=info msg="Executing migration" id="add column org_id in query_history_star" 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-07T11:35:35.746555533Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.404039ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.751142105Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.751208566Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=66.581µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.753730533Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-02-07T11:35:35.754440378Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=709.235µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.757322409Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-07T11:35:35.759326033Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.983643ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.765826178Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.767948073Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.119195ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.771147546Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-07T11:35:35.78166783Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.517284ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.784961413Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-02-07T11:35:35.786171241Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.210288ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.790843744Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.791955202Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.110758ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.795038324Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-07T11:35:35.82571471Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.675446ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.828882502Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-07T11:35:35.829607457Z level=info msg="Migration successfully executed" id="create correlation v2" duration=723.995µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.834624002Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.836622116Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.997494ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.843216743Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-07T11:35:35.844516152Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.298829ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.849657358Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-07T11:35:35.850834556Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.176898ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.853737777Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.854038819Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=300.582µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.857153201Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-07T11:35:35.858005027Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=851.896µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.863643186Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.87413828Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.495604ms grafana | logger=migrator t=2024-02-07T11:35:35.877489584Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-02-07T11:35:35.878234079Z level=info msg="Migration successfully executed" id="create entity_events table" duration=743.785µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.881345171Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-07T11:35:35.882431838Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.086187ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.893360705Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.894212441Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.897105342Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.897494164Z 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 | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-02-07T11:35:35.899239697Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.899883601Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=643.624µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.90392177Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.904899657Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=975.386µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-07T11:35:35.907462595Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.908637103Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.173998ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.911562273Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.913536197Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.973894ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-02-07T11:35:35.918498542Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.920436906Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.934874ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-07T11:35:35.923799069Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.925012738Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.213779ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.928033129Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.928995946Z level=info msg="Migration successfully executed" id="Drop public config table" duration=961.267µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-07T11:35:35.93386606Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.934952188Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.085918ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.93813523Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.939775172Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.638272ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-07T11:35:35.944794817Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.946751851Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.955924ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-02-07T11:35:35.949842443Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:35.951128802Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.285639ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.954261884Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:35.988067401Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.806007ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-02-07T11:35:36.023616284Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.034289001Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=10.671457ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-02-07T11:35:36.037484344Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.04395152Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.465686ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.047517595Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | msg grafana | logger=migrator t=2024-02-07T11:35:36.047855248Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=337.493µs policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-02-07T11:35:36.053893861Z level=info msg="Executing migration" id="add share column" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.063723681Z level=info msg="Migration successfully executed" id="add share column" duration=9.82706ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-02-07T11:35:36.066949334Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.067117386Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=168.182µs policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-02-07T11:35:36.070067217Z level=info msg="Executing migration" id="create file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.070675731Z level=info msg="Migration successfully executed" id="create file table" duration=610.444µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.073725263Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.075025142Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.299359ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-07T11:35:36.080238079Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.081961932Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.722873ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-07T11:35:36.085618568Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.086939337Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.315379ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.090330952Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.092413436Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.080924ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-07T11:35:36.098397379Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.0985099Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=113.331µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.102104616Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.102246007Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=142.031µs policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-02-07T11:35:36.105713822Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.106535398Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=821.336µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.111180791Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.111558064Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=376.933µs 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-07T11:35:36.115363651Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.116336078Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=972.287µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.120011324Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.132506524Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.49752ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-02-07T11:35:36.135986629Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.13614838Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=161.901µ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)) grafana | logger=migrator t=2024-02-07T11:35:36.14017288Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.141278487Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.104987ms policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.144878123Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.145261896Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=384.913µs 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-07T11:35:36.149143194Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-07T11:35:36.149593687Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=454.533µs policy-db-migrator | grafana | logger=migrator t=2024-02-07T11:35:36.153816987Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | policyadmin: OK: upgrade (1200) grafana | logger=migrator t=2024-02-07T11:35:36.154315681Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=498.824µs policy-db-migrator | name version grafana | logger=migrator t=2024-02-07T11:35:36.157546914Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | policyadmin 1200 grafana | logger=migrator t=2024-02-07T11:35:36.166580969Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.036625ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-02-07T11:35:36.170040524Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.178891257Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.850333ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.1821051Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.182861246Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=756.236µs policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.187004355Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.303463662Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=116.453827ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.307022167Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.307864703Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=842.526µs policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.311132317Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.312248365Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.115628ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.316660417Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.3505292Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=33.868673ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.382178367Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.38265925Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=480.693µs policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:39 grafana | logger=migrator t=2024-02-07T11:35:36.387403325Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.387734837Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=330.813µs policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.391469624Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.391679945Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=210.511µs policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.395066019Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.395924995Z level=info msg="Migration successfully executed" id="create folder table" duration=879.056µs policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.400403778Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.402191921Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.786473ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.405992368Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.407831681Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.838053ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.411405097Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.411436447Z level=info msg="Migration successfully executed" id="Update folder title length" duration=31.24µs policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.414903652Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.416350082Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.44478ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.421171497Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.422889199Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.716342ms policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.426364954Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.427572173Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.206969ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.431916504Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.432596459Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=679.185µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.436358656Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:40 grafana | logger=migrator t=2024-02-07T11:35:36.436784839Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=426.003µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.440445245Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.441282951Z level=info msg="Migration successfully executed" id="create anon_device table" duration=836.456µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.444673406Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.445849384Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.176018ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.450242565Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.451417294Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.173969ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.45497769Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.455994737Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.015367ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.460230267Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.462099441Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.868354ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.465586446Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-07T11:35:36.466696144Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.110038ms grafana | logger=migrator t=2024-02-07T11:35:36.470233689Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.470510991Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=278.552µs policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.473850385Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.483263413Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.412938ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.487459783Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.488226668Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=766.535µs policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.491499372Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.492709351Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.209219ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.496562618Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.497496435Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=933.387µs policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.503024354Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.50384558Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=821.616µs policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.506930212Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.507402866Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=471.824µs policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=migrator t=2024-02-07T11:35:36.51077935Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.300141681s policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:41 grafana | logger=sqlstore t=2024-02-07T11:35:36.520740262Z level=info msg="Created default admin" user=admin policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=sqlstore t=2024-02-07T11:35:36.520945413Z level=info msg="Created default organization" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=secrets t=2024-02-07T11:35:36.525671527Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=plugin.store t=2024-02-07T11:35:36.540965336Z level=info msg="Loading plugins..." policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=local.finder t=2024-02-07T11:35:36.578842048Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=plugin.store t=2024-02-07T11:35:36.578894678Z level=info msg="Plugins loaded" count=55 duration=37.930012ms policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=query_data t=2024-02-07T11:35:36.580982183Z level=info msg="Query Service initialization" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=live.push_http t=2024-02-07T11:35:36.584096076Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.migration t=2024-02-07T11:35:36.590925954Z level=info msg=Starting policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.migration orgID=1 t=2024-02-07T11:35:36.591877051Z level=info msg="Migrating alerts for organisation" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.migration orgID=1 t=2024-02-07T11:35:36.592723128Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-07T11:35:36.594868143Z level=info msg="Completed legacy migration" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=infra.usagestats.collector t=2024-02-07T11:35:36.625551133Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=provisioning.datasources t=2024-02-07T11:35:36.627640178Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=provisioning.alerting t=2024-02-07T11:35:36.679752242Z level=info msg="starting to provision alerting" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=provisioning.alerting t=2024-02-07T11:35:36.679781812Z level=info msg="finished to provision alerting" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.state.manager t=2024-02-07T11:35:36.679949944Z level=info msg="Warming state cache for startup" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.state.manager t=2024-02-07T11:35:36.680334846Z level=info msg="State cache has been initialized" states=0 duration=383.352µs policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.scheduler t=2024-02-07T11:35:36.680391777Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ticker t=2024-02-07T11:35:36.680444767Z level=info msg=starting first_tick=2024-02-07T11:35:40Z policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=ngalert.multiorg.alertmanager t=2024-02-07T11:35:36.680389887Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=grafanaStorageLogger t=2024-02-07T11:35:36.681935188Z level=info msg="Storage starting" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 grafana | logger=http.server t=2024-02-07T11:35:36.696335791Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:42 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=grafana-apiserver t=2024-02-07T11:35:36.698640838Z level=info msg="Authentication is disabled" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=grafana-apiserver t=2024-02-07T11:35:36.701615879Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=grafana.update.checker t=2024-02-07T11:35:36.718570281Z level=info msg="Update check succeeded" duration=36.588753ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=sqlstore.transactions t=2024-02-07T11:35:36.722725611Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=plugins.update.checker t=2024-02-07T11:35:36.772612979Z level=info msg="Update check succeeded" duration=89.928535ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=sqlstore.transactions t=2024-02-07T11:35:36.880848186Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=sqlstore.transactions t=2024-02-07T11:35:36.891982786Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=sqlstore.transactions t=2024-02-07T11:35:36.902902414Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=sqlstore.transactions t=2024-02-07T11:35:36.967829031Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 grafana | logger=infra.usagestats t=2024-02-07T11:37:00.697321506Z level=info msg="Usage stats are ready to report" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0702241135390800u 1 2024-02-07 11:35:43 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:43 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:43 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:43 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:43 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0702241135390900u 1 2024-02-07 11:35:44 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0702241135391000u 1 2024-02-07 11:35:44 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0702241135391100u 1 2024-02-07 11:35:44 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0702241135391200u 1 2024-02-07 11:35:44 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0702241135391200u 1 2024-02-07 11:35:45 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0702241135391200u 1 2024-02-07 11:35:45 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0702241135391200u 1 2024-02-07 11:35:45 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing 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.sygN77aGcJ ]] + rsync -av /tmp/tmp.sygN77aGcJ/ /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,225 bytes received 95 bytes 2,694,640.00 bytes/sec total size is 1,346,580 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 2127 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/jenkins11467495063239160776.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7165412234654202015.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/jenkins4306728375010853394.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-hTwh from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hTwh/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8558694845668628287.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config13623616780479205130tmp 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/jenkins7150577215007238571.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins825696847370567676.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-hTwh from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hTwh/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5599435090848292121.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12717880581622636084.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-hTwh from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-hTwh/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/jenkins128815271778409811.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-hTwh from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-hTwh/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/264 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-3386 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 821 27462 0 3883 30889 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:d1:a6:2c brd ff:ff:ff:ff:ff:ff inet 10.30.107.172/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86047sec preferred_lft 86047sec inet6 fe80::f816:3eff:fed1:a62c/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:14:40:70:f3 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-3386) 02/07/24 _x86_64_ (8 CPU) 11:32:23 LINUX RESTART (8 CPU) 11:33:02 tps rtps wtps bread/s bwrtn/s 11:34:01 91.02 22.31 68.71 1130.87 18686.41 11:35:01 123.89 22.81 101.08 2724.90 25632.25 11:36:01 376.31 13.21 363.10 834.22 72823.06 11:37:01 12.08 0.07 12.01 3.07 12462.51 11:38:01 51.02 1.48 49.54 117.31 15261.89 Average: 131.00 11.94 119.06 961.63 29008.52 11:33:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30117980 31728484 2821240 8.56 69772 1850544 1421052 4.18 843564 1684716 187752 11:35:01 29286480 31698020 3652740 11.09 97128 2594652 1383048 4.07 955328 2339880 583200 11:36:01 27134024 30701832 5805196 17.62 126000 3642188 4509296 13.27 2040176 3316500 276 11:37:01 27087896 30655104 5851324 17.76 126124 3642996 4435636 13.05 2088848 3313928 48 11:38:01 28185176 31692792 4754044 14.43 129676 3617204 1423468 4.19 1086924 3245004 56624 Average: 28362311 31295246 4576909 13.90 109740 3069517 2634500 7.75 1402968 2780006 165580 11:33:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:34:01 ens3 63.11 42.73 1019.93 7.62 0.00 0.00 0.00 0.00 11:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:34:01 lo 1.69 1.69 0.18 0.18 0.00 0.00 0.00 0.00 11:35:01 ens3 120.94 83.64 2772.86 11.49 0.00 0.00 0.00 0.00 11:35:01 br-dd5316ec951d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 lo 5.46 5.46 0.51 0.51 0.00 0.00 0.00 0.00 11:36:01 vethe4d9334 50.33 61.00 19.70 16.41 0.00 0.00 0.00 0.00 11:36:01 ens3 193.47 120.11 6392.00 10.49 0.00 0.00 0.00 0.00 11:36:01 veth6e2141b 23.88 21.86 12.03 16.85 0.00 0.00 0.00 0.00 11:36:01 br-dd5316ec951d 0.65 0.65 0.06 0.30 0.00 0.00 0.00 0.00 11:37:01 vethe4d9334 69.34 88.17 99.99 28.28 0.00 0.00 0.00 0.01 11:37:01 ens3 6.52 4.58 1.75 2.13 0.00 0.00 0.00 0.00 11:37:01 veth6e2141b 91.15 72.92 34.65 102.23 0.00 0.00 0.00 0.01 11:37:01 br-dd5316ec951d 3.00 3.52 5.87 2.24 0.00 0.00 0.00 0.00 11:38:01 ens3 81.39 55.97 124.16 25.77 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 lo 34.34 34.34 10.44 10.44 0.00 0.00 0.00 0.00 Average: ens3 93.19 61.47 2065.78 11.51 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.10 6.10 2.03 2.03 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-3386) 02/07/24 _x86_64_ (8 CPU) 11:32:23 LINUX RESTART (8 CPU) 11:33:02 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 10.09 0.00 0.79 2.22 0.03 86.86 11:34:01 0 8.22 0.00 0.54 2.99 0.03 88.21 11:34:01 1 10.09 0.00 1.21 13.17 0.05 75.48 11:34:01 2 18.93 0.00 0.87 0.70 0.05 79.45 11:34:01 3 27.13 0.00 1.90 0.46 0.05 70.46 11:34:01 4 12.32 0.00 1.02 0.17 0.03 86.46 11:34:01 5 1.49 0.00 0.27 0.00 0.02 98.22 11:34:01 6 2.03 0.00 0.22 0.03 0.00 97.71 11:34:01 7 0.53 0.00 0.34 0.32 0.00 98.81 11:35:01 all 10.36 0.00 1.46 2.64 0.04 85.50 11:35:01 0 13.57 0.00 1.67 0.42 0.03 84.30 11:35:01 1 3.60 0.00 0.85 9.60 0.03 85.92 11:35:01 2 9.18 0.00 1.81 4.55 0.05 84.41 11:35:01 3 6.11 0.00 0.92 0.22 0.02 92.73 11:35:01 4 17.10 0.00 1.74 0.67 0.03 80.47 11:35:01 5 8.51 0.00 2.02 0.45 0.03 88.98 11:35:01 6 2.28 0.00 0.59 3.92 0.05 93.17 11:35:01 7 22.50 0.00 2.06 1.32 0.05 74.08 11:36:01 all 16.08 0.00 3.58 5.78 0.08 74.48 11:36:01 0 15.06 0.00 2.34 1.92 0.07 80.61 11:36:01 1 14.32 0.00 3.42 9.45 0.08 72.73 11:36:01 2 16.35 0.00 3.24 0.81 0.07 79.53 11:36:01 3 22.82 0.00 4.75 18.76 0.10 53.57 11:36:01 4 15.13 0.00 4.03 1.98 0.05 78.80 11:36:01 5 17.83 0.00 3.72 2.41 0.08 75.95 11:36:01 6 11.93 0.00 3.35 9.04 0.07 75.61 11:36:01 7 15.27 0.00 3.76 1.89 0.08 79.00 11:37:01 all 4.35 0.00 0.35 0.89 0.02 94.39 11:37:01 0 2.48 0.00 0.17 0.00 0.00 97.35 11:37:01 1 4.36 0.00 0.35 6.99 0.02 88.28 11:37:01 2 3.82 0.00 0.32 0.00 0.02 95.85 11:37:01 3 4.70 0.00 0.43 0.00 0.02 94.84 11:37:01 4 4.49 0.00 0.48 0.05 0.02 94.96 11:37:01 5 4.73 0.00 0.38 0.02 0.02 94.85 11:37:01 6 5.63 0.00 0.35 0.05 0.05 93.91 11:37:01 7 4.60 0.00 0.30 0.00 0.02 95.08 11:38:01 all 6.85 0.00 0.69 1.15 0.03 91.28 11:38:01 0 4.69 0.00 0.80 2.00 0.03 92.47 11:38:01 1 11.14 0.00 0.98 5.55 0.02 82.31 11:38:01 2 13.69 0.00 0.75 0.70 0.03 84.82 11:38:01 3 14.53 0.00 1.02 0.17 0.05 84.24 11:38:01 4 1.55 0.00 0.37 0.35 0.02 97.72 11:38:01 5 2.84 0.00 0.57 0.05 0.02 96.53 11:38:01 6 3.40 0.00 0.54 0.22 0.02 95.83 11:38:01 7 2.99 0.00 0.48 0.20 0.03 96.29 Average: all 9.54 0.00 1.37 2.53 0.04 86.52 Average: 0 8.80 0.00 1.11 1.46 0.03 88.60 Average: 1 8.69 0.00 1.36 8.94 0.04 80.98 Average: 2 12.37 0.00 1.40 1.35 0.04 84.84 Average: 3 15.00 0.00 1.80 3.91 0.05 79.24 Average: 4 10.10 0.00 1.53 0.64 0.03 87.70 Average: 5 7.08 0.00 1.39 0.58 0.03 90.91 Average: 6 5.06 0.00 1.01 2.66 0.04 91.23 Average: 7 9.19 0.00 1.39 0.74 0.04 88.65