You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@cloudera.org> on 2016/02/28 02:31:36 UTC

[kudu-CR] dist-test: allow collecting the tmp dir of failed tests

Todd Lipcon has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/2336

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
---
M build-support/dist_test.py
M build-support/run_dist_test.py
2 files changed, 20 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/36/2336/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2336
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I57d42d93e2459bafebe433ade3a9aa7a45eaeabe
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>