New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 649477 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 647370
Owner: ----
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Autotest: gaia login fails with "Timed out while waiting 20s for _GetGaiaFunction"

Project Member Reported by kathrelk...@chromium.org, Sep 22 2016

Issue description

I see this error when running login_GaiaLogin and when running my own test which starts similarly.

GaiaLogin hasn't run in the lab recently (suite_scheduler was turned off due to lab issues), but my test has been running.  Failure started happening at R55-8810.0.0, 55.0.2862.3

When run at my desk, both tests get stuck on the "Network not available" screen - despite the fact that Ethernet is connected (and indeed is listed in the "Select a network" dropdown".


09/22 13:49:42.223 WARNI|              test:0606| Autotest caught exception when running test:
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/test.py", line 600, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/common_lib/test.py", line 810, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled TimeoutException: Timed out while waiting 20s for _GetGaiaFunction.
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/test.py", line 804, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/common_lib/test.py", line 461, in execute
    dargs)
  File "/usr/local/autotest/common_lib/test.py", line 347, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/common_lib/test.py", line 376, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/tests/login_GaiaLogin/login_GaiaLogin.py", line 36, in run_once
    password=password) as cr:
  File "/usr/local/autotest/common_lib/cros/chrome.py", line 174, 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/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py", line 160, in Start
    self.oobe.NavigateGaiaLogin(self._username, self._password)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/oobe.py", line 73, in NavigateGaiaLogin
    self._NavigateGaiaLogin(username, password, enterprise_enroll)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/oobe.py", line 90, in _NavigateGaiaLogin
    util.WaitFor(_GetGaiaFunction, 20)(self, username, password)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/core/util.py", line 94, in WaitFor
    (timeout, GetConditionString()))
TimeoutException: Timed out while waiting 20s for _GetGaiaFunction.


See attached logs.
 
login_GaiaLogin.DEBUG
44.6 KB Download
login_GaiaLogin.INFO
5.6 KB Download
09/22 13:49:41.946 ERROR|           browser:0062| Failure while starting browser backend.
Traceback (most recent call last):
  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/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py", line 160, in Start
    self.oobe.NavigateGaiaLogin(self._username, self._password)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/oobe.py", line 73, in NavigateGaiaLogin
    self._NavigateGaiaLogin(username, password, enterprise_enroll)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/oobe.py", line 90, in _NavigateGaiaLogin
    util.WaitFor(_GetGaiaFunction, 20)(self, username, password)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/core/util.py", line 94, in WaitFor
    (timeout, GetConditionString()))

Components: Tests>Telemetry
Labels: bvttriage
Cc: steve...@chromium.org
+ Chrome gardener for triage

At my desk, running on 8809.0.0 passed, and using 8810.0.0 on the same machine failed.

ChromeOS Diff: https://crosland.corp.google.com/log/8809.0.0..8810.0.0
Chrome Diff: https://chromium.googlesource.com/chromium/src/+log/55.0.2858.0..55.0.2862.3?pretty=fuller&n=10000
Bisect should reveal if this is a chrome or telemetry change.
This sounds like  issue 647370  ?
Mergedinto: 647370
Status: Duplicate (was: Untriaged)
Probably the same problem, although slightly confusing that 8800.0.0 is the build where it's broken there.  Here, 8809.0.0 definitely works.  I'll merge this there for now.

Sign in to add a comment