Flaky test: HeadlessBrowserTest.CreateAndDestroyBrowserContext Sample failed build due to flakiness: https://ci.chromium.org/buildbot/chromium.memory/Linux%20CFI/11107 Test output log: https://chromium-swarm.appspot.com/task?id=40f3265f6a301210 Culprit (70.0% confidence): r605060 Analysis: https://findit-for-me.appspot.com/waterfall/flake?key=ag9zfmZpbmRpdC1mb3ItbWVysAELEhdNYXN0ZXJGbGFrZUFuYWx5c2lzUm9vdCJ6Y2hyb21pdW0ubWVtb3J5L0xpbnV4IENGSS8xMTEwNy9oZWFkbGVzc19icm93c2VydGVzdHMvU0dWaFpHeGxjM05DY205M2MyVnlWR1Z6ZEM1RGNtVmhkR1ZCYm1SRVpYTjBjbTk1UW5KdmQzTmxja052Ym5SbGVIUT0MCxITTWFzdGVyRmxha2VBbmFseXNpcxgBDA Please revert the culprit, or disable the test and find the appropriate owner. If the culprit above is wrong, please file a bug using this link: https://bugs.chromium.org/p/chromium/issues/entry?status=Unconfirmed&labels=Pri-1,Test-Findit-Wrong&components=Tools%3ETest%3EFindit%3EFlakiness&summary=%5BFindit%5D%20Flake%20Analyzer%20-%20Wrong%20result%20for%20HeadlessBrowserTest.CreateAndDestroyBrowserContext&comment=Link%20to%20Analysis%3A%20https://findit-for-me.appspot.com/waterfall/flake?key=ag9zfmZpbmRpdC1mb3ItbWVysAELEhdNYXN0ZXJGbGFrZUFuYWx5c2lzUm9vdCJ6Y2hyb21pdW0ubWVtb3J5L0xpbnV4IENGSS8xMTEwNy9oZWFkbGVzc19icm93c2VydGVzdHMvU0dWaFpHeGxjM05DY205M2MyVnlWR1Z6ZEM1RGNtVmhkR1ZCYm1SRVpYTjBjbTk1UW5KdmQzTmxja052Ym5SbGVIUT0MCxITTWFzdGVyRmxha2VBbmFseXNpcxgBDA Automatically posted by the findit-for-me app (https://goo.gl/Ot9f7N).
Test log from https://chromium-swarm.appspot.com/task?id=40f3265f6a301210: [ RUN ] HeadlessBrowserTest.CreateAndDestroyBrowserContext [22505:22505:1103/090815.903332:5608031548:WARNING:resource_bundle.cc(346)] locale_file_path.empty() for locale [1103/090815.942340:WARNING:resource_bundle.cc(346)] locale_file_path.empty() for locale [22505:22505:1103/090815.952941:5608081157:ERROR:gpu_process_transport_factory.cc(637)] Switching to software compositing. [22505:22505:1103/090815.952966:5608081181:ERROR:gpu_process_transport_factory.cc(963)] Lost UI shared context. BrowserTestBase received signal: Segmentation fault. Backtrace: #0 0x557e370b20cf base::debug::StackTrace::StackTrace() #1 0x557e370e162d content::(anonymous namespace)::DumpStackTraceSignalHandler() #2 0x7fe81a021cb0 <unknown> #3 0x557e35deb306 _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRNS_6__bindIMN8perfetto8ProducerEFvvEJRPS5_EEEEEEvDpOT_ #4 0x557e38ca17dd _ZN4base8internal13FunctorTraitsIZN7tracing18PerfettoTaskRunner8PostTaskENSt3__18functionIFvvEEEE3$_0vE6InvokeIS8_JS7_EEEvOT_DpOT0_ #5 0x557e33fbf272 _ZNO4base12OnceCallbackIFvvEE3RunEv #6 0x557e36fedb57 base::debug::TaskAnnotator::RunTask() #7 0x557e37073b58 base::internal::TaskTracker::RunOrSkipTask() #8 0x557e370c819c base::internal::TaskTrackerPosix::RunOrSkipTask() #9 0x557e37072bb5 base::internal::TaskTracker::RunAndPopNextTask() #10 0x557e37065d76 base::internal::SchedulerWorker::RunWorker() #11 0x557e37065a74 base::internal::SchedulerWorker::RunDedicatedWorker() #12 0x557e370c8c1a base::(anonymous namespace)::ThreadFunc() #13 0x7fe820132184 start_thread #14 0x7fe81a0e903d clone [1/1] HeadlessBrowserTest.CreateAndDestroyBrowserContext (CRASHED) 1 test crashed:
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9a651cb3874e3d7396428bce866f8e58779d9cd9 commit 9a651cb3874e3d7396428bce866f8e58779d9cd9 Author: Kunihiko Sakamoto <ksakamoto@chromium.org> Date: Mon Nov 05 06:57:24 2018 Revert "Perfetto: Unify TraceEventAgent classes" This reverts commit aa69df1c18ea91a85f04fe5ce881d894429d4edf. Reason for revert: culprit for flakes of - SystemDisplayApiTest.SetDisplay ( crbug.com/901586 ) and - HeadlessBrowserTest.CreateAndDestroyBrowserContext ( crbug.com/901637 ) Original change's description: > Perfetto: Unify TraceEventAgent classes > > This unifies the Perfetto and non-Perfetto TraceEventAgent classes, so > that it's possible to use Perfetto directly even when it's not enabled > as the default TraceLog backend. > > Also moved the Mojo bindings of ProducerHost into a StrongBindingSet of PerfettoService > so they get cleaned up if the service gets shut down. > > Already reviewed as part of https://chromium-review.googlesource.com/c/chromium/src/+/1161541 > > Change-Id: I3070d69e92778de8e3b5e33957ab4f4694b782af > Reviewed-on: https://chromium-review.googlesource.com/c/1307998 > Commit-Queue: oysteine <oysteine@chromium.org> > Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> > Reviewed-by: oysteine <oysteine@chromium.org> > Cr-Commit-Position: refs/heads/master@{#605060} TBR=oysteine@chromium.org,skyostil@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 901586 , 901637 Change-Id: I45f18d58e6355722c124ee753de5021e1d965da5 Reviewed-on: https://chromium-review.googlesource.com/c/1317298 Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#605268} [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/coordinator.h [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/perfetto/perfetto_service.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/perfetto/perfetto_service.h [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/perfetto/producer_host.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/perfetto/producer_host.h [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/perfetto/test_utils.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/perfetto/test_utils.h [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/perfetto/producer_client.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/perfetto/producer_client.h [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/perfetto/trace_event_data_source.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/perfetto/traced_value_proto_writer.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/perfetto/traced_value_proto_writer.h [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/perfetto/traced_value_proto_writer_unittest.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/trace_event_agent.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/trace_event_agent.h [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/public/cpp/trace_event_agent_unittest.cc [modify] https://crrev.com/9a651cb3874e3d7396428bce866f8e58779d9cd9/services/tracing/tracing_service.cc
Comment 1 by ksakamoto@chromium.org
, Nov 5