DESCRIPTION

Capture server logs immediately after failure

./testrunner -i <ini> -t <test> -p get-logs=True

When running automation on jenkins, we
want to capture the server_logs immediately
when the test fails, befor the server_logs
get rolled over

Change-Id: I691edf7d5d460fd6c90c7db80e7c76b36044e99e


COMMENTS

author: Reid Stokes
date: 2012-04-14 00:01:37.766000000

Patch Set 1: Verified

Verified this with various tests. 

This is how the logs messages would look like:- 

http://10.1.3.118:8091/diag
downloading 10.1.3.118 .............downloaded and zipped diags @ : logs/testrunner-12-Apr-13_15-58-44/c5989fde-0fd2-4f4b-852f-d70665972246-10.1.3.118-diag.txt.gz

-------------------------------------
author: Zackery Barr
date: 2012-04-14 01:27:22.881000000

Patch Set 1: Looks good to me, approved



-------------------------------------
author: Reid Stokes
date: 2012-04-14 02:13:51.480000000

Change has been successfully cherry-picked as c0ba664b95aca0e7a8692927b3f6971c89eae0f9.

-------------------------------------
