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

Issue 679443 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Oct 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

system_health.common_desktop failure on chromium.perf Mac/Win

Project Member Reported by simonhatch@chromium.org, Jan 9 2017

Issue description



Traceback (most recent call last):
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\story_runner.py", line 96, in _RunStoryAndProcessErrorIfNeeded
    test.Measure(state.platform, results)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\web_perf\timeline_based_measurement.py", line 290, in Measure
    trace_result = platform.tracing_controller.StopTracing()
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\core\tracing_controller.py", line 47, in StopTracing
    return self._tracing_controller_backend.StopTracing()
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\platform\tracing_controller_backend.py", line 130, in StopTracing
    '\n'.join(raised_exception_messages))
Error: Exceptions raised when trying to stop tracing:
Traceback (most recent call last):
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\platform\tracing_controller_backend.py", line 118, in StopTracing
    agent.CollectAgentTraceData(builder)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\platform\tracing_agent\chrome_tracing_agent.py", line 248, in CollectAgentTraceData
    '\n'.join(raised_exception_messages))
ChromeTracingStoppedError: Exceptions raised when trying to collect Chrome devtool tracing:
Error when collecting Chrome tracing on devtools at port 51840:
Traceback (most recent call last):
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\platform\tracing_agent\chrome_tracing_agent.py", line 237, in CollectAgentTraceData
    client.CollectChromeTracingData(trace_data_builder)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\devtools_client_backend.py", line 370, in CollectChromeTracingData
    self._tracing_backend.CollectTraceData(trace_data_builder, timeout)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\tracing_backend.py", line 229, in CollectTraceData
    self._CollectTracingData(trace_data_builder, timeout)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\tracing_backend.py", line 250, in _CollectTracingData
    self._inspector_websocket.DispatchNotifications(timeout)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\inspector_websocket.py", line 134, in DispatchNotifications
    self._Receive(timeout)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\inspector_websocket.py", line 168, in _Receive
    self._HandleAsyncResponse(result)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\inspector_websocket.py", line 184, in _HandleAsyncResponse
    callback(result)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\tracing_backend.py", line 84, in _GotChunkFromStream
    self._callback(trace_string)
  File "c:\b\s\w\irmx7isk\third_party\catapult\telemetry\telemetry\internal\backends\chrome_inspector\tracing_backend.py", line 285, in _ReceivedAllTraceDataFromStream
    trace = json.loads(data)
  File "c:\b\depot_tools\python276_bin\lib\json\__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "c:\b\depot_tools\python276_bin\lib\json\decoder.py", line 365, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "c:\b\depot_tools\python276_bin\lib\json\decoder.py", line 381, in raw_decode
    obj, end = self.scan_once(s, idx)
MemoryError
It's a combination of different problems:

