New issue
Advanced search Search tips

Issue 647070 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

"FileFlusherTest.DuplicateRequests" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Sep 14 2016

Issue description

"FileFlusherTest.DuplicateRequests" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 3 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyLAsSBUZsYWtlIiFGaWxlRmx1c2hlclRlc3QuRHVwbGljYXRlUmVxdWVzdHMM.

Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
 

Comment 1 by grt@chromium.org, Sep 15 2016

Labels: -Sheriff-Chromium OS-Chrome
Owner: xiy...@chromium.org
Status: Assigned (was: Untriaged)
Here's an example failure:

[ RUN      ] FileFlusherTest.DuplicateRequests
../../chrome/browser/chromeos/base/file_flusher_unittest.cc:147: Failure
Value of: GetFlushCount("dir1/file3")
  Actual: 2
Expected: 1
[  FAILED  ] FileFlusherTest.DuplicateRequests (7 ms)

Please fix, thanks.

Comment 2 by xiy...@chromium.org, Sep 15 2016

Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f8838f1b9bbba7eacaf398da4eaaf9996727b502

commit f8838f1b9bbba7eacaf398da4eaaf9996727b502
Author: xiyuan <xiyuan@chromium.org>
Date: Thu Sep 15 18:44:24 2016

Fix flaky FileFlusherTest.DuplicateRequests

The flakyness is cause by the racing that the first flush request
might be started before the duplicate request comes in.

Also fixed a problem that Job::ScheduleFinish could be called twice.
One from Cancel and the other from Start on a canceled job.

BUG= 647070 

Review-Url: https://codereview.chromium.org/2342813003
Cr-Commit-Position: refs/heads/master@{#418914}

[modify] https://crrev.com/f8838f1b9bbba7eacaf398da4eaaf9996727b502/chrome/browser/chromeos/base/file_flusher.cc
[modify] https://crrev.com/f8838f1b9bbba7eacaf398da4eaaf9996727b502/chrome/browser/chromeos/base/file_flusher.h
[modify] https://crrev.com/f8838f1b9bbba7eacaf398da4eaaf9996727b502/chrome/browser/chromeos/base/file_flusher_unittest.cc

Comment 5 by xiy...@chromium.org, Sep 15 2016

Status: Fixed (was: Started)

Comment 6 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 7 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 8 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 9 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 10 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 11 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 13 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment