Device used:
Guado running 9765.30.0 test image
Steps to reproduce:
test_that --autotest_dir=/work/chromiumos/src/third_party/autotest/files/ <device_ip> enterprise_CFM_MeetAppSanity
RPC errors are shown:
08/16 10:58:38.246 INFO | server_job:0214| FAIL enterprise_CFM_MeetAppSanity enterprise_CFM_MeetAppSanity timestamp=1502899118 localtime=Aug 16 10:58:38 RPC error: cfm.enroll_device
Traceback (most recent call last):
File "./multimedia_xmlrpc_server.py", line 89, in _dispatch
return func(*params)
File "/usr/local/autotest/cros/multimedia/cfm_facade_native.py", line 46, in enroll_device
self._PWD)
File "/usr/local/autotest/common_lib/cros/enrollment.py", line 37, in RemoraEnrollment
SwitchToRemora(browser)
File "/usr/local/autotest/common_lib/cros/enrollment.py", line 25, in SwitchToRemora
lambda: _ExecuteOobeCmd(browser,
File "/usr/local/autotest/common_lib/cros/chrome.py", line 276, in wait_for_browser_restart
utils.poll_for_condition(lambda: pid != _cri.GetChromePid(), timeout=60)
File "/usr/local/autotest/common_lib/utils.py", line 2738, in poll_for_condition
raise TimeoutError(desc)
TimeoutError: Timed out waiting for unnamed condition
Workaround:
After manually starting the multimedia_xmlrpc_server.py script on the target device, and moving focus back to Chrome (Ctrl+Alt+F1), the test is able to continue and successfully get data back from the RPC calls.
$ /usr/local/autotest/cros/multimedia/multimedia_xmlrpc_server.py
[Note that in the case of a test that requires a reboot (i.e. any that involve enrollment), it's not easy to control the invocation of multimedia_xmlrpc_server.py, and so it's still resulting in undefined behaviour.]
|
Deleted:
autoserv.DEBUG
118 KB
|
Comment 1 by kitching@chromium.org
, Aug 17 2017Status: Duplicate (was: Untriaged)