[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [chutney/master] Travis: list the contents of net/nodes and cat directory documents on failure



commit 696922f50bd2969a86ed34af7c3fd7b4f051d0f6
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Thu Oct 25 11:03:21 2018 +1000

    Travis: list the contents of net/nodes and cat directory documents on failure
---
 .travis.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 0c5be6f..76ed96b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -121,6 +121,21 @@ script:
   - tools/test-network.sh
 
 after_failure:
+  ## List the contents of net/nodes
+  - ls -lR net/nodes/
+  ## Dump the important directory documents
+  #- cat net/nodes/000a*/cached-certs
+  - cat net/nodes/000a*/cached-consensus
+  - cat net/nodes/000a*/cached-descriptors*
+  #- cat net/nodes/000a*/cached-extrainfo*
+  - cat net/nodes/000a*/cached-microdesc-consensus
+  - cat net/nodes/000a*/cached-microdescs*
+  #- cat net/nodes/000a*/key-pinning-journal
+  #- cat net/nodes/000a*/router-stability
+  #- cat net/nodes/00*a*/sr-state
+  #- cat net/nodes/00*a*/state
+  - for f in net/nodes/00*a*/v3-status-votes ; do echo "$f"; cat "$f"; done
+  - for f in net/nodes/00*a*/unparseable-descs/* ; do echo "$f"; cat "$f"; done
   ## Re-run chutney in debug mode
   ## TODO: improve debug mode
   - tools/test-network.sh --debug



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits