You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by pr...@apache.org on 2023/03/29 16:06:54 UTC

[druid] branch master updated: Debug docker logs on ITs failure. (#13978)

This is an automated email from the ASF dual-hosted git repository.

progers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new f715887172 Debug docker logs on ITs failure. (#13978)
f715887172 is described below

commit f7158871727e0b98d41b6927a2caf71e6eedc5ca
Author: Tejaswini Bandlamudi <96...@users.noreply.github.com>
AuthorDate: Wed Mar 29 21:36:41 2023 +0530

    Debug docker logs on ITs failure. (#13978)
---
 .github/workflows/reusable-standard-its.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/reusable-standard-its.yml b/.github/workflows/reusable-standard-its.yml
index fc8ebef1e6..ea33489cde 100644
--- a/.github/workflows/reusable-standard-its.yml
+++ b/.github/workflows/reusable-standard-its.yml
@@ -78,6 +78,7 @@ jobs:
           ./it.sh ci
 
       - name: Run IT
+        id: run-it
         env:
           MYSQL_DRIVER_CLASSNAME: ${{ inputs.mysql_driver }}
         run: |
@@ -85,3 +86,11 @@ jobs:
           echo "Mysql driver: ${MYSQL_DRIVER_CLASSNAME}"
           echo "${MVN} verify -pl integration-tests -P integration-tests ${{ inputs.testing_groups }} -Djvm.runtime=${{ inputs.runtime_jdk }} -Dit.indexer=${{ inputs.use_indexer }} ${MAVEN_SKIP} -Doverride.config.path=${{ inputs.override_config_path }}"
           ${MVN} verify -pl integration-tests -P integration-tests ${{ inputs.testing_groups }} -Djvm.runtime=${{ inputs.runtime_jdk }} -Dit.indexer=${{ inputs.use_indexer }} ${MAVEN_SKIP} -Doverride.config.path=${{ inputs.override_config_path }}
+
+      - name: Debug IT
+        if: steps.run-it.conclusion == 'failure'
+        run: |
+          for v in broker router ${{ inputs.use_indexer }} historical coordinator overlord; do
+            echo "------------------------druid-"$v"-------------------------";
+            sudo docker exec druid-"$v" tail -1000 /shared/logs/"$v".log;
+          done


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org