Closed Bug 804480 Opened 12 years ago Closed 12 years ago

Intermittent test_addons_store.js test_addons_store.js | test failed (with xpcshell return code: 0), | Error: 1 or more add-ons failed to install

Categories

(Firefox :: Sync, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: philor, Assigned: rnewman)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=16367628&tree=Mozilla-Inbound Rev3 WINNT 5.1 mozilla-inbound debug test xpcshell on 2012-10-22 21:10:04 PDT for push c78126b31487 slave: talos-r3-xp-033 TEST-UNEXPECTED-FAIL | c:\talos-slave\test\build\xpcshell\tests\services\sync\tests\unit\test_addons_store.js | test failed (with xpcshell return code: 0), see following log: >>>>>>> ... *** LOG addons.xpi: Calling bootstrap method startup on bootstrap1@tests.mozilla.org version 1.0 WARNING: NS_ENSURE_TRUE(wrapper) failed: file e:/builds/moz2_slave/m-in-w32-dbg/build/dom/base/nsJSUtils.cpp, line 81 TEST-PASS | c:/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/head_helpers.js | [installAddonFromInstall : 82] null != [object Object] TEST-PASS | c:/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/head_helpers.js | [installAddonFromInstall : 83] null != ka2aCgtYZFV- Sync.Store.Addons INFO Processing wipe. Sync.Engine.Addons DEBUG Refreshing reconciler state Sync.AddonsReconciler INFO Refreshing global state from AddonManager. Sync.AddonsReconciler DEBUG Rectifying state for addon: bootstrap1@tests.mozilla.org Sync.AddonsReconciler DEBUG Rectifying state for addon: {e2c52c1c-5ee1-cc23-15fa-35945fd58806} Sync.AddonsReconciler DEBUG Rectifying state for addon: {a4254731-ee3a-a1a3-c7e3-22006ca21b3c} Sync.AddonsReconciler INFO Saving reconciler state to file: addonsreconciler Sync.Store.Addons DEBUG {e2c52c1c-5ee1-cc23-15fa-35945fd58806} not syncable: type not in whitelist: plugin Sync.Store.Addons DEBUG {a4254731-ee3a-a1a3-c7e3-22006ca21b3c} not syncable: type not in whitelist: plugin Sync.Store.Addons DEBUG Ignoring add-on because it couldn't be obtained: JdmcR1gayDhZ Sync.Store.Addons INFO Uninstalling add-on as part of wipe: bootstrap1@tests.mozilla.org Sync.AddonsReconciler DEBUG Add-on change: onUninstalling to bootstrap1@tests.mozilla.org Sync.AddonsReconciler DEBUG Ignoring onUninstalling for restartless add-on. *** LOG addons.xpi: Calling bootstrap method shutdown on bootstrap1@tests.mozilla.org version 1.0 *** LOG addons.xpi: Calling bootstrap method uninstall on bootstrap1@tests.mozilla.org version 1.0 Sync.AddonsReconciler DEBUG Add-on change: onUninstalled to bootstrap1@tests.mozilla.org Sync.AddonsReconciler DEBUG Adding change because of uninstall listener: bootstrap1@tests.mozilla.org Sync.AddonsReconciler INFO Change recorded for bootstrap1@tests.mozilla.org Sync.AddonsReconciler INFO Saving reconciler state to file: addonsreconciler TEST-PASS | c:/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/test_addons_store.js | [test_wipe_and_install : 440] null == null *** LOG addons.repository: Requesting http://localhost:8888/search/guid:bootstrap1%40tests.mozilla.org Sync.AddonUtils INFO Found 1/1 add-ons during repository search. Sync.AddonUtils INFO Trying to install add-on from search result: bootstrap1@tests.mozilla.org Sync.AddonUtils DEBUG Obtaining install for bootstrap1@tests.mozilla.org Sync.AddonUtils INFO Installing bootstrap1@tests.mozilla.org *** LOG addons.xpi: Download started for http://127.0.0.1:8888/bootstrap1.xpi to file c:\docume~1\cltbld\locals~1\temp\tmpmyg04l\temp\tmp-abl.xpi *** LOG addons.xpi: Download of http://127.0.0.1:8888/bootstrap1.xpi completed. *** WARN addons.xpi: Download failed: 2152398861 *** WARN addons.manager: InstallListener threw exception when calling onDownloadFailed: Error: 1 or more add-ons failed to install TEST-UNEXPECTED-FAIL | c:\talos-slave\test\build\xpcshell\head.js | Error: 1 or more add-ons failed to install - See following stack: JS frame :: c:\talos-slave\test\build\xpcshell\head.js :: do_throw :: line 451 JS frame :: c:\talos-slave\test\build\xpcshell\head.js :: _run_next_test :: line 891 JS frame :: c:\talos-slave\test\build\xpcshell\head.js :: <TOP_LEVEL> :: line 418 native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0 TEST-INFO | (xpcshell/head.js) | exiting test TEST-INFO | (xpcshell/head.js) | test 2 finished TEST-PASS | c:/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/head_helpers.js -> file:///c:/talos-slave/test/build/xpcshell/tests/toolkit/mozapps/extensions/test/xpcshell/head_addons.js | [null : 1266] false == false TEST-PASS | c:/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/head_helpers.js -> file:///c:/talos-slave/test/build/xpcshell/tests/toolkit/mozapps/extensions/test/xpcshell/head_addons.js | [null : 1269] false == false TEST-PASS | c:/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/head_helpers.js -> file:///c:/talos-slave/test/build/xpcshell/tests/toolkit/mozapps/extensions/test/xpcshell/head_addons.js | [null : 1272] false == false *** LOG addons.manager: shutdown *** LOG addons.xpi: shutdown *** LOG addons.xpi-utils: Updating add-on states *** LOG addons.xpi-utils: shutdown *** LOG addons.xpi-utils: Database closed WARNING: cannot post event if not initialized: file e:/builds/moz2_slave/m-in-w32-dbg/build/netwerk/protocol/http/nsHttpConnectionMgr.cpp, line 169 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score. Sync.AddonsReconciler DEBUG Stopping listening and removing AddonManager listeners. WARNING: nsExceptionService ignoring thread destruction after shutdown: file e:/builds/moz2_slave/m-in-w32-dbg/build/xpcom/base/nsExceptionService.cpp, line 166 WARNING: OOPDeinit() without successful OOPInit(): file e:/builds/moz2_slave/m-in-w32-dbg/build/toolkit/crashreporter/nsExceptionHandler.cpp, line 2252 nsStringStats => mAllocCount: 18345 => mReallocCount: 1199 => mFreeCount: 18345 => mShareCount: 16244 => mAdoptCount: 1415 => mAdoptFreeCount: 1415 <<<<<<<
Blocks: 804673
*** LOG addons.xpi: Download started for http://127.0.0.1:8888/bootstrap1.xpi to file c:\docume~1\cltbld\locals~1\temp\tmpmyg04l\temp\tmp-abl.xpi *** LOG addons.xpi: Download of http://127.0.0.1:8888/bootstrap1.xpi completed. *** WARN addons.xpi: Download failed: 2152398861 ... NS_ERROR_CONNECTION_REFUSED. Tests colliding? Something dodgy going on?
It looks like store.applyIncoming(record); in test_wipe_and_install can require re-fetching the XPI, but we don't have a server running. The fix... start one. I don't know why this only fails on XP.
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Attachment #674465 - Flags: review?(gps)
Comment on attachment 674465 [details] [diff] [review] Proposed patch. v1 Review of attachment 674465 [details] [diff] [review]: ----------------------------------------------------------------- wat?
Attachment #674465 - Flags: review?(gps) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/f2acc4fa8590 Let's see if any more of these pop up on m-i…
Target Milestone: --- → mozilla19
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
That Aurora failure makes me very happy.
Whiteboard: [orange]
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: