New issue
Advanced search Search tips

Issue 776512 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocked on:
issue 777905

Blocking:
issue 777541



Sign in to add a comment

power_LoadTest / login_GaiaLogin : fails gaia login via telemetry

Project Member Reported by tbroch@chromium.org, Oct 19 2017

Issue description

https://wmatrix.googleplex.com/failures/power?tests=power_LoadTest

recent failure on R64-10047.0.0

Unhandled TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60).

When I run on locally built image (repo sync last night ~5pm PST)

/tmp/test_that_results_HRUjSe/results-1-power_LoadTest.fast_gaia                  FAIL: Unhandled TimeoutException: Timed out while waiting 20s for IsJavaScriptExpressionTrue.

That error message and I never see anything visually 


Partner failure here: b/65431460


 
Cc: achuith@chromium.org
Owner: tbroch@chromium.org
This is what I'm seeing.
Screenshot from 2017-10-20 14:29:30.png
49.6 KB View Download
It's stuck on this screen for a bit; if I manually enter the city, it works.
Components: -Tests>Telemetry
Labels: OS-Chrome

Comment 4 by tbroch@chromium.org, Oct 23 2017

Owner: achuith@chromium.org
Still seeing failure prior to challenge screen which is another issue we're also debugging.

On local image built this AM & 10060.0.0 (logs attached for both)

START   ----    ----    timestamp=1508785786    localtime=Oct 23 12:09:46
        START   power_LoadTest  power_LoadTest  timestamp=1508785786    localtime=Oct 23 12:09:46
                FAIL    power_LoadTest  power_LoadTest  timestamp=1508785831    localtime=Oct 23 12:10:31       Unhandled TimeoutException: Timed out while waiting 20s for IsJavaScriptExpressionTrue.
  Console output:

  Traceback (most recent call last):
    File "/usr/local/autotest/common_lib/test.py", line 806, in _call_test_function
      return func(*args, **dargs)
    File "/usr/local/autotest/common_lib/test.py", line 470, 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 380, in _call_run_once
      self.run_once(*args, **dargs)
    File "/usr/local/autotest/tests/power_LoadTest/power_LoadTest.py", line 258, in run_once
      password=self._password)
    File "/usr/local/autotest/common_lib/cros/chrome.py", line 168, 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 48, in Create
      browser_backend, self._platform_backend, 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 59, 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 187, in Start
      self.oobe.NavigateGaiaLogin(self._username, self._password)
    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/oobe.py", line 89, in NavigateGaiaLogin
      self._NavigateGaiaLogin(username, password, enterprise_enroll)
    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/oobe.py", line 106, in _NavigateGaiaLogin
      py_utils.WaitFor(_GetGaiaFunction, 20)(self, username, password)
    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/oobe.py", line 125, in _NavigateWebViewLogin
      self._NavigateWebViewEntry('identifierId', username, 'identifierNext')
    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/oobe.py", line 131, in _NavigateWebViewEntry
      self._WaitForField(field)
    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/oobe.py", line 155, in _WaitForField
      field=field, timeout=20)
    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/browser/web_contents.py", line 239, in WaitForJavaScriptCondition
      return self._inspector_backend.WaitForJavaScriptCondition(*args, **kwargs)
    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_inspector/inspector_backend.py", line 302, in WaitForJavaScriptCondition
      e.message + '\n' + debug_message)
  TimeoutException: Timed out while waiting 20s for IsJavaScriptExpressionTrue.
  Console output:

        END FAIL        power_LoadTest  power_LoadTest  timestamp=1508785831    localtime=Oct 23 12:10:31
END GOOD        ----    ----    timestamp=1508785831    localtime=Oct 23 12:10:31
test_that_results_ckNKyq.tbz2
198 KB Download
test_that_results_VhM3Lm.tbz2
179 KB Download

Comment 5 by tbroch@chromium.org, Oct 23 2017

