CrOS: M54 ToT
Some CFM tests randomly fail during enrollment on buddy, rikku & guado waiting for oobe. We have 5 tests for CFM that run nightly where each tests enrolls the device into remora prior to testing other functionality. This issue does not happen across all tests that are run nightly but happens randomly for some tests on some devices. The following trace is observed on buddy, rikku & guado:
Traceback (most recent call last):
File "/usr/local/autotest/client/common_lib/test.py", line 600, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/usr/local/autotest/client/common_lib/test.py", line 804, in _call_test_function
return func(*args, **dargs)
File "/usr/local/autotest/client/common_lib/test.py", line 461, in execute
dargs)
File "/usr/local/autotest/client/common_lib/test.py", line 347, in _call_run_once_with_retry
postprocess_profiled_run, args, dargs)
File "/usr/local/autotest/client/common_lib/test.py", line 376, in _call_run_once
self.run_once(*args, **dargs)
File "/usr/local/autotest/server/site_tests/enterprise_CFM_Sanity/enterprise_CFM_Sanity.py", line 152, in run_once
raise error.TestFail(str(e))
TestFail: RPC error: cfm.enroll_device
Traceback (most recent call last):
File "./multimedia_xmlrpc_server.py", line 70, in _dispatch
return func(*params)
File "/usr/local/autotest/cros/multimedia/cfm_facade_native.py", line 39, in enroll_device
self._resource.start_custom_chrome({"auto_login": False})
File "/usr/local/autotest/cros/multimedia/facade_resource.py", line 57, in start_custom_chrome
self._chrome = chrome.Chrome(**kwargs)
File "/usr/local/autotest/common_lib/cros/chrome.py", line 189, in __init__
self._browser = browser_to_create.Create(finder_options)
File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_finder.py", line 50, in Create
self._credentials_path)
File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_with_oobe.py", line 14, in __init__
backend, platform_backend, credentials_path)
File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/browser/browser.py", line 55, in __init__
self._browser_backend.Start()
File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py", line 132, in Start
util.WaitFor(lambda: self.oobe_exists, 30)
File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/core/util.py", line 94, in WaitFor
(timeout, GetConditionString()))
TimeoutException: Timed out while waiting 30s for util.WaitFor(lambda: self.oobe_exists, 30).
Comment 1 by harpreet@chromium.org
, Aug 18 2016