Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 477443002: Enable test LayerTreeHostTestBreakSwapPromise with verbose logging information (Closed)

Created:
6 years, 4 months ago by Yufeng Shen (Slow to review)
Modified:
6 years, 4 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

Enable test LayerTreeHostTestBreakSwapPromise with verbose logging information The log of the flaky LayerTreeHostTestBreakSwapPromise test shows that [ RUN ] LayerTreeHostTestBreakSwapPromise.RunMultiThread_DelegatingRenderer_ImplSidePaint c:\b\build\slave\win_x64_builder\build\src\cc\trees\layer_tree_host_unittest.cc(4500): error: Value of: swap_promise_result_[2].did_not_swap_called Actual: false Expected: true c:\b\build\slave\win_x64_builder\build\src\cc\trees\layer_tree_host_unittest.cc(4501): error: Value of: swap_promise_result_[2].reason Actual: 0 Expected: SwapPromise::SWAP_FAILS Which is: 1 [ FAILED ] LayerTreeHostTestBreakSwapPromise.RunMultiThread_DelegatingRenderer_ImplSidePaint (3 ms) We have a EXPECT_TRUE on the SwapPromise's dtor to be called which passes. It means we destroyed the SwapPromise without ever breaking them first (no DidNotSwap ever called). I checked all the code path where we destroy SwapPromise and we always break them first. So I can't figure out why it is the case. I am adding some logging information and turn this test back on, hopefully next time it fails on the bot I can use the extra logging information to debug. BUG=393995 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289679

Patch Set 1 #

Total comments: 2

Patch Set 2 : change LOG(INFO) to LOG(ERROR) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M cc/trees/layer_tree_host_unittest.cc View 1 3 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Yufeng Shen (Slow to review)
6 years, 4 months ago (2014-08-13 22:55:25 UTC) #1
danakj
LGTM https://codereview.chromium.org/477443002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/477443002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode4471 cc/trees/layer_tree_host_unittest.cc:4471: LOG(INFO) << "~TestSwapPromise() " i suggest LOG(ERROR), maybe ...
6 years, 4 months ago (2014-08-13 23:09:07 UTC) #2
Yufeng Shen (Slow to review)
https://codereview.chromium.org/477443002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/477443002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode4471 cc/trees/layer_tree_host_unittest.cc:4471: LOG(INFO) << "~TestSwapPromise() " On 2014/08/13 23:09:07, danakj wrote: ...
6 years, 4 months ago (2014-08-13 23:25:58 UTC) #3
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 4 months ago (2014-08-13 23:26:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/477443002/20001
6 years, 4 months ago (2014-08-13 23:30:03 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-14 05:36:41 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 05:41:56 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/41605) chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4190) ios_dbg_simulator ...
6 years, 4 months ago (2014-08-14 05:41:57 UTC) #8
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 4 months ago (2014-08-14 15:18:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/477443002/20001
6 years, 4 months ago (2014-08-14 15:22:05 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 19:50:14 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (20001) as 289679

Powered by Google App Engine
This is Rietveld 408576698