Mike Percy has submitted this change and it was merged.

Change subject: dist-test:  allow collecting the tmp dir of failed tests
......................................................................


dist-test:  allow collecting the tmp dir of failed tests

When debugging certain types of failures, especially with randomized
tests, it can be very useful to grab the TEST_TMPDIR of any failed
runs, since that includes the WAL, data files, etc, of any minicluster
servers used in the test.

This adds a --collect-tmpdir flag to our dist_test wrapper which causes
the dist test task to create a tarball of its test tmpdir if the task
fails. It puts the tarball in the log directory which is considered the
"artifact" of the task, so that the 'fetch' command downloads them.

Change-Id: I57d42d93e2459bafebe433ade3a9aa7a45eaeabe
Reviewed-on: http://gerrit.cloudera.org:8080/2336
Tested-by: Kudu Jenkins
Reviewed-by: Mike Percy <[email protected]>
---
M build-support/dist_test.py
M build-support/run_dist_test.py
2 files changed, 19 insertions(+), 6 deletions(-)

Approvals:
  Mike Percy: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/2336
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I57d42d93e2459bafebe433ade3a9aa7a45eaeabe
Gerrit-PatchSet: 4
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>

Reply via email to