New issue
Advanced search Search tips

Issue 648860 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 617268
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 1
Type: Bug



Sign in to add a comment

cc_unittests are flaky in LayerTreePixelTest::CreateCopyOutputRequest

Project Member Reported by loyso@chromium.org, Sep 21 2016

Issue description

cc_unittests hangs forever if run locally on Linux Debug:

Still waiting for the following processes to finish:
	./out/Debug/cc_unittests --gtest_flagfile=/tmp/.org.chromium.Chromium.owAoNW/.org.chromium.Chromium.coLukB --single-process-tests --test-launcher-output=/tmp/.org.chromium.Chromium.OvgnIr/test_results.xml

Flakiness is reduced if you re-run that single batch from the flagfile,
but still able to repro sometimes:

./out/Debug/cc_unittests --gtest_filter=LayerTreeHostTilesTestPartialInvalidation.PartialRaster_MultiThread_OneCopy:LayerTreeHostTilesTestPartialInvalidation.FullRaster_MultiThread_OneCopy:LayerTreeHostTilesTestPartialInvalidation.PartialRaster_SingleThread_Software:LayerTreeHostTilesTestPartialInvalidation.FulllRaster_SingleThread_Software:LayerTreeHostTilesTestPartialInvalidation.PartialRaster_SingleThread_GpuRaster:LayerTreeHostTilesTestPartialInvalidation.FullRaster_SingleThread_GpuRaster:LayerTreeHostTestHasImplThreadTest.RunSingleThread_DelegatingRenderer:LayerTreeHostTestHasImplThreadTest.RunMultiThread_DelegatingRenderer:LayerTreeHostTestSetNeedsCommitInsideLayout.RunSingleThread_DelegatingRenderer:LayerTreeHostTestSetNeedsCommitInsideLayout.RunMultiThread_DelegatingRenderer

It produces:
../../cc/test/layer_tree_pixel_test.cc:101: Failure
Value of: result->HasBitmap()
  Actual: false
Expected: true
... and hangs.

It looks like LayerTreePixelTest::CreateCopyOutputRequest may fail asynchronously and LayerTreePixelTest::EndTest/TryEndTest doesn't solve the problem.
 

Comment 1 by loyso@chromium.org, Sep 21 2016

Reduced to: 

./out/Debug/cc_unittests --gtest_filter=LayerTreeHostTilesTestPartialInvalidation.FullRaster_SingleThread_GpuRaster

Comment 2 by loyso@chromium.org, Sep 21 2016

Owner: ericrk@chromium.org
Status: Assigned (was: Available)
Feel free to reassign.

Comment 3 by enne@chromium.org, Sep 21 2016

Cc: ericrk@chromium.org
Owner: sunn...@chromium.org
I think this will be fixed by some of the things that sunnyps is looking into.

Comment 4 by ericrk@chromium.org, Sep 21 2016

Labels: -OS-All OS-Linux OS-Windows
Flakes appear on Windows/Linux dbg bots. Here's the link to flakiness dashboard:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=cc_unittests&tests=LayerTreeHostTilesTestPartialInvalidation.FullRaster_SingleThread_GpuRaster

Comment 5 by danakj@chromium.org, Sep 21 2016

Mergedinto: 617268
Status: Duplicate (was: Assigned)

Sign in to add a comment