New issue
Advanced search Search tips

Issue 776889 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

smoothness.key_desktop_move_cases gmail story flaky on linux perf bot

Project Member Reported by rnep...@chromium.org, Oct 20 2017

Issue description

First occurrence of the problem:
https://build.chromium.org/p/chromium.perf/builders/Linux%20Perf/builds/1845

Occurrence that I looked into:
https://build.chromium.org/p/chromium.perf/builders/Linux%20Perf/builds/1845

Based off the error this may be a problem with the recording.
https://console.developers.google.com/m/cloudstorage/b/chrome-telemetry-output/o/profiler-file-id_0-2017-10-04_16-12-0890682.png

It looks like the test times out while waiting for a condition because an error popup is on the screen.

Traceback (most recent call last):
  File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/story_runner.py", line 105, in _RunStoryAndProcessErrorIfNeeded
    state.RunStory(results)
  File "/b/s/w/ir/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 "/b/s/w/ir/third_party/catapult/telemetry/telemetry/page/shared_page_state.py", line 324, in RunStory
    self._current_page.Run(self)
  File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/page/__init__.py", line 118, in Run
    self.RunPageInteractions(action_runner)
  File "/b/s/w/ir/tools/perf/page_sets/key_desktop_move_cases.py", line 56, in RunPageInteractions
    'window.__scrollableElementForTelemetry != null')
  File "/b/s/w/ir/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/s/w/ir/third_party/catapult/telemetry/telemetry/internal/actions/action_runner.py", line 262, in WaitForJavaScriptCondition
    return self._tab.WaitForJavaScriptCondition(*args, **kwargs)
  File "/b/s/w/ir/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/s/w/ir/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 239, in WaitForJavaScriptCondition
    return self._inspector_backend.WaitForJavaScriptCondition(*args, **kwargs)
  File "/b/s/w/ir/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/s/w/ir/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:

Assigning to benchmark owner to confirm that we do not expect that popup for some reason.



There also might be a problem with how telemetry handles an error condition:
Traceback (most recent call last):
  _RunStoryAndProcessErrorIfNeeded at /b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/story_runner.py:132
    test.DidRunPage(state.platform)
  traced_function at /b/s/w/ir/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py:75
    return func(*args, **kwargs)
  DidRunPage at /b/s/w/ir/tools/perf/measurements/smoothness.py:67
    self._tbm.DidRunStory(platform, self._results)
  DidRunStory at /b/s/w/ir/third_party/catapult/telemetry/telemetry/web_perf/timeline_based_measurement.py:313
    results.current_page, trace_result,
AttributeError: 'NoneType' object has no attribute 'current_page'

Locals:
  platform     : <telemetry.core.platform.Platform object at 0x7f6d77f69ed0>
  results      : None
  trace_result : <tracing.trace_data.trace_data.TraceData object at 0x7f6d78005190>

But it doesn't cause the entire benchmark to fail and continues running stories, so that might not be that big of an issue. Adding Ned for this portion.
 
Status: Assigned (was: Untriaged)

Sign in to add a comment