Skip to content

Commit

Permalink
Debug docker logs on ITs failure. (apache#13978)
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaswini-imply authored Mar 29, 2023
1 parent e4c5122 commit f715887
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/reusable-standard-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,19 @@ jobs:
./it.sh ci
- name: Run IT
id: run-it
env:
MYSQL_DRIVER_CLASSNAME: ${{ inputs.mysql_driver }}
run: |
# Debug echo
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

0 comments on commit f715887

Please sign in to comment.