Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-4287 (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-utiETSOzWzKv/agent.2106 SSH_AGENT_PID=2108 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_2599937783650382632.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_2599937783650382632.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/jenkins11678902337860505700.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-4vRj 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-4vRj/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-4vRj/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.6 botocore==1.32.6 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.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 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.23.4 httplib2==0.22.0 identify==2.5.32 idna==3.5 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.0.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.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.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.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.7 wcwidth==0.2.12 websocket-client==1.6.4 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/jenkins419198924391298817.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/jenkins13464468407604586594.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.Y6HS6JhgBy ++ echo ROBOT_VENV=/tmp/tmp.Y6HS6JhgBy +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.Y6HS6JhgBy ++ source /tmp/tmp.Y6HS6JhgBy/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.Y6HS6JhgBy +++ 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.Y6HS6JhgBy/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.Y6HS6JhgBy) ' '!=' x ']' +++ PS1='(tmp.Y6HS6JhgBy) ' +++ 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.8.3 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.5 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 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.Y6HS6JhgBy/src/onap ++ rm -rf /tmp/tmp.Y6HS6JhgBy/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.8.3 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.5 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==4.9.3 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.3.1 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.Y6HS6JhgBy/bin/activate + '[' -z /tmp/tmp.Y6HS6JhgBy/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.Y6HS6JhgBy/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.Y6HS6JhgBy ++ 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.Y6HS6JhgBy/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.Y6HS6JhgBy) ' ++ '[' 'x(tmp.Y6HS6JhgBy) ' '!=' x ']' ++ PS1='(tmp.Y6HS6JhgBy) (tmp.Y6HS6JhgBy) ' ++ 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.sA7jAf1DtJ + cd /tmp/tmp.sA7jAf1DtJ + 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:b440bc0e8aa5bab44a782952c09516b6a50f9d7b2325c1ffafac7bc833298e2e 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:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:01 up 3 min, 0 users, load average: 3.39, 1.19, 0.44 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.2 us, 2.2 sy, 0.0 ni, 83.1 id, 3.4 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 3.8G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 410031f5ce0e grafana 0.02% 96.51MiB / 31.41GiB 0.30% 18.4kB / 3.09kB 0B / 23.4MB 21 db404861d596 policy-api 0.10% 944.2MiB / 31.41GiB 2.94% 1.04MB / 739kB 0B / 0B 50 00027a3d2f97 mariadb 0.01% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.1MB / 63.4MB 26 e6823d205311 prometheus 0.00% 18.88MiB / 31.41GiB 0.06% 990B / 158B 0B / 0B 13 + echo + cd /tmp/tmp.sA7jAf1DtJ + 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.sA7jAf1DtJ/output.xml Log: /tmp/tmp.sA7jAf1DtJ/log.html Report: /tmp/tmp.sA7jAf1DtJ/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:11 up 4 min, 0 users, load average: 1.24, 1.01, 0.44 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 1.7 sy, 0.0 ni, 86.0 id, 2.8 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 grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 410031f5ce0e grafana 0.11% 97.39MiB / 31.41GiB 0.30% 19.4kB / 4.34kB 0B / 23.4MB 21 db404861d596 policy-api 0.12% 1001MiB / 31.41GiB 3.11% 7.32MB / 2.87MB 0B / 0B 52 00027a3d2f97 mariadb 0.01% 101.4MiB / 31.41GiB 0.32% 2.75MB / 7.35MB 11.1MB / 63.6MB 18 e6823d205311 prometheus 0.00% 25.31MiB / 31.41GiB 0.08% 37.5kB / 7.07kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2023-11-25T11:36:36.119906572Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-11-25T11:36:36.120181174Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-25T11:36:36.120188755Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-25T11:36:36.120192425Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-25T11:36:36.120195625Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-25T11:36:36.120198645Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-25T11:36:36.120201475Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-25T11:36:36.120204815Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-25T11:36:36.120208915Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-25T11:36:36.120214345Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-25T11:36:36.120217705Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-25T11:36:36.120223105Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-25T11:36:36.120226435Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-25T11:36:36.120233055Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-25T11:36:36.120284226Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-25T11:36:36.120296376Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-25T11:36:36.120299626Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-25T11:36:36.120302656Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-25T11:36:36.120305826Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-25T11:36:36.12069361Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-25T11:36:36.12071214Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-25T11:36:36.12162898Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-25T11:36:36.12258871Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-25T11:36:36.123438299Z level=info msg="Migration successfully executed" id="create migration_log table" duration=848.728µs grafana | logger=migrator t=2023-11-25T11:36:36.127681423Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-25T11:36:36.128623933Z level=info msg="Migration successfully executed" id="create user table" duration=941.65µs grafana | logger=migrator t=2023-11-25T11:36:36.133641385Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-25T11:36:36.134443454Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=801.699µs grafana | logger=migrator t=2023-11-25T11:36:36.137442755Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-25T11:36:36.138152932Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=709.927µs grafana | logger=migrator t=2023-11-25T11:36:36.141204595Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-25T11:36:36.141862692Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=658.157µs grafana | logger=migrator t=2023-11-25T11:36:36.146847464Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-25T11:36:36.147982886Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.135042ms grafana | logger=migrator t=2023-11-25T11:36:36.173926808Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-25T11:36:36.178314614Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.387056ms grafana | logger=migrator t=2023-11-25T11:36:36.18749573Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-25T11:36:36.188307338Z level=info msg="Migration successfully executed" id="create user table v2" duration=811.148µs grafana | logger=migrator t=2023-11-25T11:36:36.223308295Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-25T11:36:36.224634159Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.325324ms grafana | logger=migrator t=2023-11-25T11:36:36.229567271Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-25T11:36:36.230719173Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.151792ms grafana | logger=migrator t=2023-11-25T11:36:36.235256911Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:36.235722105Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=465.354µs grafana | logger=migrator t=2023-11-25T11:36:36.238886818Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-25T11:36:36.239499346Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=612.138µs grafana | logger=migrator t=2023-11-25T11:36:36.245141125Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-25T11:36:36.246899693Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.757537ms grafana | logger=migrator t=2023-11-25T11:36:36.250201367Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-25T11:36:36.250225597Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.18µs grafana | logger=migrator t=2023-11-25T11:36:36.254822466Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-25T11:36:36.256037039Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.214093ms grafana | logger=migrator t=2023-11-25T11:36:36.260531945Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-25T11:36:36.26190115Z level=info msg="Migration successfully executed" id="Add missing user data" duration=1.358735ms grafana | logger=migrator t=2023-11-25T11:36:36.26674154Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-25T11:36:36.268970974Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.228404ms grafana | logger=migrator t=2023-11-25T11:36:36.274041057Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-25T11:36:36.274859065Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=817.578µs grafana | logger=migrator t=2023-11-25T11:36:36.277890127Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-25T11:36:36.280407174Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.493226ms grafana | logger=migrator t=2023-11-25T11:36:36.28386566Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-25T11:36:36.292887145Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.022475ms grafana | logger=migrator t=2023-11-25T11:36:36.295660614Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-25T11:36:36.29626177Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=602.786µs grafana | logger=migrator t=2023-11-25T11:36:36.301104211Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-25T11:36:36.301868709Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=763.778µs grafana | logger=migrator t=2023-11-25T11:36:36.30486317Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-25T11:36:36.30584331Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=979.32µs grafana | logger=migrator t=2023-11-25T11:36:36.310748012Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-25T11:36:36.31151407Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=766.458µs grafana | logger=migrator t=2023-11-25T11:36:36.315403331Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-25T11:36:36.316181589Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=778.588µs grafana | logger=migrator t=2023-11-25T11:36:36.319044019Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-25T11:36:36.319071639Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=28.49µs grafana | logger=migrator t=2023-11-25T11:36:36.321908349Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-25T11:36:36.323135551Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.226142ms grafana | logger=migrator t=2023-11-25T11:36:36.328866162Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-25T11:36:36.330037414Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.174162ms grafana | logger=migrator t=2023-11-25T11:36:36.333389279Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-25T11:36:36.334265208Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=875.939µs grafana | logger=migrator t=2023-11-25T11:36:36.337663394Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-25T11:36:36.338475762Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=812.518µs grafana | logger=migrator t=2023-11-25T11:36:36.344572366Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-25T11:36:36.348211194Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.638178ms grafana | logger=migrator t=2023-11-25T11:36:36.352020065Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-25T11:36:36.352832323Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=811.798µs grafana | logger=migrator t=2023-11-25T11:36:36.355583592Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-25T11:36:36.356545052Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=961.1µs grafana | logger=migrator t=2023-11-25T11:36:36.363499045Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-25T11:36:36.364306783Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=807.538µs grafana | logger=migrator t=2023-11-25T11:36:36.367518857Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-25T11:36:36.368311326Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=789.689µs grafana | logger=migrator t=2023-11-25T11:36:36.371712841Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-25T11:36:36.372518059Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=804.808µs grafana | logger=migrator t=2023-11-25T11:36:36.377646533Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:36.378089088Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=441.635µs grafana | logger=migrator t=2023-11-25T11:36:36.38210133Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-25T11:36:36.382865328Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=762.228µs grafana | logger=migrator t=2023-11-25T11:36:36.387390185Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-25T11:36:36.388331625Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=940.4µs grafana | logger=migrator t=2023-11-25T11:36:36.392238046Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-25T11:36:36.393270647Z level=info msg="Migration successfully executed" id="create star table" duration=1.033791ms grafana | logger=migrator t=2023-11-25T11:36:36.398088607Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-11-25T11:36:36.398932027Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=843.2µs grafana | logger=migrator t=2023-11-25T11:36:36.402014979Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-11-25T11:36:36.403495614Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.471295ms grafana | logger=migrator t=2023-11-25T11:36:36.408938441Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-11-25T11:36:36.410586499Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.651698ms grafana | logger=migrator t=2023-11-25T11:36:36.417134367Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-11-25T11:36:36.417836854Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=701.237µs grafana | logger=migrator t=2023-11-25T11:36:36.422514454Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-11-25T11:36:36.423911208Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.396494ms grafana | logger=migrator t=2023-11-25T11:36:36.428238404Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-11-25T11:36:36.429488836Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.250142ms grafana | logger=migrator t=2023-11-25T11:36:36.437771743Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-11-25T11:36:36.438853315Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.078292ms grafana | logger=migrator t=2023-11-25T11:36:36.446233072Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-11-25T11:36:36.446305532Z level=info msg="Migration successfully executed" id="Update org table charset" duration=70.73µs grafana | logger=migrator t=2023-11-25T11:36:36.451482437Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-11-25T11:36:36.451509517Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=28.12µs grafana | logger=migrator t=2023-11-25T11:36:36.458729103Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-11-25T11:36:36.459129627Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=399.944µs grafana | logger=migrator t=2023-11-25T11:36:36.466179662Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-11-25T11:36:36.467707007Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.526526ms grafana | logger=migrator t=2023-11-25T11:36:36.475188396Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-11-25T11:36:36.476100495Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=909.119µs grafana | logger=migrator t=2023-11-25T11:36:36.480926216Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-11-25T11:36:36.4823534Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.424814ms grafana | logger=migrator t=2023-11-25T11:36:36.489056831Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-11-25T11:36:36.489857159Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=800.758µs grafana | logger=migrator t=2023-11-25T11:36:36.494066703Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-11-25T11:36:36.495141355Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.072132ms grafana | logger=migrator t=2023-11-25T11:36:36.499677592Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-11-25T11:36:36.500439921Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=761.569µs grafana | logger=migrator t=2023-11-25T11:36:36.511303185Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-11-25T11:36:36.520729743Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.426798ms grafana | logger=migrator t=2023-11-25T11:36:36.525699205Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-11-25T11:36:36.526486093Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=748.578µs grafana | logger=migrator t=2023-11-25T11:36:36.531777639Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-11-25T11:36:36.532352795Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=574.746µs grafana | logger=migrator t=2023-11-25T11:36:36.537724401Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-11-25T11:36:36.539039295Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.314994ms grafana | logger=migrator t=2023-11-25T11:36:36.543518772Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:36.544173048Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=648.426µs grafana | logger=migrator t=2023-11-25T11:36:36.548749797Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-11-25T11:36:36.549905518Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.156681ms grafana | logger=migrator t=2023-11-25T11:36:36.556465068Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-11-25T11:36:36.55667216Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=206.622µs grafana | logger=migrator t=2023-11-25T11:36:36.562691273Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-11-25T11:36:36.566100219Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.404735ms grafana | logger=migrator t=2023-11-25T11:36:36.571902889Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-11-25T11:36:36.573917481Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.014342ms grafana | logger=migrator t=2023-11-25T11:36:36.579321667Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.581169667Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.84797ms grafana | logger=migrator t=2023-11-25T11:36:36.587420102Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.588347251Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=928.719µs grafana | logger=migrator t=2023-11-25T11:36:36.594197023Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.596028312Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.830409ms grafana | logger=migrator t=2023-11-25T11:36:36.600195386Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.601238657Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.042902ms grafana | logger=migrator t=2023-11-25T11:36:36.607773595Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-11-25T11:36:36.608584794Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=811.188µs grafana | logger=migrator t=2023-11-25T11:36:36.64735763Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-11-25T11:36:36.647451671Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=100.751µs grafana | logger=migrator t=2023-11-25T11:36:36.653154001Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-11-25T11:36:36.653192711Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=44.76µs grafana | logger=migrator t=2023-11-25T11:36:36.656502486Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.659075393Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.572107ms grafana | logger=migrator t=2023-11-25T11:36:36.668379741Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.671742516Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.361865ms grafana | logger=migrator t=2023-11-25T11:36:36.678508137Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.680552738Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.036231ms grafana | logger=migrator t=2023-11-25T11:36:36.683908043Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.685956615Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.047962ms grafana | logger=migrator t=2023-11-25T11:36:36.693127201Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.693315843Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=188.452µs grafana | logger=migrator t=2023-11-25T11:36:36.703688481Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-11-25T11:36:36.70548854Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.805619ms grafana | logger=migrator t=2023-11-25T11:36:36.711146629Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-11-25T11:36:36.712019308Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=872.249µs grafana | logger=migrator t=2023-11-25T11:36:36.716660367Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-11-25T11:36:36.716795858Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=134.151µs grafana | logger=migrator t=2023-11-25T11:36:36.721254225Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-11-25T11:36:36.722201575Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=946.53µs grafana | logger=migrator t=2023-11-25T11:36:36.732081188Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-11-25T11:36:36.73318194Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.101082ms grafana | logger=migrator t=2023-11-25T11:36:36.740269404Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-25T11:36:36.749736134Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.46737ms grafana | logger=migrator t=2023-11-25T11:36:36.755626475Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-11-25T11:36:36.756335793Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=709.338µs grafana | logger=migrator t=2023-11-25T11:36:36.767272137Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-11-25T11:36:36.768672623Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.400216ms grafana | logger=migrator t=2023-11-25T11:36:36.772979947Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-11-25T11:36:36.775185401Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=2.203494ms grafana | logger=migrator t=2023-11-25T11:36:36.779254363Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:36.77990591Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=649.577µs grafana | logger=migrator t=2023-11-25T11:36:36.786253926Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-11-25T11:36:36.786926783Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=672.457µs grafana | logger=migrator t=2023-11-25T11:36:36.791697404Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-11-25T11:36:36.795149519Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.447446ms grafana | logger=migrator t=2023-11-25T11:36:36.801221863Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-11-25T11:36:36.802193843Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=971.93µs grafana | logger=migrator t=2023-11-25T11:36:36.80955871Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-11-25T11:36:36.810005905Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=446.575µs grafana | logger=migrator t=2023-11-25T11:36:36.818398703Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-11-25T11:36:36.818825187Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=425.314µs grafana | logger=migrator t=2023-11-25T11:36:36.82474442Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-11-25T11:36:36.826222715Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.478615ms grafana | logger=migrator t=2023-11-25T11:36:36.833004426Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-11-25T11:36:36.83524047Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.235214ms grafana | logger=migrator t=2023-11-25T11:36:36.842436356Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-11-25T11:36:36.843325025Z level=info msg="Migration successfully executed" id="create data_source table" duration=886.709µs grafana | logger=migrator t=2023-11-25T11:36:36.846658419Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-11-25T11:36:36.84759025Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=931.501µs grafana | logger=migrator t=2023-11-25T11:36:36.855512293Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-11-25T11:36:36.856497083Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=984.7µs grafana | logger=migrator t=2023-11-25T11:36:36.86479631Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-11-25T11:36:36.866223204Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.427284ms grafana | logger=migrator t=2023-11-25T11:36:36.872952355Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-11-25T11:36:36.874272029Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.315974ms grafana | logger=migrator t=2023-11-25T11:36:36.878745676Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-11-25T11:36:36.886855061Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.108685ms grafana | logger=migrator t=2023-11-25T11:36:36.895913406Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-11-25T11:36:36.897356801Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.442205ms grafana | logger=migrator t=2023-11-25T11:36:36.903458115Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-11-25T11:36:36.904377835Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=919.42µs grafana | logger=migrator t=2023-11-25T11:36:36.912769503Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-11-25T11:36:36.914183237Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.413744ms grafana | logger=migrator t=2023-11-25T11:36:36.925163102Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-11-25T11:36:36.926157453Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=994.401µs grafana | logger=migrator t=2023-11-25T11:36:36.933770672Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-11-25T11:36:36.937681044Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.909482ms grafana | logger=migrator t=2023-11-25T11:36:36.946980521Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-11-25T11:36:36.94975153Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.770539ms grafana | logger=migrator t=2023-11-25T11:36:36.959088398Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-11-25T11:36:36.959167369Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=78.311µs grafana | logger=migrator t=2023-11-25T11:36:36.966056721Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-11-25T11:36:36.966474886Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=418.224µs grafana | logger=migrator t=2023-11-25T11:36:36.974743522Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-11-25T11:36:36.978565862Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.82098ms grafana | logger=migrator t=2023-11-25T11:36:36.988347175Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-11-25T11:36:36.988633998Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=283.293µs grafana | logger=migrator t=2023-11-25T11:36:36.993784462Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-11-25T11:36:36.994172076Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=387.314µs grafana | logger=migrator t=2023-11-25T11:36:36.998493201Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-11-25T11:36:37.002334851Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.83761ms grafana | logger=migrator t=2023-11-25T11:36:37.012075683Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-11-25T11:36:37.012343936Z level=info msg="Migration successfully executed" id="Update uid value" duration=267.773µs grafana | logger=migrator t=2023-11-25T11:36:37.019016766Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-11-25T11:36:37.02047909Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.461274ms grafana | logger=migrator t=2023-11-25T11:36:37.07822899Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-11-25T11:36:37.078923457Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=694.877µs grafana | logger=migrator t=2023-11-25T11:36:37.084320413Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-11-25T11:36:37.08590073Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.581407ms grafana | logger=migrator t=2023-11-25T11:36:37.092128235Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-11-25T11:36:37.092998943Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=870.558µs grafana | logger=migrator t=2023-11-25T11:36:37.098251478Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-11-25T11:36:37.099136087Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=883.009µs grafana | logger=migrator t=2023-11-25T11:36:37.106228641Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-11-25T11:36:37.107738997Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.511096ms grafana | logger=migrator t=2023-11-25T11:36:37.113575897Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-11-25T11:36:37.114600078Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.023941ms grafana | logger=migrator t=2023-11-25T11:36:37.123529551Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-11-25T11:36:37.124937936Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.407706ms grafana | logger=migrator t=2023-11-25T11:36:37.134901388Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-11-25T11:36:37.136610367Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.708548ms grafana | logger=migrator t=2023-11-25T11:36:37.142495747Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-11-25T11:36:37.152303999Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.808672ms grafana | logger=migrator t=2023-11-25T11:36:37.159602725Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-11-25T11:36:37.160148341Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=545.306µs grafana | logger=migrator t=2023-11-25T11:36:37.167027293Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-11-25T11:36:37.168405076Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.373763ms grafana | logger=migrator t=2023-11-25T11:36:37.174805832Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-11-25T11:36:37.176573791Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.767629ms grafana | logger=migrator t=2023-11-25T11:36:37.182954277Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-11-25T11:36:37.184437323Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.482696ms grafana | logger=migrator t=2023-11-25T11:36:37.192511497Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:37.193195554Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=683.237µs grafana | logger=migrator t=2023-11-25T11:36:37.201239598Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-11-25T11:36:37.202164127Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=923.609µs grafana | logger=migrator t=2023-11-25T11:36:37.207664314Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-11-25T11:36:37.207821906Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=157.791µs grafana | logger=migrator t=2023-11-25T11:36:37.251370068Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-11-25T11:36:37.254276569Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.908491ms grafana | logger=migrator t=2023-11-25T11:36:37.262551834Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-25T11:36:37.26601404Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.460536ms grafana | logger=migrator t=2023-11-25T11:36:37.26990908Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-11-25T11:36:37.270336025Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=428.955µs grafana | logger=migrator t=2023-11-25T11:36:37.275107934Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-11-25T11:36:37.277776652Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.667708ms grafana | logger=migrator t=2023-11-25T11:36:37.281143917Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-11-25T11:36:37.283824304Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.679767ms grafana | logger=migrator t=2023-11-25T11:36:37.287648595Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-11-25T11:36:37.288463473Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=814.178µs grafana | logger=migrator t=2023-11-25T11:36:37.292494836Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-11-25T11:36:37.293205793Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=705.987µs grafana | logger=migrator t=2023-11-25T11:36:37.296947341Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-11-25T11:36:37.298253455Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.305634ms grafana | logger=migrator t=2023-11-25T11:36:37.301937813Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-11-25T11:36:37.302828372Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=890.589µs grafana | logger=migrator t=2023-11-25T11:36:37.307114177Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-11-25T11:36:37.308038676Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=926.199µs grafana | logger=migrator t=2023-11-25T11:36:37.31126442Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-11-25T11:36:37.31221799Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=953.33µs grafana | logger=migrator t=2023-11-25T11:36:37.315612665Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-11-25T11:36:37.315770087Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=156.942µs grafana | logger=migrator t=2023-11-25T11:36:37.320995781Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-11-25T11:36:37.321174113Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=115.491µs grafana | logger=migrator t=2023-11-25T11:36:37.325230485Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-11-25T11:36:37.32955963Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.329795ms grafana | logger=migrator t=2023-11-25T11:36:37.357311029Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-11-25T11:36:37.35937816Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.066951ms grafana | logger=migrator t=2023-11-25T11:36:37.363653164Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-11-25T11:36:37.363780126Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=126.532µs grafana | logger=migrator t=2023-11-25T11:36:37.399795479Z level=info msg="Executing migration" id="create quota table v1" mariadb | 2023-11-25 11:36:31+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-25 11:36:31+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-25 11:36:31+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-25 11:36:32+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-25 11:36:32 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-25 11:36:32 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-25 11:36:32 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-11-25 11:36:33+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-25 11:36:33+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-25 11:36:33+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-25 11:36:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-25 11:36:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-25 11:36:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-25 11:36:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2023-11-25T11:36:37.401085682Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.289773ms grafana | logger=migrator t=2023-11-25T11:36:37.407055934Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-11-25T11:36:37.408694202Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.636918ms grafana | logger=migrator t=2023-11-25T11:36:37.413513952Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-11-25T11:36:37.413696814Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=182.132µs grafana | logger=migrator t=2023-11-25T11:36:37.42007966Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-11-25T11:36:37.421483425Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.403085ms grafana | logger=migrator t=2023-11-25T11:36:37.429290745Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-11-25T11:36:37.430269726Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=978.801µs grafana | logger=migrator t=2023-11-25T11:36:37.43454818Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-11-25T11:36:37.438948576Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.399116ms grafana | logger=migrator t=2023-11-25T11:36:37.544690576Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-11-25T11:36:37.544901648Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=211.382µs grafana | logger=migrator t=2023-11-25T11:36:37.582640979Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-11-25T11:36:37.58372252Z level=info msg="Migration successfully executed" id="create session table" duration=1.081031ms grafana | logger=migrator t=2023-11-25T11:36:37.600048719Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-11-25T11:36:37.600402393Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=351.864µs grafana | logger=migrator t=2023-11-25T11:36:37.61363408Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-11-25T11:36:37.613992434Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=356.044µs grafana | logger=migrator t=2023-11-25T11:36:37.622107038Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-11-25T11:36:37.623875407Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.765769ms grafana | logger=migrator t=2023-11-25T11:36:37.630903609Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-11-25T11:36:37.631735538Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=833.419µs grafana | logger=migrator t=2023-11-25T11:36:37.639589389Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-11-25T11:36:37.639886333Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=295.234µs grafana | logger=migrator t=2023-11-25T11:36:37.649784165Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-11-25T11:36:37.649950237Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=164.562µs grafana | logger=migrator t=2023-11-25T11:36:37.684145422Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-11-25T11:36:37.689893771Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.746989ms grafana | logger=migrator t=2023-11-25T11:36:37.694194946Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-11-25T11:36:37.698335419Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.136753ms grafana | logger=migrator t=2023-11-25T11:36:37.702445612Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-11-25T11:36:37.702579484Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=133.382µs grafana | logger=migrator t=2023-11-25T11:36:37.707495035Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-11-25T11:36:37.707672757Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=177.702µs grafana | logger=migrator t=2023-11-25T11:36:37.711417065Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-11-25T11:36:37.712307784Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=889.899µs grafana | logger=migrator t=2023-11-25T11:36:37.71673226Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-11-25T11:36:37.716811751Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=79.541µs grafana | logger=migrator t=2023-11-25T11:36:37.720385348Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-11-25T11:36:37.723904565Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.518817ms grafana | logger=migrator t=2023-11-25T11:36:37.728762425Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-11-25T11:36:37.729042088Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=279.533µs grafana | logger=migrator t=2023-11-25T11:36:37.733140311Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-11-25T11:36:37.736733318Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.588767ms grafana | logger=migrator t=2023-11-25T11:36:37.73983665Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-11-25T11:36:37.743273636Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.435896ms grafana | logger=migrator t=2023-11-25T11:36:37.747163977Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-11-25T11:36:37.747362729Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=198.392µs grafana | logger=migrator t=2023-11-25T11:36:37.75037773Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-11-25T11:36:37.75139248Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.01423ms grafana | logger=migrator t=2023-11-25T11:36:37.754489322Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-11-25T11:36:37.755393982Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=904.45µs mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-25 11:36:33 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-25 11:36:33 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-25 11:36:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-25 11:36:33 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-25 11:36:33 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-25 11:36: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 | 2023-11-25 11:36:34+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-25 11:36:36+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-25 11:36:36+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-25 11:36:36+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 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 | 2023-11-25 11:36:36+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 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 | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2023-11-25T11:36:37.759194351Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-11-25T11:36:37.760338974Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.143612ms grafana | logger=migrator t=2023-11-25T11:36:37.764053612Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-11-25T11:36:37.765063472Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.00929ms grafana | logger=migrator t=2023-11-25T11:36:37.768904432Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-11-25T11:36:37.769814642Z level=info msg="Migration successfully executed" id="add index alert state" duration=907.93µs grafana | logger=migrator t=2023-11-25T11:36:37.774283818Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-11-25T11:36:37.775300989Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.016491ms grafana | logger=migrator t=2023-11-25T11:36:37.779740784Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-11-25T11:36:37.780473533Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=732.929µs grafana | logger=migrator t=2023-11-25T11:36:37.823230306Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-11-25T11:36:37.825097896Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.86989ms grafana | logger=migrator t=2023-11-25T11:36:37.829990056Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-11-25T11:36:37.831439411Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.450155ms grafana | logger=migrator t=2023-11-25T11:36:37.83707597Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-11-25T11:36:37.852832174Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.757964ms grafana | logger=migrator t=2023-11-25T11:36:37.88804744Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-11-25T11:36:37.88913973Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.092251ms grafana | logger=migrator t=2023-11-25T11:36:37.894071222Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-11-25T11:36:37.895031282Z 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=960.82µs grafana | logger=migrator t=2023-11-25T11:36:37.898584409Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:37.898941673Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=356.454µs grafana | logger=migrator t=2023-11-25T11:36:37.902083215Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-11-25T11:36:37.902656211Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=575.616µs grafana | logger=migrator t=2023-11-25T11:36:37.908598472Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-11-25T11:36:37.909346981Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=751.099µs grafana | logger=migrator t=2023-11-25T11:36:37.912656065Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-25T11:36:37.916260622Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.604137ms grafana | logger=migrator t=2023-11-25T11:36:37.919828519Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-11-25T11:36:37.926197926Z level=info msg="Migration successfully executed" id="Add column frequency" duration=6.367026ms grafana | logger=migrator t=2023-11-25T11:36:37.931190578Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-11-25T11:36:37.93531544Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=4.124902ms grafana | logger=migrator t=2023-11-25T11:36:37.938368812Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-11-25T11:36:37.941983989Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.613757ms grafana | logger=migrator t=2023-11-25T11:36:37.945482546Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-11-25T11:36:37.946455516Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=971.93µs grafana | logger=migrator t=2023-11-25T11:36:37.95162755Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-11-25T11:36:37.95169854Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=71.31µs grafana | logger=migrator t=2023-11-25T11:36:37.95558624Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-11-25T11:36:37.955732592Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=145.782µs grafana | logger=migrator t=2023-11-25T11:36:37.959795604Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-11-25T11:36:37.960670293Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=875.569µs grafana | logger=migrator t=2023-11-25T11:36:37.964801357Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-25T11:36:37.965736156Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=934.009µs grafana | logger=migrator t=2023-11-25T11:36:37.969318023Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-11-25T11:36:37.970217012Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=898.469µs grafana | logger=migrator t=2023-11-25T11:36:37.974673479Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-11-25T11:36:37.975451167Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=777.558µs grafana | logger=migrator t=2023-11-25T11:36:37.981601151Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-11-25T11:36:37.982587551Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=986.111µs grafana | logger=migrator t=2023-11-25T11:36:37.988187619Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-11-25T11:36:37.994827138Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.639519ms mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2023-11-25 11:36:37+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2023-11-25 11:36:37 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Starting shutdown... mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Buffer pool(s) dump completed at 231125 11:36:37 mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Shutdown completed; log sequence number 323644; transaction id 298 mariadb | 2023-11-25 11:36:37 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2023-11-25 11:36:37+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2023-11-25 11:36:37+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2023-11-25 11:36:37 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-25 11:36:37 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-11-25 11:36:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-25 11:36:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: log sequence number 323644; transaction id 299 mariadb | 2023-11-25 11:36:37 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2023-11-25 11:36:37 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-25 11:36:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-25 11:36:37 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2023-11-25 11:36:37 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2023-11-25 11:36:37 0 [Note] Server socket created on IP: '::'. mariadb | 2023-11-25 11:36: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 | 2023-11-25 11:36:37 0 [Note] InnoDB: Buffer pool(s) load completed at 231125 11:36:37 mariadb | 2023-11-25 11:36:38 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2023-11-25 11:36:38 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-25T11:36:37.998243993Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-11-25T11:36:38.003965953Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.72042ms grafana | logger=migrator t=2023-11-25T11:36:38.008506612Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-11-25T11:36:38.008797365Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=290.293µs grafana | logger=migrator t=2023-11-25T11:36:38.011978899Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-11-25T11:36:38.013043871Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.064322ms grafana | logger=migrator t=2023-11-25T11:36:38.01765409Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-11-25T11:36:38.018556741Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=902.551µs grafana | logger=migrator t=2023-11-25T11:36:38.022465902Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-11-25T11:36:38.026140311Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.674229ms grafana | logger=migrator t=2023-11-25T11:36:38.029177714Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-11-25T11:36:38.029318346Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=140.082µs grafana | logger=migrator t=2023-11-25T11:36:38.031947194Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-11-25T11:36:38.032828304Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=881.171µs grafana | logger=migrator t=2023-11-25T11:36:38.036926107Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-11-25T11:36:38.038439184Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.512407ms grafana | logger=migrator t=2023-11-25T11:36:38.041950341Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-11-25T11:36:38.042200554Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=248.623µs grafana | logger=migrator t=2023-11-25T11:36:38.04558596Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-11-25T11:36:38.046400109Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=814.339µs grafana | logger=migrator t=2023-11-25T11:36:38.050732565Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-11-25T11:36:38.051673756Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=941.061µs grafana | logger=migrator t=2023-11-25T11:36:38.0548219Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-11-25T11:36:38.05576417Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=941.86µs grafana | logger=migrator t=2023-11-25T11:36:38.058693561Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-11-25T11:36:38.059639331Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=945.27µs grafana | logger=migrator t=2023-11-25T11:36:38.062582702Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-11-25T11:36:38.063661274Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.077992ms grafana | logger=migrator t=2023-11-25T11:36:38.068284303Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-11-25T11:36:38.069271015Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=985.912µs grafana | logger=migrator t=2023-11-25T11:36:38.072414718Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-11-25T11:36:38.072502619Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=87.531µs grafana | logger=migrator t=2023-11-25T11:36:38.07638747Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.080432344Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.043484ms grafana | logger=migrator t=2023-11-25T11:36:38.083218844Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-11-25T11:36:38.084099603Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=880.589µs grafana | logger=migrator t=2023-11-25T11:36:38.087185146Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.091001898Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.815632ms grafana | logger=migrator t=2023-11-25T11:36:38.094824519Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-11-25T11:36:38.095509196Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=683.597µs grafana | logger=migrator t=2023-11-25T11:36:38.09873723Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-11-25T11:36:38.099678281Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=940.031µs grafana | logger=migrator t=2023-11-25T11:36:38.102673153Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-11-25T11:36:38.103572522Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=900.729µs grafana | logger=migrator t=2023-11-25T11:36:38.107570535Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-11-25T11:36:38.123527117Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.955832ms grafana | logger=migrator t=2023-11-25T11:36:38.126850502Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-11-25T11:36:38.127352578Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=501.476µs grafana | logger=migrator t=2023-11-25T11:36:38.130248569Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-11-25T11:36:38.130900966Z 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=652.337µs grafana | logger=migrator t=2023-11-25T11:36:38.134855088Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-11-25T11:36:38.135408004Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=552.146µs grafana | logger=migrator t=2023-11-25T11:36:38.13866051Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-11-25T11:36:38.139587159Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=927.569µs grafana | logger=migrator t=2023-11-25T11:36:38.143135287Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-11-25T11:36:38.1433753Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=239.733µs grafana | logger=migrator t=2023-11-25T11:36:38.147475934Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.151491397Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.014813ms grafana | logger=migrator t=2023-11-25T11:36:38.15460704Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.158585444Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.977794ms grafana | logger=migrator t=2023-11-25T11:36:38.161775248Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.162671257Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=895.529µs grafana | logger=migrator t=2023-11-25T11:36:38.166505969Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.167423559Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=915.649µs grafana | logger=migrator t=2023-11-25T11:36:38.170552662Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-11-25T11:36:38.170832835Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=279.553µs grafana | logger=migrator t=2023-11-25T11:36:38.17413346Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-11-25T11:36:38.178165754Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.031094ms grafana | logger=migrator t=2023-11-25T11:36:38.181320178Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-11-25T11:36:38.182235417Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=915.069µs grafana | logger=migrator t=2023-11-25T11:36:38.18616639Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-11-25T11:36:38.186399332Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=232.622µs grafana | logger=migrator t=2023-11-25T11:36:38.189366134Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-11-25T11:36:38.189779868Z level=info msg="Migration successfully executed" id="Move region to single row" duration=415.414µs grafana | logger=migrator t=2023-11-25T11:36:38.192833521Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.19369224Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=854.279µs grafana | logger=migrator t=2023-11-25T11:36:38.197532222Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.198394591Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=863.269µs grafana | logger=migrator t=2023-11-25T11:36:38.201490984Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.202420344Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=928.69µs grafana | logger=migrator t=2023-11-25T11:36:38.205409516Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.206334727Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=923.351µs grafana | logger=migrator t=2023-11-25T11:36:38.210254668Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.211123327Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=868.089µs grafana | logger=migrator t=2023-11-25T11:36:38.214313892Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-25T11:36:38.215225022Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=910.47µs grafana | logger=migrator t=2023-11-25T11:36:38.219546778Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-11-25T11:36:38.219688259Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=156.462µs grafana | logger=migrator t=2023-11-25T11:36:38.226113009Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-11-25T11:36:38.227393362Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.280733ms grafana | logger=migrator t=2023-11-25T11:36:38.23276669Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-11-25T11:36:38.234092525Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.324415ms grafana | logger=migrator t=2023-11-25T11:36:38.240027758Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-11-25T11:36:38.240952298Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=924.4µs grafana | logger=migrator t=2023-11-25T11:36:38.245872361Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-11-25T11:36:38.247301286Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.427445ms grafana | logger=migrator t=2023-11-25T11:36:38.25050281Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-11-25T11:36:38.250974956Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=471.036µs grafana | logger=migrator t=2023-11-25T11:36:38.254213541Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-11-25T11:36:38.254649225Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=434.914µs grafana | logger=migrator t=2023-11-25T11:36:38.258260304Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2023-11-25T11:36:45.939+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 32 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-25T11:36:45.942+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-25T11:36:47.259+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-25T11:36:47.349+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-25T11:36:48.361+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-25T11:36:48.372+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-25T11:36:48.372+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-25T11:36:48.373+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2023-11-25T11:36:48.448+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-25T11:36:48.448+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2440 ms policy-api | [2023-11-25T11:36:48.927+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-25T11:36:49.043+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2023-11-25T11:36:49.256+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2023-11-25T11:36:49.399+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-25T11:36:49.529+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-25T11:36:49.552+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2023-11-25T11:36:51.054+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2023-11-25T11:36:51.072+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-25T11:36:52.207+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-25T11:36:52.884+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-25T11:36:53.765+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4734a551, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@780ccdc9, org.springframework.security.web.context.SecurityContextPersistenceFilter@2b5854a7, org.springframework.security.web.header.HeaderWriterFilter@8dba70a, org.springframework.security.web.authentication.logout.LogoutFilter@37dcda42, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@623dac3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5621119d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3c79071e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2d4df467, org.springframework.security.web.session.SessionManagementFilter@2acacdf, org.springframework.security.web.access.ExceptionTranslationFilter@1377e395, org.springframework.security.web.access.intercept.AuthorizationFilter@57404a8d] policy-api | [2023-11-25T11:36:53.879+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-25T11:36:56.817+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-25T11:36:56.843+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-25T11:36:56.868+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-25T11:36:56.886+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.683 seconds (JVM running for 12.289) policy-api | [2023-11-25T11:37:04.358+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-25T11:37:04.359+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-25T11:37:04.360+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2023-11-25T11:37:06.552+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-25T11:37:06.669+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-11-25T11:37:06.903+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-25T11:37:07.962+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-25T11:37:09.779+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-25T11:37:10.165+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-25T11:37:10.388+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-25T11:37:10.629+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-25T11:37:10.865+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-25T11:37:11.082+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 prometheus | ts=2023-11-25T11:36:34.815Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2023-11-25T11:36:34.815Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.0, branch=HEAD, revision=6d80b30990bc297d95b5c844e118c4011fad8054)" prometheus | ts=2023-11-25T11:36:34.815Z caller=main.go:588 level=info build_context="(go=go1.21.4, platform=linux/amd64, user=root@26117804242c, date=20231116-04:35:21, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2023-11-25T11:36:34.815Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2023-11-25T11:36:34.815Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2023-11-25T11:36:34.815Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2023-11-25T11:36:34.821Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2023-11-25T11:36:34.822Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2023-11-25T11:36:34.824Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2023-11-25T11:36:34.824Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2023-11-25T11:36:34.828Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2023-11-25T11:36:34.828Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.91µs prometheus | ts=2023-11-25T11:36:34.828Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2023-11-25T11:36:34.829Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2023-11-25T11:36:34.829Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=29.57µs wal_replay_duration=822.498µs wbl_replay_duration=340ns total_replay_duration=876.819µs prometheus | ts=2023-11-25T11:36:34.833Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2023-11-25T11:36:34.833Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2023-11-25T11:36:34.833Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2023-11-25T11:36:34.836Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.428556ms db_storage=3.13µs remote_storage=3.31µs web_handler=1.5µs query_engine=1.84µs scrape=458.685µs scrape_sd=695.638µs notify=41.491µs notify_sd=17.67µs rules=2.62µs tracing=10.57µs prometheus | ts=2023-11-25T11:36:34.836Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2023-11-25T11:36:34.836Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-25T11:36:38.258409595Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=148.321µs grafana | logger=migrator t=2023-11-25T11:36:38.261543789Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-11-25T11:36:38.262268447Z level=info msg="Migration successfully executed" id="create team table" duration=724.098µs grafana | logger=migrator t=2023-11-25T11:36:38.265290729Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-11-25T11:36:38.26628212Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=991.041µs grafana | logger=migrator t=2023-11-25T11:36:38.375041668Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-11-25T11:36:38.375762806Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=720.428µs grafana | logger=migrator t=2023-11-25T11:36:38.53058171Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-11-25T11:36:38.537991089Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.41644ms grafana | logger=migrator t=2023-11-25T11:36:38.567624058Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-11-25T11:36:38.567999152Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=374.204µs grafana | logger=migrator t=2023-11-25T11:36:38.576749675Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-11-25T11:36:38.578218671Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.469616ms grafana | logger=migrator t=2023-11-25T11:36:38.583379356Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-11-25T11:36:38.584184455Z level=info msg="Migration successfully executed" id="create team member table" duration=805.249µs grafana | logger=migrator t=2023-11-25T11:36:38.587906645Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-11-25T11:36:38.588859115Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=952.24µs grafana | logger=migrator t=2023-11-25T11:36:38.592066479Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-11-25T11:36:38.59302119Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=954.931µs grafana | logger=migrator t=2023-11-25T11:36:38.597045993Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-11-25T11:36:38.597956323Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=910.2µs grafana | logger=migrator t=2023-11-25T11:36:38.601145837Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-11-25T11:36:38.605665695Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.519148ms grafana | logger=migrator t=2023-11-25T11:36:38.609094412Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-11-25T11:36:38.61354626Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.454278ms grafana | logger=migrator t=2023-11-25T11:36:38.642037045Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-11-25T11:36:38.649548036Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=7.509751ms grafana | logger=migrator t=2023-11-25T11:36:38.659712306Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-11-25T11:36:38.66108487Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.372034ms grafana | logger=migrator t=2023-11-25T11:36:38.666016983Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-11-25T11:36:38.6676534Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.637277ms grafana | logger=migrator t=2023-11-25T11:36:38.675247582Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-11-25T11:36:38.676477656Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.229794ms grafana | logger=migrator t=2023-11-25T11:36:38.680480119Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-11-25T11:36:38.681659441Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.174812ms grafana | logger=migrator t=2023-11-25T11:36:38.686272131Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-11-25T11:36:38.687330832Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.058051ms grafana | logger=migrator t=2023-11-25T11:36:38.691842791Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-11-25T11:36:38.693020743Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.175513ms grafana | logger=migrator t=2023-11-25T11:36:38.696575032Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-11-25T11:36:38.697699553Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.124901ms grafana | logger=migrator t=2023-11-25T11:36:38.700934218Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-11-25T11:36:38.70202018Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.086922ms grafana | logger=migrator t=2023-11-25T11:36:38.707093784Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-11-25T11:36:38.708087135Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=993.851µs grafana | logger=migrator t=2023-11-25T11:36:38.715464634Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-11-25T11:36:38.715869399Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=404.695µs grafana | logger=migrator t=2023-11-25T11:36:38.752385571Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-11-25T11:36:38.753853456Z level=info msg="Migration successfully executed" id="create tag table" duration=1.471885ms grafana | logger=migrator t=2023-11-25T11:36:38.7616476Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-11-25T11:36:38.763133896Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.481826ms grafana | logger=migrator t=2023-11-25T11:36:38.767382012Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-11-25T11:36:38.768595594Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.216102ms grafana | logger=migrator t=2023-11-25T11:36:38.772071643Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-11-25T11:36:38.773054083Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=982.531µs grafana | logger=migrator t=2023-11-25T11:36:38.776353888Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-11-25T11:36:38.777289699Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=935.861µs grafana | logger=migrator t=2023-11-25T11:36:38.782645075Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-25T11:36:38.801295606Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.639811ms grafana | logger=migrator t=2023-11-25T11:36:38.806882586Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-11-25T11:36:38.807525893Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=642.507µs grafana | logger=migrator t=2023-11-25T11:36:38.810588725Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-11-25T11:36:38.811504136Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=915.441µs grafana | logger=migrator t=2023-11-25T11:36:38.814487878Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:38.814757331Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=269.523µs grafana | logger=migrator t=2023-11-25T11:36:38.819652093Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-11-25T11:36:38.820234429Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=582.026µs grafana | logger=migrator t=2023-11-25T11:36:38.824484745Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-11-25T11:36:38.825587537Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.103592ms grafana | logger=migrator t=2023-11-25T11:36:38.828787701Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-11-25T11:36:38.830296487Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.508116ms grafana | logger=migrator t=2023-11-25T11:36:38.835692165Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-11-25T11:36:38.835778896Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=86.841µs grafana | logger=migrator t=2023-11-25T11:36:38.838655937Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-11-25T11:36:38.84352605Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=4.869793ms grafana | logger=migrator t=2023-11-25T11:36:38.846776654Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-11-25T11:36:38.855339446Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.566532ms grafana | logger=migrator t=2023-11-25T11:36:38.860628393Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-11-25T11:36:38.864209402Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.580719ms grafana | logger=migrator t=2023-11-25T11:36:38.867142813Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-25T11:36:38.871972545Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.829262ms grafana | logger=migrator t=2023-11-25T11:36:38.874920947Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-11-25T11:36:38.875903898Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=981.871µs grafana | logger=migrator t=2023-11-25T11:36:38.888576183Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-11-25T11:36:38.895833902Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.261998ms grafana | logger=migrator t=2023-11-25T11:36:38.900493162Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-11-25T11:36:38.901091008Z level=info msg="Migration successfully executed" id="create server_lock table" duration=597.946µs grafana | logger=migrator t=2023-11-25T11:36:38.903927338Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-11-25T11:36:38.904680796Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=752.788µs grafana | logger=migrator t=2023-11-25T11:36:38.909783331Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-11-25T11:36:38.911308887Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.525676ms grafana | logger=migrator t=2023-11-25T11:36:38.914636804Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-11-25T11:36:38.915693395Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.056271ms grafana | logger=migrator t=2023-11-25T11:36:38.920160473Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-11-25T11:36:38.921229644Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.070241ms grafana | logger=migrator t=2023-11-25T11:36:38.924429479Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-11-25T11:36:38.926129087Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.699558ms grafana | logger=migrator t=2023-11-25T11:36:38.931785528Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-11-25T11:36:38.942763346Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=10.964038ms grafana | logger=migrator t=2023-11-25T11:36:38.94597263Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-11-25T11:36:38.94697166Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=998.87µs grafana | logger=migrator t=2023-11-25T11:36:38.951905284Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-11-25T11:36:38.952786643Z level=info msg="Migration successfully executed" id="create cache_data table" duration=882.05µs grafana | logger=migrator t=2023-11-25T11:36:38.956442542Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-11-25T11:36:38.957287242Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=844.63µs 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 | grafana | logger=migrator t=2023-11-25T11:36:38.960249074Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-11-25T11:36:38.961006541Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=757.248µs grafana | logger=migrator t=2023-11-25T11:36:38.967832795Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-11-25T11:36:38.968719394Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=886.929µs grafana | logger=migrator t=2023-11-25T11:36:38.973567587Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-11-25T11:36:38.973736928Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=170.101µs grafana | logger=migrator t=2023-11-25T11:36:38.977118104Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-11-25T11:36:38.977256316Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=140.562µs grafana | logger=migrator t=2023-11-25T11:36:38.9794622Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-11-25T11:36:38.980523301Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.061041ms grafana | logger=migrator t=2023-11-25T11:36:38.987240722Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-25T11:36:38.989008952Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.76816ms grafana | logger=migrator t=2023-11-25T11:36:38.992326597Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-25T11:36:38.99439829Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=2.074643ms grafana | logger=migrator t=2023-11-25T11:36:38.997626235Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-25T11:36:38.997716536Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=91.611µs grafana | logger=migrator t=2023-11-25T11:36:39.004416958Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-25T11:36:39.006356988Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.94598ms grafana | logger=migrator t=2023-11-25T11:36:39.012311662Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-25T11:36:39.014068151Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.760709ms grafana | logger=migrator t=2023-11-25T11:36:39.017285726Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-11-25T11:36:39.01861882Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.333485ms grafana | logger=migrator t=2023-11-25T11:36:39.023499612Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-11-25T11:36:39.024818587Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.317935ms grafana | logger=migrator t=2023-11-25T11:36:39.03072031Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-11-25T11:36:39.039316022Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.601962ms grafana | logger=migrator t=2023-11-25T11:36:39.044314666Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-11-25T11:36:39.045188635Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=873.709µs grafana | logger=migrator t=2023-11-25T11:36:39.051349721Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-11-25T11:36:39.051484882Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=136.231µs grafana | logger=migrator t=2023-11-25T11:36:39.05491118Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-11-25T11:36:39.056227083Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.315673ms grafana | logger=migrator t=2023-11-25T11:36:39.061621362Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-11-25T11:36:39.062548121Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=926.449µs grafana | logger=migrator t=2023-11-25T11:36:39.065379442Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-11-25T11:36:39.066353673Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=973.571µs grafana | logger=migrator t=2023-11-25T11:36:39.069245424Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-25T11:36:39.069305525Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=60.13µs grafana | logger=migrator t=2023-11-25T11:36:39.071428348Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-11-25T11:36:39.072346377Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=916.97µs grafana | logger=migrator t=2023-11-25T11:36:39.076922075Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-11-25T11:36:39.079077229Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=2.152454ms grafana | logger=migrator t=2023-11-25T11:36:39.083319185Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-11-25T11:36:39.084845791Z 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.526346ms grafana | logger=migrator t=2023-11-25T11:36:39.087796722Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-11-25T11:36:39.088701433Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=904.021µs grafana | logger=migrator t=2023-11-25T11:36:39.091478742Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-11-25T11:36:39.097076733Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.59726ms grafana | logger=migrator t=2023-11-25T11:36:39.099718621Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-25T11:36:39.1005712Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=854.739µs grafana | logger=migrator t=2023-11-25T11:36:39.103269019Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-25T11:36:39.104134608Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=865.229µs grafana | logger=migrator t=2023-11-25T11:36:39.107206231Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-11-25T11:36:39.144230029Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.023088ms grafana | logger=migrator t=2023-11-25T11:36:39.165635368Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-11-25T11:36:39.197196456Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=31.560908ms grafana | logger=migrator t=2023-11-25T11:36:39.204064931Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-11-25T11:36:39.204834489Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=769.278µs grafana | logger=migrator t=2023-11-25T11:36:39.210271297Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-11-25T11:36:39.211943725Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.672158ms grafana | logger=migrator t=2023-11-25T11:36:39.215493613Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-11-25T11:36:39.221508427Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.015294ms grafana | logger=migrator t=2023-11-25T11:36:39.22545127Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-11-25T11:36:39.226321139Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=874.629µs grafana | logger=migrator t=2023-11-25T11:36:39.230826517Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-11-25T11:36:39.231906919Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.079632ms grafana | logger=migrator t=2023-11-25T11:36:39.237056005Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-11-25T11:36:39.238128726Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.072161ms grafana | logger=migrator t=2023-11-25T11:36:39.243411463Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-11-25T11:36:39.245245843Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.83341ms grafana | logger=migrator t=2023-11-25T11:36:39.248951813Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-25T11:36:39.249114134Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=161.691µs grafana | logger=migrator t=2023-11-25T11:36:39.252270188Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-11-25T11:36:39.258202232Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.931733ms grafana | logger=migrator t=2023-11-25T11:36:39.260975141Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-11-25T11:36:39.266841084Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.865973ms grafana | logger=migrator t=2023-11-25T11:36:39.269632334Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-11-25T11:36:39.275664629Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.031135ms grafana | logger=migrator t=2023-11-25T11:36:39.283288221Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-11-25T11:36:39.284300392Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.011321ms grafana | logger=migrator t=2023-11-25T11:36:39.287254954Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-11-25T11:36:39.288951161Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.694857ms grafana | logger=migrator t=2023-11-25T11:36:39.292214416Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-11-25T11:36:39.298796938Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.584262ms grafana | logger=migrator t=2023-11-25T11:36:39.301760069Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-11-25T11:36:39.307621562Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.861053ms grafana | logger=migrator t=2023-11-25T11:36:39.311041119Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-11-25T11:36:39.31213568Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.093022ms grafana | logger=migrator t=2023-11-25T11:36:39.3205739Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-11-25T11:36:39.3306896Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.11999ms grafana | logger=migrator t=2023-11-25T11:36:39.333558971Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-11-25T11:36:39.337850867Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.291936ms grafana | logger=migrator t=2023-11-25T11:36:39.340539716Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-11-25T11:36:39.340661617Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=121.101µs grafana | logger=migrator t=2023-11-25T11:36:39.3446976Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-25T11:36:39.34568534Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=987.31µs grafana | logger=migrator t=2023-11-25T11:36:39.348669103Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2023-11-25T11:36:39.349760095Z 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.090582ms grafana | logger=migrator t=2023-11-25T11:36:39.360019585Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-11-25T11:36:39.362177827Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=2.161962ms grafana | logger=migrator t=2023-11-25T11:36:39.366341313Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-11-25T11:36:39.366440054Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=99.492µs grafana | logger=migrator t=2023-11-25T11:36:39.369778989Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-11-25T11:36:39.376148087Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.368858ms grafana | logger=migrator t=2023-11-25T11:36:39.380808918Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-11-25T11:36:39.386801162Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=5.992114ms grafana | logger=migrator t=2023-11-25T11:36:39.391915807Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-11-25T11:36:39.398064483Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.148065ms grafana | logger=migrator t=2023-11-25T11:36:39.400555689Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-11-25T11:36:39.406569924Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.013795ms grafana | logger=migrator t=2023-11-25T11:36:39.409640107Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-11-25T11:36:39.415679791Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.041164ms grafana | logger=migrator t=2023-11-25T11:36:39.418870437Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-11-25T11:36:39.418954948Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=84.471µs grafana | logger=migrator t=2023-11-25T11:36:39.42194636Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-11-25T11:36:39.422643897Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=697.627µs grafana | logger=migrator t=2023-11-25T11:36:39.425262155Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-11-25T11:36:39.431912106Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.649511ms grafana | logger=migrator t=2023-11-25T11:36:39.439073653Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-11-25T11:36:39.439163954Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=90.471µs grafana | logger=migrator t=2023-11-25T11:36:39.441946834Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-25T11:36:39.448006899Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.062115ms grafana | logger=migrator t=2023-11-25T11:36:39.451046221Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-11-25T11:36:39.452101522Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.054531ms grafana | logger=migrator t=2023-11-25T11:36:39.455037794Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-11-25T11:36:39.461208281Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.170207ms grafana | logger=migrator t=2023-11-25T11:36:39.464390245Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-11-25T11:36:39.465121072Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=730.327µs grafana | logger=migrator t=2023-11-25T11:36:39.468742461Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-11-25T11:36:39.469748742Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.005761ms grafana | logger=migrator t=2023-11-25T11:36:39.475907968Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-11-25T11:36:39.483123366Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.214758ms grafana | logger=migrator t=2023-11-25T11:36:39.487351271Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-11-25T11:36:39.488051938Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=700.377µs grafana | logger=migrator t=2023-11-25T11:36:39.49185033Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-11-25T11:36:39.492897651Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.04678ms grafana | logger=migrator t=2023-11-25T11:36:39.497268298Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-11-25T11:36:39.497979885Z level=info msg="Migration successfully executed" id="create alert_image table" duration=711.337µs grafana | logger=migrator t=2023-11-25T11:36:39.500896366Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-11-25T11:36:39.502145699Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.242393ms grafana | logger=migrator t=2023-11-25T11:36:39.509108125Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-11-25T11:36:39.509197176Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=89.241µs grafana | logger=migrator t=2023-11-25T11:36:39.512939326Z level=info msg="Executing migration" id=create_alert_configuration_history_table 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 | -------------- 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 | grafana | logger=migrator t=2023-11-25T11:36:39.513825645Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=887.119µs grafana | logger=migrator t=2023-11-25T11:36:39.516461983Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-11-25T11:36:39.517441595Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=979.532µs grafana | logger=migrator t=2023-11-25T11:36:39.520255285Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-25T11:36:39.520638579Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-11-25T11:36:39.523238587Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-11-25T11:36:39.523677601Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=441.104µs grafana | logger=migrator t=2023-11-25T11:36:39.551150646Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-11-25T11:36:39.552225407Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.074661ms grafana | logger=migrator t=2023-11-25T11:36:39.560683308Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-11-25T11:36:39.567098687Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.414839ms grafana | logger=migrator t=2023-11-25T11:36:39.570708126Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-11-25T11:36:39.571293902Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=585.866µs grafana | logger=migrator t=2023-11-25T11:36:39.575973253Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-11-25T11:36:39.576772211Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=798.708µs grafana | logger=migrator t=2023-11-25T11:36:39.579640752Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-11-25T11:36:39.580354069Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=712.847µs grafana | logger=migrator t=2023-11-25T11:36:39.583446472Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-11-25T11:36:39.584945569Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.498267ms grafana | logger=migrator t=2023-11-25T11:36:39.590562639Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-11-25T11:36:39.59159285Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.029581ms grafana | logger=migrator t=2023-11-25T11:36:39.597036988Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-11-25T11:36:39.597060018Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=23.83µs grafana | logger=migrator t=2023-11-25T11:36:39.599077691Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-11-25T11:36:39.599162532Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=85.43µs grafana | logger=migrator t=2023-11-25T11:36:39.601928111Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-11-25T11:36:39.602227284Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=299.053µs grafana | logger=migrator t=2023-11-25T11:36:39.605729152Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-11-25T11:36:39.606623342Z level=info msg="Migration successfully executed" id="create data_keys table" duration=894.3µs grafana | logger=migrator t=2023-11-25T11:36:39.610662845Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-11-25T11:36:39.611377422Z level=info msg="Migration successfully executed" id="create secrets table" duration=714.237µs grafana | logger=migrator t=2023-11-25T11:36:39.614306704Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-11-25T11:36:39.660390489Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.083695ms grafana | logger=migrator t=2023-11-25T11:36:39.664511402Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-11-25T11:36:39.669645008Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.132326ms grafana | logger=migrator t=2023-11-25T11:36:39.673486418Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-11-25T11:36:39.673651881Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=165.563µs grafana | logger=migrator t=2023-11-25T11:36:39.678732125Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-11-25T11:36:39.727794382Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.053697ms grafana | logger=migrator t=2023-11-25T11:36:39.730828995Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-11-25T11:36:39.773413051Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=42.582196ms grafana | logger=migrator t=2023-11-25T11:36:39.780286446Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-11-25T11:36:39.780901682Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=614.886µs grafana | logger=migrator t=2023-11-25T11:36:39.794892222Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-11-25T11:36:39.796903404Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=2.010602ms grafana | logger=migrator t=2023-11-25T11:36:39.800676344Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-11-25T11:36:39.800899887Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=224.053µs grafana | logger=migrator t=2023-11-25T11:36:39.805979541Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-11-25T11:36:39.806714289Z level=info msg="Migration successfully executed" id="create permission table" duration=734.958µs grafana | logger=migrator t=2023-11-25T11:36:39.812534941Z level=info msg="Executing migration" id="add unique index permission.role_id" 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 grafana | logger=migrator t=2023-11-25T11:36:39.814129929Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.601138ms grafana | logger=migrator t=2023-11-25T11:36:39.817935339Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-11-25T11:36:39.81899158Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.055821ms grafana | logger=migrator t=2023-11-25T11:36:39.824348178Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-11-25T11:36:39.825107897Z level=info msg="Migration successfully executed" id="create role table" duration=759.529µs grafana | logger=migrator t=2023-11-25T11:36:39.832585526Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-11-25T11:36:39.842806936Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.21793ms grafana | logger=migrator t=2023-11-25T11:36:39.846689158Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-11-25T11:36:39.858012519Z level=info msg="Migration successfully executed" id="add column group_name" duration=11.324071ms grafana | logger=migrator t=2023-11-25T11:36:39.862189874Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-11-25T11:36:39.863219825Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.029711ms grafana | logger=migrator t=2023-11-25T11:36:39.868177969Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-11-25T11:36:39.869541443Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.362924ms grafana | logger=migrator t=2023-11-25T11:36:39.873165073Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-11-25T11:36:39.874303064Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.137651ms grafana | logger=migrator t=2023-11-25T11:36:39.878704342Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-11-25T11:36:39.87947531Z level=info msg="Migration successfully executed" id="create team role table" duration=771.318µs grafana | logger=migrator t=2023-11-25T11:36:39.887110502Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-11-25T11:36:39.88884166Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.730738ms grafana | logger=migrator t=2023-11-25T11:36:39.894917746Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-11-25T11:36:39.896761375Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.84305ms grafana | logger=migrator t=2023-11-25T11:36:39.902011792Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-11-25T11:36:39.903989673Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.983581ms grafana | logger=migrator t=2023-11-25T11:36:39.908791324Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-11-25T11:36:39.909850676Z level=info msg="Migration successfully executed" id="create user role table" duration=1.059152ms grafana | logger=migrator t=2023-11-25T11:36:39.913106051Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-11-25T11:36:39.914629198Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.522617ms grafana | logger=migrator t=2023-11-25T11:36:39.919176476Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-11-25T11:36:39.92040864Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.231814ms grafana | logger=migrator t=2023-11-25T11:36:39.92885929Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-11-25T11:36:39.929933221Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.076661ms grafana | logger=migrator t=2023-11-25T11:36:39.935304549Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-11-25T11:36:39.936162988Z level=info msg="Migration successfully executed" id="create builtin role table" duration=857.179µs grafana | logger=migrator t=2023-11-25T11:36:39.940691777Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-11-25T11:36:39.942955692Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.263734ms grafana | logger=migrator t=2023-11-25T11:36:39.979041009Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-11-25T11:36:39.981738697Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=2.700068ms grafana | logger=migrator t=2023-11-25T11:36:39.985949663Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-11-25T11:36:39.993740277Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.789674ms grafana | logger=migrator t=2023-11-25T11:36:40.001408759Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-11-25T11:36:40.002704913Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.293934ms grafana | logger=migrator t=2023-11-25T11:36:40.007586425Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-11-25T11:36:40.009492445Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.90546ms grafana | logger=migrator t=2023-11-25T11:36:40.014449968Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-11-25T11:36:40.01550003Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.049902ms grafana | logger=migrator t=2023-11-25T11:36:40.018911626Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-25T11:36:40.020558213Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.644667ms grafana | logger=migrator t=2023-11-25T11:36:40.027039004Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-11-25T11:36:40.02859149Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.552547ms grafana | logger=migrator t=2023-11-25T11:36:40.033919237Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-11-25T11:36:40.03503932Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.114972ms grafana | logger=migrator t=2023-11-25T11:36:40.038519657Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-11-25T11:36:40.046438052Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.917485ms grafana | logger=migrator t=2023-11-25T11:36:40.051773818Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-11-25T11:36:40.057983925Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.208967ms grafana | logger=migrator t=2023-11-25T11:36:40.062660125Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-11-25T11:36:40.070500749Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.839564ms grafana | logger=migrator t=2023-11-25T11:36:40.074193339Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-11-25T11:36:40.082072453Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.878464ms grafana | logger=migrator t=2023-11-25T11:36:40.087416251Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-11-25T11:36:40.088525683Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.108782ms grafana | logger=migrator t=2023-11-25T11:36:40.093027511Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-11-25T11:36:40.093955532Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=927.151µs grafana | logger=migrator t=2023-11-25T11:36:40.103828037Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-11-25T11:36:40.105645877Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.81743ms grafana | logger=migrator t=2023-11-25T11:36:40.111192546Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-11-25T11:36:40.111297277Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=104.181µs grafana | logger=migrator t=2023-11-25T11:36:40.114718124Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-11-25T11:36:40.114758194Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=40.73µs grafana | logger=migrator t=2023-11-25T11:36:40.118716216Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-11-25T11:36:40.119481395Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=765.159µs grafana | logger=migrator t=2023-11-25T11:36:40.124927134Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-11-25T11:36:40.125873354Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=947.54µs grafana | logger=migrator t=2023-11-25T11:36:40.130743136Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-11-25T11:36:40.131824207Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.080521ms grafana | logger=migrator t=2023-11-25T11:36:40.135758859Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-11-25T11:36:40.136086103Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=326.724µs grafana | logger=migrator t=2023-11-25T11:36:40.141342889Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-11-25T11:36:40.142064167Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=721.538µs grafana | logger=migrator t=2023-11-25T11:36:40.148367035Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-11-25T11:36:40.149641688Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.273833ms grafana | logger=migrator t=2023-11-25T11:36:40.155040406Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-11-25T11:36:40.15625684Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.216694ms grafana | logger=migrator t=2023-11-25T11:36:40.159790017Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-11-25T11:36:40.170168209Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.379212ms grafana | logger=migrator t=2023-11-25T11:36:40.173471774Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-11-25T11:36:40.173572585Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=100.791µs grafana | logger=migrator t=2023-11-25T11:36:40.177869972Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-11-25T11:36:40.178824372Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=951.78µs grafana | logger=migrator t=2023-11-25T11:36:40.184588563Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-11-25T11:36:40.185823896Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.235023ms grafana | logger=migrator t=2023-11-25T11:36:40.192099494Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-11-25T11:36:40.193294767Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.195023ms grafana | logger=migrator t=2023-11-25T11:36:40.197993398Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-11-25T11:36:40.208378018Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.385081ms grafana | logger=migrator t=2023-11-25T11:36:40.211724795Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.212864647Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.139982ms grafana | logger=migrator t=2023-11-25T11:36:40.216119772Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.217280385Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.160634ms grafana | logger=migrator t=2023-11-25T11:36:40.222458899Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-25T11:36:40.25423133Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.772821ms grafana | logger=migrator t=2023-11-25T11:36:40.259351325Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-11-25T11:36:40.260958962Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.606647ms grafana | logger=migrator t=2023-11-25T11:36:40.265802404Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-11-25T11:36:40.267854887Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.049703ms grafana | logger=migrator t=2023-11-25T11:36:40.272567426Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- 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 grafana | logger=migrator t=2023-11-25T11:36:40.273872661Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.306215ms grafana | logger=migrator t=2023-11-25T11:36:40.277073975Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-11-25T11:36:40.278309678Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.235563ms grafana | logger=migrator t=2023-11-25T11:36:40.282543664Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-11-25T11:36:40.282868857Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=322.363µs grafana | logger=migrator t=2023-11-25T11:36:40.28692516Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-11-25T11:36:40.287857681Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=931.911µs grafana | logger=migrator t=2023-11-25T11:36:40.293962386Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-11-25T11:36:40.304993385Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.031989ms grafana | logger=migrator t=2023-11-25T11:36:40.309505373Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-11-25T11:36:40.310344512Z level=info msg="Migration successfully executed" id="create entity_events table" duration=838.329µs grafana | logger=migrator t=2023-11-25T11:36:40.314048782Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-11-25T11:36:40.315070982Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.02326ms grafana | logger=migrator t=2023-11-25T11:36:40.318685002Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.319256488Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.328643418Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.329598759Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.335465302Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-11-25T11:36:40.336677094Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.212902ms grafana | logger=migrator t=2023-11-25T11:36:40.340311203Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-11-25T11:36:40.341366915Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.055012ms grafana | logger=migrator t=2023-11-25T11:36:40.347188577Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.34927658Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.087373ms grafana | logger=migrator t=2023-11-25T11:36:40.383233114Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-11-25T11:36:40.385373547Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=2.140193ms grafana | logger=migrator t=2023-11-25T11:36:40.392515923Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-25T11:36:40.393689267Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.172474ms grafana | logger=migrator t=2023-11-25T11:36:40.398110563Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-25T11:36:40.399293347Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.182644ms grafana | logger=migrator t=2023-11-25T11:36:40.402746044Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-11-25T11:36:40.403639293Z level=info msg="Migration successfully executed" id="Drop public config table" duration=892.669µs grafana | logger=migrator t=2023-11-25T11:36:40.407853609Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-11-25T11:36:40.409655557Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.799678ms grafana | logger=migrator t=2023-11-25T11:36:40.413518499Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-11-25T11:36:40.415684982Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.166253ms grafana | logger=migrator t=2023-11-25T11:36:40.419402642Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-11-25T11:36:40.420658215Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.255283ms grafana | logger=migrator t=2023-11-25T11:36:40.425649169Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-11-25T11:36:40.427348768Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.697949ms grafana | logger=migrator t=2023-11-25T11:36:40.434394783Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-11-25T11:36:40.467376177Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.980344ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) 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 | -------------- 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 | -------------- grafana | logger=migrator t=2023-11-25T11:36:40.47043872Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-11-25T11:36:40.476431174Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=5.992854ms grafana | logger=migrator t=2023-11-25T11:36:40.481573959Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-11-25T11:36:40.49003643Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.459771ms grafana | logger=migrator t=2023-11-25T11:36:40.495220286Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-11-25T11:36:40.495592069Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=371.303µs grafana | logger=migrator t=2023-11-25T11:36:40.501500613Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-11-25T11:36:40.509780282Z level=info msg="Migration successfully executed" id="add share column" duration=8.278939ms grafana | logger=migrator t=2023-11-25T11:36:40.51424232Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 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 | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- 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 | grafana | logger=migrator t=2023-11-25T11:36:40.514519133Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=276.513µs grafana | logger=migrator t=2023-11-25T11:36:40.517912109Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-11-25T11:36:40.518816238Z level=info msg="Migration successfully executed" id="create file table" duration=903.539µs grafana | logger=migrator t=2023-11-25T11:36:40.522199134Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-11-25T11:36:40.523486219Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.289465ms grafana | logger=migrator t=2023-11-25T11:36:40.530885118Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-25T11:36:40.532113351Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.228403ms grafana | logger=migrator t=2023-11-25T11:36:40.537776972Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-11-25T11:36:40.539115856Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.337764ms grafana | logger=migrator t=2023-11-25T11:36:40.542850367Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-11-25T11:36:40.544677656Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.828389ms grafana | logger=migrator t=2023-11-25T11:36:40.551939714Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-11-25T11:36:40.552135476Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=122.051µs grafana | logger=migrator t=2023-11-25T11:36:40.555938586Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-11-25T11:36:40.5561753Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=236.114µs grafana | logger=migrator t=2023-11-25T11:36:40.55996672Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-11-25T11:36:40.561026601Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.059381ms grafana | logger=migrator t=2023-11-25T11:36:40.567112536Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-11-25T11:36:40.567688423Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=578.067µs grafana | logger=migrator t=2023-11-25T11:36:40.574185443Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-11-25T11:36:40.575102352Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=916.389µs grafana | logger=migrator t=2023-11-25T11:36:40.57855416Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-11-25T11:36:40.590096174Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.541884ms grafana | logger=migrator t=2023-11-25T11:36:40.593340388Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-11-25T11:36:40.59351278Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=171.652µs grafana | logger=migrator t=2023-11-25T11:36:40.595878076Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-11-25T11:36:40.597001497Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.122971ms grafana | logger=migrator t=2023-11-25T11:36:40.602719358Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-11-25T11:36:40.603260474Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=541.916µs grafana | logger=migrator t=2023-11-25T11:36:40.608951285Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-11-25T11:36:40.609267539Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=317.314µs grafana | logger=migrator t=2023-11-25T11:36:40.611994147Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-11-25T11:36:40.612565254Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=571.377µs grafana | logger=migrator t=2023-11-25T11:36:40.616166432Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-11-25T11:36:40.62806038Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.897168ms grafana | logger=migrator t=2023-11-25T11:36:40.633844672Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-11-25T11:36:40.642586615Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.743013ms grafana | logger=migrator t=2023-11-25T11:36:40.645580678Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-11-25T11:36:40.646424997Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=844.539µs grafana | logger=migrator t=2023-11-25T11:36:40.649547251Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-11-25T11:36:40.75763042Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.068178ms grafana | logger=migrator t=2023-11-25T11:36:40.761860325Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-11-25T11:36:40.762802235Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=941.56µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-25T11:36:40.766788979Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-11-25T11:36:40.768398285Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.600766ms grafana | logger=migrator t=2023-11-25T11:36:40.813115495Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-11-25T11:36:40.849501945Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.3873ms grafana | logger=migrator t=2023-11-25T11:36:40.855206037Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-11-25T11:36:40.855455089Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=248.822µs grafana | logger=migrator t=2023-11-25T11:36:40.859958958Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-11-25T11:36:40.860305631Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=345.233µs grafana | logger=migrator t=2023-11-25T11:36:40.864570178Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-11-25T11:36:40.864895591Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=325.443µs grafana | logger=migrator t=2023-11-25T11:36:40.86859137Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-11-25T11:36:40.870070927Z level=info msg="Migration successfully executed" id="create folder table" duration=1.479347ms grafana | logger=migrator t=2023-11-25T11:36:40.874625445Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-11-25T11:36:40.87595068Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.324365ms grafana | logger=migrator t=2023-11-25T11:36:40.880161654Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-11-25T11:36:40.881504399Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.341905ms grafana | logger=migrator t=2023-11-25T11:36:40.88630994Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-11-25T11:36:40.886423061Z level=info msg="Migration successfully executed" id="Update folder title length" duration=112.411µs grafana | logger=migrator t=2023-11-25T11:36:40.89928761Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-25T11:36:40.901426283Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.137423ms grafana | logger=migrator t=2023-11-25T11:36:40.905030131Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-11-25T11:36:40.906246215Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.216804ms grafana | logger=migrator t=2023-11-25T11:36:40.910214977Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-11-25T11:36:40.911818665Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.601638ms grafana | logger=migrator t=2023-11-25T11:36:40.92075975Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-11-25T11:36:40.921773021Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.017891ms grafana | logger=migrator t=2023-11-25T11:36:40.927842236Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-11-25T11:36:40.930011169Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.167453ms grafana | logger=migrator t=2023-11-25T11:36:40.933903701Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-11-25T11:36:40.935966373Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.062682ms grafana | logger=migrator t=2023-11-25T11:36:40.939747833Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-11-25T11:36:40.940612583Z level=info msg="Migration successfully executed" id="create signing_key table" duration=864.22µs grafana | logger=migrator t=2023-11-25T11:36:40.94498482Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-11-25T11:36:40.946225944Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.237924ms grafana | logger=migrator t=2023-11-25T11:36:40.949268726Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-11-25T11:36:40.950496529Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.227863ms grafana | logger=migrator t=2023-11-25T11:36:40.956598544Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-25T11:36:40.957136701Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=539.017µs grafana | logger=migrator t=2023-11-25T11:36:40.964157876Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.841605616s grafana | logger=sqlstore t=2023-11-25T11:36:40.977226756Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-25T11:36:40.977493379Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-25T11:36:40.981023356Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-25T11:36:41.04198799Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-25T11:36:41.048026605Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-25T11:36:41.053203101Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-25T11:36:43.285180538Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-25T11:36:43.287069948Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-25T11:36:43.329905057Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-25T11:36:43.329934937Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2023-11-25T11:36:43.331393652Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2023-11-25T11:36:43.33580567Z level=info msg="Storage starting" grafana | logger=http.server t=2023-11-25T11:36:43.343708145Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-11-25T11:36:43.390183932Z level=info msg="Update check succeeded" duration=59.73838ms grafana | logger=ngalert.state.manager t=2023-11-25T11:36:43.390171461Z level=info msg="State cache has been initialized" states=0 duration=58.769809ms grafana | logger=ngalert.scheduler t=2023-11-25T11:36:43.390322523Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ngalert.multiorg.alertmanager t=2023-11-25T11:36:43.390380434Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ticker t=2023-11-25T11:36:43.390463344Z level=info msg=starting first_tick=2023-11-25T11:36:50Z grafana | logger=ngalert.migration t=2023-11-25T11:36:43.401365072Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-25T11:36:43.402118779Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:36:43.402413693Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:36:43.402864318Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:36:43.403293473Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-11-25T11:36:43.416766767Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2023-11-25T11:36:43.423995524Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2023-11-25T11:36:43.425187717Z level=info msg="Update check succeeded" duration=94.923507ms grafana | logger=ngalert.migration t=2023-11-25T11:36:43.450789741Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:36:43.451139994Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:36:43.451523168Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-25T11:36:43.451982903Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-25T11:36:43.454248238Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats t=2023-11-25T11:37:48.343933438Z level=info msg="Usage stats are ready to report" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:38 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:39 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:40 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:41 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:42 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2511231136380800u 1 2023-11-25 11:36:43 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2511231136380900u 1 2023-11-25 11:36:43 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:43 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:43 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:43 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:43 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:43 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:43 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:44 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:44 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2511231136381000u 1 2023-11-25 11:36:44 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2511231136381100u 1 2023-11-25 11:36:44 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2511231136381200u 1 2023-11-25 11:36:44 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2511231136381200u 1 2023-11-25 11:36:44 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2511231136381200u 1 2023-11-25 11:36:44 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2511231136381200u 1 2023-11-25 11:36:44 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.sA7jAf1DtJ ]] + rsync -av /tmp/tmp.sA7jAf1DtJ/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,600 bytes received 95 bytes 2,691,390.00 bytes/sec total size is 1,344,951 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 2108 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/jenkins4764892426520074128.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins18017613621361595091.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/jenkins2305959636350597281.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-4vRj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4vRj/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins13811186614117506651.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config9009321302835878627tmp 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/jenkins14596700261873875794.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7682322552732239339.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-4vRj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4vRj/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins7475001255219593157.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10118302990326461099.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-4vRj 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-4vRj/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/jenkins10326892242910833694.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-4vRj from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-4vRj/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/190 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-4287 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 813 27440 0 3913 30897 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:86:8f:c4 brd ff:ff:ff:ff:ff:ff inet 10.30.107.39/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86054sec preferred_lft 86054sec inet6 fe80::f816:3eff:fe86:8fc4/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:d7:a9:c5:a2 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-4287) 11/25/23 _x86_64_ (8 CPU) 11:33:30 LINUX RESTART (8 CPU) 11:34:02 tps rtps wtps bread/s bwrtn/s 11:35:01 114.73 39.74 74.99 1807.83 26237.45 11:36:01 127.36 22.81 104.55 2730.69 32418.93 11:37:01 386.80 13.58 373.22 863.19 79639.91 11:38:01 18.20 0.98 17.21 20.40 19727.73 11:39:01 69.14 1.45 67.69 114.25 23283.17 Average: 143.34 15.63 127.71 1104.98 36294.83 11:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30119808 31719544 2819412 8.56 69036 1841256 1431216 4.21 863228 1676356 176432 11:36:01 29696968 31744592 3242252 9.84 89512 2250308 1384100 4.07 888512 2033088 192008 11:37:01 26923980 30519064 6015240 18.26 126304 3671088 4771956 14.04 2233628 3343540 304 11:38:01 26840248 30437804 6098972 18.52 126496 3672408 4678756 13.77 2328920 3330084 60 11:39:01 28161988 31700484 4777232 14.50 130120 3645680 1408304 4.14 1102224 3260024 31020 Average: 28348598 31224298 4590622 13.94 108294 3016148 2734866 8.05 1483302 2728618 79965 11:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 148.16 101.98 1149.14 23.33 0.00 0.00 0.00 0.00 11:35:01 lo 1.49 1.49 0.16 0.16 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 ens3 84.37 65.19 1481.69 9.72 0.00 0.00 0.00 0.00 11:36:01 lo 5.33 5.33 0.50 0.50 0.00 0.00 0.00 0.00 11:36:01 br-9443efad598a 0.00 0.00 0.00 0.00 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 vetha875593 0.05 0.23 0.00 0.01 0.00 0.00 0.00 0.00 11:37:01 ens3 218.66 133.04 7788.06 10.22 0.00 0.00 0.00 0.00 11:37:01 veth2c98c61 50.22 61.09 19.69 16.42 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 vetha875593 0.15 0.17 0.02 0.47 0.00 0.00 0.00 0.00 11:38:01 ens3 3.98 3.67 0.74 0.96 0.00 0.00 0.00 0.00 11:38:01 veth2c98c61 69.34 88.20 99.99 28.28 0.00 0.00 0.00 0.01 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 ens3 55.84 49.23 127.33 24.98 0.00 0.00 0.00 0.00 11:39:01 lo 33.89 33.89 10.39 10.39 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 102.05 70.52 2112.59 13.81 0.00 0.00 0.00 0.00 Average: lo 6.03 6.03 2.02 2.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-4287) 11/25/23 _x86_64_ (8 CPU) 11:33:30 LINUX RESTART (8 CPU) 11:34:02 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 10.04 0.00 0.86 2.20 0.03 86.86 11:35:01 0 14.57 0.00 1.27 0.54 0.03 83.58 11:35:01 1 4.58 0.00 0.73 2.46 0.02 92.21 11:35:01 2 7.44 0.00 0.63 0.22 0.02 91.69 11:35:01 3 1.84 0.00 0.44 10.37 0.02 87.33 11:35:01 4 11.70 0.00 1.29 0.81 0.05 86.15 11:35:01 5 1.36 0.00 0.32 0.17 0.00 98.15 11:35:01 6 13.19 0.00 0.68 0.61 0.02 85.50 11:35:01 7 25.69 0.00 1.55 2.45 0.07 70.24 11:36:01 all 9.21 0.00 0.98 3.04 0.03 86.73 11:36:01 0 11.04 0.00 1.37 0.42 0.03 87.14 11:36:01 1 7.21 0.00 0.95 2.72 0.05 89.07 11:36:01 2 10.22 0.00 1.12 1.92 0.03 86.71 11:36:01 3 4.34 0.00 0.65 0.48 0.03 94.49 11:36:01 4 2.54 0.00 0.75 13.66 0.05 83.00 11:36:01 5 1.17 0.00 0.42 0.53 0.02 97.87 11:36:01 6 17.99 0.00 1.30 1.10 0.07 79.54 11:36:01 7 19.27 0.00 1.32 3.50 0.03 75.87 11:37:01 all 18.35 0.00 4.33 4.75 0.08 72.50 11:37:01 0 23.54 0.00 5.00 2.14 0.05 69.28 11:37:01 1 15.36 0.00 4.51 23.96 0.10 56.06 11:37:01 2 20.84 0.00 4.89 2.24 0.08 71.94 11:37:01 3 17.41 0.00 3.75 0.96 0.07 77.82 11:37:01 4 18.41 0.00 3.47 3.98 0.08 74.06 11:37:01 5 22.71 0.00 4.94 1.04 0.07 71.24 11:37:01 6 15.39 0.00 3.93 2.46 0.05 78.18 11:37:01 7 13.14 0.00 4.08 1.30 0.08 81.39 11:38:01 all 4.11 0.00 0.36 0.93 0.03 94.57 11:38:01 0 4.79 0.00 0.35 0.00 0.02 94.85 11:38:01 1 3.96 0.00 0.25 7.29 0.02 88.49 11:38:01 2 3.58 0.00 0.47 0.00 0.05 95.90 11:38:01 3 4.72 0.00 0.37 0.03 0.02 94.86 11:38:01 4 4.86 0.00 0.40 0.00 0.02 94.73 11:38:01 5 3.37 0.00 0.30 0.07 0.00 96.26 11:38:01 6 3.49 0.00 0.32 0.00 0.02 96.18 11:38:01 7 4.09 0.00 0.42 0.00 0.08 95.41 11:39:01 all 6.80 0.00 0.67 1.68 0.03 90.81 11:39:01 0 3.87 0.00 0.50 0.10 0.02 95.52 11:39:01 1 3.07 0.00 0.52 1.29 0.02 95.11 11:39:01 2 16.95 0.00 0.93 0.37 0.05 81.70 11:39:01 3 0.83 0.00 0.43 0.07 0.02 98.65 11:39:01 4 0.79 0.00 0.58 9.74 0.03 88.85 11:39:01 5 23.56 0.00 1.03 1.12 0.07 74.23 11:39:01 6 3.21 0.00 0.68 0.68 0.03 95.39 11:39:01 7 2.06 0.00 0.65 0.15 0.03 97.11 Average: all 9.68 0.00 1.44 2.52 0.04 86.32 Average: 0 11.53 0.00 1.69 0.64 0.03 86.11 Average: 1 6.82 0.00 1.38 7.52 0.04 84.24 Average: 2 11.80 0.00 1.60 0.95 0.05 85.60 Average: 3 5.83 0.00 1.13 2.35 0.03 90.66 Average: 4 7.62 0.00 1.30 5.66 0.05 85.38 Average: 5 10.45 0.00 1.40 0.59 0.03 87.53 Average: 6 10.62 0.00 1.38 0.97 0.04 86.99 Average: 7 12.79 0.00 1.60 1.48 0.06 84.07