1) String size: ( issue 672097 ) (the stack in #1 & below here)
[ RUN ] /b/s/w/itYjtylw/tmpKxMoRB.html
TraceImportError: Invalid string length
at Array.join (native)
at Object.f [as string] (/b/s/w/ir6iwfRU/third_party/catapult/tracing/third_party/jszip/jszip.min.js:12:20494)
at Object.c.transformTo (/b/s/w/ir6iwfRU/third_party/catapult/tracing/third_party/jszip/jszip.min.js:12:22247)
at Object.c.transformTo (/b/s/w/ir6iwfRU/third_party/catapult/tracing/third_party/jszip/jszip.min.js:12:6414)
at Function.GzipImporter.transformToString (/tracing/extras/importer/gzip_importer.html:141:26)
at Function.GzipImporter.inflateGzipData_ (/tracing/extras/importer/gzip_importer.html:116:31)
at GzipImporter.extractSubtraces (/tracing/extras/importer/gzip_importer.html:177:36)
at Import.createImports (/tracing/importer/import.html:138:40)
at Task.run (/tracing/base/task.html:71:21)
at Function.Task.RunSynchronously (/tracing/base/task.html:152:25)
[ FAILED ] /b/s/w/itYjtylw/tmpKxMoRB.html (33259 ms)
Traceback (most recent call last):
File "/b/s/w/ir6iwfRU/third_party/catapult/telemetry/telemetry/value/failure.py", line 41, in _GetExcInfoFromMessage
raise Exception(message)
Exception: TraceImportError: Invalid string length
at Array.join (native)
at Object.f [as string] (/b/s/w/ir6iwfRU/third_party/catapult/tracing/third_party/jszip/jszip.min.js:12:20494)
at Object.c.transformTo (/b/s/w/ir6iwfRU/third_party/catapult/tracing/third_party/jszip/jszip.min.js:12:22247)
at Object.c.transformTo (/b/s/w/ir6iwfRU/third_party/catapult/tracing/third_party/jszip/jszip.min.js:12:6414)
at Function.GzipImporter.transformToString (/tracing/extras/importer/gzip_importer.html:141:26)
at Function.GzipImporter.inflateGzipData_ (/tracing/extras/importer/gzip_importer.html:116:31)
at GzipImporter.extractSubtraces (/tracing/extras/importer/gzip_importer.html:177:36)
at Import.createImports (/tracing/importer/import.html:138:40)
at Task.run (/tracing/base/task.html:71:21)
at Function.Task.RunSynchronously (/tracing/base/task.html:152:25)

[ FAILED ] long_running:tools:gmail-foreground (376866 ms)


2) Battor:
[ RUN ] load:social:facebook
INFO:root:Trace config file string: {"trace_config": {"included_categories": ["toplevel", "loading", "navigation", "blink.user_timing", "rail", "blink.console"], "record_mode": "record-as-much-as-possible"}}
CRITICAL:root:Git hash returned from BattOr was not as expected: [0109/073028.872001:FATAL:battor_agent_bin.cc(89)] Fatal error when communicating with the BattOr: TIMEOUT
INFO:py_utils.cloud_storage:Uploading /b/s/w/itMzUH2a/tmpo_tjux to gs://chrome-telemetry-output/battor-serial-log-2017-01-09_07-30.txt-11695.txt
View BattOr serial log at https://console.developers.google.com/m/cloudstorage/b/chrome-telemetry-output/o/battor-serial-log-2017-01-09_07-30.txt-11695.txt
WARNING:root:Cannot dump browser state: No browser.
Traceback (most recent call last):
File "/b/s/w/irHURopM/third_party/catapult/telemetry/telemetry/internal/story_runner.py", line 86, in _RunStoryAndProcessErrorIfNeeded
test.WillRunStory(state.platform)
File "/b/s/w/irHURopM/third_party/catapult/telemetry/telemetry/web_perf/timeline_based_measurement.py", line 285, in WillRunStory
platform.tracing_controller.StartTracing(self._tbm_options.config)
File "/b/s/w/irHURopM/third_party/catapult/telemetry/telemetry/core/tracing_controller.py", line 43, in StartTracing
self._tracing_controller_backend.StartTracing(tracing_config, timeout)
File "/b/s/w/irHURopM/third_party/catapult/telemetry/telemetry/internal/platform/tracing_controller_backend.py", line 88, in StartTracing
if agent.StartAgentTracing(config, timeout):
File "/b/s/w/irHURopM/third_party/catapult/telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py", line 73, in StartAgentTracing
self._battor.StartTracing()
File "/b/s/w/irHURopM/third_party/catapult/common/battor/battor/battor_wrapper.py", line 216, in StartTracing
self._SendBattOrCommand(self._START_TRACING_CMD)
File "/b/s/w/irHURopM/third_party/catapult/common/battor/battor/battor_wrapper.py", line 323, in _SendBattOrCommand
status = self._SendBattOrCommandImpl(cmd)
File "/b/s/w/irHURopM/third_party/catapult/common/battor/battor/battor_wrapper.py", line 318, in _SendBattOrCommandImpl
self._battor_shell.stdin.write('%s\n' % cmd)
IOError: [Errno 32] Broken pipe

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

Exception raised when cleaning story run: 

Traceback (most recent call last):
_RunStoryAndProcessErrorIfNeeded at /b/s/w/irHURopM/third_party/catapult/telemetry/telemetry/internal/story_runner.py:113
state.DidRunStory(results)
traced_function at /b/s/w/irHURopM/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py:75
return func(*args, **kwargs)
DidRunStory at /b/s/w/irHURopM/third_party/catapult/telemetry/telemetry/page/shared_page_state.py:155
if self._current_page.credentials and self._did_login_for_current_page:
AttributeError: 'NoneType' object has no attribute 'credentials'

Locals:
results : <telemetry.internal.results.page_test_results.PageTestResults object at 0x10a352f10>

[ FAILED ] load:social:facebook (7072 ms) (https://chromium-swarm.appspot.com/task?id=339bd3ed76706310&refresh=10&show_raw=1)


Which bot did you pull the facebook failure from? So far I've only seen the gmail one.
FYI: Not disabling the test at Ned's request.
Project Member

Comment 6 by 42576172...@developer.gserviceaccount.com, Jan 10 2017


=== BISECT JOB RESULTS ===
NO Test failure found

Bisect Details
  Configuration: winx64_10_perf_bisect
  Benchmark    : system_health.common_desktop
  Metric       : timeToOnload_avg/timeToOnload_avg

Revision             Exit Code      N
chromium@442162      1 +- N/A       5      good
chromium@442173      1 +- N/A       5      bad

To Run This Test
  src/tools/perf/run_benchmark -v --browser=release_x64 --output-format=chartjson --upload-results --pageset-repeat=1 --also-run-disabled-tests system_health.common_desktop

Debug Info
  https://chromeperf.appspot.com/buildbucket_job_status/8990912380141492480

Is this bisect wrong?
  https://chromeperf.appspot.com/bad_bisect?try_job_id=5819141937692672


| 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!
Components: Speed>Metrics>SystemHealthRegressions
Components: -Speed>Metrics>SystemHealthRegressions
Components: Speed>Metrics>SystemHealthRegressions
Status: Archived (was: Untriaged)
This looks obsolete.

Sign in to add a comment