Intermittent browser_blocklist.js | blocklist cleared

RESOLVED WORKSFORME

Status

defect
RESOLVED WORKSFORME
7 years ago
6 months ago

People

(Reporter: RyanVM, Assigned: mixedpuppy)

Tracking

({intermittent-failure})

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

https://tbpl.mozilla.org/php/getParsedLog.php?id=20189288&tree=Firefox

Rev4 MacOSX Snow Leopard 10.6 mozilla-central debug test mochitest-browser-chrome on 2013-02-28 09:39:37 PST for push c65d59d33aa8
slave: talos-r4-snow-028

09:48:42     INFO -  TEST-START | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js
09:48:42     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | Console message: 1362073722472	Services.Metrics.Provider.org.mozilla.addons	WARN	Add-on type without field: service
09:48:42     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testSimpleBlocklist starting
09:48:42     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | Console message: 1362073722502	Services.Metrics.Provider.org.mozilla.addons	WARN	Add-on type without field: service
09:48:42     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | Console message: 1362073722922	Services.Metrics.Provider.org.mozilla.addons	WARN	Add-on type without field: service
09:48:43     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | blocking 'blocked'
09:48:43     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | not blocking 'good'
09:48:43  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | blocklist cleared
09:48:43  WARNING -  This is a harness error.
09:48:43     INFO -  Stack trace:
09:48:43     INFO -      JS frame :: chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js :: tests.testSimpleBlocklist/</< :: line 46
09:48:43     INFO -      JS frame :: chrome://mochikit/content/browser-test.js :: test_executeSoon/<.run :: line 515
09:48:43     INFO -      native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testSimpleBlocklist complete
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testAddingNonBlockedProvider starting
09:48:43     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | added and removed provider
09:48:43     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | adding non-blocked provider ok
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | Console message: 1362073723279	Services.Metrics.Provider.org.mozilla.addons	WARN	Add-on type without field: service
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testAddingNonBlockedProvider complete
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testAddingBlockedProvider starting
09:48:43     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | Unable to add blocklisted provider
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testAddingBlockedProvider complete
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testBlockingExistingProvider starting
09:48:43     INFO -  ++DOCSHELL 0x154c9a420 == 26 [id = 722]
09:48:43     INFO -  ++DOMWINDOW == 93 (0x14f772888) [serial = 2018] [outer = 0x0]
09:48:43     INFO -  ++DOMWINDOW == 94 (0x111e2a128) [serial = 2019] [outer = 0x14f772888]
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | window opened, waiting for focus
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | must wait for load
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | must wait for focus
09:48:43     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | Console message: 1362073723874	Services.Metrics.Provider.org.mozilla.addons	WARN	Add-on type without field: service
09:48:44     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | Console message: OpenGL LayerManager Initialized Succesfully.
09:48:44     INFO -  Version: 2.1 NVIDIA-1.6.36
09:48:44     INFO -  Vendor: NVIDIA Corporation
09:48:44     INFO -  Renderer: NVIDIA GeForce 320M OpenGL Engine
09:48:44     INFO -  FBO Texture Target: TEXTURE_2D
09:48:44     INFO -  WARNING: NS_ENSURE_TRUE(currentURI) failed: file ../../../../content/base/src/ThirdPartyUtil.cpp, line 96
09:48:44     INFO -  WARNING: NS_ENSURE_TRUE(mTextInputHandler) failed: file ../../../widget/cocoa/nsChildView.mm, line 3982
09:48:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | window opened and focused
09:48:44     INFO -  WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file ../../../../content/base/src/nsContentUtils.cpp, line 3011
09:48:44     INFO -  WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file ../../../../content/xbl/src/nsXBLProtoImplMethod.cpp, line 308
09:48:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | window closed
09:48:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | blocklisted provider removed
09:48:44     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | sub-test testBlockingExistingProvider complete
09:48:44     INFO -  INFO TEST-END | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | finished in 1861ms
Depends on: 755126
Assignee: nobody → mixedpuppy
toolkit/mozapps/extensions/nsBlocklistService.js has some exception handlers, and even when they get hit, it still sends the observer notifications.  These exception handlers only log info when extensions.logging.enabled is set to true - which it isn't by default.  My best guess is that one of these exception handlers is being hit, but no evidence is left behind.

I've a try at https://tbpl.mozilla.org/?tree=Try&rev=cf38e244744d which forces this pref to true, but the orange is so rare it hasn't been hit yet.  Sadly it doesn't seem possible to enable this logging just for the duration of this test.  I'll just keep retriggering for a while and hope it turns up...

[x] Need more information from [nsBlocklistService.js] :)
I got a failure on try.  When the test passes, the (enhanced) log shows:

0:09.85 *** blocklistupdated - getAddonsByTypes called
...
0:09.85 *** Blocklist state for bad.com@services.mozilla.org changed from 0 to 2

But when it fails, that last line says:

00:29:34     INFO -  *** Blocklist state for bad.com@services.mozilla.org changed from 0 to 0

It isn't at all clear why this is happening yet - new try with moar logging at https://tbpl.mozilla.org/?tree=Try&rev=5a52d8cb9b19
at least one of the attached intermittent failures is bug 847124 and possibly fixed via bug 886300
Depends on: 847124
no entries in over 6 months, closing
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.