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

Issue 873081 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 7
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

rendering.desktop/gmail_2018 failed on ChromeOS

Project Member Reported by vovoy@chromium.org, Aug 10

Issue description

Error logs:
$ ./run_benchmark --browser=cros-chrome --remote=DUT_IP --story-tag-filter=top_real_world_desktop --story-filter=gmail rendering.desktop
[ RUN      ] rendering.desktop/gmail_2018
(ERROR) 2018-08-10 16:14:11,919 story_runner.ProcessError:100  Handleable error
Traceback (most recent call last):
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/internal/story_runner.py", line 125, in _RunStoryAndProcessErrorIfNeeded
    state.RunStory(results)
  File "/usr/local/google/home/USER/proj/chromium/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/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/page/shared_page_state.py", line 310, in RunStory
    self._current_page.Run(self)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/page/__init__.py", line 95, in Run
    shared_state.page_test.RunNavigateSteps(self, current_tab)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 75, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/page/legacy_page_test.py", line 152, in RunNavigateSteps
    page.RunNavigateSteps(action_runner)
  File "/usr/local/google/home/USER/proj/chromium/src/tools/perf/page_sets/rendering/top_real_world_desktop.py", line 327, in RunNavigateSteps
    google_login.NewLoginGoogleAccount(action_runner, 'googletest')
  File "/usr/local/google/home/USER/proj/chromium/src/tools/perf/page_sets/login_helpers/google_login.py", line 90, in NewLoginGoogleAccount
    BaseLoginGoogle(action_runner, credential, credentials_path)
  File "/usr/local/google/home/USER/proj/chromium/src/tools/perf/page_sets/login_helpers/google_login.py", line 74, in BaseLoginGoogle
    login_utils.InputWithSelector(action_runner, password, _PASSWORD_SELECTOR)
  File "/usr/local/google/home/USER/proj/chromium/src/tools/perf/page_sets/login_helpers/login_utils.py", line 56, in InputWithSelector
    action_runner.WaitForElement(selector=input_selector)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 75, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/internal/actions/action_runner.py", line 289, in WaitForElement
    timeout_in_seconds=timeout_in_seconds))
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 75, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/internal/actions/action_runner.py", line 62, in _RunAction
    action.RunAction(self._tab)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 75, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/internal/actions/wait.py", line 22, in RunAction
    wait=True, timeout_in_seconds=self.timeout_in_seconds)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/telemetry/telemetry/internal/actions/page_action.py", line 127, in EvaluateCallbackWithElement
    tab.WaitForJavaScriptCondition(code, timeout=timeout_in_seconds)
  File "/usr/local/google/home/USER/proj/chromium/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 75, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/google/home/USER/proj/chromium/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/google/home/USER/proj/chromium/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 75, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/google/home/USER/proj/chromium/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 60s for IsJavaScriptExpressionTrue.
Console output:

(WARNING) 2018-08-10 16:14:12,096 artifact_results.AddArtifact:134  Moving artifact file '/tmp/tmpDUTb9Y.png' to '/usr/local/google/home/USER/proj/chromium/src/tools/perf/artifacts'
(ERROR) 2018-08-10 16:14:12,097 page_test_results.Fail:540  Failure recorded: Exception raised running gmail_2018
[  FAILED  ] rendering.desktop/gmail_2018 (102824 ms)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ]  rendering.desktop/gmail_2018
 
some javascript error log:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'report-sample' 'nonce-DsriYYk833Et7LDK/l200flC49s' 'unsafe-inline' 'strict-dynamic' https: http: 'unsafe-eval'". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list.

tools/perf/page_sets/login_helpers/google_login.py doesn't work on ChromeOS.
Should we just skip the login flow as in issue 862077?
Thanks. I will try skipping the login flow.
Owner: vovoy@chromium.org
Status: Started (was: Untriaged)
Project Member

Comment 5 by bugdroid1@chromium.org, Aug 23

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

commit dbf0f2f517312568dfbb417c6be7420ba1c68f81
Author: Kuo-Hsin Yang <vovoy@chromium.org>
Date: Thu Aug 23 02:24:07 2018

Skip login flow when replaying top_real_world_desktop pages

**SHERIFFS** this test only CL may cause regression but it's expected.

Bug: chromium:862077
Bug:  chromium:873081 
Change-Id: Ia8c338b6e87fec576f3b5573ecfd1c2d824f2836
Reviewed-on: https://chromium-review.googlesource.com/1184733
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: Juan Antonio Navarro Pérez <perezju@chromium.org>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Commit-Queue: Vovo Yang <vovoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585371}
[modify] https://crrev.com/dbf0f2f517312568dfbb417c6be7420ba1c68f81/tools/perf/page_sets/rendering/top_real_world_desktop.py

Comment 6 Deleted

Status: Fixed (was: Started)

Sign in to add a comment