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

Issue 277113002: Fixed flakiness of context_lost tests on GPU bots. (Closed)

Created:
6 years, 7 months ago by Ken Russell (switch to Gerrit)
Modified:
6 years, 7 months ago
Reviewers:
Charlie Reis, jam, piman
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, danakj, bajones, Zhenyao Mo, Paweł Hajdan Jr., Sergey Berezin
Visibility:
Public.

Description

Fixed flakiness of context_lost tests on GPU bots. Two failures were observed: 1. If the GPU process crashed between EstablishGpuChannel and CreateViewCommandBuffer, the channel would never be properly marked as lost. Now, if CreateViewCommandBuffer fails, mark the GpuChannelHost as lost on the renderer side. The RenderThreadImpl will then establish a new connection to the new GPU process. 2. In Issue 308675, support was added to allow Telemetry to navigate to about:gpucrash, specifically for this test. It turns out that each navigation from Telemetry was provoking *two* GPU process crashes. Depending on when they came in, the test would intermittently receive two lost context events and fail. Squelch the second debug URL handling in NavigationControllerImpl. These fix the locally reproducible failures of this test. BUG=365904 TEST=src/content/test/gpu/run_gpu_test.py context_lost --browser=debug --show-stdout -v --page-filter=WebGLContextLostFromGPUProcessExit --page-repeat=30 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269763

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed review feedback from jam and creis. #

Patch Set 3 : Addressed more review feedback from creis. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M content/browser/frame_host/debug_urls.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/debug_urls.cc View 1 2 chunks +16 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 2 chunks +14 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Ken Russell (switch to Gerrit)
Please review. The flakiness of this test is the last blocker toward putting the GPU ...
6 years, 7 months ago (2014-05-09 22:39:33 UTC) #1
jam
https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/debug_urls.h File content/browser/frame_host/debug_urls.h (right): https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/debug_urls.h#newcode18 content/browser/frame_host/debug_urls.h:18: // Checks if the given URL is a url ...
6 years, 7 months ago (2014-05-09 22:47:46 UTC) #2
piman
LGTM for content/common/gpu.
6 years, 7 months ago (2014-05-09 22:50:41 UTC) #3
jam
+creis for navigation_controller_impl.cc, he knows this code better than me
6 years, 7 months ago (2014-05-09 22:55:29 UTC) #4
Ken Russell (switch to Gerrit)
On 2014/05/09 22:55:29, jam wrote: > +creis for navigation_controller_impl.cc, he knows this code better than ...
6 years, 7 months ago (2014-05-09 23:05:29 UTC) #5
Charlie Reis
Looks right, after some digging. Just a few comment requests and it should be good ...
6 years, 7 months ago (2014-05-09 23:21:51 UTC) #6
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/debug_urls.cc File content/browser/frame_host/debug_urls.cc (right): https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/debug_urls.cc#newcode86 content/browser/frame_host/debug_urls.cc:86: (url.host() == kChromeUIBrowserCrashHost || On 2014/05/09 23:21:51, Charlie Reis ...
6 years, 7 months ago (2014-05-09 23:43:05 UTC) #7
Charlie Reis
Thanks. LGTM with one change. https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/navigation_controller_impl.cc#newcode1025 content/browser/frame_host/navigation_controller_impl.cc:1025: cc::switches::kEnableGpuBenchmarking); On 2014/05/09 23:43:05, ...
6 years, 7 months ago (2014-05-09 23:53:39 UTC) #8
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/277113002/diff/1/content/browser/frame_host/navigation_controller_impl.cc#newcode1025 content/browser/frame_host/navigation_controller_impl.cc:1025: cc::switches::kEnableGpuBenchmarking); On 2014/05/09 23:53:40, Charlie Reis wrote: > On ...
6 years, 7 months ago (2014-05-09 23:56:40 UTC) #9
Ken Russell (switch to Gerrit)
The CQ bit was checked by kbr@chromium.org
6 years, 7 months ago (2014-05-09 23:58:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kbr@chromium.org/277113002/40001
6 years, 7 months ago (2014-05-10 00:01:23 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 03:50:05 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-10 04:41:35 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152743)
6 years, 7 months ago (2014-05-10 04:41:35 UTC) #14
Ken Russell (switch to Gerrit)
The CQ bit was checked by kbr@chromium.org
6 years, 7 months ago (2014-05-11 06:59:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kbr@chromium.org/277113002/40001
6 years, 7 months ago (2014-05-11 06:59:23 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-11 08:11:41 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-11 09:30:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152860)
6 years, 7 months ago (2014-05-11 09:30:33 UTC) #19
Ken Russell (switch to Gerrit)
The CQ bit was checked by kbr@chromium.org
6 years, 7 months ago (2014-05-12 09:00:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kbr@chromium.org/277113002/40001
6 years, 7 months ago (2014-05-12 09:01:02 UTC) #21
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 10:07:31 UTC) #22
Message was sent while issue was closed.
Change committed as 269763

Powered by Google App Engine
This is Rietveld 408576698