Closed Bug 963961 Opened 10 years ago Closed 9 years ago

Intermittent browser_blocklist.js | unable to add provider Error: SocialService.addProvider: provider with this origin already exists (and lots of other failures)

Categories

(Firefox Graveyard :: SocialAPI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ttaubert, Assigned: mixedpuppy)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=33584244&tree=Fx-Team

TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | unable to add provider Error: SocialService.addProvider: provider with this origin already exists
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | blocklist dialog was closed
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_blocklist.js | runSocialTests: finish test run with 1 providers - Got 0, expected 1
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_chat_tearoff.js | all provider prefs uninstalled from previous test - Got 1, expected 0
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_chat_tearoff.js | all providers uninstalled from previous test 1 - Got 1, expected 0
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_defaults.js | Exception thrown - [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getComplexValue]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://mochitests/content/browser/browser/base/content/test/social/browser_defaults.js :: test :: line 11"  data: no]
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_share.js | all provider prefs uninstalled from previous test - Got 1, expected 0
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_share.js | all providers uninstalled from previous test 1 - Got 1, expected 0

(... and much more.)
This patch reorganizes the blocklist test a little to avoid one test from leaking into later tests.  It also makes one test more strict about when it finishes.

The important item here is the ability to turn on logging in the blocklist service so we can see any error messages that service may throw during testing.  I hope that this will help us figure out what is happening here when the tests fail.
Assignee: nobody → mixedpuppy
Attachment #8367449 - Flags: review?(felipc)
This patch was meant for bug 922553, but reasonably will help with this bug as well.
Blocks: 922553
Attachment #8367449 - Flags: review?(felipc) → review+
https://hg.mozilla.org/integration/fx-team/rev/fc7436932c4a

Enables additional logging in the blocklist service during the test, hopefully that will help decipher these intermittent orange issues if they continue.
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: