WindowServerTest.* and WindowTreeClientTest (mus_ws_unittests) on Ubuntu-12.04 and Windows-7-SP1 fail |
||||
Issue descriptionmus_ws_unittests on Windows-7-SP1 failing on chromium.win/Win 7 Tests x64 (1) Type: build-failure Builders failed on: - Win 7 Tests x64 (1): https://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%281%29 First failed builds: https://uberchromegw.corp.google.com/i/chromium.linux/builders/Linux%20Tests/builds/49263 https://uberchromegw.corp.google.com/i/chromium.win/builders/Win%207%20Tests%20x64%20%281%29/builds/18656
,
Nov 23 2016
fsamuel@: or this CL (https://codereview.chromium.org/2527443002)?
,
Nov 23 2016
It's possible my changes caused these failures. I'll investigate today. I'm surprised the CQ bots didn't catch this.
,
Nov 23 2016
Does #c3 mean that mus/mash failures in the Sheriff-o-Matic can be ignored for now? At this point Sheriff-o-Matic reports consistent failures in mus_ws_unittests on the "Linux Tests" and "Win 7 Tests x64 (1)" builders. Additionally there are also some consistent failure in views_mus_interactive_ui_tests.
,
Nov 24 2016
(Sheriff) I'll revert both suspicious CLs because the bots are still failing.
,
Nov 24 2016
Reverting the CLs could be tough because other CLs depend on them: https://codereview.chromium.org/2527003002/ fsamuel@ just found the cause and is now actively making a fix it. I'll wait for the fix for a while. famuel@: please let me know if you find it difficult to land the fix soon. In the case, I'll try to revert them again.
,
Nov 24 2016
I think I have a fix. As far as I can tell, this is a tear down issue. We need to tear down the display compositor thread prior to tearing down the gpu thread. The display compositor depends on state in GpuServiceInternal. Thus depending on ordering of operations, it can crash or deadlock. I think I have a fix that tears down the display compositor first from the main thread, then tears down GpuServiceInternal on the gpu thread. The code needs some cleanup later this week but for now this should fix the flakiness.
,
Nov 24 2016
The fix (https://codereview.chromium.org/2527003002/) cannot pass the tryservers because of the infra issue. nhiroki@ tries to land this using NOTRY.
,
Nov 24 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5059e49d0a21c1c311653c1613de16b27aefc963 commit 5059e49d0a21c1c311653c1613de16b27aefc963 Author: fsamuel <fsamuel@chromium.org> Date: Thu Nov 24 10:28:09 2016 Mus: Avoid deadlock during teardown The display compositor blocks on the gpu thread to tear down. If GpuServiceInternal tears down before display compositor has a chance to tear down then Mus may crash during tear down or deadlock waiting for a task to execute that never will. BUG= 668105 TBR=sadrul@chromium.org, sky@chromium.org NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2525213002 Cr-Commit-Position: refs/heads/master@{#434310} [modify] https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963/services/ui/gpu/gpu_main.cc [modify] https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963/services/ui/gpu/gpu_main.h [modify] https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963/services/ui/gpu/gpu_service_internal.cc [modify] https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963/services/ui/gpu/gpu_service_internal.h [modify] https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963/services/ui/surfaces/display_compositor.cc [modify] https://crrev.com/5059e49d0a21c1c311653c1613de16b27aefc963/services/ui/surfaces/display_compositor.h
,
Nov 24 2016
,
Nov 24 2016
Builders are green.
,
Nov 27 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by kolos@chromium.org
, Nov 23 2016