moblab-vm: Collect logs in case of timed out test |
||
Issue descriptionIf the test times out in MoblabVMTest, the test_that call will be aborted, and the VM will be stopped. In this case, we end up with no useful logs to look at. Instead, - hint to the test what the timeout is - have the test set a reasonable timeout for the run_suite call internally. - have the test collect logs and quit before the overall timeout is reached.
,
Jan 9 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/bc2f4a335990b8c067ea1dabb61692ac66d5b897 commit bc2f4a335990b8c067ea1dabb61692ac66d5b897 Author: Prathmesh Prabhu <pprabhu@chromium.org> Date: Tue Jan 09 03:56:47 2018 cbuildbot: Pass in timeout hint to moblab vm test BUG= chromium:799199 TEST=tryjob. CQ-DEPEND=CL:851119 Change-Id: Id850de487856a4ca964737c1f874f332666cc153 Reviewed-on: https://chromium-review.googlesource.com/850731 Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org> [modify] https://crrev.com/bc2f4a335990b8c067ea1dabb61692ac66d5b897/cbuildbot/stages/vm_test_stages.py [modify] https://crrev.com/bc2f4a335990b8c067ea1dabb61692ac66d5b897/cbuildbot/stages/vm_test_stages_unittest.py
,
Jan 9 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 7 2018