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

Issue 665050 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

v8.browsing_desktop and v8.browsing_desktop_ignition failure on Mac Retina Perf (4)

Project Member Reported by zh...@chromium.org, Nov 14 2016

Issue description

https://uberchromegw.corp.google.com/i/chromium.perf/builders/Mac%20Retina%20Perf%20%284%29?numbuilds=200

First seen:
https://uberchromegw.corp.google.com/i/chromium.perf/builders/Mac%20Retina%20Perf%20%284%29/builds/6512

range: 429439 - 429525


INFO:root:*********** END OF BROWSER STANDARD OUTPUT ************
INFO:root:********************* BROWSER LOG *********************
INFO:root:No log file
INFO:root:***************** END OF BROWSER LOG ******************
Traceback (most recent call last):
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/story_runner.py", line 87, in _RunStoryAndProcessErrorIfNeeded
    state.RunStory(results)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/page/shared_page_state.py", line 299, in RunStory
    self._current_page.Run(self)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/page/__init__.py", line 109, in Run
    self.RunPageInteractions(action_runner)
  File "/b/c/b/Mac_Retina_Perf__4_/src/tools/perf/page_sets/system_health/system_health_story.py", line 112, in RunPageInteractions
    self._DidLoadDocument(action_runner)
  File "/b/c/b/Mac_Retina_Perf__4_/src/tools/perf/page_sets/system_health/browsing_stories.py", line 72, in _DidLoadDocument
    self._NavigateToItem(action_runner, i)
  File "/b/c/b/Mac_Retina_Perf__4_/src/tools/perf/page_sets/system_health/browsing_stories.py", line 34, in _NavigateToItem
    action_runner.ScrollPageToElement(element_function=item_selector)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/actions/action_runner.py", line 429, in ScrollPageToElement
    speed_in_pixels_per_second=speed_in_pixels_per_second))
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/actions/action_runner.py", line 55, in _RunAction
    action.RunAction(self._tab)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/actions/scroll_to_element.py", line 65, in RunAction
    self._scroller.RunAction(tab)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/actions/scroll.py", line 106, in RunAction
    tab.WaitForJavaScriptExpression('window.__scrollActionDone', 60)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 129, in WaitForJavaScriptExpression
    py_utils.WaitFor(IsJavaScriptExpressionTrue, timeout)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/common/py_utils/py_utils/__init__.py", line 120, in WaitFor
    res = condition()
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 122, in IsJavaScriptExpressionTrue
    return bool(self.EvaluateJavaScript(expr))
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 193, in EvaluateJavaScript
    expr, context_id=None, timeout=timeout)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 221, in EvaluateJavaScriptInContext
    expr, context_id=context_id, timeout=timeout)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 39, in inner
    inspector_backend._ConvertExceptionFromInspectorWebsocket(e)
  File "/b/c/b/Mac_Retina_Perf__4_/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 "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 36, in inner
    return func(inspector_backend, *args, **kwargs)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 211, in EvaluateJavaScript
    return self._runtime.Evaluate(expr, context_id, timeout)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_runtime.py", line 45, in Evaluate
    res = self._inspector_websocket.SyncRequest(request, timeout)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_websocket.py", line 110, in SyncRequest
    res = self._Receive(timeout)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_websocket.py", line 149, in _Receive
    data = self._socket.recv()
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/third_party/websocket-client/websocket.py", line 596, in recv
    opcode, data = self.recv_data()
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/third_party/websocket-client/websocket.py", line 606, in recv_data
    frame = self.recv_frame()
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/third_party/websocket-client/websocket.py", line 637, in recv_frame
    self._frame_header = self._recv_strict(2)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/third_party/websocket-client/websocket.py", line 746, in _recv_strict
    bytes = self._recv(shortage)
  File "/b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/third_party/websocket-client/websocket.py", line 739, in _recv
    raise WebSocketConnectionClosedException()
DevtoolsTargetCrashException: <unprintable DevtoolsTargetCrashException object>

INFO:root:Try printing formatted exception: None None None

Exception raised when cleaning story run: 

