abhagraw commented on code in PR #13864:
URL: https://github.com/apache/druid/pull/13864#discussion_r1122777026
##########
integration-tests-ex/cases/cluster.sh:
##########
@@ -111,17 +111,17 @@ function category {
# Dump lots of information to debug Docker failures when run inside
# of a build environment where we can't inspect Docker directly.
function show_status {
- echo "===================================="
- ls -l target/shared
- echo "docker ps -a"
- docker ps -a
- # Was: --filter status=exited
- for id in $(docker ps -a --format "{{.ID}}"); do
+ echo "===================================="
+ ls -l $SHARED_DIR
+ echo "docker ps -a"
+ docker ps -a
+ # Was: --filter status=exited
+ for id in $(docker ps -a --format "{{.ID}}"); do
echo "===================================="
- echo "Logs for Container ID $id"
- docker logs $id | tail -n 20
- done
- echo "===================================="
+ echo "Logs for Container ID $id, Name - $(docker inspect
--format='{{.Name}}' $id)"
+ docker logs $id | tail -n 20
+ done
+ echo "===================================="
Review Comment:
Have added printing of name of the container in the status_check as well,
since container id is not very recognisable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]