Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2286 (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-wVDOFwOaNcFx/agent.2116 SSH_AGENT_PID=2118 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_8603635850444040380.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_8603635850444040380.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/jenkins8966490368349991553.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-K5J9 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-K5J9/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-K5J9/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.34 botocore==1.34.34 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins16963931197623530621.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/jenkins17576229167872856793.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.3u3YSzVz3r ++ echo ROBOT_VENV=/tmp/tmp.3u3YSzVz3r +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.3u3YSzVz3r ++ source /tmp/tmp.3u3YSzVz3r/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.3u3YSzVz3r +++ 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.3u3YSzVz3r/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.3u3YSzVz3r) ' '!=' x ']' +++ PS1='(tmp.3u3YSzVz3r) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.3u3YSzVz3r/src/onap ++ rm -rf /tmp/tmp.3u3YSzVz3r/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.3u3YSzVz3r/bin/activate + '[' -z /tmp/tmp.3u3YSzVz3r/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.3u3YSzVz3r/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.3u3YSzVz3r ++ 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.3u3YSzVz3r/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.3u3YSzVz3r) ' ++ '[' 'x(tmp.3u3YSzVz3r) ' '!=' x ']' ++ PS1='(tmp.3u3YSzVz3r) (tmp.3u3YSzVz3r) ' ++ 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.iYpK3WpO2F + cd /tmp/tmp.iYpK3WpO2F + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:7567a7c70a3c1d75aeeedc968d1304174a16651e55a60d1fb132a05e1e63a054 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating 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 policy-db-migrator Up 13 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:17 up 3 min, 0 users, load average: 2.94, 1.13, 0.43 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.3 us, 2.0 sy, 0.0 ni, 82.5 id, 4.1 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 be396057944f grafana 0.02% 56.91MiB / 31.41GiB 0.18% 18.5kB / 3.16kB 0B / 23.8MB 20 3815e46ba031 policy-api 0.11% 968.1MiB / 31.41GiB 3.01% 1.04MB / 739kB 0B / 0B 50 01956484fed1 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11MB / 67.9MB 29 4667f6efa549 prometheus 0.00% 18.73MiB / 31.41GiB 0.06% 782B / 0B 127kB / 0B 13 + echo + cd /tmp/tmp.iYpK3WpO2F + 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.iYpK3WpO2F/output.xml Log: /tmp/tmp.iYpK3WpO2F/log.html Report: /tmp/tmp.iYpK3WpO2F/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:28 up 4 min, 0 users, load average: 1.16, 0.99, 0.44 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.6 sy, 0.0 ni, 85.4 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 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 be396057944f grafana 0.19% 63.68MiB / 31.41GiB 0.20% 19.6kB / 4.43kB 0B / 23.8MB 20 3815e46ba031 policy-api 0.12% 982.5MiB / 31.41GiB 3.05% 7.32MB / 2.87MB 0B / 0B 52 01956484fed1 mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 2.75MB / 7.35MB 11MB / 68MB 18 4667f6efa549 prometheus 0.00% 25.66MiB / 31.41GiB 0.08% 37.5kB / 7.07kB 127kB / 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 mariadb | 2024-02-03 11:36:47+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-03 11:36:47+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-03 11:36:47+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-03 11:36:47+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-03 11:36:47 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-03 11:36:47 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-03 11:36:47 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-03 11:36:49+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-03 11:36:49+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-03 11:36:49+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-03 11:36:49 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 94 ... mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-03 11:36:49 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-03 11:36:49 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-03 11:36:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-03 11:36:49 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-03 11:36:49 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-03 11:36:49 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-03 11:36:49 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-03 11:36:49 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-03 11:36:49 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-02-03 11:36:50+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=settings t=2024-02-03T11:36:51.624105215Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z grafana | logger=settings t=2024-02-03T11:36:51.624305767Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-03T11:36:51.624318327Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-03T11:36:51.624322177Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-03T11:36:51.624326727Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-03T11:36:51.624329707Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-03T11:36:51.624332587Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-03T11:36:51.624335327Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-03T11:36:51.624338337Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-03T11:36:51.624341337Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-03T11:36:51.624343897Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-03T11:36:51.624346537Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-03T11:36:51.624349287Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-03T11:36:51.624353817Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-03T11:36:51.624357528Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-03T11:36:51.624360178Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-03T11:36:51.624362758Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-03T11:36:51.624365358Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-03T11:36:51.624367938Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-03T11:36:51.624692341Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-03T11:36:51.624711823Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-03T11:36:51.6253494Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-03T11:36:51.626214682Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-03T11:36:51.626958361Z level=info msg="Migration successfully executed" id="create migration_log table" duration=743.149µs grafana | logger=migrator t=2024-02-03T11:36:51.704677652Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-03T11:36:51.705881917Z level=info msg="Migration successfully executed" id="create user table" duration=1.205115ms grafana | logger=migrator t=2024-02-03T11:36:51.711389197Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-03T11:36:51.712555722Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.166745ms grafana | logger=migrator t=2024-02-03T11:36:51.718331906Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-03T11:36:51.71940588Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.078834ms grafana | logger=migrator t=2024-02-03T11:36:51.793889769Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-03T11:36:51.79550869Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.625811ms grafana | logger=migrator t=2024-02-03T11:36:51.801080611Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-03T11:36:51.801721409Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=640.898µs grafana | logger=migrator t=2024-02-03T11:36:51.804504335Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-03T11:36:51.807390711Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.885146ms grafana | logger=migrator t=2024-02-03T11:36:51.81116483Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-03T11:36:51.812796321Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.635231ms grafana | logger=migrator t=2024-02-03T11:36:51.818187Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-03T11:36:51.81985474Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.66887ms grafana | logger=migrator t=2024-02-03T11:36:51.823526408Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-03T11:36:51.824869174Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.344586ms grafana | logger=migrator t=2024-02-03T11:36:51.828491351Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:51.82917313Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=680.899µs grafana | logger=migrator t=2024-02-03T11:36:51.832893157Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-03T11:36:51.833468775Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=575.528µs grafana | logger=migrator t=2024-02-03T11:36:51.836142649Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-03T11:36:51.837470155Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.326716ms grafana | logger=migrator t=2024-02-03T11:36:51.840734577Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-03T11:36:51.840762817Z level=info msg="Migration successfully executed" id="Update user table charset" duration=29.31µs grafana | logger=migrator t=2024-02-03T11:36:51.843887548Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-03T11:36:51.845837552Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.949964ms grafana | logger=migrator t=2024-02-03T11:36:51.850856267Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-03T11:36:51.851308382Z level=info msg="Migration successfully executed" id="Add missing user data" duration=452.105µs grafana | logger=migrator t=2024-02-03T11:36:51.855171501Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-03T11:36:51.856430358Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.258487ms grafana | logger=migrator t=2024-02-03T11:36:51.859412875Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-03T11:36:51.860301027Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=887.752µs grafana | logger=migrator t=2024-02-03T11:36:51.863373455Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-03T11:36:51.864781003Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.405718ms grafana | logger=migrator t=2024-02-03T11:36:51.869229441Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-03T11:36:51.878676191Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.44729ms grafana | logger=migrator t=2024-02-03T11:36:51.881916052Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-03T11:36:51.882582271Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=666.929µs grafana | logger=migrator t=2024-02-03T11:36:51.886544182Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-03T11:36:51.887564274Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.023202ms grafana | logger=migrator t=2024-02-03T11:36:51.948838466Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-03T11:36:51.950643429Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.810784ms grafana | logger=migrator t=2024-02-03T11:36:51.954947553Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-03T11:36:51.95627905Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.329777ms grafana | logger=migrator t=2024-02-03T11:36:51.960538335Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-03T11:36:51.961283514Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=745.489µs grafana | logger=migrator t=2024-02-03T11:36:51.965695411Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-03T11:36:51.965735112Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=48.061µs grafana | logger=migrator t=2024-02-03T11:36:51.968288043Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-03T11:36:51.969014333Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=726.5µs grafana | logger=migrator t=2024-02-03T11:36:51.972173543Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-03T11:36:51.972824202Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=656.619µs grafana | logger=migrator t=2024-02-03T11:36:51.976980885Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-03T11:36:51.977641203Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=660.008µs grafana | logger=migrator t=2024-02-03T11:36:51.981816747Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-03T11:36:51.982490745Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=673.888µs mariadb | 2024-02-03 11:36:52+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-03 11:36:52+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-02-03 11:36:52+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-02-03 11:36:52+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2024-02-03T11:36:51.986249833Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-03T11:36:51.990168323Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.91667ms grafana | logger=migrator t=2024-02-03T11:36:52.045421482Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-03T11:36:52.046959789Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.543317ms grafana | logger=migrator t=2024-02-03T11:36:52.051829531Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-03T11:36:52.05279075Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=956.709µs grafana | logger=migrator t=2024-02-03T11:36:52.073779093Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-03T11:36:52.075343329Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.567396ms grafana | logger=migrator t=2024-02-03T11:36:52.080907628Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-03T11:36:52.082053531Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.146103ms grafana | logger=migrator t=2024-02-03T11:36:52.087845832Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-03T11:36:52.08862495Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=779.088µs grafana | logger=migrator t=2024-02-03T11:36:52.092849275Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:52.093650053Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=799.868µs grafana | logger=migrator t=2024-02-03T11:36:52.09703338Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-03T11:36:52.097820998Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=787.859µs grafana | logger=migrator t=2024-02-03T11:36:52.104508189Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-03T11:36:52.105080925Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=574.476µs grafana | logger=migrator t=2024-02-03T11:36:52.109356321Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-03T11:36:52.110546393Z level=info msg="Migration successfully executed" id="create star table" duration=1.189942ms grafana | logger=migrator t=2024-02-03T11:36:52.113949479Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-03T11:36:52.115473186Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.523237ms grafana | logger=migrator t=2024-02-03T11:36:52.123533951Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-03T11:36:52.12442982Z level=info msg="Migration successfully executed" id="create org table v1" duration=902.839µs grafana | logger=migrator t=2024-02-03T11:36:52.129270161Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-02-03 11:36:53+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-03 11:36:53 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Buffer pool(s) dump completed at 240203 11:36:53 mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Shutdown completed; log sequence number 332697; transaction id 298 mariadb | 2024-02-03 11:36:53 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-03 11:36:53+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-03 11:36:53+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-03 11:36:53 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-03 11:36:53 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-03 11:36:53 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-03 11:36:53 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: log sequence number 332697; transaction id 299 mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-03 11:36:53 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-03 11:36:53 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-03 11:36:53 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-03 11:36:53 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-03 11:36:53 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-03 11:36:53 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-02-03 11:36:53 0 [Note] InnoDB: Buffer pool(s) load completed at 240203 11:36:53 mariadb | 2024-02-03 11:36:54 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-02-03 11:36:54 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-02-03T11:36:52.130498755Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.229414ms grafana | logger=migrator t=2024-02-03T11:36:52.13855557Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-03T11:36:52.139822953Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.268323ms grafana | logger=migrator t=2024-02-03T11:36:52.144810646Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-03T11:36:52.146300003Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.493707ms grafana | logger=migrator t=2024-02-03T11:36:52.152508108Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-03T11:36:52.153373508Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=865.12µs grafana | logger=migrator t=2024-02-03T11:36:52.15645335Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-03T11:36:52.157288449Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=834.429µs grafana | logger=migrator t=2024-02-03T11:36:52.16212716Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-03T11:36:52.16216819Z level=info msg="Migration successfully executed" id="Update org table charset" duration=42.93µs grafana | logger=migrator t=2024-02-03T11:36:52.165495366Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-03T11:36:52.165545666Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=47.83µs grafana | logger=migrator t=2024-02-03T11:36:52.171580351Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-03T11:36:52.171873053Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=292.902µs grafana | logger=migrator t=2024-02-03T11:36:52.176009337Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-03T11:36:52.177041478Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.031811ms grafana | logger=migrator t=2024-02-03T11:36:52.212884839Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-03T11:36:52.214273774Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.386105ms grafana | logger=migrator t=2024-02-03T11:36:52.21866563Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-03T11:36:52.220036945Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.376505ms grafana | logger=migrator t=2024-02-03T11:36:52.225023777Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-03T11:36:52.22619054Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.167333ms grafana | logger=migrator t=2024-02-03T11:36:52.229536055Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-03T11:36:52.230818839Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.282444ms grafana | logger=migrator t=2024-02-03T11:36:52.234035733Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-03T11:36:52.234979273Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=942.82µs grafana | logger=migrator t=2024-02-03T11:36:52.241791855Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-03T11:36:52.251064753Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.270648ms grafana | logger=migrator t=2024-02-03T11:36:52.254101646Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-03T11:36:52.254644151Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=544.525µs grafana | logger=migrator t=2024-02-03T11:36:52.257074288Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-03T11:36:52.257727435Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=652.897µs grafana | logger=migrator t=2024-02-03T11:36:52.262541196Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-03T11:36:52.263328374Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=786.768µs grafana | logger=migrator t=2024-02-03T11:36:52.266135194Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:52.266432526Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=297.102µs grafana | logger=migrator t=2024-02-03T11:36:52.269281547Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-03T11:36:52.270622361Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.340054ms grafana | logger=migrator t=2024-02-03T11:36:52.277227432Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-03T11:36:52.277460134Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=233.023µs grafana | logger=migrator t=2024-02-03T11:36:52.282879761Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-03T11:36:52.285953854Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.120443ms grafana | logger=migrator t=2024-02-03T11:36:52.288919175Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-03T11:36:52.290519323Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.597387ms grafana | logger=migrator t=2024-02-03T11:36:52.293489314Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.294884509Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.396575ms grafana | logger=migrator t=2024-02-03T11:36:52.330511187Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.332262705Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.750498ms grafana | logger=migrator t=2024-02-03T11:36:52.33556854Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.338719393Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.150993ms grafana | logger=migrator t=2024-02-03T11:36:52.341924937Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-api | :: Spring Boot :: (v2.7.8) policy-api | policy-api | [2024-02-03T11:37:02.695+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 34 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-03T11:37:02.697+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-03T11:37:04.068+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-03T11:37:04.157+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-03T11:37:05.198+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-03T11:37:05.209+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-03T11:37:05.210+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-03T11:37:05.210+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] policy-api | [2024-02-03T11:37:05.292+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-03T11:37:05.292+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2532 ms policy-api | [2024-02-03T11:37:05.811+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-03T11:37:05.932+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final policy-api | [2024-02-03T11:37:06.144+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} policy-api | [2024-02-03T11:37:06.288+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-03T11:37:06.400+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-03T11:37:06.424+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect policy-api | [2024-02-03T11:37:07.844+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] policy-api | [2024-02-03T11:37:07.856+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-03T11:37:08.989+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-03T11:37:09.627+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-03T11:37:10.757+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7f2163d3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@427faf19, org.springframework.security.web.context.SecurityContextPersistenceFilter@119b837, org.springframework.security.web.header.HeaderWriterFilter@50fd7d94, org.springframework.security.web.authentication.logout.LogoutFilter@50cdaf32, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@190a5f74, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d44f15d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2b5854a7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@57404a8d, org.springframework.security.web.session.SessionManagementFilter@2ce5ea69, org.springframework.security.web.access.ExceptionTranslationFilter@5d63d553, org.springframework.security.web.access.intercept.AuthorizationFilter@2416378c] policy-api | [2024-02-03T11:37:10.902+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-02-03T11:37:13.853+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-03T11:37:13.881+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-03T11:37:13.924+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-03T11:37:13.940+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.008 seconds (JVM running for 12.629) policy-api | [2024-02-03T11:37:20.079+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-03T11:37:20.079+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-03T11:37:20.081+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-02-03T11:37:22.847+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-02-03T11:37:22.961+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-02-03T11:37:23.212+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-02-03T11:37:24.323+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-02-03T11:37:26.228+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-03T11:37:26.610+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-03T11:37:26.822+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-02-03T11:37:27.053+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-03T11:37:27.292+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-02-03T11:37:27.512+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-02-03T11:36:52.342786306Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=867.989µs grafana | logger=migrator t=2024-02-03T11:36:52.347100592Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-03T11:36:52.347927501Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=826.519µs grafana | logger=migrator t=2024-02-03T11:36:52.351871703Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-03T11:36:52.351898953Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.57µs grafana | logger=migrator t=2024-02-03T11:36:52.355073127Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-03T11:36:52.355115307Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=53.43µs grafana | logger=migrator t=2024-02-03T11:36:52.360473694Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.363822609Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.344365ms grafana | logger=migrator t=2024-02-03T11:36:52.366899783Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.368748382Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.848229ms grafana | logger=migrator t=2024-02-03T11:36:52.37145208Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.3732973Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.84491ms grafana | logger=migrator t=2024-02-03T11:36:52.378559786Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.380419076Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.85945ms grafana | logger=migrator t=2024-02-03T11:36:52.383381277Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.383561199Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=176.602µs grafana | logger=migrator t=2024-02-03T11:36:52.386370668Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-03T11:36:52.38738275Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.011432ms grafana | logger=migrator t=2024-02-03T11:36:52.393163401Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-03T11:36:52.394511535Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.345244ms grafana | logger=migrator t=2024-02-03T11:36:52.402304408Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-03T11:36:52.402328808Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=24.71µs grafana | logger=migrator t=2024-02-03T11:36:52.408355272Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-03T11:36:52.409649966Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.294154ms grafana | logger=migrator t=2024-02-03T11:36:52.415398687Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-03T11:36:52.416702951Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.299414ms grafana | logger=migrator t=2024-02-03T11:36:52.425739107Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-03T11:36:52.432789381Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.049504ms grafana | logger=migrator t=2024-02-03T11:36:52.438769184Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-03T11:36:52.439562583Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=779.408µs grafana | logger=migrator t=2024-02-03T11:36:52.445107902Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-03T11:36:52.445855719Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=747.488µs grafana | logger=migrator t=2024-02-03T11:36:52.453949096Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-03T11:36:52.454768984Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=822.018µs grafana | logger=migrator t=2024-02-03T11:36:52.461058691Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:52.461501326Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=442.275µs grafana | logger=migrator t=2024-02-03T11:36:52.46661754Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-03T11:36:52.467907334Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.290034ms grafana | logger=migrator t=2024-02-03T11:36:52.475625386Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-03T11:36:52.478085411Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.459625ms grafana | logger=migrator t=2024-02-03T11:36:52.488530192Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-03T11:36:52.489864446Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.323244ms grafana | logger=migrator t=2024-02-03T11:36:52.497050333Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-03T11:36:52.497493627Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=463.504µs grafana | logger=migrator t=2024-02-03T11:36:52.502928315Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-03T11:36:52.503560522Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=635.217µs grafana | logger=migrator t=2024-02-03T11:36:52.507809537Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-03T11:36:52.508596195Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=786.498µs grafana | logger=migrator t=2024-02-03T11:36:52.515055464Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-03T11:36:52.519135917Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=4.071283ms grafana | logger=migrator t=2024-02-03T11:36:52.527952871Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-02-03T11:36:52.529050352Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.096751ms grafana | logger=migrator t=2024-02-03T11:36:52.53346291Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-03T11:36:52.534779103Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.315444ms grafana | logger=migrator t=2024-02-03T11:36:52.541314453Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-03T11:36:52.542100321Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=778.928µs grafana | logger=migrator t=2024-02-03T11:36:52.546774931Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-03T11:36:52.547505168Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=730.477µs grafana | logger=migrator t=2024-02-03T11:36:52.552965486Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-03T11:36:52.554967627Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=2.004222ms grafana | logger=migrator t=2024-02-03T11:36:52.559189272Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-03T11:36:52.567128787Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.938635ms grafana | logger=migrator t=2024-02-03T11:36:52.57401699Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-03T11:36:52.574776248Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=759.208µs grafana | logger=migrator t=2024-02-03T11:36:52.580842451Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-03T11:36:52.582844153Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=2.001382ms grafana | logger=migrator t=2024-02-03T11:36:52.627030101Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-03T11:36:52.629080833Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=2.032862ms grafana | logger=migrator t=2024-02-03T11:36:52.635879836Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-03T11:36:52.636496702Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=615.976µs grafana | logger=migrator t=2024-02-03T11:36:52.645639769Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-03T11:36:52.6495798Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.939101ms grafana | logger=migrator t=2024-02-03T11:36:52.655597805Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-03T11:36:52.658672367Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.074192ms grafana | logger=migrator t=2024-02-03T11:36:52.662282996Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-03T11:36:52.662307626Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.55µs grafana | logger=migrator t=2024-02-03T11:36:52.669442112Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-03T11:36:52.669740674Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=297.252µs grafana | logger=migrator t=2024-02-03T11:36:52.675157902Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-03T11:36:52.679429357Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.269925ms grafana | logger=migrator t=2024-02-03T11:36:52.687349571Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-03T11:36:52.687661415Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=312.114µs grafana | logger=migrator t=2024-02-03T11:36:52.693348885Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-03T11:36:52.693502297Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=153.512µs grafana | logger=migrator t=2024-02-03T11:36:52.69857376Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-03T11:36:52.701273009Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.697339ms grafana | logger=migrator t=2024-02-03T11:36:52.713290816Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-03T11:36:52.713692291Z level=info msg="Migration successfully executed" id="Update uid value" duration=402.205µs grafana | logger=migrator t=2024-02-03T11:36:52.72204444Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-03T11:36:52.723463905Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.426526ms grafana | logger=migrator t=2024-02-03T11:36:52.728894332Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-03T11:36:52.729688511Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=793.929µs grafana | logger=migrator t=2024-02-03T11:36:52.733644803Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-02-03T11:36:52.73435329Z level=info msg="Migration successfully executed" id="create api_key table" duration=707.387µs grafana | logger=migrator t=2024-02-03T11:36:52.743092853Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-03T11:36:52.744120743Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.02709ms grafana | logger=migrator t=2024-02-03T11:36:52.752065988Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-03T11:36:52.753659375Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.592227ms grafana | logger=migrator t=2024-02-03T11:36:52.761009843Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-03T11:36:52.762366528Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.358545ms grafana | logger=migrator t=2024-02-03T11:36:52.770613494Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-03T11:36:52.772352693Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.731999ms grafana | logger=migrator t=2024-02-03T11:36:52.779357538Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-03T11:36:52.780690922Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.334234ms grafana | logger=migrator t=2024-02-03T11:36:52.788263932Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-03T11:36:52.789579775Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.315983ms grafana | logger=migrator t=2024-02-03T11:36:52.796085605Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-03T11:36:52.805261592Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.182197ms grafana | logger=migrator t=2024-02-03T11:36:52.810327106Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-03T11:36:52.810931572Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=604.226µs grafana | logger=migrator t=2024-02-03T11:36:52.819948268Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-03T11:36:52.821325583Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.376965ms grafana | logger=migrator t=2024-02-03T11:36:52.825678039Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-03T11:36:52.827054633Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.381344ms grafana | logger=migrator t=2024-02-03T11:36:52.833156918Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-03T11:36:52.834205189Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.049391ms grafana | logger=migrator t=2024-02-03T11:36:52.842612458Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:52.842990743Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=375.445µs grafana | logger=migrator t=2024-02-03T11:36:52.850731735Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-03T11:36:52.852045609Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.312264ms grafana | logger=migrator t=2024-02-03T11:36:52.856579936Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-03T11:36:52.856620087Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.741µs grafana | logger=migrator t=2024-02-03T11:36:52.861886533Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-03T11:36:52.864586162Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.699019ms grafana | logger=migrator t=2024-02-03T11:36:52.868859447Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-03T11:36:52.871338993Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.478846ms grafana | logger=migrator t=2024-02-03T11:36:52.87949913Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-03T11:36:52.879760912Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=261.372µs grafana | logger=migrator t=2024-02-03T11:36:52.884004777Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-03T11:36:52.887901959Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.893212ms grafana | logger=migrator t=2024-02-03T11:36:52.895903183Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-03T11:36:52.898613062Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.709279ms grafana | logger=migrator t=2024-02-03T11:36:52.904801618Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-03T11:36:52.905547706Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=746.878µs grafana | logger=migrator t=2024-02-03T11:36:52.910919173Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-03T11:36:52.911975784Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.055881ms grafana | logger=migrator t=2024-02-03T11:36:52.918661575Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-03T11:36:52.92003803Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.375905ms grafana | logger=migrator t=2024-02-03T11:36:52.927879373Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-03T11:36:52.929279158Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.391415ms grafana | logger=migrator t=2024-02-03T11:36:52.938787819Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-03T11:36:52.940094272Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.306133ms grafana | logger=migrator t=2024-02-03T11:36:52.946625132Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-03T11:36:52.948085507Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.460185ms grafana | logger=migrator t=2024-02-03T11:36:52.957381226Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-03T11:36:52.957465216Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=89.02µs grafana | logger=migrator t=2024-02-03T11:36:52.963093346Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-03T11:36:52.963145957Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=45.05µs grafana | logger=migrator t=2024-02-03T11:36:52.970490965Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-03T11:36:52.974902702Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.411136ms grafana | logger=migrator t=2024-02-03T11:36:52.984030448Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-03T11:36:52.987557456Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.522508ms grafana | logger=migrator t=2024-02-03T11:36:52.994177856Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-03T11:36:52.994459799Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=279.613µs grafana | logger=migrator t=2024-02-03T11:36:52.998336061Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-03T11:36:52.999087809Z level=info msg="Migration successfully executed" id="create quota table v1" duration=751.497µs grafana | logger=migrator t=2024-02-03T11:36:53.013550799Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-03T11:36:53.015045048Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.485779ms grafana | logger=migrator t=2024-02-03T11:36:53.020718882Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-03T11:36:53.020777102Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=57.95µs grafana | logger=migrator t=2024-02-03T11:36:53.032499103Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-03T11:36:53.03382154Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.321667ms grafana | logger=migrator t=2024-02-03T11:36:53.041377177Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-03T11:36:53.042864716Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.487329ms grafana | logger=migrator t=2024-02-03T11:36:53.047308334Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-03T11:36:53.052038824Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.72982ms grafana | logger=migrator t=2024-02-03T11:36:53.05784251Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-03T11:36:53.058049452Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=207.562µs grafana | logger=migrator t=2024-02-03T11:36:53.068575447Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-03T11:36:53.069848874Z level=info msg="Migration successfully executed" id="create session table" duration=1.281117ms grafana | logger=migrator t=2024-02-03T11:36:53.074493523Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-03T11:36:53.074677576Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=191.073µs grafana | logger=migrator t=2024-02-03T11:36:53.078039979Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-03T11:36:53.078210022Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=157.983µs grafana | logger=migrator t=2024-02-03T11:36:53.083437299Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-03T11:36:53.084131488Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=693.838µs grafana | logger=migrator t=2024-02-03T11:36:53.09674028Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-03T11:36:53.097919955Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.179295ms grafana | logger=migrator t=2024-02-03T11:36:53.102618966Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-03T11:36:53.102658797Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=40.791µs grafana | logger=migrator t=2024-02-03T11:36:53.106565396Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-03T11:36:53.106605987Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=36.121µs grafana | logger=migrator t=2024-02-03T11:36:53.112608274Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-03T11:36:53.117144132Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.533958ms grafana | logger=migrator t=2024-02-03T11:36:53.121938124Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-03T11:36:53.124909442Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.970618ms grafana | logger=migrator t=2024-02-03T11:36:53.12932501Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-03T11:36:53.129453821Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=128.091µs grafana | logger=migrator t=2024-02-03T11:36:53.133840727Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-03T11:36:53.133973169Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=133.672µs grafana | logger=migrator t=2024-02-03T11:36:53.142383137Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-03T11:36:53.143670854Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.290647ms grafana | logger=migrator t=2024-02-03T11:36:53.148793081Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-03T11:36:53.148849021Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=54.591µs grafana | logger=migrator t=2024-02-03T11:36:53.155662278Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-03T11:36:53.161058438Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.39583ms grafana | logger=migrator t=2024-02-03T11:36:53.165166071Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-03T11:36:53.165324053Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=157.962µs grafana | logger=migrator t=2024-02-03T11:36:53.169320134Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-03T11:36:53.173816392Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.495208ms grafana | logger=migrator t=2024-02-03T11:36:53.17985676Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-03T11:36:53.182892999Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.036029ms grafana | logger=migrator t=2024-02-03T11:36:53.188002795Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-03T11:36:53.188096136Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=93.991µs grafana | logger=migrator t=2024-02-03T11:36:53.191604451Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-03T11:36:53.192572054Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=967.042µs grafana | logger=migrator t=2024-02-03T11:36:53.195680193Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-03T11:36:53.197092892Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.407508ms grafana | logger=migrator t=2024-02-03T11:36:53.200265963Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-db-migrator | 314 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-db-migrator | upgrade: 0 -> 1200 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-02-03T11:36:53.201900403Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.63325ms grafana | logger=migrator t=2024-02-03T11:36:53.205043054Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-03T11:36:53.206098867Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.058623ms grafana | logger=migrator t=2024-02-03T11:36:53.209216358Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-03T11:36:53.210125369Z level=info msg="Migration successfully executed" id="add index alert state" duration=913.731µs grafana | logger=migrator t=2024-02-03T11:36:53.213043257Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-03T11:36:53.213936199Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=892.522µs grafana | logger=migrator t=2024-02-03T11:36:53.217027348Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-03T11:36:53.218123763Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.096165ms grafana | logger=migrator t=2024-02-03T11:36:53.222454208Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-03T11:36:53.223975038Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.52015ms grafana | logger=migrator t=2024-02-03T11:36:53.227126718Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-03T11:36:53.22802213Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=895.082µs grafana | logger=migrator t=2024-02-03T11:36:53.23115774Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-03T11:36:53.244519872Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.362092ms grafana | logger=migrator t=2024-02-03T11:36:53.247600012Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-03T11:36:53.248069988Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=470.256µs grafana | logger=migrator t=2024-02-03T11:36:53.250755952Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-02-03T11:36:53.251689194Z 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=932.832µs grafana | logger=migrator t=2024-02-03T11:36:53.254792615Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:53.255079918Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=287.053µs grafana | logger=migrator t=2024-02-03T11:36:53.258170548Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-03T11:36:53.25910507Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=934.062µs grafana | logger=migrator t=2024-02-03T11:36:53.262388472Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-03T11:36:53.263505136Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.118644ms grafana | logger=migrator t=2024-02-03T11:36:53.266781519Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-03T11:36:53.270636589Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.85576ms grafana | logger=migrator t=2024-02-03T11:36:53.273736248Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-03T11:36:53.277498296Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.756328ms grafana | logger=migrator t=2024-02-03T11:36:53.280761859Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-03T11:36:53.286864508Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=6.104099ms grafana | logger=migrator t=2024-02-03T11:36:53.290165979Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-03T11:36:53.293820517Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.653928ms grafana | logger=migrator t=2024-02-03T11:36:53.296854996Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-03T11:36:53.297800378Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=944.792µs grafana | logger=migrator t=2024-02-03T11:36:53.301205622Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-03T11:36:53.301234182Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=30.67µs grafana | logger=migrator t=2024-02-03T11:36:53.304290412Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-03T11:36:53.304363533Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=74.311µs grafana | logger=migrator t=2024-02-03T11:36:53.307864878Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-03T11:36:53.309052483Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.188144ms grafana | logger=migrator t=2024-02-03T11:36:53.312609659Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-03T11:36:53.313543921Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=933.802µs grafana | logger=migrator t=2024-02-03T11:36:53.316851764Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-03T11:36:53.317565723Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=712.899µs grafana | logger=migrator t=2024-02-03T11:36:53.320561071Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-03T11:36:53.32125616Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=696.419µs grafana | logger=migrator t=2024-02-03T11:36:53.324201048Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-03T11:36:53.32513972Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=933.222µs grafana | logger=migrator t=2024-02-03T11:36:53.327999126Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-03T11:36:53.332829339Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.830183ms grafana | logger=migrator t=2024-02-03T11:36:53.335792578Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-02-03T11:36:53.339417594Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.624827ms grafana | logger=migrator t=2024-02-03T11:36:53.342363252Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-03T11:36:53.342573424Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=209.892µs grafana | logger=migrator t=2024-02-03T11:36:53.345574023Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-03T11:36:53.346491615Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=917.032µs grafana | logger=migrator t=2024-02-03T11:36:53.349336282Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-03T11:36:53.350148252Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=814.511µs grafana | logger=migrator t=2024-02-03T11:36:53.352282209Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-03T11:36:53.356105149Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.82256ms grafana | logger=migrator t=2024-02-03T11:36:53.359148708Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-03T11:36:53.359237619Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=91.021µs grafana | logger=migrator t=2024-02-03T11:36:53.362255927Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-03T11:36:53.363209Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=953.193µs grafana | logger=migrator t=2024-02-03T11:36:53.365813704Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-03T11:36:53.366822907Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.008893ms grafana | logger=migrator t=2024-02-03T11:36:53.36938603Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-03T11:36:53.369489981Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=104.121µs grafana | logger=migrator t=2024-02-03T11:36:53.371648559Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-03T11:36:53.372442219Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=793.18µs grafana | logger=migrator t=2024-02-03T11:36:53.375468658Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-03T11:36:53.37639144Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=922.452µs grafana | logger=migrator t=2024-02-03T11:36:53.379259617Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-03T11:36:53.380178868Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=919.101µs grafana | logger=migrator t=2024-02-03T11:36:53.383128476Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-03T11:36:53.384111379Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=982.723µs grafana | logger=migrator t=2024-02-03T11:36:53.386900355Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-03T11:36:53.387938128Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.037403ms grafana | logger=migrator t=2024-02-03T11:36:53.428094095Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-03T11:36:53.429952589Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.861494ms grafana | logger=migrator t=2024-02-03T11:36:53.438665772Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-02-03T11:36:53.438697342Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.45µs grafana | logger=migrator t=2024-02-03T11:36:53.446769786Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.453229628Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.476933ms grafana | logger=migrator t=2024-02-03T11:36:53.459954345Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-03T11:36:53.460825546Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=871.151µs grafana | logger=migrator t=2024-02-03T11:36:53.468298663Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.473640652Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.342459ms grafana | logger=migrator t=2024-02-03T11:36:53.480267897Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-03T11:36:53.481053997Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=785.73µs grafana | logger=migrator t=2024-02-03T11:36:53.539667392Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-03T11:36:53.541687108Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=2.019356ms grafana | logger=migrator t=2024-02-03T11:36:53.545459506Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-03T11:36:53.546890274Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.430898ms grafana | logger=migrator t=2024-02-03T11:36:53.550534961Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-03T11:36:53.56600122Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.466409ms grafana | logger=migrator t=2024-02-03T11:36:53.570561399Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-02-03T11:36:53.571178857Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=617.048µs grafana | logger=migrator t=2024-02-03T11:36:53.576896061Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-02-03T11:36:53.578137647Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.247586ms grafana | logger=migrator t=2024-02-03T11:36:53.582701565Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-02-03T11:36:53.58301281Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=308.155µs grafana | logger=migrator t=2024-02-03T11:36:53.587103863Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-03T11:36:53.587734721Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=633.949µs grafana | logger=migrator t=2024-02-03T11:36:53.6031977Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-02-03T11:36:53.603729416Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=531.886µs grafana | logger=migrator t=2024-02-03T11:36:53.607570536Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.612919964Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.350338ms grafana | logger=migrator t=2024-02-03T11:36:53.616705573Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.619620121Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.917838ms grafana | logger=migrator t=2024-02-03T11:36:53.624815287Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.625678619Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=859.782µs grafana | logger=migrator t=2024-02-03T11:36:53.651903756Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.65373973Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.779613ms grafana | logger=migrator t=2024-02-03T11:36:53.681139723Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-03T11:36:53.681650399Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=516.116µs grafana | logger=migrator t=2024-02-03T11:36:53.686529932Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-02-03T11:36:53.692160105Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.649983ms grafana | logger=migrator t=2024-02-03T11:36:53.695933523Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-02-03T11:36:53.696823124Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=885.071µs grafana | logger=migrator t=2024-02-03T11:36:53.703597702Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-02-03T11:36:53.703811044Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=213.332µs grafana | logger=migrator t=2024-02-03T11:36:53.707971378Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-02-03T11:36:53.70888077Z level=info msg="Migration successfully executed" id="Move region to single row" duration=901.622µs grafana | logger=migrator t=2024-02-03T11:36:53.714921037Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.71584827Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=927.482µs grafana | logger=migrator t=2024-02-03T11:36:53.719894191Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.720718092Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=829.651µs grafana | logger=migrator t=2024-02-03T11:36:53.725786138Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.726680949Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=894.331µs grafana | logger=migrator t=2024-02-03T11:36:53.732465243Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.733407446Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=941.563µs grafana | logger=migrator t=2024-02-03T11:36:53.737023962Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.73844733Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.425128ms grafana | logger=migrator t=2024-02-03T11:36:53.743403414Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-02-03T11:36:53.744919464Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.51534ms grafana | logger=migrator t=2024-02-03T11:36:53.748445539Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-02-03T11:36:53.7485198Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=74.851µs grafana | logger=migrator t=2024-02-03T11:36:53.751810872Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-02-03T11:36:53.752752834Z level=info msg="Migration successfully executed" id="create test_data table" duration=940.032µs grafana | logger=migrator t=2024-02-03T11:36:53.757177272Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-03T11:36:53.757991832Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=814.04µs grafana | logger=migrator t=2024-02-03T11:36:53.761589868Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-02-03T11:36:53.76252034Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=929.932µs grafana | logger=migrator t=2024-02-03T11:36:53.766635413Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-02-03T11:36:53.768435067Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.794704ms grafana | logger=migrator t=2024-02-03T11:36:53.80678918Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-02-03T11:36:53.807337537Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=537.058µs grafana | logger=migrator t=2024-02-03T11:36:53.811891616Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-02-03T11:36:53.812551205Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=658.978µs grafana | logger=migrator t=2024-02-03T11:36:53.816754499Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-02-03T11:36:53.816817499Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=63.57µs grafana | logger=migrator t=2024-02-03T11:36:53.820574307Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-02-03T11:36:53.821275106Z level=info msg="Migration successfully executed" id="create team table" duration=698.259µs grafana | logger=migrator t=2024-02-03T11:36:53.826148099Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-02-03T11:36:53.827656178Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.499799ms grafana | logger=migrator t=2024-02-03T11:36:53.832945807Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-03T11:36:53.834869992Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.920805ms grafana | logger=migrator t=2024-02-03T11:36:53.841535727Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-02-03T11:36:53.846057935Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.517418ms grafana | logger=migrator t=2024-02-03T11:36:53.851934101Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-02-03T11:36:53.852184694Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=289.393µs grafana | logger=migrator t=2024-02-03T11:36:53.855566088Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-02-03T11:36:53.856683093Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.116275ms grafana | logger=migrator t=2024-02-03T11:36:53.859961624Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-02-03T11:36:53.860723194Z level=info msg="Migration successfully executed" id="create team member table" duration=761.08µs grafana | logger=migrator t=2024-02-03T11:36:53.864925298Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-02-03T11:36:53.86580963Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=884.132µs grafana | logger=migrator t=2024-02-03T11:36:53.869083211Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-02-03T11:36:53.869995294Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=911.463µs grafana | logger=migrator t=2024-02-03T11:36:53.873125744Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-02-03T11:36:53.873996665Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=870.481µs grafana | logger=migrator t=2024-02-03T11:36:53.877223067Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-02-03T11:36:53.882746468Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.525301ms grafana | logger=migrator t=2024-02-03T11:36:53.88752975Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-02-03T11:36:53.892043817Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.520008ms grafana | logger=migrator t=2024-02-03T11:36:53.89531939Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-02-03T11:36:53.899860668Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.540938ms grafana | logger=migrator t=2024-02-03T11:36:53.903198991Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-03T11:36:53.904284045Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.084484ms grafana | logger=migrator t=2024-02-03T11:36:53.908583711Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-02-03T11:36:53.909487572Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=900.122µs grafana | logger=migrator t=2024-02-03T11:36:53.912951477Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-02-03T11:36:53.913961149Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.009213ms grafana | logger=migrator t=2024-02-03T11:36:53.918450407Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-03T11:36:53.919405629Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=954.582µs grafana | logger=migrator t=2024-02-03T11:36:53.922396339Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-02-03T11:36:53.92329944Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=902.871µs grafana | logger=migrator t=2024-02-03T11:36:53.926503631Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-02-03T11:36:53.927393993Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=891.602µs grafana | logger=migrator t=2024-02-03T11:36:53.931460024Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-02-03T11:36:53.93266491Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.204066ms grafana | logger=migrator t=2024-02-03T11:36:53.935968223Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-02-03T11:36:53.936913675Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=944.842µs grafana | logger=migrator t=2024-02-03T11:36:53.940292168Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-02-03T11:36:53.940830716Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=533.887µs grafana | logger=migrator t=2024-02-03T11:36:53.944961169Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-02-03T11:36:53.945180131Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=218.752µs grafana | logger=migrator t=2024-02-03T11:36:53.948410463Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-02-03T11:36:53.949125812Z level=info msg="Migration successfully executed" id="create tag table" duration=710.139µs grafana | logger=migrator t=2024-02-03T11:36:53.952719459Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-02-03T11:36:53.954214768Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.497499ms grafana | logger=migrator t=2024-02-03T11:36:53.958536093Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-02-03T11:36:53.959430804Z level=info msg="Migration successfully executed" id="create login attempt table" duration=879.461µs grafana | logger=migrator t=2024-02-03T11:36:53.962906689Z level=info msg="Executing migration" id="add index login_attempt.username" prometheus | ts=2024-02-03T11:36:50.521Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-02-03T11:36:50.521Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" prometheus | ts=2024-02-03T11:36:50.521Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-03T11:36:50.521Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-02-03T11:36:50.521Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-03T11:36:50.521Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-03T11:36:50.523Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-03T11:36:50.523Z caller=main.go:1039 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-03T11:36:50.528Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-03T11:36:50.528Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-03T11:36:50.530Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-03T11:36:50.530Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.93µs prometheus | ts=2024-02-03T11:36:50.530Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-03T11:36:50.531Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-03T11:36:50.531Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=70.31µs wal_replay_duration=440.305µs wbl_replay_duration=230ns total_replay_duration=683.897µs prometheus | ts=2024-02-03T11:36:50.534Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-03T11:36:50.534Z caller=main.go:1063 level=info msg="TSDB started" prometheus | ts=2024-02-03T11:36:50.534Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-03T11:36:50.535Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.166793ms db_storage=1.14µs remote_storage=1.56µs web_handler=550ns query_engine=1.06µs scrape=275.512µs scrape_sd=147.003µs notify=25.7µs notify_sd=71.01µs rules=2.21µs tracing=5.481µs prometheus | ts=2024-02-03T11:36:50.535Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." prometheus | ts=2024-02-03T11:36:50.535Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2024-02-03T11:36:53.963862002Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=954.803µs grafana | logger=migrator t=2024-02-03T11:36:53.967405928Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-02-03T11:36:53.968316849Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=910.421µs grafana | logger=migrator t=2024-02-03T11:36:53.972696485Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-03T11:36:53.992226357Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.529862ms grafana | logger=migrator t=2024-02-03T11:36:53.99556052Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-02-03T11:36:53.996194488Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=634.548µs grafana | logger=migrator t=2024-02-03T11:36:53.999120306Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-02-03T11:36:53.999804284Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=683.518µs grafana | logger=migrator t=2024-02-03T11:36:54.003655305Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:54.003877477Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=222.053µs grafana | logger=migrator t=2024-02-03T11:36:54.007166488Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-02-03T11:36:54.0081695Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.004202ms grafana | logger=migrator t=2024-02-03T11:36:54.011908027Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-03T11:36:54.013070522Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.161725ms grafana | logger=migrator t=2024-02-03T11:36:54.017248074Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-02-03T11:36:54.018410469Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.162185ms grafana | logger=migrator t=2024-02-03T11:36:54.021643519Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-02-03T11:36:54.02170599Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=63.031µs grafana | logger=migrator t=2024-02-03T11:36:54.024749048Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-02-03T11:36:54.029852922Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.103264ms grafana | logger=migrator t=2024-02-03T11:36:54.033844172Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-02-03T11:36:54.038847655Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.002863ms grafana | logger=migrator t=2024-02-03T11:36:54.042008534Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-02-03T11:36:54.04805727Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.047996ms grafana | logger=migrator t=2024-02-03T11:36:54.051390932Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-02-03T11:36:54.056547656Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.156164ms grafana | logger=migrator t=2024-02-03T11:36:54.061021693Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-02-03T11:36:54.061941874Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=919.792µs grafana | logger=migrator t=2024-02-03T11:36:54.065393277Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-02-03T11:36:54.07047561Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.081793ms grafana | logger=migrator t=2024-02-03T11:36:54.073891653Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-02-03T11:36:54.074781634Z level=info msg="Migration successfully executed" id="create server_lock table" duration=889.521µs grafana | logger=migrator t=2024-02-03T11:36:54.078883706Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-02-03T11:36:54.079779716Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=898.401µs grafana | logger=migrator t=2024-02-03T11:36:54.083073578Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-02-03T11:36:54.083871048Z level=info msg="Migration successfully executed" id="create user auth token table" duration=797.96µs grafana | logger=migrator t=2024-02-03T11:36:54.087078388Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-02-03T11:36:54.087984129Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=905.241µs grafana | logger=migrator t=2024-02-03T11:36:54.093564609Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-02-03T11:36:54.09445913Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=894.121µs grafana | logger=migrator t=2024-02-03T11:36:54.09760575Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-02-03T11:36:54.098848246Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.242026ms grafana | logger=migrator t=2024-02-03T11:36:54.102110196Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-02-03T11:36:54.107451543Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.340617ms grafana | logger=migrator t=2024-02-03T11:36:54.111580315Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-02-03T11:36:54.112608467Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.027462ms grafana | logger=migrator t=2024-02-03T11:36:54.115638916Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-02-03T11:36:54.116427436Z level=info msg="Migration successfully executed" id="create cache_data table" duration=788.6µs grafana | logger=migrator t=2024-02-03T11:36:54.119522284Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-02-03T11:36:54.120495957Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=978.552µs grafana | logger=migrator t=2024-02-03T11:36:54.12477575Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-02-03T11:36:54.126546852Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.770812ms grafana | logger=migrator t=2024-02-03T11:36:54.130160887Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-02-03T11:36:54.131651406Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.489498ms grafana | logger=migrator t=2024-02-03T11:36:54.135295152Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-02-03T11:36:54.135375383Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=81.081µs grafana | logger=migrator t=2024-02-03T11:36:54.139263901Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-02-03T11:36:54.139347112Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=83.251µs grafana | logger=migrator t=2024-02-03T11:36:54.142961348Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-02-03T11:36:54.144700469Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.740241ms grafana | logger=migrator t=2024-02-03T11:36:54.148256744Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-03T11:36:54.149829813Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.573179ms grafana | logger=migrator t=2024-02-03T11:36:54.153620721Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-03T11:36:54.154552792Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=931.971µs grafana | logger=migrator t=2024-02-03T11:36:54.158757435Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-03T11:36:54.158824076Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=67.121µs grafana | logger=migrator t=2024-02-03T11:36:54.162168748Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-03T11:36:54.163957251Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.787943ms grafana | logger=migrator t=2024-02-03T11:36:54.168213424Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-03T11:36:54.170361661Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=2.148297ms grafana | logger=migrator t=2024-02-03T11:36:54.174983588Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-03T11:36:54.176810331Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.826033ms grafana | logger=migrator t=2024-02-03T11:36:54.180247724Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-03T11:36:54.181182226Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=933.992µs grafana | logger=migrator t=2024-02-03T11:36:54.185113255Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-02-03T11:36:54.190802206Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.688451ms grafana | logger=migrator t=2024-02-03T11:36:54.224621649Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-02-03T11:36:54.226836267Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=2.217198ms grafana | logger=migrator t=2024-02-03T11:36:54.230857407Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-02-03T11:36:54.230950238Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=93.271µs grafana | logger=migrator t=2024-02-03T11:36:54.235186011Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-02-03T11:36:54.236118174Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=926.193µs grafana | logger=migrator t=2024-02-03T11:36:54.239388594Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-02-03T11:36:54.241082476Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.688072ms grafana | logger=migrator t=2024-02-03T11:36:54.244735741Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-02-03T11:36:54.246410452Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.674201ms grafana | logger=migrator t=2024-02-03T11:36:54.251462806Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-03T11:36:54.251560277Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=97.891µs grafana | logger=migrator t=2024-02-03T11:36:54.255152632Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-02-03T11:36:54.256222315Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.071473ms grafana | logger=migrator t=2024-02-03T11:36:54.260366227Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-02-03T11:36:54.261271929Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=904.893µs grafana | logger=migrator t=2024-02-03T11:36:54.264595979Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-02-03T11:36:54.265626153Z 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.029884ms grafana | logger=migrator t=2024-02-03T11:36:54.268915854Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-02-03T11:36:54.269918976Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.002922ms grafana | logger=migrator t=2024-02-03T11:36:54.274618476Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.280847064Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.228039ms grafana | logger=migrator t=2024-02-03T11:36:54.284848843Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.286031628Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.198885ms grafana | logger=migrator t=2024-02-03T11:36:54.290680857Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.291417666Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=736.629µs grafana | logger=migrator t=2024-02-03T11:36:54.295390755Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.332064624Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.666679ms grafana | logger=migrator t=2024-02-03T11:36:54.337279889Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.370474395Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=33.192866ms grafana | logger=migrator t=2024-02-03T11:36:54.374586676Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.375733381Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.147944ms grafana | logger=migrator t=2024-02-03T11:36:54.380521011Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.381421082Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=900.131µs grafana | logger=migrator t=2024-02-03T11:36:54.385431202Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-02-03T11:36:54.391335455Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.902133ms grafana | logger=migrator t=2024-02-03T11:36:54.398968831Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-02-03T11:36:54.406136262Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=7.20822ms grafana | logger=migrator t=2024-02-03T11:36:54.410913801Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-02-03T11:36:54.411880383Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=977.193µs grafana | logger=migrator t=2024-02-03T11:36:54.417200499Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-02-03T11:36:54.41877243Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.573561ms grafana | logger=migrator t=2024-02-03T11:36:54.426153571Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-02-03T11:36:54.427737501Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.59336ms grafana | logger=migrator t=2024-02-03T11:36:54.432130047Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-02-03T11:36:54.433919809Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.789042ms grafana | logger=migrator t=2024-02-03T11:36:54.437663676Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-03T11:36:54.437735297Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=72.071µs grafana | logger=migrator t=2024-02-03T11:36:54.440265248Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-02-03T11:36:54.446139252Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.873564ms grafana | logger=migrator t=2024-02-03T11:36:54.450633698Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-02-03T11:36:54.456970917Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.335389ms grafana | logger=migrator t=2024-02-03T11:36:54.460947377Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-02-03T11:36:54.466385126Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.436938ms grafana | logger=migrator t=2024-02-03T11:36:54.472999858Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-02-03T11:36:54.473758147Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=759.079µs grafana | logger=migrator t=2024-02-03T11:36:54.480713324Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-02-03T11:36:54.483233676Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.520862ms grafana | logger=migrator t=2024-02-03T11:36:54.487688082Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-02-03T11:36:54.493854269Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.171467ms grafana | logger=migrator t=2024-02-03T11:36:54.497324943Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-02-03T11:36:54.503325417Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.004105ms grafana | logger=migrator t=2024-02-03T11:36:54.509397333Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-02-03T11:36:54.510449007Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.051304ms grafana | logger=migrator t=2024-02-03T11:36:54.513705877Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-02-03T11:36:54.521572085Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.865248ms grafana | logger=migrator t=2024-02-03T11:36:54.524592204Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-02-03T11:36:54.530751811Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.159957ms grafana | logger=migrator t=2024-02-03T11:36:54.536090607Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-02-03T11:36:54.536198288Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=109.101µs grafana | logger=migrator t=2024-02-03T11:36:54.539619661Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-02-03T11:36:54.541239111Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.61913ms grafana | logger=migrator t=2024-02-03T11:36:54.544699495Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-02-03T11:36:54.546484848Z 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.779132ms grafana | logger=migrator t=2024-02-03T11:36:54.550994724Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-02-03T11:36:54.552090528Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.120285ms grafana | logger=migrator t=2024-02-03T11:36:54.555302248Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-03T11:36:54.555368139Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=66.241µs grafana | logger=migrator t=2024-02-03T11:36:54.558552448Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-02-03T11:36:54.564760076Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.207198ms grafana | logger=migrator t=2024-02-03T11:36:54.568707116Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-02-03T11:36:54.574758581Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.050905ms grafana | logger=migrator t=2024-02-03T11:36:54.578106843Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-02-03T11:36:54.584485593Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.37733ms grafana | logger=migrator t=2024-02-03T11:36:54.587906546Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-02-03T11:36:54.594095293Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.188257ms grafana | logger=migrator t=2024-02-03T11:36:54.59865071Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-02-03T11:36:54.604856488Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.206718ms grafana | logger=migrator t=2024-02-03T11:36:54.648433454Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-02-03T11:36:54.648495194Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=62.26µs grafana | logger=migrator t=2024-02-03T11:36:54.655102027Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-02-03T11:36:54.655869386Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=767.009µs grafana | logger=migrator t=2024-02-03T11:36:54.660262562Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-02-03T11:36:54.666389718Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.126777ms grafana | logger=migrator t=2024-02-03T11:36:54.670208446Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-02-03T11:36:54.670288817Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=80.761µs grafana | logger=migrator t=2024-02-03T11:36:54.674311438Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-02-03T11:36:54.680577306Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.265848ms grafana | logger=migrator t=2024-02-03T11:36:54.684485424Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-02-03T11:36:54.68566657Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.181806ms grafana | logger=migrator t=2024-02-03T11:36:54.690863874Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-02-03T11:36:54.697202093Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.337679ms grafana | logger=migrator t=2024-02-03T11:36:54.703601983Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-02-03T11:36:54.704393184Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=789.441µs grafana | logger=migrator t=2024-02-03T11:36:54.707629414Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-02-03T11:36:54.709224464Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.59458ms grafana | logger=migrator t=2024-02-03T11:36:54.713577559Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-02-03T11:36:54.720152291Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.574342ms grafana | logger=migrator t=2024-02-03T11:36:54.728871431Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-02-03T11:36:54.729695801Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=822.371µs grafana | logger=migrator t=2024-02-03T11:36:54.733398727Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-02-03T11:36:54.735055927Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.65705ms grafana | logger=migrator t=2024-02-03T11:36:54.74080937Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-02-03T11:36:54.74159831Z level=info msg="Migration successfully executed" id="create alert_image table" duration=792.55µs grafana | logger=migrator t=2024-02-03T11:36:54.744519656Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-02-03T11:36:54.745570329Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.050503ms grafana | logger=migrator t=2024-02-03T11:36:54.748688898Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-02-03T11:36:54.748770259Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=81.651µs 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 | 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 | -------------- grafana | logger=migrator t=2024-02-03T11:36:54.752730269Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-02-03T11:36:54.753677311Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=947.302µs grafana | logger=migrator t=2024-02-03T11:36:54.756601807Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-02-03T11:36:54.758249807Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.64855ms grafana | logger=migrator t=2024-02-03T11:36:54.762690283Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-02-03T11:36:54.763332822Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-02-03T11:36:54.768982012Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-02-03T11:36:54.769448797Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=466.165µs grafana | logger=migrator t=2024-02-03T11:36:54.771958089Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-02-03T11:36:54.773164895Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.208536ms grafana | logger=migrator t=2024-02-03T11:36:54.776640088Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-02-03T11:36:54.784702948Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.0634ms grafana | logger=migrator t=2024-02-03T11:36:54.790300759Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-02-03T11:36:54.793901943Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=3.600164ms grafana | logger=migrator t=2024-02-03T11:36:54.798049085Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-02-03T11:36:54.7991837Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.134165ms grafana | logger=migrator t=2024-02-03T11:36:54.803361292Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-02-03T11:36:54.804156662Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=795.36µs grafana | logger=migrator t=2024-02-03T11:36:54.810516272Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-02-03T11:36:54.812246584Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.731802ms grafana | logger=migrator t=2024-02-03T11:36:54.815581605Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-02-03T11:36:54.817215826Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.633971ms grafana | logger=migrator t=2024-02-03T11:36:54.82070931Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-02-03T11:36:54.82074262Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.01µs grafana | logger=migrator t=2024-02-03T11:36:54.825223286Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-02-03T11:36:54.825286576Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=64.16µs grafana | logger=migrator t=2024-02-03T11:36:54.829756383Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-02-03T11:36:54.830140317Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=383.974µs grafana | logger=migrator t=2024-02-03T11:36:54.833686642Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-02-03T11:36:54.834601764Z level=info msg="Migration successfully executed" id="create data_keys table" duration=912.922µs grafana | logger=migrator t=2024-02-03T11:36:54.838241629Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-02-03T11:36:54.83909944Z level=info msg="Migration successfully executed" id="create secrets table" duration=857.521µs grafana | logger=migrator t=2024-02-03T11:36:54.845724622Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-02-03T11:36:54.89348097Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=47.755958ms grafana | logger=migrator t=2024-02-03T11:36:54.897419419Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-02-03T11:36:54.90459835Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.178331ms grafana | logger=migrator t=2024-02-03T11:36:54.908540398Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-02-03T11:36:54.90867553Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=134.562µs grafana | logger=migrator t=2024-02-03T11:36:54.916096733Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-02-03T11:36:54.963330214Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.234631ms grafana | logger=migrator t=2024-02-03T11:36:54.966731507Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-02-03T11:36:55.015161502Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.98202ms grafana | logger=migrator t=2024-02-03T11:36:55.019324305Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-02-03T11:36:55.020088274Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=761.099µs grafana | logger=migrator t=2024-02-03T11:36:55.058713418Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-02-03T11:36:55.060846615Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=2.132147ms grafana | logger=migrator t=2024-02-03T11:36:55.067285265Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-02-03T11:36:55.067545008Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=259.713µs grafana | logger=migrator t=2024-02-03T11:36:55.071101353Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-02-03T11:36:55.072006475Z level=info msg="Migration successfully executed" id="create permission table" duration=908.522µs grafana | logger=migrator t=2024-02-03T11:36:55.076621022Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-02-03T11:36:55.077804317Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.187085ms grafana | logger=migrator t=2024-02-03T11:36:55.0820845Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-02-03T11:36:55.083868933Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.784633ms grafana | logger=migrator t=2024-02-03T11:36:55.087734641Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-02-03T11:36:55.089112528Z level=info msg="Migration successfully executed" id="create role table" duration=1.406407ms grafana | logger=migrator t=2024-02-03T11:36:55.092528751Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-02-03T11:36:55.100098356Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.566525ms grafana | logger=migrator t=2024-02-03T11:36:55.108706334Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-02-03T11:36:55.116129637Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.423284ms grafana | logger=migrator t=2024-02-03T11:36:55.119490808Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-02-03T11:36:55.120580192Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.084034ms grafana | logger=migrator t=2024-02-03T11:36:55.123893554Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-02-03T11:36:55.125058598Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.155574ms grafana | logger=migrator t=2024-02-03T11:36:55.128991597Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-02-03T11:36:55.130500076Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.506839ms grafana | logger=migrator t=2024-02-03T11:36:55.13637301Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-02-03T11:36:55.13793505Z level=info msg="Migration successfully executed" id="create team role table" duration=1.56279ms grafana | logger=migrator t=2024-02-03T11:36:55.142610037Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-02-03T11:36:55.143790542Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.174755ms grafana | logger=migrator t=2024-02-03T11:36:55.147971155Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-02-03T11:36:55.14920599Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.230765ms grafana | logger=migrator t=2024-02-03T11:36:55.152621193Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-02-03T11:36:55.153760127Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.139024ms grafana | logger=migrator t=2024-02-03T11:36:55.157100919Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-02-03T11:36:55.157954609Z level=info msg="Migration successfully executed" id="create user role table" duration=853.7µs grafana | logger=migrator t=2024-02-03T11:36:55.162504327Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-02-03T11:36:55.164041526Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.535389ms grafana | logger=migrator t=2024-02-03T11:36:55.17074916Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-02-03T11:36:55.172581703Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.830153ms grafana | logger=migrator t=2024-02-03T11:36:55.180823176Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-02-03T11:36:55.181956471Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.133135ms grafana | logger=migrator t=2024-02-03T11:36:55.18746224Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-02-03T11:36:55.188664294Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.200234ms grafana | logger=migrator t=2024-02-03T11:36:55.192384761Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-02-03T11:36:55.194178493Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.793032ms grafana | logger=migrator t=2024-02-03T11:36:55.197689317Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-02-03T11:36:55.19871475Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.028903ms grafana | logger=migrator t=2024-02-03T11:36:55.203271307Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-02-03T11:36:55.21312302Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.855233ms grafana | logger=migrator t=2024-02-03T11:36:55.21785877Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-02-03T11:36:55.223802784Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=5.933243ms grafana | logger=migrator t=2024-02-03T11:36:55.228635224Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-02-03T11:36:55.229823699Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.188395ms grafana | logger=migrator t=2024-02-03T11:36:55.233145821Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-02-03T11:36:55.234253994Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.108003ms grafana | logger=migrator t=2024-02-03T11:36:55.238236235Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-02-03T11:36:55.239324119Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.087715ms grafana | logger=migrator t=2024-02-03T11:36:55.247169517Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-02-03T11:36:55.248046597Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=874.75µs grafana | logger=migrator t=2024-02-03T11:36:55.251676303Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-02-03T11:36:55.253716478Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.038996ms grafana | logger=migrator t=2024-02-03T11:36:55.258898864Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-02-03T11:36:55.267001614Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.10266ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-03T11:36:55.276553434Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-02-03T11:36:55.284863958Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.310754ms grafana | logger=migrator t=2024-02-03T11:36:55.288142859Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-02-03T11:36:55.297136562Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.993002ms grafana | logger=migrator t=2024-02-03T11:36:55.300718526Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-02-03T11:36:55.307122026Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=6.40182ms grafana | logger=migrator t=2024-02-03T11:36:55.314983855Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-02-03T11:36:55.316102929Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.118874ms grafana | logger=migrator t=2024-02-03T11:36:55.322594511Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-02-03T11:36:55.324086639Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.491538ms grafana | logger=migrator t=2024-02-03T11:36:55.327685444Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-02-03T11:36:55.3289295Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.243916ms grafana | logger=migrator t=2024-02-03T11:36:55.333549297Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-02-03T11:36:55.333848752Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=296.304µs grafana | logger=migrator t=2024-02-03T11:36:55.338034934Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-02-03T11:36:55.338098465Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=65.531µs grafana | logger=migrator t=2024-02-03T11:36:55.342092824Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-02-03T11:36:55.342899395Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=808.401µs grafana | logger=migrator t=2024-02-03T11:36:55.346358628Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-02-03T11:36:55.347098877Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=741.089µs grafana | logger=migrator t=2024-02-03T11:36:55.353592038Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-02-03T11:36:55.354390508Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=798.28µs grafana | logger=migrator t=2024-02-03T11:36:55.361225304Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-02-03T11:36:55.361816112Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=588.317µs grafana | logger=migrator t=2024-02-03T11:36:55.365637219Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-02-03T11:36:55.366318387Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=680.838µs grafana | logger=migrator t=2024-02-03T11:36:55.370379198Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-02-03T11:36:55.371375081Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=996.763µs grafana | logger=migrator t=2024-02-03T11:36:55.376212561Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-02-03T11:36:55.377527068Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.312187ms grafana | logger=migrator t=2024-02-03T11:36:55.381273614Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-02-03T11:36:55.389477937Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.203963ms grafana | logger=migrator t=2024-02-03T11:36:55.396218772Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-02-03T11:36:55.396271183Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=52.501µs grafana | logger=migrator t=2024-02-03T11:36:55.405448097Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-02-03T11:36:55.406947926Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.498879ms grafana | logger=migrator t=2024-02-03T11:36:55.410771364Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-02-03T11:36:55.412777339Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.004094ms grafana | logger=migrator t=2024-02-03T11:36:55.417977774Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-02-03T11:36:55.419176039Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.196925ms grafana | logger=migrator t=2024-02-03T11:36:55.424944101Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-02-03T11:36:55.43684333Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.901589ms grafana | logger=migrator t=2024-02-03T11:36:55.475201131Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.476948912Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.747291ms grafana | logger=migrator t=2024-02-03T11:36:55.480741739Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.48234453Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.602631ms grafana | logger=migrator t=2024-02-03T11:36:55.486749015Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-03T11:36:55.51758512Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.834865ms grafana | logger=migrator t=2024-02-03T11:36:55.521097894Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-02-03T11:36:55.521816683Z level=info msg="Migration successfully executed" id="create correlation v2" duration=717.919µs grafana | logger=migrator t=2024-02-03T11:36:55.525976165Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-02-03T11:36:55.52712712Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.150645ms grafana | logger=migrator t=2024-02-03T11:36:55.530715655Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-02-03T11:36:55.53188571Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.170225ms grafana | logger=migrator t=2024-02-03T11:36:55.535370274Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-02-03T11:36:55.536491387Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.120373ms grafana | logger=migrator t=2024-02-03T11:36:55.540960763Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-02-03T11:36:55.541210896Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=252.353µs grafana | logger=migrator t=2024-02-03T11:36:55.54709211Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-02-03T11:36:55.548374486Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.281666ms grafana | logger=migrator t=2024-02-03T11:36:55.555478115Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-02-03T11:36:55.565297007Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.819742ms grafana | logger=migrator t=2024-02-03T11:36:55.569725054Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-02-03T11:36:55.570440802Z level=info msg="Migration successfully executed" id="create entity_events table" duration=715.819µs grafana | logger=migrator t=2024-02-03T11:36:55.573813774Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-02-03T11:36:55.574736146Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=920.702µs grafana | logger=migrator t=2024-02-03T11:36:55.578458442Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.57906572Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.586707006Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.587505696Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.592210375Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-02-03T11:36:55.593364899Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.153624ms grafana | logger=migrator t=2024-02-03T11:36:55.596883683Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-02-03T11:36:55.597760144Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=876.111µs grafana | logger=migrator t=2024-02-03T11:36:55.603608227Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.605331748Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.722041ms grafana | logger=migrator t=2024-02-03T11:36:55.609296158Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-03T11:36:55.611083271Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.786163ms grafana | logger=migrator t=2024-02-03T11:36:55.617640863Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-03T11:36:55.618825498Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.181265ms grafana | logger=migrator t=2024-02-03T11:36:55.625564122Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-03T11:36:55.627207883Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.643251ms grafana | logger=migrator t=2024-02-03T11:36:55.63100667Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-02-03T11:36:55.632255976Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.248966ms grafana | logger=migrator t=2024-02-03T11:36:55.637885486Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-02-03T11:36:55.638913239Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.027853ms grafana | logger=migrator t=2024-02-03T11:36:55.643573967Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-03T11:36:55.645419021Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.843734ms grafana | logger=migrator t=2024-02-03T11:36:55.648997785Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-03T11:36:55.65093323Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.934315ms grafana | logger=migrator t=2024-02-03T11:36:55.659590418Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-02-03T11:36:55.661343779Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.751971ms grafana | logger=migrator t=2024-02-03T11:36:55.666024118Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-02-03T11:36:55.696914515Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=30.888097ms grafana | logger=migrator t=2024-02-03T11:36:55.703599169Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-02-03T11:36:55.712284457Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.682278ms grafana | logger=migrator t=2024-02-03T11:36:55.717649054Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-02-03T11:36:55.728300518Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.651894ms grafana | logger=migrator t=2024-02-03T11:36:55.731441897Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-02-03T11:36:55.731606539Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=162.472µs grafana | logger=migrator t=2024-02-03T11:36:55.740893325Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-02-03T11:36:55.752371498Z level=info msg="Migration successfully executed" id="add share column" duration=11.477923ms grafana | logger=migrator t=2024-02-03T11:36:55.756698753Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-02-03T11:36:55.756909766Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=209.703µs grafana | logger=migrator t=2024-02-03T11:36:55.760350019Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-02-03T11:36:55.761206659Z level=info msg="Migration successfully executed" id="create file table" duration=856.35µs grafana | logger=migrator t=2024-02-03T11:36:55.764823134Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-02-03T11:36:55.766679148Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.855524ms grafana | logger=migrator t=2024-02-03T11:36:55.774934382Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-02-03T11:36:55.776073255Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.138493ms grafana | logger=migrator t=2024-02-03T11:36:55.782173712Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-02-03T11:36:55.783349897Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.175465ms grafana | logger=migrator t=2024-02-03T11:36:55.787137194Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-02-03T11:36:55.788504941Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.370757ms grafana | logger=migrator t=2024-02-03T11:36:55.795341277Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-02-03T11:36:55.795495138Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=162.431µs grafana | logger=migrator t=2024-02-03T11:36:55.79961887Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-02-03T11:36:55.799758462Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=140.552µs grafana | logger=migrator t=2024-02-03T11:36:55.803827883Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-02-03T11:36:55.804699414Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=871.3µs grafana | logger=migrator t=2024-02-03T11:36:55.808940687Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-02-03T11:36:55.809248311Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=307.994µs grafana | logger=migrator t=2024-02-03T11:36:55.818272874Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-02-03T11:36:55.819055324Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=784.57µs grafana | logger=migrator t=2024-02-03T11:36:55.82360117Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-02-03T11:36:55.835968295Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.367595ms grafana | logger=migrator t=2024-02-03T11:36:55.838974883Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-02-03T11:36:55.839125644Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=150.602µs grafana | logger=migrator t=2024-02-03T11:36:55.842221343Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-02-03T11:36:55.843326457Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.104714ms grafana | logger=migrator t=2024-02-03T11:36:55.847767353Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-02-03T11:36:55.84834059Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=574.197µs grafana | logger=migrator t=2024-02-03T11:36:55.853710067Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-02-03T11:36:55.854027521Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=317.664µs grafana | logger=migrator t=2024-02-03T11:36:55.895536611Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-02-03T11:36:55.89632708Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=790.669µs grafana | logger=migrator t=2024-02-03T11:36:55.900124728Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-02-03T11:36:55.910044752Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.920464ms grafana | logger=migrator t=2024-02-03T11:36:55.914497228Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-02-03T11:36:55.921979312Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.480514ms grafana | logger=migrator t=2024-02-03T11:36:55.928841138Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-02-03T11:36:55.931363519Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.523461ms grafana | logger=migrator t=2024-02-03T11:36:55.936423702Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-02-03T11:36:56.045373396Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=108.945414ms grafana | logger=migrator t=2024-02-03T11:36:56.050459219Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-02-03T11:36:56.051526343Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.066364ms grafana | logger=migrator t=2024-02-03T11:36:56.054706532Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-02-03T11:36:56.056220221Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.513379ms grafana | logger=migrator t=2024-02-03T11:36:56.059575813Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-02-03T11:36:56.095831897Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.251894ms grafana | logger=migrator t=2024-02-03T11:36:56.101044273Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-02-03T11:36:56.101428847Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=384.114µs grafana | logger=migrator t=2024-02-03T11:36:56.104635058Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-03T11:36:56.105092273Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=427.104µs grafana | logger=migrator t=2024-02-03T11:36:56.111913648Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-02-03T11:36:56.112331504Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=417.126µs grafana | logger=migrator t=2024-02-03T11:36:56.120115881Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-02-03T11:36:56.121771382Z level=info msg="Migration successfully executed" id="create folder table" duration=1.690891ms grafana | logger=migrator t=2024-02-03T11:36:56.12639315Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-02-03T11:36:56.128563507Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.172837ms grafana | logger=migrator t=2024-02-03T11:36:56.132688959Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-02-03T11:36:56.134209798Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.520469ms grafana | logger=migrator t=2024-02-03T11:36:56.140781679Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-02-03T11:36:56.140974223Z level=info msg="Migration successfully executed" id="Update folder title length" duration=193.104µs grafana | logger=migrator t=2024-02-03T11:36:56.144958342Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-03T11:36:56.146986757Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.025045ms grafana | logger=migrator t=2024-02-03T11:36:56.152863391Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-03T11:36:56.154106936Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.243645ms grafana | logger=migrator t=2024-02-03T11:36:56.163359773Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-02-03T11:36:56.165359137Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.999324ms grafana | logger=migrator t=2024-02-03T11:36:56.169054174Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-02-03T11:36:56.170095106Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=1.043052ms grafana | logger=migrator t=2024-02-03T11:36:56.177180355Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-02-03T11:36:56.177599311Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=417.396µs grafana | logger=migrator t=2024-02-03T11:36:56.184245103Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-03T11:36:56.185460349Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.221236ms grafana | logger=migrator t=2024-02-03T11:36:56.19119803Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-02-03T11:36:56.19352827Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.3303ms grafana | logger=migrator t=2024-02-03T11:36:56.199321082Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-02-03T11:36:56.20068567Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.364328ms grafana | logger=migrator t=2024-02-03T11:36:56.207648337Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-02-03T11:36:56.209053784Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.405917ms grafana | logger=migrator t=2024-02-03T11:36:56.212509118Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-02-03T11:36:56.21432636Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.816862ms grafana | logger=migrator t=2024-02-03T11:36:56.218705195Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-03T11:36:56.220539008Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.834893ms grafana | logger=migrator t=2024-02-03T11:36:56.227378773Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-03T11:36:56.227674977Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=296.764µs grafana | logger=migrator t=2024-02-03T11:36:56.230894047Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-02-03T11:36:56.241324698Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.406201ms grafana | logger=migrator t=2024-02-03T11:36:56.244927163Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-02-03T11:36:56.24546871Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=544.417µs grafana | logger=migrator t=2024-02-03T11:36:56.248849243Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-02-03T11:36:56.249769574Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=920.962µs grafana | logger=migrator t=2024-02-03T11:36:56.255230942Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-02-03T11:36:56.256356466Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.124784ms grafana | logger=migrator t=2024-02-03T11:36:56.261748634Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-02-03T11:36:56.262539343Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=792.73µs grafana | logger=migrator t=2024-02-03T11:36:56.266907418Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-02-03T11:36:56.267184662Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=277.734µs grafana | logger=migrator t=2024-02-03T11:36:56.329134387Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.702949415s grafana | logger=sqlstore t=2024-02-03T11:36:56.340948475Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-02-03T11:36:56.341159677Z level=info msg="Created default organization" grafana | logger=secrets t=2024-02-03T11:36:56.347703089Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-02-03T11:36:56.366001848Z level=info msg="Loading plugins..." policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=local.finder t=2024-02-03T11:36:56.404592111Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-02-03T11:36:56.404654192Z level=info msg="Plugins loaded" count=55 duration=38.653464ms grafana | logger=query_data t=2024-02-03T11:36:56.407257255Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-03T11:36:56.411130193Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-03T11:36:56.417412901Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-03T11:36:56.418834399Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-03T11:36:56.420146486Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-03T11:36:56.423422667Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-03T11:36:56.459185824Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-03T11:36:56.461978799Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-03T11:36:56.477027588Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-03T11:36:56.477085679Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-02-03T11:36:56.477413392Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-02-03T11:36:56.477396242Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-02-03T11:36:56.477830248Z level=info msg="State cache has been initialized" states=0 duration=433.956µs grafana | logger=ngalert.scheduler t=2024-02-03T11:36:56.477910439Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-03T11:36:56.478187752Z level=info msg=starting first_tick=2024-02-03T11:37:00Z grafana | logger=ngalert.multiorg.alertmanager t=2024-02-03T11:36:56.477442343Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-02-03T11:36:56.490703639Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-02-03T11:36:56.490925301Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-03T11:36:56.494628868Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana.update.checker t=2024-02-03T11:36:56.509088609Z level=info msg="Update check succeeded" duration=31.620566ms grafana | logger=plugins.update.checker t=2024-02-03T11:36:56.817860683Z level=info msg="Update check succeeded" duration=340.066315ms grafana | logger=infra.usagestats t=2024-02-03T11:38:20.488855073Z level=info msg="Usage stats are ready to report" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | 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 | 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 | 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 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:54 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:55 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:56 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:57 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:58 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:59 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0302241136540800u 1 2024-02-03 11:36:59 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0302241136540900u 1 2024-02-03 11:36:59 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:36:59 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:36:59 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:36:59 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:36:59 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:36:59 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:36:59 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:36:59 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:37:00 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0302241136541000u 1 2024-02-03 11:37:00 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0302241136541100u 1 2024-02-03 11:37:00 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0302241136541200u 1 2024-02-03 11:37:00 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0302241136541200u 1 2024-02-03 11:37:00 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0302241136541200u 1 2024-02-03 11:37:00 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0302241136541200u 1 2024-02-03 11:37:00 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 prometheus ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.iYpK3WpO2F ]] + rsync -av /tmp/tmp.iYpK3WpO2F/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,274 bytes received 95 bytes 2,692,738.00 bytes/sec total size is 1,345,624 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 2118 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3732023834897611516.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins10935975733832243941.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/jenkins9176405076386793288.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-K5J9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-K5J9/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14353034668805418504.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config8191352159750389270tmp 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/jenkins10346954376648544865.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins14438099690206576211.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-K5J9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-K5J9/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins8890318116099776151.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins1437728362733874662.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-K5J9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-K5J9/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/jenkins8119688283285470925.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-K5J9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-K5J9/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/260 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-2286 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.996 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 837 27442 0 3887 30873 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:95:c8:f0 brd ff:ff:ff:ff:ff:ff inet 10.30.106.190/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86051sec preferred_lft 86051sec inet6 fe80::f816:3eff:fe95:c8f0/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:d7:e6:05:33 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-2286) 02/03/24 _x86_64_ (8 CPU) 11:33:45 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 173.49 87.22 86.27 6262.16 61037.69 11:36:01 96.17 13.83 82.34 1123.81 28634.96 11:37:01 424.45 24.08 400.37 2442.76 83669.86 11:38:01 22.49 0.72 21.78 32.50 19683.37 11:39:01 47.68 1.38 46.29 109.45 22313.38 Average: 152.83 25.44 127.39 1993.81 43063.96 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30067948 31671376 2871272 8.72 65288 1848692 1517516 4.46 932448 1647124 201240 11:36:01 29865308 31719376 3073912 9.33 83836 2067316 1403456 4.13 861020 1893976 204852 11:37:01 27940472 31482628 4998748 15.18 125876 3645776 3881564 11.42 1225140 3326528 1952 11:38:01 26883500 30457660 6055720 18.38 126228 3647520 4715240 13.87 2286452 3321076 132 11:39:01 28158612 31664620 4780608 14.51 128300 3617244 1446576 4.26 1110548 3248372 45808 Average: 28583168 31399132 4356052 13.22 105906 2965310 2592870 7.63 1283122 2687415 90797 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:35:01 ens3 371.47 260.32 1529.55 61.20 0.00 0.00 0.00 0.00 11:35:01 lo 1.87 1.87 0.19 0.19 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 55.26 38.63 767.25 8.30 0.00 0.00 0.00 0.00 11:36:01 lo 1.53 1.53 0.16 0.16 0.00 0.00 0.00 0.00 11:37:01 veth520dc46 37.59 29.45 4.42 2.91 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 vetha0e23e4 0.42 0.52 0.05 0.30 0.00 0.00 0.00 0.00 11:37:01 ens3 270.67 185.12 8638.82 15.16 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 vetha0e23e4 0.15 0.23 0.01 0.01 0.00 0.00 0.00 0.00 11:38:01 ens3 8.06 6.54 1.63 1.67 0.00 0.00 0.00 0.00 11:38:01 vethabecbeb 0.18 0.38 0.02 0.48 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:39:01 ens3 61.04 43.08 71.23 22.55 0.00 0.00 0.00 0.00 11:39:01 lo 33.99 33.99 10.41 10.41 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 153.28 106.72 2201.33 21.77 0.00 0.00 0.00 0.00 Average: lo 6.20 6.20 2.03 2.03 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2286) 02/03/24 _x86_64_ (8 CPU) 11:33:45 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 9.73 0.00 1.22 4.27 0.04 84.75 11:35:01 0 4.06 0.00 0.68 0.42 0.02 94.82 11:35:01 1 7.64 0.00 1.97 0.55 0.03 89.80 11:35:01 2 5.33 0.00 0.89 9.85 0.03 83.90 11:35:01 3 26.90 0.00 2.30 3.17 0.07 67.55 11:35:01 4 11.76 0.00 0.95 9.37 0.05 77.86 11:35:01 5 14.78 0.00 1.34 1.22 0.03 82.62 11:35:01 6 1.70 0.00 0.64 8.78 0.05 88.84 11:35:01 7 5.65 0.00 0.93 0.82 0.02 92.59 11:36:01 all 10.34 0.00 0.66 2.84 0.03 86.13 11:36:01 0 1.22 0.00 0.13 0.00 0.00 98.65 11:36:01 1 0.42 0.00 0.13 0.02 0.00 99.43 11:36:01 2 0.68 0.00 0.08 0.00 0.00 99.23 11:36:01 3 44.26 0.00 2.22 3.22 0.05 50.26 11:36:01 4 14.40 0.00 0.99 9.40 0.05 75.17 11:36:01 5 6.18 0.00 0.48 5.63 0.05 87.66 11:36:01 6 7.46 0.00 0.74 4.53 0.03 87.24 11:36:01 7 8.09 0.00 0.48 0.02 0.02 91.40 11:37:01 all 8.85 0.00 3.48 6.41 0.06 81.20 11:37:01 0 10.70 0.00 3.82 0.62 0.07 84.79 11:37:01 1 8.28 0.00 3.27 3.64 0.08 84.72 11:37:01 2 7.74 0.00 4.02 0.79 0.07 87.37 11:37:01 3 9.90 0.00 3.07 1.51 0.05 85.47 11:37:01 4 7.50 0.00 3.87 12.77 0.08 75.79 11:37:01 5 7.05 0.00 4.09 26.94 0.07 61.85 11:37:01 6 11.76 0.00 2.49 1.05 0.07 84.63 11:37:01 7 7.80 0.00 3.25 4.15 0.05 84.75 11:38:01 all 16.33 0.00 1.24 1.11 0.04 81.28 11:38:01 0 12.42 0.00 0.92 0.02 0.03 86.62 11:38:01 1 12.39 0.00 0.58 8.73 0.03 78.27 11:38:01 2 22.69 0.00 1.99 0.05 0.03 75.23 11:38:01 3 13.86 0.00 1.02 0.02 0.08 85.02 11:38:01 4 21.68 0.00 1.60 0.00 0.03 76.68 11:38:01 5 17.38 0.00 1.35 0.00 0.03 81.23 11:38:01 6 15.11 0.00 1.17 0.07 0.05 83.61 11:38:01 7 15.11 0.00 1.27 0.02 0.03 83.57 11:39:01 all 3.71 0.00 0.54 1.60 0.03 94.13 11:39:01 0 16.93 0.00 1.20 0.20 0.03 81.63 11:39:01 1 3.79 0.00 0.55 7.98 0.03 87.64 11:39:01 2 4.84 0.00 0.48 3.66 0.05 90.96 11:39:01 3 0.68 0.00 0.42 0.15 0.02 98.73 11:39:01 4 0.83 0.00 0.53 0.07 0.03 98.53 11:39:01 5 1.20 0.00 0.30 0.08 0.00 98.42 11:39:01 6 0.52 0.00 0.37 0.08 0.02 99.01 11:39:01 7 0.88 0.00 0.43 0.58 0.03 98.06 Average: all 9.79 0.00 1.42 3.24 0.04 85.50 Average: 0 9.06 0.00 1.35 0.25 0.03 89.31 Average: 1 6.50 0.00 1.30 4.18 0.04 87.98 Average: 2 8.26 0.00 1.49 2.87 0.04 87.35 Average: 3 19.13 0.00 1.80 1.61 0.05 77.40 Average: 4 11.24 0.00 1.58 6.30 0.05 80.82 Average: 5 9.32 0.00 1.51 6.72 0.04 82.41 Average: 6 7.32 0.00 1.08 2.89 0.04 88.67 Average: 7 7.52 0.00 1.27 1.11 0.03 90.07