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

Issue 2756393002: Deflake ImageWriterUtilityClient browsertest and clients (Closed)

Created:
3 years, 9 months ago by Noel Gordon
Modified:
3 years, 9 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Deflake ImageWriterUtilityClient browsertest and clients The image writer browser tests WriteCancel and VerifyCancel added on crrev.com/449296 flaked on the Windows DEBUG bots, issue 690717. Re-enable these browser tests. Move all work to the FILE thread both in the callers (operation.cc, operation_nonchromeos.cc) of the image writer interface, and in the browser test (to match caller behavior) to see if this removes the flake on the Windows DEBUG bots (analysis per crbug.com/690717#c2 suggests that it should). The browsertest can't test the low-level USB driver code on any port since our bots don't have USB sticks. So I manually tested using the the ChromeOS Recovery Tool [1], and I was able to write and verify a ChromeOS image to my USB stick using this patch on Windows 10. Covered by existing tests: image_writer_utility_client_browsertest, image_writer_unittest [1] http://bit.ly/2jFtsZZ BUG=690717, 352442 Review-Url: https://codereview.chromium.org/2756393002 Cr-Commit-Position: refs/heads/master@{#458965} Committed: https://chromium.googlesource.com/chromium/src/+/54af805eac68ac00ef7a6a9f3ee40fb49894792f

Patch Set 1 #

Patch Set 2 : Remove FILE check in constructor, add large Cancel delay to see if we can flake the try bots. #

Patch Set 3 : Remove Cancel delay used for testing for try flakes. #

Total comments: 2

Patch Set 4 : Add comments about Cancel API. #

Total comments: 2

Patch Set 5 : Remove progress case from Cancel test. #

Messages

Total messages: 60 (43 generated)
Noel Gordon
3 years, 9 months ago (2017-03-20 10:43:18 UTC) #15
Noel Gordon
PTAL.
3 years, 9 months ago (2017-03-20 10:49:46 UTC) #17
Sam McNally
lgtm https://codereview.chromium.org/2756393002/diff/40001/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc File chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc (right): https://codereview.chromium.org/2756393002/diff/40001/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc#newcode105 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc:105: void ImageWriterUtilityClient::Cancel(const CancelCallback& cancel_callback) { Is Cancel even ...
3 years, 9 months ago (2017-03-21 00:03:55 UTC) #19
tibell
lgtm
3 years, 9 months ago (2017-03-21 00:31:02 UTC) #20
Noel Gordon
https://codereview.chromium.org/2756393002/diff/40001/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc File chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc (right): https://codereview.chromium.org/2756393002/diff/40001/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc#newcode105 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc:105: void ImageWriterUtilityClient::Cancel(const CancelCallback& cancel_callback) { Best I can tell, ...
3 years, 9 months ago (2017-03-21 05:05:11 UTC) #21
Noel Gordon
+jochen for OWNERS.
3 years, 9 months ago (2017-03-21 05:50:52 UTC) #25
jochen (gone - plz use gerrit)
please ask somebody from the extension teams to review, as they own this directory
3 years, 9 months ago (2017-03-21 10:32:14 UTC) #29
Noel Gordon
+rdevlin for extensions.
3 years, 9 months ago (2017-03-21 11:21:14 UTC) #31
Devlin
Can you expand a bit on why you suspect moving work to the file thread ...
3 years, 9 months ago (2017-03-21 15:15:15 UTC) #32
Noel Gordon
https://codereview.chromium.org/2756393002/diff/60001/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc File chrome/browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc (right): https://codereview.chromium.org/2756393002/diff/60001/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc#newcode113 chrome/browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc:113: if (progress_ || !cancel_) On 2017/03/21 15:15:15, Devlin wrote: ...
3 years, 9 months ago (2017-03-21 23:35:21 UTC) #37
Devlin
On 2017/03/21 15:15:15, Devlin wrote: > Can you expand a bit on why you suspect ...
3 years, 9 months ago (2017-03-21 23:52:02 UTC) #38
Noel Gordon
On 2017/03/21 23:52:02, Devlin wrote: > On 2017/03/21 15:15:15, Devlin wrote: > > Can you ...
3 years, 9 months ago (2017-03-22 01:58:54 UTC) #39
Noel Gordon
On 2017/03/22 01:58:54, noel gordon wrote: > On 2017/03/21 23:52:02, Devlin wrote: > > On ...
3 years, 9 months ago (2017-03-22 03:38:05 UTC) #42
Devlin
On 2017/03/22 03:38:05, noel gordon wrote: > On 2017/03/22 01:58:54, noel gordon wrote: > > ...
3 years, 9 months ago (2017-03-22 23:35:46 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2756393002/80001
3 years, 9 months ago (2017-03-22 23:47:16 UTC) #56
Noel Gordon
On 2017/03/22 23:35:46, Devlin wrote: > On 2017/03/22 03:38:05, noel gordon wrote: > > On ...
3 years, 9 months ago (2017-03-22 23:48:15 UTC) #57
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 01:06:14 UTC) #60
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/54af805eac68ac00ef7a6a9f3ee4...

Powered by Google App Engine
This is Rietveld 408576698