deployment_test servo update is likely to fail
Reported by
jrbarnette@chromium.org,
Jul 6 2016
|
||||||||
Issue description
At the start of `deployment_test`, the script checks whether
the servo needs update, and if necessary, waits for the update
to complete and then reboots the servo.
Unfortunately, during deployment it's normal for the servo not
to have a board setting, and the update code in ServoHost fails
if servod fails to start after reboot. That means in many cases,
`deployment_test` will fail with an error report like this:
============
Failures
============
chromeos4-row4-rack7-host7 servo host chromeos4-row4-rack7-host7-servo failed to come back from reboot.
The code needs to forgive/ignore this condition.
,
Jul 26 2016
,
Jul 27 2016
,
Jul 28 2016
,
Jul 28 2016
,
Jul 28 2016
This fix can't wait until my repair rework is done. The existing code can be fixed by catching the specific exception and ignoring it.
,
Jul 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/5662e872acbf9ec98e89531750c89b2c64232185 commit 5662e872acbf9ec98e89531750c89b2c64232185 Author: Allen Li <ayatane@google.com> Date: Fri Jul 29 17:45:46 2016 [autotest] Ignore expected servo update error during deploy During deploy process, the servo may not be configured with a board, which is needed for the servo update. This is an expected situation; however, it will raise an exception that was not caught. The sleep() before calling verify() on the servo is increased to be more reliable. BUG= chromium:626071 TEST=Reproduced bug and re-ran with fix Change-Id: Id28cb4af62af9316ace5b8ebf51ce099dd4e5ec5 Reviewed-on: https://chromium-review.googlesource.com/364649 Commit-Ready: Allen Li <ayatane@google.com> Tested-by: Allen Li <ayatane@google.com> Reviewed-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: Kevin Cheng <kevcheng@chromium.org> [modify] https://crrev.com/5662e872acbf9ec98e89531750c89b2c64232185/site_utils/deployment/install.py
,
Aug 8 2016
,
Aug 29 2016
,
Aug 29 2016
bulk verified |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by jrbarnette@chromium.org
, Jul 20 2016Status: Available (was: Unconfirmed)