Traceback (most recent call last):
  _RunStoryAndProcessErrorIfNeeded at /b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/story_runner.py:110
    test.DidRunStory(state.platform)
  DidRunStory at /b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/web_perf/timeline_based_measurement.py:306
    platform.tracing_controller.StopTracing()
  StopTracing at /b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/core/tracing_controller.py:47
    return self._tracing_controller_backend.StopTracing()
  StopTracing at /b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/platform/tracing_controller_backend.py:108
    self._IssueClockSyncMarker()
  _IssueClockSyncMarker at /b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/platform/tracing_controller_backend.py:203
    self._RecordIssuerClockSyncMarker)
  RecordClockSyncMarker at /b/c/b/Mac_Retina_Perf__4_/src/third_party/catapult/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py:175
    raise ChromeClockSyncError('Cannot issue clock sync. No devtools clients')
ChromeClockSyncError: Cannot issue clock sync. No devtools clients

Locals:
  devtools_clients                             : []
  record_controller_clock_sync_marker_callback : <bound method TracingControllerBackend._RecordIssuerClockSyncMarker of <telemetry.internal.platform.tracing_controller_backend.TracingControllerBackend object at 0x102db4690>>
  sync_id                                      : '6ec0935c-f259-462d-bfb7-cbeb122dd29b'

 
Project Member

Comment 2 by 42576172...@developer.gserviceaccount.com, Nov 14 2016

Cc: rnep...@chromium.org
Owner: rnep...@chromium.org

=== Auto-CCing suspected CL author rnephew@chromium.org ===

Hi rnephew@chromium.org, the bisect results pointed to your CL below as possibly
causing a regression. Please have a look at this info and see whether
your CL be related.


===== BISECT JOB RESULTS =====
Status: completed


===== SUSPECTED CL(s) =====
Subject : [System Health] Make pinterest/tumblr stories scroll to elements off screen.
Author  : rnephew
Commit description:
  
The system health stories for these pages require scrolling down to interact
with different elements that start off screen.

BUG=646392,  649392 

Review-Url: https://codereview.chromium.org/2414153004
Cr-Commit-Position: refs/heads/master@{#429475}
Commit  : d26f4378989c7cb41cba9b215464c180bd46b7e7
Date    : Thu Nov 03 00:33:08 2016


===== TESTED REVISIONS =====
Revision         Exit Code  Std Dev  N  Good?
chromium@429439  0          N/A      5  good
chromium@429461  0          N/A      5  good
chromium@429472  0          N/A      5  good
chromium@429474  0          N/A      5  good
chromium@429475  1          N/A      5  bad    <--
chromium@429477  1          N/A      5  bad
chromium@429482  1          N/A      5  bad
chromium@429525  1          N/A      5  bad

Bisect job ran on: mac_retina_perf_bisect
Bug ID: 665050

Test Command: src/tools/perf/run_benchmark -v --browser=release --output-format=chartjson --upload-results --pageset-repeat=1 --also-run-disabled-tests --story-filter=browse.social.twitter v8.browsing_desktop_ignition
Test Metric: memory:chrome:renderer_processes:process_count_avg/browse_social/browse_social_twitter
Relative Change: 0.00%

Buildbot stdio: http://build.chromium.org/p/tryserver.chromium.perf/builders/mac_retina_perf_bisect/builds/1818
Job details: https://chromeperf.appspot.com/buildbucket_job_status/8995996433332224816


Not what you expected? We'll investigate and get back to you!
  https://chromeperf.appspot.com/bad_bisect?try_job_id=5814278714556416

| O O | Visit http://www.chromium.org/developers/speed-infra/perf-bug-faq
|  X  | for more information addressing perf regression bugs. For feedback,
| / \ | file a bug with component Tests>AutoBisect.  Thank you!
This should be fixed with https://codereview.chromium.org/2497023002/
It was trying to scroll to an element before waiting for that element to exist.
Actually this is a different problem, but it already seems to be fixed.
My problems manifested in a different way than a chrome crash. This problem was likely introduced in https://codereview.chromium.org/2471643002 and reverted in https://codereview.chromium.org/2471643002 as they are the runs where the crash started, and was fixed. My problem just happened to overlap with it.
Bad c/p, revert happened in https://codereview.chromium.org/2497123002
Status: Fixed (was: Untriaged)

Sign in to add a comment