Summary: power_LoadTest / login_GaiaLogin : fails gaia login via telemetry (was: power_LoadTest: fails to login via telemetry)
Same failure for login_GaiaLogin btw.
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 26 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/catapult/+/890e212c439c7fd4c787d9a16eebe12d4d91cd20

commit 890e212c439c7fd4c787d9a16eebe12d4d91cd20
Author: Achuith Bhandarkar <achuith@chromium.org>
Date: Thu Oct 26 17:28:29 2017

[oobe]: Additional checks for GAIA webview.

There's an additional webview that was recently added for eula, so the
assumption that the only webview is the GAIA webview no longer holds.

BUG= chromium:776512 
TEST=testGaiaLogin
TBR=nednguyen@google.com

Change-Id: If62454927fd43b59effa4a4e1ec8c725d5f81896
Reviewed-on: https://chromium-review.googlesource.com/739521
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>

[modify] https://crrev.com/890e212c439c7fd4c787d9a16eebe12d4d91cd20/telemetry/telemetry/internal/backends/chrome/oobe.py

Project Member

Comment 8 by bugdroid1@chromium.org, Oct 26 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f7240b579821412c22b7a8ae508970c4c1f9f5f3

commit f7240b579821412c22b7a8ae508970c4c1f9f5f3
Author: catapult-deps-roller@chromium.org <catapult-deps-roller@chromium.org>
Date: Thu Oct 26 21:07:25 2017

Roll src/third_party/catapult/ 5da483714..890e212c4 (1 commit)

https://chromium.googlesource.com/catapult.git/+log/5da4837140ae..890e212c439c

$ git log 5da483714..890e212c4 --date=short --no-merges --format='%ad %ae %s'
2017-10-26 achuith [oobe]: Additional checks for GAIA webview.

Created with:
  roll-dep src/third_party/catapult
BUG= 776512 


Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls


CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel
TBR=sullivan@chromium.org

Change-Id: If9860193f7c708847074382ce7f81f51bda8fcaa
Reviewed-on: https://chromium-review.googlesource.com/739222
Reviewed-by: <catapult-deps-roller@chromium.org>
Commit-Queue: <catapult-deps-roller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#511959}
[modify] https://crrev.com/f7240b579821412c22b7a8ae508970c4c1f9f5f3/DEPS

Status: Fixed (was: Assigned)
Todd, can you confirm that this works now?
Status: Verified (was: Fixed)
Thanks! Working now on 10071.0.0	(chrome:64.0.3251.0)
Blocking: 777541
Project Member

Comment 12 by bugdroid1@chromium.org, Nov 9 2017

Labels: merge-merged-3239
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c420993849f132b54dcacf0f0c1d81a99cc6b0a5

commit c420993849f132b54dcacf0f0c1d81a99cc6b0a5
Author: Achuith Bhandarkar <achuith@chromium.org>
Date: Thu Nov 09 10:36:33 2017

Update catapult revision for chromeos test fixes.

This includes fixes for 776512, 779910, 777541.

BUG= chromium:776512 ,  chromium:779910 , chromium:777541.
TEST=None
TBR=achuith@chromium.org

Change-Id: I54b28d61eed1bd8d0aab8c6796d030f7a26eb4e0
Reviewed-on: https://chromium-review.googlesource.com/758265
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Cr-Commit-Position: refs/branch-heads/3239@{#432}
Cr-Branched-From: adb61db19020ed8ecee5e91b1a0ea4c924ae2988-refs/heads/master@{#508578}
[modify] https://crrev.com/c420993849f132b54dcacf0f0c1d81a99cc6b0a5/DEPS

 Issue 783137  has been merged into this issue.
Tested again on elm 64.0.3262.2 (built on 2017-11-10). The failure is still happening.

For me, the stack trace is slightly different (full stack trace is as per  Issue 783137 ) - it ends with:

TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60).

but the symptoms are the same as above. As above, if I manually enter the city, it is able to proceed past the login screen.


Just launched a second power_LoadTest on a different device (same build). This time, it succeeded without needing to manually enter the city (although there was a warning about a previous suspicious sign-in).

Sign in to add a comment