aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-02-17 17:21:13 +1000
committerteor <teor@torproject.org>2020-03-16 16:04:51 +1000
commit1c688ba925e17967fa7b2abe2a41327914421fb3 (patch)
treea1cdddd2682d1ffdcb974b06bbedc940c3bf51a2
parentd17108a187e32a4d5464d2428b8943702c6d5cde (diff)
downloadtor-1c688ba925e17967fa7b2abe2a41327914421fb3.tar.gz
tor-1c688ba925e17967fa7b2abe2a41327914421fb3.zip
Travis: Produce detailed chutney diagnostics
When a Travis chutney job fails, use chutney's new "diagnostics.sh" tool to produce detailed diagnostic output. Closes ticket 32792.
-rw-r--r--.travis.yml2
-rw-r--r--changes/ticket327923
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6047c4470e..8bc9898f8f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -236,7 +236,7 @@ after_failure:
## `make distcheck` puts it somewhere different.
- if [[ "$DISTCHECK" != "" ]]; then make show-distdir-testlog || echo "make failed"; fi
- if [[ "$DISTCHECK" != "" ]]; then make show-distdir-core || echo "make failed"; fi
- - if [[ "$CHUTNEY" != "" ]]; then ls test_network_log || echo "ls failed"; cat test_network_log/* || echo "cat failed"; fi
+ - if [[ "$CHUTNEY" != "" ]]; then "$CHUTNEY_PATH/tools/diagnostics.sh" || echo "diagnostics failed"; ls test_network_log || echo "ls failed"; cat test_network_log/* || echo "cat failed"; fi
- if [[ "$TEST_STEM" != "" ]]; then tail -1000 "$STEM_SOURCE_DIR"/test/data/tor_log || echo "tail failed"; fi
- if [[ "$TEST_STEM" != "" ]]; then grep -v "SocketClosed" stem.log | tail -1000 || echo "grep | tail failed"; fi
diff --git a/changes/ticket32792 b/changes/ticket32792
new file mode 100644
index 0000000000..553cf0ca81
--- /dev/null
+++ b/changes/ticket32792
@@ -0,0 +1,3 @@
+ o Testing:
+ - When a Travis chutney job fails, use chutney's new "diagnostics.sh" tool
+ to produce detailed diagnostic output. Closes ticket 32792.