New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 691449 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

File System Provider API corrupting files.

Project Member Reported by tyoshino@chromium.org, Feb 13 2017

Issue description

On
- Linux ChromiumOS Tests (1)
- Linux ChromiumOS Tests (dbg)(1)
- Linux Chromium OS ASan LSan Tests (1)

https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=FileSystemProviderApiTest.ReadFile
 
Project Member

Comment 2 by bugdroid1@chromium.org, Feb 13 2017

 Issue 691483  has been merged into this issue.
This is still flaky on ChromiumOS as of commit position #449954, even though the patch in #2 landed as #449931 and must have cycled already.

https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/33595

Upon inspecting your CL, it seems that you have disabled it everywhere *except* ChromiumOS :)
According to FindIt, the culprit may be https://codereview.chromium.org/2682163002, but I am not an expert in this code, therefore didn't proceed with the revert.
Project Member

Comment 6 by bugdroid1@chromium.org, Feb 13 2017

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

commit 54520ce5e56cd898668f0f86172cdeb9914a9b71
Author: msramek <msramek@chromium.org>
Date: Mon Feb 13 16:08:50 2017

Fix disabling of FileSystemProviderApiTest.ReadFile

In https://codereview.chromium.org/2689193002, this test was disabled
everywhere except ChromeOS. Instead, it should have been disabled on
ChromiumOS.

NOTRY=True
TBR=mtomasz@chromium.org
BUG= 691449 

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

[modify] https://crrev.com/54520ce5e56cd898668f0f86172cdeb9914a9b71/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc

Components: Platform>Apps>FileManager Blink>Storage>FileSystem
Labels: -Pri-3 Pri-1
This is terrible. The file contents read via FSP API are corrupted.
Cc: yamaguchi@chromium.org fukino@chromium.org
Labels: OS-Windows
Labels: -Hotlist-Sheriff-Chromium
Status: Started (was: Assigned)
@tyoshino: I tried the link you posted:
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=FileSystemProviderApiTest.ReadFile

but it doesn't contain any flakes. I guess it's because the test has been disabled. Is there any way to get older flakes?
So far I can't reproduce the flakiness locally.
And... just reproduced.
The calls on JS side appear to arrive in a different order on the C++ side. This sounds very very dangerous. I'll take a look at it closer tomorrow.
Labels: -OS-Windows OS-Chrome
Labels: ReleaseBlock-Stable M-57
Summary: File System Provider API corrupting files. (was: FileSystemProviderApiTest.ReadFile is flaky)
Project Member

Comment 19 by bugdroid1@chromium.org, Feb 28 2017

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

commit d3499037df8da2c29581bb74f1a3c252921432b0
Author: mtomasz <mtomasz@chromium.org>
Date: Tue Feb 28 10:55:46 2017

Restore FSP API's read tests.

The CL regressing this test is reverted. See: crbug.com/2682163002

TBR=benwells
TEST=Test passes.
BUG= 691449 

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

[modify] https://crrev.com/d3499037df8da2c29581bb74f1a3c252921432b0/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc

Status: Fixed (was: Started)
Labels: Merge-TBD
[Auto-generated comment by a script] We noticed that this issue is targeted for M-57; it appears the fix may have landed after branch point, meaning a merge might be required. Please confirm if a merge is required here - if so add Merge-Request-57 label, otherwise remove Merge-TBD label. Thanks.
Labels: -Merge-TBD
No need for merge. The logic is fixed in a separate CL.
Status: Verified (was: Fixed)

Sign in to add a comment