huddly-updater process does not exit upon an abrupt stop during upgrade |
|||
Issue descriptionAny version after M60. [Symptom] When a camera is unplugged from the ChromeBox during the bootloader upgrade, the huddly-updater process still continues to live without exiting after time-out. [Expectation] The huddly-updater should treat timeout as update failure, and the process should exit with appropriate log messages. [Analysis] While the timer logic is already implemented around the access to the libusb, it appears it is not working.
,
Aug 25 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/huddly-updater/+/d1657dda42865b76537fad2c5068563f437151c5 commit d1657dda42865b76537fad2c5068563f437151c5 Author: Jiwoong Lee <porce@google.com> Date: Fri Aug 25 03:41:13 2017 Bail out the huddly-updater upon losing the device in the middle of the update. The situation may occur when the USB cable gets unplugged or the USB power supply is low. BUG= chromium:750834 TEST=Build guado package. Run on DUT. Shut the USB port down in the middle of the firmware upgrade, during buffer allocation, image uploading, image committing respectively. Change-Id: I00dd6cabeb936ecda7de2c750844ab702305a837 Reviewed-on: https://chromium-review.googlesource.com/633845 Commit-Ready: Jiwoong Lee <porce@chromium.org> Tested-by: Jiwoong Lee <porce@chromium.org> Reviewed-by: Zhongze Hu <frankhu@google.com> [modify] https://crrev.com/d1657dda42865b76537fad2c5068563f437151c5/src/main.cc [modify] https://crrev.com/d1657dda42865b76537fad2c5068563f437151c5/src/flasher.cc [modify] https://crrev.com/d1657dda42865b76537fad2c5068563f437151c5/src/minicam_device.cc
,
Aug 25 2017
,
Jan 22 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by harpreet@chromium.org
, Jul 31 2017Labels: Proj-Bluestreak