Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-9487 (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-iQLMzs9y5wmY/agent.2100 SSH_AGENT_PID=2102 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_4343931489794347645.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_4343931489794347645.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/jenkins13235179576395803515.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-QhjO 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-QhjO/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-QhjO/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.12 botocore==1.34.12 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.26.1 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==5.0.0 MarkupSafe==2.1.3 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==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 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.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins12267846526770521054.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/jenkins3795602952712616396.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.l177Itwv2P ++ echo ROBOT_VENV=/tmp/tmp.l177Itwv2P +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.l177Itwv2P ++ source /tmp/tmp.l177Itwv2P/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.l177Itwv2P +++ 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.l177Itwv2P/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.l177Itwv2P) ' '!=' x ']' +++ PS1='(tmp.l177Itwv2P) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.0.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.l177Itwv2P/src/onap ++ rm -rf /tmp/tmp.l177Itwv2P/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.0.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.l177Itwv2P/bin/activate + '[' -z /tmp/tmp.l177Itwv2P/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.l177Itwv2P/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.l177Itwv2P ++ 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.l177Itwv2P/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.l177Itwv2P) ' ++ '[' 'x(tmp.l177Itwv2P) ' '!=' x ']' ++ PS1='(tmp.l177Itwv2P) (tmp.l177Itwv2P) ' ++ 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.VdAIxsicCs + cd /tmp/tmp.VdAIxsicCs + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating 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 14 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:35:58 up 3 min, 0 users, load average: 2.67, 1.10, 0.43 Tasks: 178 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.9 us, 2.2 sy, 0.0 ni, 81.2 id, 5.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 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 52bb66de59f0 policy-api 1.31% 918.3MiB / 31.41GiB 2.85% 1.04MB / 739kB 0B / 0B 52 92c79b96fbd7 grafana 0.21% 48.07MiB / 31.41GiB 0.15% 18.6kB / 3.09kB 0B / 23.7MB 17 eb7430c89b8a mariadb 0.01% 100.1MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 70.9MB 27 49803e13b571 prometheus 0.00% 18.8MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 13 + echo + cd /tmp/tmp.VdAIxsicCs + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.VdAIxsicCs/output.xml Log: /tmp/tmp.VdAIxsicCs/log.html Report: /tmp/tmp.VdAIxsicCs/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:08 up 4 min, 0 users, load average: 0.94, 0.92, 0.41 Tasks: 176 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 84.7 id, 4.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.9G 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 52bb66de59f0 policy-api 0.09% 966.7MiB / 31.41GiB 3.01% 7.32MB / 2.87MB 0B / 0B 52 92c79b96fbd7 grafana 0.14% 53.06MiB / 31.41GiB 0.16% 19.8kB / 4.46kB 0B / 23.7MB 17 eb7430c89b8a mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11MB / 71.1MB 18 49803e13b571 prometheus 0.00% 24.68MiB / 31.41GiB 0.08% 38kB / 7.1kB 229kB / 0B 14 + 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 mariadb | 2024-01-04 11:35:30+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-04 11:35:30+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-04 11:35:30+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-04 11:35:30+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-04 11:35:30 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-04 11:35:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-04 11:35:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-01-04 11:35:33+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-04 11:35:33+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-04 11:35:33+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-04 11:35:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-04 11:35:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-04 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) mariadb | 2024-01-04 11:35:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-04 11:35:33 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-04 11:35:33 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-04 11:35:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-04 11:35:33 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-04 11:35:33 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-04 11:35:33 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-04 11:35:34+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-04 11:35:35+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-04 11:35:35+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-01-04 11:35:35+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=settings t=2024-01-04T11:35:29.526772159Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-04T11:35:29.527192625Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-04T11:35:29.527209926Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-04T11:35:29.527213626Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-04T11:35:29.527219056Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-04T11:35:29.527222696Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-04T11:35:29.527225917Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-04T11:35:29.527229547Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-04T11:35:29.527232737Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-04T11:35:29.527240187Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-04T11:35:29.527243417Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-04T11:35:29.527247877Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-04T11:35:29.527251718Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-04T11:35:29.527257828Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-04T11:35:29.527262808Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-04T11:35:29.527267698Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-04T11:35:29.527271638Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-04T11:35:29.527276488Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-04T11:35:29.527282929Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-04T11:35:29.527617861Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-04T11:35:29.527639372Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-04T11:35:29.528427693Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-04T11:35:29.529360538Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-04T11:35:29.5302077Z level=info msg="Migration successfully executed" id="create migration_log table" duration=846.772µs grafana | logger=migrator t=2024-01-04T11:35:29.536553963Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-04T11:35:29.537162606Z level=info msg="Migration successfully executed" id="create user table" duration=609.473µs grafana | logger=migrator t=2024-01-04T11:35:29.543700955Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-04T11:35:29.544591939Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=890.694µs grafana | logger=migrator t=2024-01-04T11:35:29.549627881Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-04T11:35:29.551097248Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.472726ms grafana | logger=migrator t=2024-01-04T11:35:29.559181546Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-04T11:35:29.560039369Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=855.742µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-01-04T11:35:46.005+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 33 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-04T11:35:46.008+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-04T11:35:47.373+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-04T11:35:47.461+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-04T11:35:48.540+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-04T11:35:48.553+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-04T11:35:48.553+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-04T11:35:48.553+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-01-04T11:35:48.643+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-04T11:35:48.644+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2568 ms policy-api | [2024-01-04T11:35:49.158+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-04T11:35:49.236+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-01-04T11:35:49.515+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-01-04T11:35:49.664+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-04T11:35:49.787+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-04T11:35:49.812+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-01-04T11:35:51.254+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-01-04T11:35:51.266+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-04T11:35:52.370+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-04T11:35:53.094+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-04T11:35:54.154+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6434d49e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@64c189d8, org.springframework.security.web.context.SecurityContextPersistenceFilter@1768c77f, org.springframework.security.web.header.HeaderWriterFilter@22816de1, org.springframework.security.web.authentication.logout.LogoutFilter@5e4874ae, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@975f349, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1192d1f5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1638fa8b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@294ffc88, org.springframework.security.web.session.SessionManagementFilter@40eb85e9, org.springframework.security.web.access.ExceptionTranslationFilter@68a0a4ae, org.springframework.security.web.access.intercept.AuthorizationFilter@4c902a72] policy-api | [2024-01-04T11:35:54.307+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-01-04T11:35:57.464+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-04T11:35:57.490+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-04T11:35:57.521+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-04T11:35:57.537+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.359 seconds (JVM running for 13.1) policy-api | [2024-01-04T11:36:00.930+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-04T11:36:00.930+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-04T11:36:00.931+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-01-04T11:36:03.586+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-04T11:36:03.710+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-04T11:36:03.951+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-04T11:36:05.069+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-01-04T11:36:06.897+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-04T11:36:07.285+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-04T11:36:07.514+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-01-04T11:36:07.770+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-04T11:36:07.986+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-04T11:36:08.200+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-04T11:35:29.564224468Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-04T11:35:29.564921585Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=694.207µs grafana | logger=migrator t=2024-01-04T11:35:29.568162368Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-04T11:35:29.570182596Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.019908ms grafana | logger=migrator t=2024-01-04T11:35:29.572839386Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-04T11:35:29.57343236Z level=info msg="Migration successfully executed" id="create user table v2" duration=592.714µs grafana | logger=migrator t=2024-01-04T11:35:29.577298107Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-04T11:35:29.57790425Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=605.823µs grafana | logger=migrator t=2024-01-04T11:35:29.580712957Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-04T11:35:29.5813177Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=603.512µs grafana | logger=migrator t=2024-01-04T11:35:29.584522813Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-04T11:35:29.584897887Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=374.824µs grafana | logger=migrator t=2024-01-04T11:35:29.592215595Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-04T11:35:29.592694154Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=478.279µs grafana | logger=migrator t=2024-01-04T11:35:29.640999457Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-04T11:35:29.642305746Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.305509ms grafana | logger=migrator t=2024-01-04T11:35:29.645495918Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-04T11:35:29.645519739Z level=info msg="Migration successfully executed" id="Update user table charset" duration=24.721µs grafana | logger=migrator t=2024-01-04T11:35:29.649047084Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-04T11:35:29.649797552Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=750.138µs grafana | logger=migrator t=2024-01-04T11:35:29.652827468Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-04T11:35:29.652986954Z level=info msg="Migration successfully executed" id="Add missing user data" duration=159.506µs grafana | logger=migrator t=2024-01-04T11:35:29.655853593Z level=info msg="Executing migration" id="Add is_disabled column to user" mariadb | 2024-01-04 11:35:35+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | prometheus | ts=2024-01-04T11:35:28.532Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-04T11:35:28.532Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2024-01-04T11:35:28.532Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-01-04T11:35:28.532Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-01-04T11:35:28.532Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-04T11:35:28.533Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-04T11:35:28.536Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-04T11:35:28.536Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-04T11:35:28.538Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-04T11:35:28.538Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-04T11:35:28.541Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-04T11:35:28.541Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=8.25µs prometheus | ts=2024-01-04T11:35:28.541Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-04T11:35:28.541Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-04T11:35:28.542Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.641µs wal_replay_duration=351.292µs wbl_replay_duration=180ns total_replay_duration=420.674µs prometheus | ts=2024-01-04T11:35:28.544Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-04T11:35:28.544Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2024-01-04T11:35:28.545Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-04T11:35:28.546Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.114235ms db_storage=1.44µs remote_storage=2.54µs web_handler=1.07µs query_engine=1.22µs scrape=313.69µs scrape_sd=142.914µs notify=37.372µs notify_sd=21.23µs rules=1.96µs tracing=6.241µs prometheus | ts=2024-01-04T11:35:28.546Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-04T11:35:28.546Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-04T11:35:29.656683885Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=830.081µs grafana | logger=migrator t=2024-01-04T11:35:29.659645277Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-04T11:35:29.660197389Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=502.16µs grafana | logger=migrator t=2024-01-04T11:35:29.663794026Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-04T11:35:29.664817035Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.020339ms grafana | logger=migrator t=2024-01-04T11:35:29.667680664Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-04T11:35:29.679294637Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.613563ms grafana | logger=migrator t=2024-01-04T11:35:29.682703958Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-04T11:35:29.691096298Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=8.360229ms grafana | logger=migrator t=2024-01-04T11:35:29.694632943Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-04T11:35:29.695191324Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=560.592µs grafana | logger=migrator t=2024-01-04T11:35:29.700109962Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-04T11:35:29.70085443Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=741.998µs grafana | logger=migrator t=2024-01-04T11:35:29.704112524Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-04T11:35:29.705283959Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.170135ms grafana | logger=migrator t=2024-01-04T11:35:29.708586685Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-04T11:35:29.709290291Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=702.826µs grafana | logger=migrator t=2024-01-04T11:35:29.715356663Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-04T11:35:29.715385344Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=29.061µs grafana | logger=migrator t=2024-01-04T11:35:29.718694121Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-04T11:35:29.719765861Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.07115ms grafana | logger=migrator t=2024-01-04T11:35:29.722916171Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-04T11:35:29.723888038Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=971.757µs grafana | logger=migrator t=2024-01-04T11:35:29.729329346Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-04T11:35:29.730381656Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.052251ms grafana | logger=migrator t=2024-01-04T11:35:29.733811957Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-04T11:35:29.734790274Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=978.807µs grafana | logger=migrator t=2024-01-04T11:35:29.739799455Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-04T11:35:29.743448644Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.648369ms grafana | logger=migrator t=2024-01-04T11:35:29.746578513Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-04T11:35:29.747295332Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=716.288µs grafana | logger=migrator t=2024-01-04T11:35:29.750376939Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-04T11:35:29.751059015Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=681.866µs grafana | logger=migrator t=2024-01-04T11:35:29.756362727Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-04T11:35:29.757101335Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=751.198µs grafana | logger=migrator t=2024-01-04T11:35:29.760432752Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-04T11:35:29.761131339Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=698.237µs grafana | logger=migrator t=2024-01-04T11:35:29.764219457Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-04T11:35:29.765027028Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=804.06µs grafana | logger=migrator t=2024-01-04T11:35:29.770121362Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-04T11:35:29.770750496Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=627.384µs grafana | logger=migrator t=2024-01-04T11:35:29.847722992Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-04T11:35:29.848734211Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=1.011009ms grafana | logger=migrator t=2024-01-04T11:35:29.852303327Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-04T11:35:29.852943121Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=645.465µs grafana | logger=migrator t=2024-01-04T11:35:29.85631317Z level=info msg="Executing migration" id="create star table" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:29.856925703Z level=info msg="Migration successfully executed" id="create star table" duration=612.093µs grafana | logger=migrator t=2024-01-04T11:35:29.862509756Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-04T11:35:29.863255774Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=747.588µs grafana | logger=migrator t=2024-01-04T11:35:29.86628819Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-04T11:35:29.866928334Z level=info msg="Migration successfully executed" id="create org table v1" duration=640.784µs grafana | logger=migrator t=2024-01-04T11:35:29.871642834Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-04 11:35:36+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-04 11:35:36 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-04 11:35:36 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-04 11:35:36 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-04 11:35:36 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-04 11:35:36 0 [Note] InnoDB: Buffer pool(s) dump completed at 240104 11:35:36 mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Shutdown completed; log sequence number 339749; transaction id 298 mariadb | 2024-01-04 11:35:37 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-04 11:35:37+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-04 11:35:37+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-04 11:35:37 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-04 11:35:37 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-04 11:35:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-04 11:35:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: log sequence number 339749; transaction id 299 mariadb | 2024-01-04 11:35:37 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-04 11:35:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-04 11:35:37 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-01-04 11:35:37 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-04 11:35:37 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-04 11:35:37 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-01-04 11:35:37 0 [Note] InnoDB: Buffer pool(s) load completed at 240104 11:35:37 mariadb | 2024-01-04 11:35:37 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-01-04 11:35:37 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-04T11:35:29.872368052Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=701.757µs grafana | logger=migrator t=2024-01-04T11:35:29.875622997Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-04T11:35:29.876373005Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=722.867µs grafana | logger=migrator t=2024-01-04T11:35:29.88200167Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-04T11:35:29.882733067Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=730.737µs grafana | logger=migrator t=2024-01-04T11:35:29.886162298Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-04T11:35:29.886929388Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=769.75µs grafana | logger=migrator t=2024-01-04T11:35:29.89040311Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-04T11:35:29.891258473Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=855.392µs grafana | logger=migrator t=2024-01-04T11:35:29.894536187Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-04T11:35:29.894566149Z level=info msg="Migration successfully executed" id="Update org table charset" duration=30.672µs grafana | logger=migrator t=2024-01-04T11:35:29.899388503Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-04T11:35:29.899411044Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=23.051µs grafana | logger=migrator t=2024-01-04T11:35:29.902802833Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-04T11:35:29.90298916Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=186.837µs grafana | logger=migrator t=2024-01-04T11:35:29.906658901Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-04T11:35:29.90770499Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.04647ms grafana | logger=migrator t=2024-01-04T11:35:29.911053468Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-04T11:35:29.912397819Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.344232ms grafana | logger=migrator t=2024-01-04T11:35:29.917829127Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-04T11:35:29.919203879Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.373451ms grafana | logger=migrator t=2024-01-04T11:35:29.92240298Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-04T11:35:29.923490323Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.086762ms grafana | logger=migrator t=2024-01-04T11:35:29.926724636Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-04T11:35:29.927485915Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=760.448µs grafana | logger=migrator t=2024-01-04T11:35:29.932905931Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-04T11:35:29.933596317Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=690.426µs grafana | logger=migrator t=2024-01-04T11:35:29.936578821Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-04T11:35:29.946351604Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.773313ms grafana | logger=migrator t=2024-01-04T11:35:29.950020394Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-04T11:35:29.950666479Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=646.634µs grafana | logger=migrator t=2024-01-04T11:35:29.955827736Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-04T11:35:29.956537792Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=710.157µs grafana | logger=migrator t=2024-01-04T11:35:29.959825449Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-04T11:35:29.960553396Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=727.087µs grafana | logger=migrator t=2024-01-04T11:35:29.963483288Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-04T11:35:29.963986627Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=503.309µs grafana | logger=migrator t=2024-01-04T11:35:29.970121001Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-04T11:35:29.971646369Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.520838ms grafana | logger=migrator t=2024-01-04T11:35:29.975027478Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-04T11:35:29.975134812Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=108.004µs grafana | logger=migrator t=2024-01-04T11:35:30.008645401Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-04T11:35:30.011575334Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.929362ms grafana | logger=migrator t=2024-01-04T11:35:30.017941187Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-04T11:35:30.019650943Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.709456ms grafana | logger=migrator t=2024-01-04T11:35:30.022747731Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.02587161Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.123239ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:30.029369704Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.030537579Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.166835ms grafana | logger=migrator t=2024-01-04T11:35:30.036105892Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.037914781Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.808739ms grafana | logger=migrator t=2024-01-04T11:35:30.041063032Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.04232675Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.262648ms grafana | logger=migrator t=2024-01-04T11:35:30.045684659Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-04T11:35:30.046933217Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.247969ms grafana | logger=migrator t=2024-01-04T11:35:30.052585273Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-04T11:35:30.052614464Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.881µs grafana | logger=migrator t=2024-01-04T11:35:30.055968422Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-04T11:35:30.055996403Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=28.541µs grafana | logger=migrator t=2024-01-04T11:35:30.059221447Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.06217913Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.954863ms grafana | logger=migrator t=2024-01-04T11:35:30.067104188Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.068981091Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.876292ms grafana | logger=migrator t=2024-01-04T11:35:30.074868096Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.077816359Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.947312ms grafana | logger=migrator t=2024-01-04T11:35:30.081481508Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.083328789Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.850361ms grafana | logger=migrator t=2024-01-04T11:35:30.086632906Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.086806192Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=173.046µs grafana | logger=migrator t=2024-01-04T11:35:30.092672197Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-04T11:35:30.093411885Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=739.348µs grafana | logger=migrator t=2024-01-04T11:35:30.096467662Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-04T11:35:30.097170729Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=702.288µs grafana | logger=migrator t=2024-01-04T11:35:30.100253857Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-04T11:35:30.100288918Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=35.801µs grafana | logger=migrator t=2024-01-04T11:35:30.105927634Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-04T11:35:30.107173241Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.243617ms grafana | logger=migrator t=2024-01-04T11:35:30.111027839Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-04T11:35:30.114205621Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=3.176722ms grafana | logger=migrator t=2024-01-04T11:35:30.118323188Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-04T11:35:30.12439831Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.076042ms grafana | logger=migrator t=2024-01-04T11:35:30.130655551Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-04T11:35:30.131354797Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=699.727µs grafana | logger=migrator t=2024-01-04T11:35:30.134974825Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-04T11:35:30.136255885Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.2816ms grafana | logger=migrator t=2024-01-04T11:35:30.175507137Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-04T11:35:30.177014124Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.505587ms grafana | logger=migrator t=2024-01-04T11:35:30.182633899Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-04T11:35:30.182966771Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=332.182µs grafana | logger=migrator t=2024-01-04T11:35:30.186165164Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-04T11:35:30.18708306Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=917.255µs grafana | logger=migrator t=2024-01-04T11:35:30.190414767Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-04T11:35:30.192514547Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.09654ms grafana | logger=migrator t=2024-01-04T11:35:30.195526313Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-04T11:35:30.196406116Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=879.884µs grafana | logger=migrator t=2024-01-04T11:35:30.201557773Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-04T11:35:30.201763811Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=205.548µs grafana | logger=migrator t=2024-01-04T11:35:30.204629471Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-04T11:35:30.204827398Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=197.187µs grafana | logger=migrator t=2024-01-04T11:35:30.207936577Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-04T11:35:30.209359472Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.422645ms grafana | logger=migrator t=2024-01-04T11:35:30.215957924Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-04T11:35:30.219365814Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.4072ms grafana | logger=migrator t=2024-01-04T11:35:30.222719452Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-04T11:35:30.223633188Z level=info msg="Migration successfully executed" id="create data_source table" duration=912.806µs grafana | logger=migrator t=2024-01-04T11:35:30.226586941Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-04T11:35:30.227423473Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=836.362µs grafana | logger=migrator t=2024-01-04T11:35:30.233260856Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-04T11:35:30.234149101Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=892.025µs grafana | logger=migrator t=2024-01-04T11:35:30.237359813Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-04T11:35:30.238519967Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.156224ms grafana | logger=migrator t=2024-01-04T11:35:30.242853094Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-04T11:35:30.243945115Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.092382ms grafana | logger=migrator t=2024-01-04T11:35:30.248280561Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-04T11:35:30.255913363Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.632352ms grafana | logger=migrator t=2024-01-04T11:35:30.259229459Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-04T11:35:30.260027101Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=796.512µs grafana | logger=migrator t=2024-01-04T11:35:30.264296703Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-04T11:35:30.265118756Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=821.613µs grafana | logger=migrator t=2024-01-04T11:35:30.268786956Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-04T11:35:30.269618047Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=829.611µs grafana | logger=migrator t=2024-01-04T11:35:30.273019787Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-04T11:35:30.27384815Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=823.922µs grafana | logger=migrator t=2024-01-04T11:35:30.278373312Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-04T11:35:30.280611598Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.237546ms grafana | logger=migrator t=2024-01-04T11:35:30.283834241Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-04T11:35:30.286091118Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.256467ms grafana | logger=migrator t=2024-01-04T11:35:30.289465987Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-04T11:35:30.289490928Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=24.831µs grafana | logger=migrator t=2024-01-04T11:35:30.293613226Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-04T11:35:30.293882426Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=266.9µs grafana | logger=migrator t=2024-01-04T11:35:30.297469163Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-04T11:35:30.301005168Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.538275ms grafana | logger=migrator t=2024-01-04T11:35:30.304484802Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-04T11:35:30.30469334Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=206.738µs grafana | logger=migrator t=2024-01-04T11:35:30.314509265Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-04T11:35:30.314809916Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=300.301µs grafana | logger=migrator t=2024-01-04T11:35:30.319656092Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-04T11:35:30.323399995Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.742973ms grafana | logger=migrator t=2024-01-04T11:35:30.327321776Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-04T11:35:30.327528413Z level=info msg="Migration successfully executed" id="Update uid value" duration=205.978µs grafana | logger=migrator t=2024-01-04T11:35:30.331730064Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-04T11:35:30.332749083Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.018219ms grafana | logger=migrator t=2024-01-04T11:35:30.336670323Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-04T11:35:30.337587308Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=916.765µs grafana | logger=migrator t=2024-01-04T11:35:30.340724859Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-04T11:35:30.341534049Z level=info msg="Migration successfully executed" id="create api_key table" duration=810.371µs grafana | logger=migrator t=2024-01-04T11:35:30.34469679Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-04T11:35:30.345547702Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=849.342µs grafana | logger=migrator t=2024-01-04T11:35:30.350230622Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-04T11:35:30.351209419Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=977.477µs grafana | logger=migrator t=2024-01-04T11:35:30.354641481Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-04T11:35:30.355638829Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=997.038µs grafana | logger=migrator t=2024-01-04T11:35:30.360786356Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-04T11:35:30.361647039Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=859.343µs grafana | logger=migrator t=2024-01-04T11:35:30.366083949Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-04T11:35:30.366965922Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=881.573µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-01-04T11:35:30.370483757Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-04T11:35:30.371699694Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.215447ms grafana | logger=migrator t=2024-01-04T11:35:30.375477318Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-04T11:35:30.384012785Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.535756ms grafana | logger=migrator t=2024-01-04T11:35:30.388210766Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-04T11:35:30.389230544Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.019368ms grafana | logger=migrator t=2024-01-04T11:35:30.392725398Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-04T11:35:30.393396813Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=671.615µs grafana | logger=migrator t=2024-01-04T11:35:30.398023791Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-04T11:35:30.399291949Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.266768ms grafana | logger=migrator t=2024-01-04T11:35:30.402998911Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-04T11:35:30.403906036Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=905.755µs grafana | logger=migrator t=2024-01-04T11:35:30.40898551Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-04T11:35:30.409389596Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=403.355µs grafana | logger=migrator t=2024-01-04T11:35:30.412872929Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-04T11:35:30.413883918Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.00907ms grafana | logger=migrator t=2024-01-04T11:35:30.418378199Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-04T11:35:30.41840575Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=27.691µs grafana | logger=migrator t=2024-01-04T11:35:30.421869724Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-04T11:35:30.424280265Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.408951ms grafana | logger=migrator t=2024-01-04T11:35:30.427541821Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-04T11:35:30.430092817Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.550006ms grafana | logger=migrator t=2024-01-04T11:35:30.434226456Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-04T11:35:30.434387652Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=155.606µs grafana | logger=migrator t=2024-01-04T11:35:30.437254882Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-04T11:35:30.439679235Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.477305ms grafana | logger=migrator t=2024-01-04T11:35:30.443088795Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-04T11:35:30.446669742Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.582357ms grafana | logger=migrator t=2024-01-04T11:35:30.485013079Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-04T11:35:30.486410833Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.400744ms grafana | logger=migrator t=2024-01-04T11:35:30.490404896Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-04T11:35:30.491458736Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.05356ms grafana | logger=migrator t=2024-01-04T11:35:30.495153138Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-04T11:35:30.496709887Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.557029ms grafana | logger=migrator t=2024-01-04T11:35:30.501170738Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-04T11:35:30.502181666Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.010108ms grafana | logger=migrator t=2024-01-04T11:35:30.506013273Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-04T11:35:30.506873936Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=865.523µs grafana | logger=migrator t=2024-01-04T11:35:30.510303517Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-04T11:35:30.51091845Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=614.913µs grafana | logger=migrator t=2024-01-04T11:35:30.515282458Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-04T11:35:30.515375851Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=94.934µs grafana | logger=migrator t=2024-01-04T11:35:30.518713159Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-04T11:35:30.51875943Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=46.541µs grafana | logger=migrator t=2024-01-04T11:35:30.522036036Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-04T11:35:30.524255061Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.218516ms grafana | logger=migrator t=2024-01-04T11:35:30.527250195Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-04T11:35:30.529948359Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.700553ms grafana | logger=migrator t=2024-01-04T11:35:30.533515985Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-04T11:35:30.53365881Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=147.615µs grafana | logger=migrator t=2024-01-04T11:35:30.537204247Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-04T11:35:30.538042018Z level=info msg="Migration successfully executed" id="create quota table v1" duration=837.791µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:30.544930501Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-04T11:35:30.545776255Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=849.033µs grafana | logger=migrator t=2024-01-04T11:35:30.55376597Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-04T11:35:30.553854364Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=88.693µs grafana | logger=migrator t=2024-01-04T11:35:30.557757773Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-04T11:35:30.559071264Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.31364ms grafana | logger=migrator t=2024-01-04T11:35:30.564330324Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-04T11:35:30.565202668Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=872.564µs grafana | logger=migrator t=2024-01-04T11:35:30.568416181Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-04T11:35:30.571332802Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.916051ms grafana | logger=migrator t=2024-01-04T11:35:30.57468637Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-04T11:35:30.574715512Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=27.791µs grafana | logger=migrator t=2024-01-04T11:35:30.578442014Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-04T11:35:30.579209834Z level=info msg="Migration successfully executed" id="create session table" duration=767.54µs grafana | logger=migrator t=2024-01-04T11:35:30.585298527Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-04T11:35:30.585401061Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=104.974µs grafana | logger=migrator t=2024-01-04T11:35:30.58878639Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-04T11:35:30.588863043Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=77.513µs grafana | logger=migrator t=2024-01-04T11:35:30.592209901Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-04T11:35:30.593312163Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.093862ms grafana | logger=migrator t=2024-01-04T11:35:30.596934902Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-04T11:35:30.597994342Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.05986ms grafana | logger=migrator t=2024-01-04T11:35:30.603573975Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-04T11:35:30.603600907Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=27.081µs grafana | logger=migrator t=2024-01-04T11:35:30.679448679Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-04T11:35:30.679641557Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=164.337µs grafana | logger=migrator t=2024-01-04T11:35:30.687071221Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-04T11:35:30.690668838Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.598568ms grafana | logger=migrator t=2024-01-04T11:35:30.694751305Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-04T11:35:30.696855596Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.10406ms grafana | logger=migrator t=2024-01-04T11:35:30.699936803Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-04T11:35:30.699999876Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=63.283µs grafana | logger=migrator t=2024-01-04T11:35:30.702941528Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-04T11:35:30.70299594Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=54.872µs grafana | logger=migrator t=2024-01-04T11:35:30.71006863Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-04T11:35:30.710842251Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=814.572µs grafana | logger=migrator t=2024-01-04T11:35:30.71709623Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-04T11:35:30.717149532Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=59.702µs grafana | logger=migrator t=2024-01-04T11:35:30.720700257Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-04T11:35:30.724232242Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.532085ms grafana | logger=migrator t=2024-01-04T11:35:30.728701814Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-04T11:35:30.72886999Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=169.196µs grafana | logger=migrator t=2024-01-04T11:35:30.732960287Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-04T11:35:30.736402039Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.441622ms grafana | logger=migrator t=2024-01-04T11:35:30.739965045Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-04T11:35:30.745306789Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.340144ms grafana | logger=migrator t=2024-01-04T11:35:30.750897603Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-04T11:35:30.7510796Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=178.867µs grafana | logger=migrator t=2024-01-04T11:35:30.756600371Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-04T11:35:30.758041797Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.445406ms grafana | logger=migrator t=2024-01-04T11:35:30.762128853Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-04T11:35:30.762985345Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=856.462µs grafana | logger=migrator t=2024-01-04T11:35:30.769324549Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-04T11:35:30.770402869Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.07483ms grafana | logger=migrator t=2024-01-04T11:35:30.773450496Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-04T11:35:30.774302178Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=851.122µs grafana | logger=migrator t=2024-01-04T11:35:30.779686664Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-04T11:35:30.780962754Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.27572ms grafana | logger=migrator t=2024-01-04T11:35:30.784862743Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-04T11:35:30.786654302Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.791439ms grafana | logger=migrator t=2024-01-04T11:35:30.790198567Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-04T11:35:30.791303059Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.094551ms grafana | logger=migrator t=2024-01-04T11:35:30.797560849Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-04T11:35:30.7991838Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.621631ms grafana | logger=migrator t=2024-01-04T11:35:30.803818188Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-04T11:35:30.805224391Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.406413ms grafana | logger=migrator t=2024-01-04T11:35:30.825078371Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-04T11:35:30.841539281Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=16.4679ms grafana | logger=migrator t=2024-01-04T11:35:30.845048656Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-04T11:35:30.845517304Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=468.518µs grafana | logger=migrator t=2024-01-04T11:35:30.848464137Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-01-04T11:35:30.849130652Z 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=667.156µs grafana | logger=migrator t=2024-01-04T11:35:30.856496194Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-04T11:35:30.857077286Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=588.002µs grafana | logger=migrator t=2024-01-04T11:35:30.860478696Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-04T11:35:30.861038627Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=560.721µs grafana | logger=migrator t=2024-01-04T11:35:30.863796103Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-04T11:35:30.864437228Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=640.735µs grafana | logger=migrator t=2024-01-04T11:35:30.870287072Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-04T11:35:30.874264944Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.978722ms grafana | logger=migrator t=2024-01-04T11:35:30.877450565Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-04T11:35:30.881965519Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.510653ms grafana | logger=migrator t=2024-01-04T11:35:30.88827642Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-04T11:35:30.892112506Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.840917ms grafana | logger=migrator t=2024-01-04T11:35:30.89744738Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-04T11:35:30.90108255Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.62856ms grafana | logger=migrator t=2024-01-04T11:35:30.907302128Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-04T11:35:30.908195282Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=892.944µs grafana | logger=migrator t=2024-01-04T11:35:30.915628677Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-04T11:35:30.915740011Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=117.845µs grafana | logger=migrator t=2024-01-04T11:35:30.924505316Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-04T11:35:30.924542557Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=36.021µs grafana | logger=migrator t=2024-01-04T11:35:30.927791292Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-04T11:35:30.92881421Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.023458ms grafana | logger=migrator t=2024-01-04T11:35:30.93348664Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-04T11:35:30.934451547Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=965.098µs grafana | logger=migrator t=2024-01-04T11:35:30.940764948Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-04T11:35:30.941952043Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.186935ms grafana | logger=migrator t=2024-01-04T11:35:30.946891683Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-04T11:35:30.947565398Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=673.465µs grafana | logger=migrator t=2024-01-04T11:35:30.951536241Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-04T11:35:30.952727906Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.191245ms grafana | logger=migrator t=2024-01-04T11:35:31.029350816Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-04T11:35:31.035320132Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.970817ms grafana | logger=migrator t=2024-01-04T11:35:31.0389687Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-04T11:35:31.042671409Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.7018ms grafana | logger=migrator t=2024-01-04T11:35:31.046999283Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-04T11:35:31.04717823Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=179.027µs grafana | logger=migrator t=2024-01-04T11:35:31.052236071Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-04T11:35:31.053647924Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.411373ms grafana | logger=migrator t=2024-01-04T11:35:31.060210732Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-04T11:35:31.061047204Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=835.952µs grafana | logger=migrator t=2024-01-04T11:35:31.065245712Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-04T11:35:31.070669247Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.421755ms grafana | logger=migrator t=2024-01-04T11:35:31.07550799Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-04T11:35:31.075603464Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=96.254µs grafana | logger=migrator t=2024-01-04T11:35:31.080102524Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-04T11:35:31.080942136Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=839.202µs grafana | logger=migrator t=2024-01-04T11:35:31.085618722Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-04T11:35:31.087053636Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.433824ms grafana | logger=migrator t=2024-01-04T11:35:31.093190298Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-04T11:35:31.093317503Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=127.285µs grafana | logger=migrator t=2024-01-04T11:35:31.098424676Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-04T11:35:31.099613661Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.187824ms grafana | logger=migrator t=2024-01-04T11:35:31.104116521Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-04T11:35:31.104973013Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=856.272µs grafana | logger=migrator t=2024-01-04T11:35:31.110503552Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-04T11:35:31.111779541Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.275289ms grafana | logger=migrator t=2024-01-04T11:35:31.116996818Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-04T11:35:31.118403631Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.405893ms grafana | logger=migrator t=2024-01-04T11:35:31.124914627Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-04T11:35:31.125860753Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=945.517µs grafana | logger=migrator t=2024-01-04T11:35:31.131923692Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-04T11:35:31.1337127Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.787678ms grafana | logger=migrator t=2024-01-04T11:35:31.139057012Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-04T11:35:31.139101764Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=45.441µs grafana | logger=migrator t=2024-01-04T11:35:31.143766299Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.150218044Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.451284ms grafana | logger=migrator t=2024-01-04T11:35:31.155012784Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-04T11:35:31.155556794Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=543.21µs grafana | logger=migrator t=2024-01-04T11:35:31.220591293Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.227095548Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.504945ms grafana | logger=migrator t=2024-01-04T11:35:31.232677399Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-04T11:35:31.233249781Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=573.541µs grafana | logger=migrator t=2024-01-04T11:35:31.238176477Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-04T11:35:31.239488576Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.311389ms grafana | logger=migrator t=2024-01-04T11:35:31.244555718Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-04T11:35:31.245753094Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.197305ms grafana | logger=migrator t=2024-01-04T11:35:31.249883049Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-04T11:35:31.265142856Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.253487ms grafana | logger=migrator t=2024-01-04T11:35:31.27214429Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-04T11:35:31.273016193Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=876.363µs grafana | logger=migrator t=2024-01-04T11:35:31.278602054Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-01-04T11:35:31.280464535Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.867431ms grafana | logger=migrator t=2024-01-04T11:35:31.285233265Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-04T11:35:31.285687202Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=453.327µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:31.290087738Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-04T11:35:31.2909077Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=821.542µs grafana | logger=migrator t=2024-01-04T11:35:31.296055314Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-04T11:35:31.296385297Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=334.573µs grafana | logger=migrator t=2024-01-04T11:35:31.3007287Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.308240494Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=7.509184ms grafana | logger=migrator t=2024-01-04T11:35:31.326201253Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.335703182Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=9.50944ms grafana | logger=migrator t=2024-01-04T11:35:31.339333569Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.3401661Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=833.221µs grafana | logger=migrator t=2024-01-04T11:35:31.406659503Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.408174401Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.515778ms grafana | logger=migrator t=2024-01-04T11:35:31.414417587Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-04T11:35:31.414876164Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=458.377µs grafana | logger=migrator t=2024-01-04T11:35:31.421928051Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-04T11:35:31.426117319Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.186907ms grafana | logger=migrator t=2024-01-04T11:35:31.431861116Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-04T11:35:31.434804647Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=2.941751ms grafana | logger=migrator t=2024-01-04T11:35:31.442997706Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-04T11:35:31.443214765Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=214.468µs grafana | logger=migrator t=2024-01-04T11:35:31.448449173Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-01-04T11:35:31.449339976Z level=info msg="Migration successfully executed" id="Move region to single row" duration=893.704µs grafana | logger=migrator t=2024-01-04T11:35:31.454287833Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.455676276Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.389303ms grafana | logger=migrator t=2024-01-04T11:35:31.461162643Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.462048967Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=886.003µs grafana | logger=migrator t=2024-01-04T11:35:31.466772955Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.46769846Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=924.625µs grafana | logger=migrator t=2024-01-04T11:35:31.472864415Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.474241017Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.372982ms grafana | logger=migrator t=2024-01-04T11:35:31.481303204Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.482097124Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=793.49µs grafana | logger=migrator t=2024-01-04T11:35:31.485416779Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-04T11:35:31.486299803Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=883.163µs grafana | logger=migrator t=2024-01-04T11:35:31.490433419Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-04T11:35:31.490497221Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=63.522µs grafana | logger=migrator t=2024-01-04T11:35:31.505316591Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-04T11:35:31.508069515Z level=info msg="Migration successfully executed" id="create test_data table" duration=2.707772ms grafana | logger=migrator t=2024-01-04T11:35:31.516436681Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-04T11:35:31.51718371Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=747.069µs grafana | logger=migrator t=2024-01-04T11:35:31.522934798Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-04T11:35:31.524391772Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.456345ms grafana | logger=migrator t=2024-01-04T11:35:31.532671425Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-04T11:35:31.534571317Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.904552ms grafana | logger=migrator t=2024-01-04T11:35:31.608856554Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-04T11:35:31.609125454Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=265.979µs grafana | logger=migrator t=2024-01-04T11:35:31.613309052Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-04T11:35:31.613930226Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=625.683µs grafana | logger=migrator t=2024-01-04T11:35:31.61853267Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:31.618601932Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=70.282µs grafana | logger=migrator t=2024-01-04T11:35:31.624680572Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-04T11:35:31.625764572Z level=info msg="Migration successfully executed" id="create team table" duration=1.0843ms grafana | logger=migrator t=2024-01-04T11:35:31.631827101Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-04T11:35:31.633654501Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.82698ms grafana | logger=migrator t=2024-01-04T11:35:31.639844295Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-04T11:35:31.64211027Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=2.269076ms grafana | logger=migrator t=2024-01-04T11:35:31.651047758Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-04T11:35:31.660162083Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=9.115105ms grafana | logger=migrator t=2024-01-04T11:35:31.664974384Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-04T11:35:31.665163481Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=189.747µs grafana | logger=migrator t=2024-01-04T11:35:31.669678302Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-04T11:35:31.670605397Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=926.965µs grafana | logger=migrator t=2024-01-04T11:35:31.676647905Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-04T11:35:31.677775338Z level=info msg="Migration successfully executed" id="create team member table" duration=1.125633ms grafana | logger=migrator t=2024-01-04T11:35:31.681859142Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-04T11:35:31.683786805Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.928483ms grafana | logger=migrator t=2024-01-04T11:35:31.688979852Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-04T11:35:31.69027039Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.287338ms grafana | logger=migrator t=2024-01-04T11:35:31.696118341Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-04T11:35:31.69766992Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.551449ms grafana | logger=migrator t=2024-01-04T11:35:31.702520133Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-04T11:35:31.707545973Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.022749ms grafana | logger=migrator t=2024-01-04T11:35:31.712085755Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-04T11:35:31.717342073Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.255849ms grafana | logger=migrator t=2024-01-04T11:35:31.724297156Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-04T11:35:31.728803286Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.50528ms grafana | logger=migrator t=2024-01-04T11:35:31.735229279Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-04T11:35:31.736467466Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.235877ms grafana | logger=migrator t=2024-01-04T11:35:31.776434586Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-04T11:35:31.77811909Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.691074ms grafana | logger=migrator t=2024-01-04T11:35:31.782806807Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-04T11:35:31.784537622Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.730545ms grafana | logger=migrator t=2024-01-04T11:35:31.79186751Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-04T11:35:31.792837596Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=969.776µs grafana | logger=migrator t=2024-01-04T11:35:31.800758436Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-04T11:35:31.802262742Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.504487ms grafana | logger=migrator t=2024-01-04T11:35:31.807198609Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-04T11:35:31.808849161Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.653723ms grafana | logger=migrator t=2024-01-04T11:35:31.815564765Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-04T11:35:31.816621524Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.051289ms grafana | logger=migrator t=2024-01-04T11:35:31.820663298Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-04T11:35:31.821599883Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=936.695µs grafana | logger=migrator t=2024-01-04T11:35:31.825821893Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-04T11:35:31.826305591Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=486.649µs grafana | logger=migrator t=2024-01-04T11:35:31.832692772Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-04T11:35:31.832937681Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=245.009µs grafana | logger=migrator t=2024-01-04T11:35:31.837910469Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-04T11:35:31.838958298Z level=info msg="Migration successfully executed" id="create tag table" duration=1.048119ms grafana | logger=migrator t=2024-01-04T11:35:31.843443818Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-04T11:35:31.845306569Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.863131ms grafana | logger=migrator t=2024-01-04T11:35:31.851329446Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-04T11:35:31.851987561Z level=info msg="Migration successfully executed" id="create login attempt table" duration=658.155µs grafana | logger=migrator t=2024-01-04T11:35:31.855635559Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-04T11:35:31.856587545Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=951.946µs grafana | logger=migrator t=2024-01-04T11:35:31.861791912Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-04T11:35:31.862753478Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=961.426µs grafana | logger=migrator t=2024-01-04T11:35:31.869396369Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-04T11:35:31.888373426Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.977207ms grafana | logger=migrator t=2024-01-04T11:35:31.895066679Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-04T11:35:31.895770596Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=703.578µs grafana | logger=migrator t=2024-01-04T11:35:31.901125358Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-04T11:35:31.902562522Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.437314ms grafana | logger=migrator t=2024-01-04T11:35:31.97157529Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-04T11:35:31.972044108Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=470.478µs grafana | logger=migrator t=2024-01-04T11:35:31.97608636Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-04T11:35:31.97713159Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.04496ms grafana | logger=migrator t=2024-01-04T11:35:31.980667584Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-04T11:35:31.981818187Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.146963ms grafana | logger=migrator t=2024-01-04T11:35:31.988565692Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-04T11:35:31.989465056Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=896.074µs grafana | logger=migrator t=2024-01-04T11:35:31.994243547Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-04T11:35:31.994345631Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=102.674µs grafana | logger=migrator t=2024-01-04T11:35:31.999742195Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-04T11:35:32.008611702Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.867877ms grafana | logger=migrator t=2024-01-04T11:35:32.015634558Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-04T11:35:32.022130356Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.497308ms grafana | logger=migrator t=2024-01-04T11:35:32.025464272Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-04T11:35:32.03039351Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.929168ms grafana | logger=migrator t=2024-01-04T11:35:32.035547596Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-01-04T11:35:32.040557166Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.00682ms grafana | logger=migrator t=2024-01-04T11:35:32.046268693Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-01-04T11:35:32.047153867Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=884.704µs grafana | logger=migrator t=2024-01-04T11:35:32.050780555Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-01-04T11:35:32.055860058Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.075133ms grafana | logger=migrator t=2024-01-04T11:35:32.060585617Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-01-04T11:35:32.061315036Z level=info msg="Migration successfully executed" id="create server_lock table" duration=728.849µs grafana | logger=migrator t=2024-01-04T11:35:32.065683331Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-01-04T11:35:32.067388867Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.704915ms grafana | logger=migrator t=2024-01-04T11:35:32.07326693Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-01-04T11:35:32.074011068Z level=info msg="Migration successfully executed" id="create user auth token table" duration=743.378µs grafana | logger=migrator t=2024-01-04T11:35:32.07905984Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-01-04T11:35:32.080020096Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=960.756µs grafana | logger=migrator t=2024-01-04T11:35:32.086219193Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-01-04T11:35:32.087825063Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.60481ms grafana | logger=migrator t=2024-01-04T11:35:32.093691126Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-01-04T11:35:32.095287748Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.594851ms grafana | logger=migrator t=2024-01-04T11:35:32.100689453Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-01-04T11:35:32.105880941Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.191727ms grafana | logger=migrator t=2024-01-04T11:35:32.147047995Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-01-04T11:35:32.148585134Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.533269ms grafana | logger=migrator t=2024-01-04T11:35:32.153640697Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-01-04T11:35:32.154872533Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.231607ms grafana | logger=migrator t=2024-01-04T11:35:32.161066608Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-01-04T11:35:32.162611568Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.545389ms grafana | logger=migrator t=2024-01-04T11:35:32.168562254Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-01-04T11:35:32.169879454Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.3169ms grafana | logger=migrator t=2024-01-04T11:35:32.176030238Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-04T11:35:32.176991594Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=960.936µs grafana | logger=migrator t=2024-01-04T11:35:32.180249988Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-01-04T11:35:32.1803129Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=63.572µs grafana | logger=migrator t=2024-01-04T11:35:32.186150152Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-01-04T11:35:32.186290257Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=141.065µs grafana | logger=migrator t=2024-01-04T11:35:32.192563727Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-01-04T11:35:32.194425077Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.867211ms grafana | logger=migrator t=2024-01-04T11:35:32.201153653Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-04T11:35:32.202748723Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.59537ms grafana | logger=migrator t=2024-01-04T11:35:32.208902367Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-04T11:35:32.209932807Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.03408ms grafana | logger=migrator t=2024-01-04T11:35:32.215478168Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-04T11:35:32.215546411Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=72.482µs grafana | logger=migrator t=2024-01-04T11:35:32.219861004Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-04T11:35:32.221157344Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.29412ms grafana | logger=migrator t=2024-01-04T11:35:32.226604421Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-04T11:35:32.228312045Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.708514ms grafana | logger=migrator t=2024-01-04T11:35:32.234245201Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-01-04T11:35:32.235236549Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=991.038µs grafana | logger=migrator t=2024-01-04T11:35:32.23973529Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-01-04T11:35:32.241635282Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.901342ms grafana | logger=migrator t=2024-01-04T11:35:32.245997009Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-04T11:35:32.255014451Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.016653ms grafana | logger=migrator t=2024-01-04T11:35:32.261696755Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-01-04T11:35:32.262367631Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=670.756µs grafana | logger=migrator t=2024-01-04T11:35:32.267239826Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-01-04T11:35:32.267387641Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=147.695µs grafana | logger=migrator t=2024-01-04T11:35:32.306362873Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-01-04T11:35:32.307777788Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.413415ms grafana | logger=migrator t=2024-01-04T11:35:32.313419792Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-01-04T11:35:32.314930749Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.509017ms grafana | logger=migrator t=2024-01-04T11:35:32.320677088Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-01-04T11:35:32.321631985Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=954.357µs grafana | logger=migrator t=2024-01-04T11:35:32.3278354Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-04T11:35:32.327960735Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=125.665µs grafana | logger=migrator t=2024-01-04T11:35:32.333296968Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-01-04T11:35:32.335016073Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.719305ms grafana | logger=migrator t=2024-01-04T11:35:32.339641929Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-01-04T11:35:32.341140957Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.498317ms grafana | logger=migrator t=2024-01-04T11:35:32.347473047Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-01-04T11:35:32.349081438Z 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.60666ms grafana | logger=migrator t=2024-01-04T11:35:32.353217805Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-01-04T11:35:32.354167641Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=949.766µs grafana | logger=migrator t=2024-01-04T11:35:32.35858475Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-01-04T11:35:32.369208174Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.622244ms grafana | logger=migrator t=2024-01-04T11:35:32.375062556Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-04T11:35:32.375749302Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=686.406µs grafana | logger=migrator t=2024-01-04T11:35:32.382723927Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-04T11:35:32.384488424Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.764667ms grafana | logger=migrator t=2024-01-04T11:35:32.39147246Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-01-04T11:35:32.440219594Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=48.740403ms grafana | logger=migrator t=2024-01-04T11:35:32.479672614Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-01-04T11:35:32.518669707Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=39.000794ms grafana | logger=migrator t=2024-01-04T11:35:32.522261973Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-01-04T11:35:32.523108896Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=777.52µs grafana | logger=migrator t=2024-01-04T11:35:32.52690773Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-01-04T11:35:32.527903748Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=995.908µs grafana | logger=migrator t=2024-01-04T11:35:32.53426482Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-01-04T11:35:32.543301754Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.037574ms grafana | logger=migrator t=2024-01-04T11:35:32.547598927Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-01-04T11:35:32.548676138Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.076502ms grafana | logger=migrator t=2024-01-04T11:35:32.554531791Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-01-04T11:35:32.555601711Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.06987ms grafana | logger=migrator t=2024-01-04T11:35:32.561447953Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-01-04T11:35:32.562518825Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.070671ms grafana | logger=migrator t=2024-01-04T11:35:32.567249204Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-01-04T11:35:32.569432497Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.182063ms grafana | logger=migrator t=2024-01-04T11:35:32.575082322Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-04T11:35:32.575150914Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=67.632µs grafana | logger=migrator t=2024-01-04T11:35:32.58056779Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-01-04T11:35:32.586449504Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.881134ms grafana | logger=migrator t=2024-01-04T11:35:32.6775865Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-01-04T11:35:32.686178987Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.593407ms grafana | logger=migrator t=2024-01-04T11:35:32.689314826Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-01-04T11:35:32.695110646Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.79561ms grafana | logger=migrator t=2024-01-04T11:35:32.69810511Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-01-04T11:35:32.699084117Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=979.147µs grafana | logger=migrator t=2024-01-04T11:35:32.703710223Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-01-04T11:35:32.704754622Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.044209ms grafana | logger=migrator t=2024-01-04T11:35:32.708197514Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-01-04T11:35:32.71415078Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.955216ms grafana | logger=migrator t=2024-01-04T11:35:32.719168891Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-01-04T11:35:32.725056725Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.884964ms grafana | logger=migrator t=2024-01-04T11:35:32.727932864Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-01-04T11:35:32.729062767Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.129313ms grafana | logger=migrator t=2024-01-04T11:35:32.732016769Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-04T11:35:32.738699084Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.681345ms grafana | logger=migrator t=2024-01-04T11:35:32.741658666Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-01-04T11:35:32.747515129Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.855843ms grafana | logger=migrator t=2024-01-04T11:35:32.752389284Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-01-04T11:35:32.752452646Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=63.502µs grafana | logger=migrator t=2024-01-04T11:35:32.755441461Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-01-04T11:35:32.756553443Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.111451ms grafana | logger=migrator t=2024-01-04T11:35:32.759472414Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-01-04T11:35:32.760653588Z 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.180235ms grafana | logger=migrator t=2024-01-04T11:35:32.766159857Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-01-04T11:35:32.767322082Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.161525ms grafana | logger=migrator t=2024-01-04T11:35:32.770517394Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-01-04T11:35:32.770580326Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=62.303µs grafana | logger=migrator t=2024-01-04T11:35:32.772845672Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-01-04T11:35:32.778991916Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.146504ms grafana | logger=migrator t=2024-01-04T11:35:32.784169943Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-01-04T11:35:32.791598195Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.423681ms grafana | logger=migrator t=2024-01-04T11:35:32.794855289Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-01-04T11:35:32.799252526Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.395127ms grafana | logger=migrator t=2024-01-04T11:35:32.802182547Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-01-04T11:35:32.809370071Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=7.189224ms grafana | logger=migrator t=2024-01-04T11:35:32.847302723Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-01-04T11:35:32.855555997Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=8.253584ms grafana | logger=migrator t=2024-01-04T11:35:32.859270759Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-01-04T11:35:32.859350462Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=80.003µs grafana | logger=migrator t=2024-01-04T11:35:32.862546373Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-01-04T11:35:32.863872443Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.32499ms grafana | logger=migrator t=2024-01-04T11:35:32.869650273Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-01-04T11:35:32.877136698Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.486745ms grafana | logger=migrator t=2024-01-04T11:35:32.88798304Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-01-04T11:35:32.888124046Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=142.626µs grafana | logger=migrator t=2024-01-04T11:35:32.897889026Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-01-04T11:35:32.906324407Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.435361ms grafana | logger=migrator t=2024-01-04T11:35:32.916087539Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-01-04T11:35:32.917413549Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.32606ms grafana | logger=migrator t=2024-01-04T11:35:32.928696958Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-01-04T11:35:32.939998498Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=11.30553ms grafana | logger=migrator t=2024-01-04T11:35:32.950467906Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-01-04T11:35:32.951722274Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.254808ms grafana | logger=migrator t=2024-01-04T11:35:32.960700726Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-01-04T11:35:32.962160031Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.460235ms grafana | logger=migrator t=2024-01-04T11:35:32.97160221Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-01-04T11:35:32.98238535Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.78348ms grafana | logger=migrator t=2024-01-04T11:35:33.016065947Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-01-04T11:35:33.017555332Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.488625ms grafana | logger=migrator t=2024-01-04T11:35:33.021180919Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-01-04T11:35:33.022873683Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.692414ms grafana | logger=migrator t=2024-01-04T11:35:33.031708726Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-01-04T11:35:33.032534356Z level=info msg="Migration successfully executed" id="create alert_image table" duration=825.261µs grafana | logger=migrator t=2024-01-04T11:35:33.035721857Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-01-04T11:35:33.036798897Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.07274ms grafana | logger=migrator t=2024-01-04T11:35:33.040730805Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-01-04T11:35:33.040796178Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=65.853µs grafana | logger=migrator t=2024-01-04T11:35:33.045833408Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-01-04T11:35:33.046812225Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=978.928µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-04T11:35:33.049814698Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-01-04T11:35:33.050826116Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.010998ms grafana | logger=migrator t=2024-01-04T11:35:33.05386703Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-04T11:35:33.054314147Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-01-04T11:35:33.060618224Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-01-04T11:35:33.061300551Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=680.296µs grafana | logger=migrator t=2024-01-04T11:35:33.064703699Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-01-04T11:35:33.066361841Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.658353ms grafana | logger=migrator t=2024-01-04T11:35:33.071515015Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-01-04T11:35:33.078745198Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.229332ms grafana | logger=migrator t=2024-01-04T11:35:33.086199099Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-01-04T11:35:33.087164605Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=965.176µs grafana | logger=migrator t=2024-01-04T11:35:33.090574693Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-01-04T11:35:33.091656474Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.081681ms grafana | logger=migrator t=2024-01-04T11:35:33.094718169Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-01-04T11:35:33.095501929Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=783.28µs grafana | logger=migrator t=2024-01-04T11:35:33.101884109Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-04T11:35:33.103610694Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.724745ms grafana | logger=migrator t=2024-01-04T11:35:33.10801509Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-04T11:35:33.109739355Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.726146ms grafana | logger=migrator t=2024-01-04T11:35:33.11412283Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-01-04T11:35:33.114149091Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.411µs grafana | logger=migrator t=2024-01-04T11:35:33.120336074Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-01-04T11:35:33.120474569Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=139.085µs grafana | logger=migrator t=2024-01-04T11:35:33.125590002Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-01-04T11:35:33.126125052Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=534.28µs grafana | logger=migrator t=2024-01-04T11:35:33.129862873Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-01-04T11:35:33.131288187Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.424564ms grafana | logger=migrator t=2024-01-04T11:35:33.134680855Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-01-04T11:35:33.135494105Z level=info msg="Migration successfully executed" id="create secrets table" duration=812.401µs grafana | logger=migrator t=2024-01-04T11:35:33.141797772Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-01-04T11:35:33.189149926Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.351754ms grafana | logger=migrator t=2024-01-04T11:35:33.193378006Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-01-04T11:35:33.201244212Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.864976ms grafana | logger=migrator t=2024-01-04T11:35:33.206043492Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-04T11:35:33.206182897Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=138.635µs grafana | logger=migrator t=2024-01-04T11:35:33.213027116Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-01-04T11:35:33.258460817Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=45.433661ms grafana | logger=migrator t=2024-01-04T11:35:33.261552203Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-01-04T11:35:33.306038969Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.485976ms grafana | logger=migrator t=2024-01-04T11:35:33.309143526Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-01-04T11:35:33.309768279Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=623.983µs grafana | logger=migrator t=2024-01-04T11:35:33.312687059Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-01-04T11:35:33.31349119Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=803.931µs grafana | logger=migrator t=2024-01-04T11:35:33.354356399Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-01-04T11:35:33.354830677Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=474.547µs grafana | logger=migrator t=2024-01-04T11:35:33.358412682Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-01-04T11:35:33.359724611Z level=info msg="Migration successfully executed" id="create permission table" duration=1.311369ms grafana | logger=migrator t=2024-01-04T11:35:33.364414128Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-01-04T11:35:33.365559791Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.145973ms grafana | logger=migrator t=2024-01-04T11:35:33.370989065Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-01-04T11:35:33.372753412Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.763517ms grafana | logger=migrator t=2024-01-04T11:35:33.376446071Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-01-04T11:35:33.377812283Z level=info msg="Migration successfully executed" id="create role table" duration=1.366302ms grafana | logger=migrator t=2024-01-04T11:35:33.380811866Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-01-04T11:35:33.389636848Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.824412ms grafana | logger=migrator t=2024-01-04T11:35:33.393906689Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-01-04T11:35:33.399791311Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.883623ms grafana | logger=migrator t=2024-01-04T11:35:33.40322812Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-01-04T11:35:33.404264989Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.036789ms grafana | logger=migrator t=2024-01-04T11:35:33.408857122Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-01-04T11:35:33.409934893Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.07972ms grafana | logger=migrator t=2024-01-04T11:35:33.413190325Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-01-04T11:35:33.414272516Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.082141ms grafana | logger=migrator t=2024-01-04T11:35:33.417738257Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-01-04T11:35:33.418533736Z level=info msg="Migration successfully executed" id="create team role table" duration=795.019µs grafana | logger=migrator t=2024-01-04T11:35:33.421961265Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-01-04T11:35:33.423002745Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.04158ms grafana | logger=migrator t=2024-01-04T11:35:33.427375059Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-01-04T11:35:33.428563695Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.188346ms grafana | logger=migrator t=2024-01-04T11:35:33.432036805Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-01-04T11:35:33.433134816Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.100121ms grafana | logger=migrator t=2024-01-04T11:35:33.437363236Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-01-04T11:35:33.438191667Z level=info msg="Migration successfully executed" id="create user role table" duration=827.811µs grafana | logger=migrator t=2024-01-04T11:35:33.441628776Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-01-04T11:35:33.442709397Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.080531ms grafana | logger=migrator t=2024-01-04T11:35:33.446308063Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-01-04T11:35:33.447405635Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.096812ms grafana | logger=migrator t=2024-01-04T11:35:33.450792982Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-01-04T11:35:33.451841851Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.048929ms grafana | logger=migrator t=2024-01-04T11:35:33.457822376Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-01-04T11:35:33.458637108Z level=info msg="Migration successfully executed" id="create builtin role table" duration=814.432µs grafana | logger=migrator t=2024-01-04T11:35:33.46242746Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-01-04T11:35:33.464093972Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.666352ms grafana | logger=migrator t=2024-01-04T11:35:33.467896846Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-01-04T11:35:33.469659102Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.762126ms grafana | logger=migrator t=2024-01-04T11:35:33.474144521Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-01-04T11:35:33.481756468Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.610977ms grafana | logger=migrator t=2024-01-04T11:35:33.518811094Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-01-04T11:35:33.521190924Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=2.37875ms grafana | logger=migrator t=2024-01-04T11:35:33.525253386Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-01-04T11:35:33.526640959Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.388363ms grafana | logger=migrator t=2024-01-04T11:35:33.530694211Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-01-04T11:35:33.531785423Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.090652ms grafana | logger=migrator t=2024-01-04T11:35:33.53624685Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-01-04T11:35:33.537363963Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.116733ms grafana | logger=migrator t=2024-01-04T11:35:33.541237469Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-01-04T11:35:33.541958866Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=721.436µs grafana | logger=migrator t=2024-01-04T11:35:33.546669763Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-01-04T11:35:33.547821106Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.154013ms grafana | logger=migrator t=2024-01-04T11:35:33.552388929Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-01-04T11:35:33.562903055Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.519947ms grafana | logger=migrator t=2024-01-04T11:35:33.567851042Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-01-04T11:35:33.575896334Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.064803ms policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.579530061Z level=info msg="Executing migration" id="permission attribute migration" 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-01-04T11:35:33.587554764Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.022813ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.590798366Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.598739495Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.939949ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.60393563Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-04T11:35:33.605043572Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.106962ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.608310475Z level=info msg="Executing migration" id="create query_history table v1" 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-01-04T11:35:33.60925037Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=939.535µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.612475322Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.613584134Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.108242ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.618320373Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-04T11:35:33.618393325Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=72.912µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.621045835Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-04T11:35:33.621090587Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=44.802µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.624237835Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.624802237Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=568.201µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.630218251Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-04T11:35:33.630837134Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=628.524µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.634075906Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-01-04T11:35:33.635091304Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.014519ms grafana | logger=migrator t=2024-01-04T11:35:33.638867046Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-04T11:35:33.639201929Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=335.453µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.643060394Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.643639306Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=579.002µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.648607593Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-04T11:35:33.649394933Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=788.06µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.652522811Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-04T11:35:33.653929723Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.404652ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.712295262Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.723722462Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.42757ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.726370552Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-04T11:35:33.726421394Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=50.432µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.730567331Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-04T11:35:33.731244336Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=676.655µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.734099714Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.735254417Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.153583ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.739697354Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-04T11:35:33.740805576Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.107112ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.745229253Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-04T11:35:33.753459313Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.22922ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.756640293Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.757736103Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.094751ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.760902433Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-04T11:35:33.761970973Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.067951ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.766300316Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 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-01-04T11:35:33.795533018Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.232872ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.798898954Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.799573579Z level=info msg="Migration successfully executed" id="create correlation v2" duration=673.605µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.804299328Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-04T11:35:33.805133359Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=833.541µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.807994327Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 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-01-04T11:35:33.80885724Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=862.193µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.812143183Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-04T11:35:33.812933433Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=790.12µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.817707533Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.81788556Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=178.577µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.820845371Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-04T11:35:33.821374301Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=528.53µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.824237809Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-04T11:35:33.830043297Z level=info msg="Migration successfully executed" id="add provisioning column" duration=5.805348ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.834405202Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.834947962Z level=info msg="Migration successfully executed" id="create entity_events table" duration=542.48µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.83807176Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-04T11:35:33.838733315Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=661.404µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.877842348Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-04T11:35:33.878191781Z 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-01-04T11:35:33.880330822Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.880671554Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.883768031Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-04T11:35:33.884320012Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=551.721µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.887540084Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-04T11:35:33.888200678Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=659.945µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-04T11:35:33.892868924Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-04T11:35:33.893684455Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=814.941µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-04T11:35:33.896558243Z 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-01-04T11:35:33.897339362Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=780.639µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.900332435Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.901103184Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=770.199µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-04T11:35:33.905990978Z 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-01-04T11:35:33.907827157Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.835249ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-04T11:35:33.91136026Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.912195561Z level=info msg="Migration successfully executed" id="Drop public config table" duration=833.741µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.917679568Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.919226337Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.547399ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-04T11:35:33.923005919Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.924922131Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.915352ms 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-01-04T11:35:33.929575117Z 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-01-04T11:35:33.93072379Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.149393ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.934109087Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.935248091Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.137983ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-04T11:35:33.938546115Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.969090935Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=30.54519ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.974151076Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.982312223Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.160537ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:33.985334787Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-04T11:35:33.991810271Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.474564ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.9952364Z level=info msg="Executing migration" id="delete orphaned public dashboards" 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-01-04T11:35:33.995470849Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=234.288µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:33.99896292Z level=info msg="Executing migration" id="add share column" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.00720043Z level=info msg="Migration successfully executed" id="add share column" duration=8.2374ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.032867608Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-04T11:35:34.03345048Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=589.382µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.037342206Z level=info msg="Executing migration" id="create file table" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-04T11:35:34.038853753Z level=info msg="Migration successfully executed" id="create file table" duration=1.508007ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.042442358Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.043605852Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.163253ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.049360938Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-04T11:35:34.051106694Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.744526ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.054818924Z level=info msg="Executing migration" id="create file_meta table" 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-01-04T11:35:34.055946477Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.127603ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.059631996Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.060917474Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.284219ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.068187088Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-04T11:35:34.068323163Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=136.975µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.07356826Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 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-01-04T11:35:34.073745597Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=183.647µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.080153908Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.081092174Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=942.426µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.086337462Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-04T11:35:34.086760358Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=422.896µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.093918837Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-04T11:35:34.095260138Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.341121ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.099556659Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.11203026Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.47517ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.11524478Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-04T11:35:34.115379526Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=134.855µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.118473822Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-04T11:35:34.119642787Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.168104ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.12425479Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.124776179Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=521.769µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.128176118Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-04T11:35:34.128413727Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=238.319µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.13222794Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-04T11:35:34.13330739Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=1.08666ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.138471585Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.149429728Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.965743ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.152718332Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-04T11:35:34.158957907Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.238565ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.162302313Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-04T11:35:34.163487487Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.184194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.200367707Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.311752772Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.369456ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.315302386Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-04T11:35:34.31645608Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.153744ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.319496274Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.32045619Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=959.426µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.325020012Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-04T11:35:34.380717841Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=55.693228ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.386070332Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.386260029Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=190.047µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.389852764Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-04T11:35:34.390438336Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=585.082µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.395785328Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.395941374Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=156.206µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.398954587Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.399592991Z level=info msg="Migration successfully executed" id="create folder table" duration=638.664µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-04T11:35:34.402574304Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.403649684Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.07427ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.408384453Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.409578707Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.193854ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-04T11:35:34.412628652Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.412652953Z level=info msg="Migration successfully executed" id="Update folder title length" duration=25.151µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-04T11:35:34.415850183Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.417011478Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.161105ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.422314598Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.423958459Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.643712ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-04T11:35:34.427512303Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.429343072Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.83001ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.432655466Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.433991727Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.332591ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-04T11:35:34.438773897Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.439961892Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.187655ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-04T11:35:34.443171633Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.444271684Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.099641ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.448780264Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.449520012Z level=info msg="Migration successfully executed" id="create signing_key table" duration=736.767µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-04T11:35:34.452901599Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.45396543Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.06422ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-04T11:35:34.457284414Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.458929227Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.644663ms policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.463299861Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | msg grafana | logger=migrator t=2024-01-04T11:35:34.463579561Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=279.95µs policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-04T11:35:34.467717948Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.477049279Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.330811ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-04T11:35:34.480257039Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.480769689Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=513.03µs policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-04T11:35:34.48396296Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.48478529Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=821.98µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.489003279Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.490434793Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.433494ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-04T11:35:34.495936461Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.496658417Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=722.247µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-04T11:35:34.500235522Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-04T11:35:34.500708691Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=474.918µs policy-db-migrator | grafana | logger=migrator t=2024-01-04T11:35:34.541364091Z level=info msg="migrations completed" performed=523 skipped=0 duration=5.012031644s policy-db-migrator | -------------- grafana | logger=sqlstore t=2024-01-04T11:35:34.552394037Z level=info msg="Created default admin" user=admin policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=sqlstore t=2024-01-04T11:35:34.552650727Z level=info msg="Created default organization" policy-db-migrator | -------------- grafana | logger=secrets t=2024-01-04T11:35:34.557401426Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2024-01-04T11:35:34.576747105Z level=info msg="Loading plugins..." policy-db-migrator | grafana | logger=local.finder t=2024-01-04T11:35:34.622947164Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=plugin.store t=2024-01-04T11:35:34.623067119Z level=info msg="Plugins loaded" count=55 duration=46.321124ms policy-db-migrator | -------------- grafana | logger=query_data t=2024-01-04T11:35:34.629622716Z level=info msg="Query Service initialization" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=live.push_http t=2024-01-04T11:35:34.634189378Z level=info msg="Live Push Gateway initialization" policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2024-01-04T11:35:34.640307548Z level=info msg=Starting policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2024-01-04T11:35:34.641171391Z level=info msg="Migrating alerts for organisation" policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2024-01-04T11:35:34.641596687Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-04T11:35:34.642044174Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-04T11:35:34.644792788Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-04T11:35:34.675205103Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-04T11:35:34.67750156Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-04T11:35:34.715921096Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-04T11:35:34.715949167Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-01-04T11:35:34.716149745Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-01-04T11:35:34.716243418Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-01-04T11:35:34.716839272Z level=info msg="State cache has been initialized" states=0 duration=687.957µs grafana | logger=ngalert.scheduler t=2024-01-04T11:35:34.716878853Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-04T11:35:34.717021158Z level=info msg=starting first_tick=2024-01-04T11:35:40Z grafana | logger=grafanaStorageLogger t=2024-01-04T11:35:34.718569176Z level=info msg="Storage starting" grafana | logger=http.server t=2024-01-04T11:35:34.719402508Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-01-04T11:35:34.745792442Z level=info msg="Update check succeeded" duration=28.590277ms grafana | logger=plugins.update.checker t=2024-01-04T11:35:34.798754977Z level=info msg="Update check succeeded" duration=81.515261ms grafana | logger=infra.usagestats t=2024-01-04T11:36:31.729790035Z level=info msg="Usage stats are ready to report" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:37 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:37 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:37 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:37 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:37 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:38 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:39 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:40 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:41 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:42 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:42 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:42 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:42 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0401241135370800u 1 2024-01-04 11:35:42 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0401241135370900u 1 2024-01-04 11:35:42 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:42 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:42 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:43 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:43 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:43 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:43 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:43 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:43 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0401241135371000u 1 2024-01-04 11:35:43 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0401241135371100u 1 2024-01-04 11:35:43 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0401241135371200u 1 2024-01-04 11:35:43 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0401241135371200u 1 2024-01-04 11:35:43 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0401241135371200u 1 2024-01-04 11:35:43 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0401241135371200u 1 2024-01-04 11:35:43 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 grafana ... done Removing prometheus ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... 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.VdAIxsicCs ]] + rsync -av /tmp/tmp.VdAIxsicCs/ /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,089 bytes received 95 bytes 2,694,368.00 bytes/sec total size is 1,346,439 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 2102 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8811981958507075340.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15827325261918030099.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/jenkins10287688160171983409.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-QhjO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QhjO/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins9581838547877134283.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config2752285357767330304tmp 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/jenkins165492067138684125.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins2833599375349095374.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-QhjO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QhjO/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14819108054462520090.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5261574962780040164.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-QhjO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-QhjO/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/jenkins7257799002329635589.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-QhjO from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-QhjO/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/230 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-9487 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 828 27418 0 3920 30882 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:b2:d7:62 brd ff:ff:ff:ff:ff:ff inet 10.30.106.246/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86049sec preferred_lft 86049sec inet6 fe80::f816:3eff:feb2:d762/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:bf:23:06:54 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-9487) 01/04/24 _x86_64_ (8 CPU) 11:32:23 LINUX RESTART (8 CPU) 11:33:01 tps rtps wtps bread/s bwrtn/s 11:34:01 118.81 22.91 95.90 1185.67 54192.03 11:35:01 144.63 23.10 121.53 2771.00 59709.52 11:36:01 385.84 14.11 371.72 836.96 93991.15 11:37:01 4.37 0.00 4.37 0.00 95.17 11:38:01 44.08 1.97 42.11 116.38 2845.99 Average: 139.54 12.42 127.13 982.00 42166.77 11:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:34:01 30084308 31694760 2854912 8.67 70536 1849368 1452760 4.27 876640 1683480 170080 11:35:01 28957152 31686948 3982068 12.09 101540 2899728 1364900 4.02 966696 2640892 846908 11:36:01 26877076 30479460 6062144 18.40 126268 3677148 4594196 13.52 2264108 3347316 440 11:37:01 26899524 30500312 6039696 18.34 126364 3677836 4542816 13.37 2244592 3344316 92 11:38:01 28090560 31635912 4848660 14.72 130168 3651284 1478816 4.35 1143640 3278828 55664 Average: 28181724 31199478 4757496 14.44 110975 3151073 2686698 7.90 1499135 2858966 214637 11:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 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.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 11:34:01 ens3 59.19 41.81 982.00 7.41 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 6.40 6.40 0.60 0.60 0.00 0.00 0.00 0.00 11:35:01 ens3 163.22 108.57 4400.82 12.16 0.00 0.00 0.00 0.00 11:35:01 br-ae8f8abb4fa2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 veth82d6c04 55.81 67.92 27.40 18.53 0.00 0.00 0.00 0.00 11:36:01 vethe8846ea 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 lo 4.85 4.85 0.45 0.45 0.00 0.00 0.00 0.00 11:37:01 veth82d6c04 64.51 81.54 92.33 26.18 0.00 0.00 0.00 0.01 11:37:01 vethe8846ea 0.18 0.18 0.02 0.47 0.00 0.00 0.00 0.00 11:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 lo 9.88 9.88 8.21 8.21 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 7.58 7.58 0.68 0.68 0.00 0.00 0.00 0.00 11:38:01 ens3 751.01 510.38 11157.33 111.63 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.02 6.02 2.02 2.02 0.00 0.00 0.00 0.00 Average: ens3 90.66 60.07 2078.08 10.83 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-9487) 01/04/24 _x86_64_ (8 CPU) 11:32:23 LINUX RESTART (8 CPU) 11:33:01 CPU %user %nice %system %iowait %steal %idle 11:34:01 all 9.80 0.00 0.73 4.07 0.03 85.37 11:34:01 0 0.38 0.00 0.23 0.07 0.00 99.32 11:34:01 1 6.09 0.00 0.62 10.07 0.03 83.19 11:34:01 2 10.29 0.00 0.65 0.85 0.03 88.18 11:34:01 3 40.31 0.00 2.31 3.28 0.07 54.03 11:34:01 4 8.62 0.00 0.62 0.47 0.03 90.26 11:34:01 5 3.67 0.00 0.47 17.06 0.03 78.76 11:34:01 6 7.71 0.00 0.68 0.37 0.03 91.20 11:34:01 7 1.43 0.00 0.25 0.45 0.00 97.87 11:35:01 all 10.64 0.00 1.81 4.19 0.04 83.31 11:35:01 0 12.64 0.00 1.93 1.16 0.03 84.24 11:35:01 1 10.50 0.00 1.77 24.27 0.07 63.39 11:35:01 2 6.57 0.00 1.68 3.13 0.08 88.53 11:35:01 3 6.61 0.00 1.81 0.05 0.02 91.52 11:35:01 4 4.33 0.00 0.94 1.75 0.03 92.95 11:35:01 5 5.13 0.00 1.64 0.37 0.03 92.83 11:35:01 6 16.78 0.00 2.87 0.62 0.03 79.70 11:35:01 7 22.60 0.00 1.87 2.14 0.05 73.33 11:36:01 all 16.38 0.00 3.46 8.39 0.06 71.71 11:36:01 0 19.66 0.00 3.52 1.93 0.05 74.84 11:36:01 1 14.56 0.00 2.97 14.21 0.07 68.20 11:36:01 2 21.65 0.00 4.57 13.09 0.07 60.62 11:36:01 3 13.86 0.00 2.79 0.77 0.05 82.53 11:36:01 4 19.21 0.00 3.75 0.32 0.05 76.67 11:36:01 5 11.57 0.00 3.03 4.80 0.05 80.55 11:36:01 6 17.93 0.00 3.78 1.08 0.05 77.16 11:36:01 7 12.58 0.00 3.33 31.05 0.07 52.98 11:37:01 all 4.03 0.00 0.29 0.01 0.03 95.63 11:37:01 0 1.10 0.00 0.12 0.00 0.07 98.72 11:37:01 1 6.37 0.00 0.28 0.03 0.03 93.28 11:37:01 2 3.31 0.00 0.20 0.00 0.00 96.49 11:37:01 3 2.99 0.00 0.05 0.00 0.02 96.94 11:37:01 4 6.00 0.00 0.50 0.02 0.02 93.47 11:37:01 5 4.70 0.00 0.43 0.05 0.02 94.80 11:37:01 6 4.83 0.00 0.45 0.02 0.07 94.64 11:37:01 7 2.93 0.00 0.32 0.02 0.02 96.72 11:38:01 all 7.53 0.00 0.77 0.36 0.03 91.31 11:38:01 0 3.15 0.00 0.60 0.05 0.02 96.18 11:38:01 1 20.79 0.00 1.35 0.62 0.05 77.19 11:38:01 2 1.70 0.00 0.70 0.07 0.02 97.52 11:38:01 3 2.05 0.00 0.52 0.02 0.02 97.40 11:38:01 4 1.28 0.00 0.60 0.07 0.02 98.03 11:38:01 5 6.55 0.00 0.75 1.29 0.02 91.40 11:38:01 6 1.17 0.00 0.50 0.42 0.02 97.90 11:38:01 7 23.63 0.00 1.12 0.38 0.03 74.83 Average: all 9.66 0.00 1.41 3.39 0.04 85.50 Average: 0 7.36 0.00 1.27 0.64 0.03 90.69 Average: 1 11.66 0.00 1.40 9.82 0.05 77.07 Average: 2 8.68 0.00 1.55 3.41 0.04 86.32 Average: 3 13.11 0.00 1.49 0.82 0.03 84.55 Average: 4 7.87 0.00 1.28 0.52 0.03 90.30 Average: 5 6.31 0.00 1.26 4.71 0.03 87.68 Average: 6 9.66 0.00 1.65 0.50 0.04 88.15 Average: 7 12.62 0.00 1.37 6.75 0.03 79.22