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

Issue 831838 link

Starred by 2 users

Issue metadata

Status: Fixed
Closed: Jul 19
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

issue 831694

Sign in to add a comment

NoScriptPreviewsEnabled tests are flaky on Linux Xenial

Project Member Reported by, Apr 11 2018

Issue description

Failing runs:

Failing tests:
Components: Tests>Flaky
Status: Assigned (was: Available)
The tests appear to have become flaky this morning, as there were about a dozen green runs before that.

timbrown can you take this?
Blocking: 831694
Any update on this?  The tests are still failing.
Status: Started (was: Assigned)
I'm looking at it now.
Project Member

Comment 4 by, Apr 19 2018

The following revision refers to this bug:

commit 5a5c586e49b5916234677f2a2a51cff76b777016
Author: Tim Brown <>
Date: Thu Apr 19 06:07:42 2018

Update previews_browsertest to use best practices

Specifically, EmbeddedTestServer should be recreated for every test and
only started after the browser process. Also reinitialize
ScopedFeatureList with every test as per recommended in header file.

Bug:  831838 
Change-Id: I3e90d69b2d7708ca4abd73577972c97f119c1ab1
Commit-Queue: Tim Brown <>
Reviewed-by: Ryan Sturm <>
Cr-Commit-Position: refs/heads/master@{#551955}

The first run with the change is #422. It is looking much much more healthy now, however there have still been a couple of failures.

I'll leave it running longer while I try to work out what's happening with the remaining failures.
Project Member

Comment 6 by, Apr 27 2018

The following revision refers to this bug:

commit c3ba695ae8f5dbbd96254a9846b7cbc8f4f27050
Author: Tim Brown <>
Date: Fri Apr 27 00:17:27 2018

Disable flaky Previews tests on Linux

The tests were already disabled on Windows and Mac for being flaky (the
feature is only enabled on Android and the tests should still be running

Bug:  831838 
Change-Id: I14f0a97785e01033f094e75765734d33bff9a988
Reviewed-by: Doug Arnett <>
Commit-Queue: Tim Brown <>
Cr-Commit-Position: refs/heads/master@{#554209}

Status: Fixed (was: Started)
Closing as the tests have now been disabled (the CL went in on run #580).

Coincidentally, there hadn't been a Previews test failure in over a day before that, but I'm not convinced that would have continued. We'd seen that before.
Project Member

Comment 8 by, Apr 27 2018

The following revision refers to this bug:

commit 1ce8e07c5f19b1e793e6d17d13a3f747f21b1cb6
Author: John Budorick <>
Date: Fri Apr 27 23:58:31 2018

Redisable PreviewsNoScriptBrowserTest.NoScriptPreviewsEnabled.

Accidentally reenabled while disabling tests on Linux.,

Bug:  831838 , 837822 
Change-Id: I6d0f126e73ff8eac0ed1b48c2eaa149a2be70e04
Reviewed-by: John Budorick <>
Commit-Queue: John Budorick <>
Cr-Commit-Position: refs/heads/master@{#554568}

Comment 9 by, Jun 18 2018

Components: Internals>Network>DataProxy
Owner: ----
Status: Untriaged (was: Fixed)
[timbrown]:  Disabling a test because it is flaky (And never telling the owners about it!) is not fixing the flaky test.  Please tell the test owners when disabling a test, and don't mark the bug about the test being flaky a fixed.
Status: Assigned (was: Untriaged)

Sorry about that. I thought putting dougarnett@ as a reviewer of the CL was sufficient notice. I closed the bug because AFAIU the feature/tests are not needed/run on Linux, and if I remember correctly, I found similar bugs about flakes on Mac and Windows which were similarly closed as the feature is not used on those platforms. I should have confirmed that with the owners though.
I'm sorry, I didn't recognize dougarnett as an owner when I came across this.  I still think it's better to leave bugs open, and add the label, to make sure all relevant parties are CCed.
Components: -Internals>Network>DataProxy Blink>Previews
Note that browser_tests do not currently run on Android (Issue 611756). Since some of the previews browsertests are currently enabled only on Android (, this effectively means that those tests are not running on any platform.
Project Member

Comment 14 by, Jul 12

The following revision refers to this bug:

commit a875a2ea21d8a321295a11440c80af01bcf7fa86
Author: Tarun Bansal <>
Date: Thu Jul 12 17:14:30 2018

Deflake resource loading hints and previews browsertest

Attempt to deflake resource loading hints and previews
browsertest by waiting for hints to be processed.

Currently, the hints are processed on the background thread,
and so may not be processed immediately.

Log from the failed Linux test bots seem to indicate that
the hints are not processed in time.
See http://shortn/_IjBGHDP2Rp

Bug:  789542 , 831838 
Change-Id: I6b30b1a86dc5d2cdef1cd8274cf5c6088bec8634
Reviewed-by: Ryan Sturm <>
Commit-Queue: Tarun Bansal <>
Cr-Commit-Position: refs/heads/master@{#574613}

Status: Started (was: Assigned)
Status: Fixed (was: Started)
Have not seen any flake since c#14.

Sign in to add a comment