New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Fixed
Closed: Jan 16
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

issue 845389

Participants' hotlists:

Sign in to add a comment

Issue 845979: ServiceWorkerBackgroundSyncTest tests are flaky in Views mode

Reported by, May 23 2018 Project Member

Issue description

These three tests are flaky:


I suspect some of the other ServiceWorker tests are flaky as well.

I added a bunch of debug logging, and it seems like in passing runs, the javascript runServiceWorker() function executes *before* BackgroundSyncManager::EventCompleteImpl(), but in failing runs, it executes after and the test hangs forever. I suspect that some kind of event is supposed to be signalled that relies on ::EventCompleteImpl() happening last.

Comment 1 by, May 23 2018

Over to falken@ on advice from rockot@ :)

Comment 2 by, May 24 2018

Components: Blink>ServiceWorker Platform>Extensions
There are some long-running flakes with extension service workers:
 bug 774606 
 bug 834200 
 bug 844821 

Comment 3 by, May 30 2018

Project Member
The following revision refers to this bug:

commit 4a4f21d6b619eb9baeed4a88976d87d0cfc5a419
Author: Elly Fong-Jones <>
Date: Wed May 30 15:04:16 2018

mac: disable ServiceWorker API tests

These tests are flaky on Mac, especially in Views mode.

Bug:  845979 
Change-Id: Idb2125c8ce24595e501df8544609f0c6e6dd8957
Reviewed-by: Istiaque Ahmed <>
Reviewed-by: Peter Beverloo <>
Commit-Queue: Elly Fong-Jones <>
Cr-Commit-Position: refs/heads/master@{#562824}

Comment 4 by, Jul 12 2018

Labels: -M-69 Group-Tests

Comment 5 by, Jul 12 2018

Labels: M-69

Comment 6 by, Jul 26 2018

Labels: -M-69 -Target-69 M-70 Target-70

Comment 7 by, Oct 3

what's the status here?

Comment 8 by, Oct 11

Blocking: 845389

Comment 9 by, Jan 12

Project Member
The following revision refers to this bug:

commit efad1853b1aaf33aa3568807b363b56a0a16d194
Author: Matt Falkenhagen <>
Date: Sat Jan 12 02:03:30 2019

extensions: service worker: Reenable some tests on Mac Views.

Speculatively reenabling. The flakiness was probably fixed a while back
in .

Bug:  845979 
Change-Id: If795a5d0e1bd78d77bea5242336fdfcf063ef475
Reviewed-by: Istiaque Ahmed <>
Commit-Queue: Matt Falkenhagen <>
Cr-Commit-Position: refs/heads/master@{#622261}

Comment 10 by, Jan 16

Status: Fixed (was: Assigned)
Haven't heard of test failures, so marking fixed. Probably fixed via  bug 879015 .

Comment 11 by, Jan 16

Labels: Hotlist-Reliability

Sign in to add a comment