aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-02-17 17:21:13 +1000
committerteor <teor@torproject.org>2020-02-17 17:21:13 +1000
commitd71090f8e3769ff196ff36ffeabacef33bab3671 (patch)
tree1147777cc65d456112ec6dbd331aa48a6e14d2a0 /.travis.yml
parentf231827946764c664fbfe7c8ddef2b88d7b6f105 (diff)
downloadtor-d71090f8e3769ff196ff36ffeabacef33bab3671.tar.gz
tor-d71090f8e3769ff196ff36ffeabacef33bab3671.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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c6468f78f7..16d2e432df 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -262,7 +262,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