dev: let 'timeout' exception raised.

The stateful update process won't raise errors since rootfs update can be
adopted to continue auto-update. However, a timer is set for the whole
auto-update process in case that this process is hung. This timeout exception
may be caught by stateful update and won't be raised.

This CL is used to raise 'timeout' exception in auto-update, to make sure that
the auto-update process terminates itself when it meets the deadline.

TEST=Locally ran 'ds.auto_update([dut], [image_path])';
Ran 'repair' for dut from local autotest instance;
Ran unittest, devserver_integration_test.

Changes to be committed:

Change-Id: Ib52cd9204b8152a83011a6b2f13fc16656fdb60c
Commit-Ready: Xixuan Wu <>
Tested-by: Xixuan Wu <>
Reviewed-by: Xixuan Wu <>
1 file changed