New issue
Advanced search Search tips

Issue 869739 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 7
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

AppLaunchTest.TestQuickLaunch times out in ash_unittests when run locally

Project Member Reported by jamescook@chromium.org, Aug 1

Issue description

Chrome ToT. Not sure when it started, maybe with transition to OopAsh.

target_os=chromeos, release with dchecks

testing/xvfb.py out/Default/ash_unittests

[ RUN      ] AppLaunchTest.TestQuickLaunch
[129592:129598:0731/162548.534234:104517594128:INFO:service_process_launcher.cc(200)] Launched child process pid=129601, instance=, name=ash, user_id=c0930018-7309-4c53-8649-39fd7a9b4a04
[129592:129600:0731/162548.536016:104517595897:INFO:service_process_launcher.cc(200)] Launched child process pid=129602, instance=, name=quick_launch_app, user_id=505C0EE9-3013-43C0-82B0-A84F50CF8D84
[129592:129599:0731/162548.755685:104517815564:ERROR:instance.cc(49)] Unable to locate service manifest for local_state
[129592:129599:0731/162548.755767:104517815642:ERROR:service_manager.cc(942)] Failed to resolve service name: local_state
[129601:129601:0731/162548.755718:104517815685:ERROR:shell_delegate_mash.cc(56)] Not implemented reached in virtual void ash::ShellDelegateMash::PreInit()
[129601:129601:0731/162548.828658:104517888539:ERROR:shell_delegate_mash.cc(51)] Not implemented reached in virtual bool ash::ShellDelegateMash::CanShowWindowForUser(aura::Window *) const
[129601:129601:0731/162548.836611:104517896489:ERROR:server_window.cc(458)] Not implemented reached in void ui::ws2::ServerWindow::SetClientArea(const gfx::Insets &, const std::vector<gfx::Rect> &)
[129601:129601:0731/162548.836684:104517896559:ERROR:window_tree.cc(1346)] Not implemented reached in virtual void ui::ws2::WindowTree::SetHitTestMask(ui::Id, const base::Optional<gfx::Rect> &)
[129601:129616:0731/162548.883131:104517943009:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateNewContext.
[129601:129616:0731/162548.883203:104517943077:ERROR:gpu_info_collector.cc(63)] gl::init::CreateGLContext failed
[129601:129616:0731/162548.883223:104517943097:ERROR:gpu_info_collector.cc(186)] Could not create context for info collection.
[129601:129616:0731/162548.885914:104517945790:WARNING:x11_util.cc(1391)] X error received: serial 1113, error_code 2 (BadValue (integer parameter out of range for operation)), request_code 151, minor_code 24 (X_GLXCreateNewContext)
[129601:129616:0731/162548.915202:104517975078:ERROR:context_group.cc(274)] ContextResult::kFatalFailure: too few texture units supported (0, should be 8).
[129601:129616:0731/162548.915346:104517975221:ERROR:gles2_command_buffer_stub.cc(327)] Failed to initialize decoder.
[129601:129616:0731/162548.915432:104517975306:ERROR:gpu_channel.cc(647)] GpuChannel::CreateCommandBuffer(): failed to initialize CommandBufferStub
[129601:129601:0731/162548.915889:104517975767:ERROR:command_buffer_proxy_impl.cc(135)] Failure processing GpuChannelMsg_CreateCommandBuffer.
[129601:129601:0731/162548.915955:104517975830:ERROR:context_provider_command_buffer.cc(138)] GpuChannelHost failed to create command buffer.
[129601:129616:0731/162548.940052:104517999927:ERROR:context_group.cc(274)] ContextResult::kFatalFailure: too few texture units supported (0, should be 8).
[129601:129616:0731/162548.940230:104518000106:ERROR:gles2_command_buffer_stub.cc(327)] Failed to initialize decoder.
[129601:129616:0731/162548.940338:104518000214:ERROR:gpu_channel.cc(647)] GpuChannel::CreateCommandBuffer(): failed to initialize CommandBufferStub
[129602:129602:0731/162548.940854:104518000802:ERROR:command_buffer_proxy_impl.cc(135)] Failure processing GpuChannelMsg_CreateCommandBuffer.
[129602:129602:0731/162548.941003:104518000880:ERROR:context_provider_command_buffer.cc(138)] GpuChannelHost failed to create command buffer.
[2734/2734] AppLaunchTest.TestQuickLaunch (TIMED OUT)
1 test timed out:
    AppLaunchTest.TestQuickLaunch (../../ash/app_launch_unittest.cc:47)

This is super-annoying because it means I can't run ash_unittests locally without filters. I have no idea why it succeeds on the bots.

sky/msw, does this happen to you guys?

 
Owner: sky@chromium.org
Status: Assigned (was: Untriaged)
I get this to happen only if I have DISPLAY set to the local display, which I generally don't. I'll take a look at this.
Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 7

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/40bc90fe23a42db2b06390eccccb0c6bb2640006

commit 40bc90fe23a42db2b06390eccccb0c6bb2640006
Author: Scott Violet <sky@chromium.org>
Date: Tue Aug 07 16:32:14 2018

chromeos: forces kOverrideUseSoftwareGLForTests for ash_unittests

Without this tests that try to connect to ash a service hang. I get the
following gl errors:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[171208:171216:0802/122357.849400:5628725490183:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[171208:171216:0802/122357.849448:5628725490229:ERROR:gpu_info_collector.cc(68)] gl::GLContext::MakeCurrent() failed

BUG= 869739 
TEST=test only change

Change-Id: Ib3fa4e01c715664e17bdcafd1af0ca98c34ff2dc
Reviewed-on: https://chromium-review.googlesource.com/1161171
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581250}
[modify] https://crrev.com/40bc90fe23a42db2b06390eccccb0c6bb2640006/ash/test/ash_test_suite.cc

Status: Fixed (was: Started)

Sign in to add a comment