New issue
Advanced search Search tips

Issue 754431 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Unable to create UI Graphics Context in Telemetry

Project Member Reported by jonr...@chromium.org, Aug 10 2017

Issue description

Currently in telemetry_unittests one test is failing on each run of the Mojo FYI bots:

telemetry.page.page_run_end_to_end_unittest.ActualPageRunEndToEndTests.testTrafficSettings failed unexpectedly

This test is failing with the following error:

 [12613:12613:0810/165543.783600:FATAL:gpu_process_transport_factory.cc(415)] Unable to create a UI graphics context, and cannot use software compositing on ChromeOS.
  #0 0x7fcd689be8ed base::debug::StackTrace::StackTrace()
  #1 0x7fcd689bce6c base::debug::StackTrace::StackTrace()
  #2 0x7fcd68a4627d logging::LogMessage::~LogMessage()
  #3 0x7fcd632ce9e4 content::GpuProcessTransportFactory::EstablishedGpuChannel()
  #4 0x7fcd632db20b _ZN4base8internal13FunctorTraitsIMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEEvE6InvokeIRKNS4_IS3_EEJRKS7_RKbRKiSB_EEEvSD_OT_DpOT0_
  #5 0x7fcd632db0d7 _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEERKNS6_IS5_EEJRKS9_RKbRKiSD_EEEvOT_OT0_DpOT1_
  #6 0x7fcd632db017 _ZN4base8internal7InvokerINS0_9BindStateIMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEEJNS5_IS4_EES8_biEEEFvSC_EE7RunImplIRKSE_RKNSt3__15tupleIJSF_S8_biEEEJLm0ELm1ELm2ELm3EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEEOSC_
  #7 0x7fcd632dae74 _ZN4base8internal7InvokerINS0_9BindStateIMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEEJNS5_IS4_EES8_biEEEFvSC_EE3RunEPNS0_13BindStateBaseEOSC_
  #8 0x7fcd613ca990 _ZNKR4base8CallbackIFvN4mojo16InterfaceRequestIN15service_manager5mojom14ServiceFactoryEEEELNS_8internal8CopyModeE1ELNS8_10RepeatModeE1EE3RunES6_
  #9 0x7fcd628164c1 content::BrowserGpuChannelHostFactory::GpuChannelEstablished()
  #10 0x7fcd62815e23 content::BrowserGpuChannelHostFactory::EstablishRequest::FinishOnMain()
  #11 0x7fcd628188cf _ZN4base8internal13FunctorTraitsIMN7content28BrowserGpuChannelHostFactory16EstablishRequestEFvvEvE6InvokeIRK13scoped_refptrIS4_EJEEEvS6_OT_DpOT0_
  #12 0x7fcd62818844 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN7content28BrowserGpuChannelHostFactory16EstablishRequestEFvvEJRK13scoped_refptrIS6_EEEEvOT_DpOT0_
  #13 0x7fcd628187f0 _ZN4base8internal7InvokerINS0_9BindStateIMN7content28BrowserGpuChannelHostFactory16EstablishRequestEFvvEJ13scoped_refptrIS5_EEEEFvvEE7RunImplIRKS7_RKNSt3__15tupleIJS9_EEEJLm0EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
  #14 0x7fcd6281873c _ZN4base8internal7InvokerINS0_9BindStateIMN7content28BrowserGpuChannelHostFactory16EstablishRequestEFvvEJ13scoped_refptrIS5_EEEEFvvEE3RunEPNS0_13BindStateBaseE
  #15 0x7fcd6896cb21 _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE0ELNS2_10RepeatModeE0EE3RunEv
  #16 0x7fcd689c324d base::debug::TaskAnnotator::RunTask()
  #17 0x7fcd68a74a55 base::MessageLoop::RunTask()
  #18 0x7fcd68a74cb7 base::MessageLoop::DeferOrRunPendingTask()
  #19 0x7fcd68a75a3a base::MessageLoop::DoWork()
  #20 0x7fcd68a7dbf3 base::MessagePumpLibevent::Run()
  #21 0x7fcd68a74276 base::MessageLoop::Run()
  #22 0x7fcd68b24de7 base::RunLoop::Run()
  #23 0x5586f30b9015 ChromeBrowserMainParts::MainMessageLoopRun()
  #24 0x7fcd623497ab content::BrowserMainLoop::RunMainMessageLoopParts()
  #25 0x7fcd623515e5 content::BrowserMainRunnerImpl::Run()
  #26 0x7fcd6233dc6b content::BrowserMain()
  #27 0x7fcd63e20ad9 content::RunNamedProcessTypeMain()
  #28 0x7fcd63e23486 content::ContentMainRunnerImpl::Run()
  #29 0x7fcd63e1e6cd content::ContentServiceManagerMainDelegate::RunEmbedderProcess()
  #30 0x7fcd690b687c service_manager::Main()
  #31 0x7fcd63e1fa2b content::ContentMain()
  #32 0x5586f0a34f44 ChromeMain
  #33 0x5586f0a34142 main
  #34 0x7fcd4f3d6f45 __libc_start_main
  #35 0x5586f0a33ff4 <unknown>

This can be reproduced locally by running: /usr/bin/python ../../testing/scripts/run_telemetry_as_googletest.py ../../tools/perf/run_telemetry_tests ActualPageRunEndToEndTests.testTrafficSettings -v --jobs=1 --chrome-root ../../ --browser=exact --browser-executable=./test_chrome --jobs=1 --isolated-script-test-output=/b/s/w/ioXejA7b/output.json --isolated-script-test-chartjson-output=/b/s/w/ioXejA7b/chartjson-output.json

Example of a failed run: https://build.chromium.org/p/chromium.fyi/builders/Mojo%20ChromiumOS/builds/20878
 

Comment 1 by sadrul@chromium.org, Aug 10 2017

I don't see this error in the logs you link to. So maybe the failure on the bots is from something else.

To get past the local crashes in there, try using --use-gl=egl (or --use-gl=swifthshader) and see if that helps, because the failure is probably because of some glx init failure that some of us have been seeing over the last few days.
Status: WontFix (was: Untriaged)
Yeah the use of egl gets past this error.

Looking at the logs I see this error consistently for the test, and can flakily repro locally. I'll file a separate bug, then disable the test for cros

    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/page/page_run_end_to_end_unittest.py", line 337, in testTrafficSettings
      latencies_by_page_in_ms['fast'] + 300 - 2)
  AssertionError: 229.015869140625 not greater than 562.055908203125
Components: -MUS Internals>Services>WindowService

Sign in to add a comment