Closed Bug 398055 Opened 18 years ago Closed 16 years ago

Spurious unit test failures

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mossop, Unassigned)

References

Details

Attachments

(1 file)

This is a bit of a tracking bug to note some unexplained test failures that are cropping up in the EM unit tests.
qm-winxp01 http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1191138167.1191140506.32458.gz&fulltext=1#err0 ../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug378216.js: FAIL ../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug378216.js.log: >>>>>>> *** test pending *** exiting *** CHECK FAILED: null != null JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/head.js :: do_throw :: line 99 JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/head.js :: do_check_neq :: line 109 JS frame :: ../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug378216.js :: run_test :: line 213 JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/tail.js :: _execute_test :: line 41 JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/execute_test.js :: <TOP_LEVEL> :: line 38 2147500036 *** FAIL *** *** No secure updates: Item: "test_bug378216_2@tests.mozilla.org" version 1.0 was not installed. *** Item Installed via directory addition to Install Location: app-global Item ID: inspector@mozilla.org, attempting to register... *** Item Installed/Upgraded at Install Location: app-global Item ID: inspector@mozilla.org, attempting to register... *** ... success, item installed but is not compatible *** Item Installed via directory addition to Install Location: app-global Item ID: {972ce4c6-7e08-4474-a285-3208198ce6fd}, attempting to register... *** Item Installed/Upgraded at Install Location: app-global Item ID: {972ce4c6-7e08-4474-a285-3208198ce6fd}, attempting to register... *** ... success, item installed but is not compatible <<<<<<<
qm-winxp01 http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1191078420.1191082500.6573.gz&fulltext=1#err0 ../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug299716.js: FAIL ../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug299716.js.log: >>>>>>> *** test pending *** INSTALLING NEW ITEMS *** test pending *** test finished *** running event loop *** RESTARTING EXTENSION MANAGER *** exiting *** CHECK FAILED: null != null JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/head.js :: do_throw :: line 99 JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/head.js :: do_check_neq :: line 109 JS frame :: ../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug299716.js :: do_check_item :: line 306 JS frame :: ../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug299716.js :: run_test_pt2 :: line 371 JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/head.js :: anonymous :: line 62 JS frame :: c:/slave/trunk/mozilla/tools/test-harness/xpcshell-simple/head.js :: anonymous :: line 62 *** FAIL *** *** Phone Home Listener: Update Started *** Datasource: Update Started *** Phone Home Listener: Update For bug299716-e@tests.mozilla.org">bug299716-e@tests.mozilla.org started *** Datasource: Addon Update Started: bug299716-e@tests.mozilla.org">bug299716-e@tests.mozilla.org *** RDFItemUpdater:checkForUpdates sending a request to server for: http://localhost:4444/data/test_bug299716.rdf, item = ({id:"bug299716-e@tests.mozilla.org">bug299716-e@tests.mozilla.org", version:"0.1", installLocationKey:"app-profile", minAppVersion:"30", maxAppVersion:"30", name:"Bug 299716 test E", xpiURL:"", xpiHash:"", iconURL:"", updateRDF:"http://localhost:4444/data/test_bug299716.rdf", updateKey:"", type:2, targetAppID:"xpcshell@tests.mozilla.org"}) *** Phone Home Listener: Update Started *** Datasource: Update Started *** Phone Home Listener: Update For bug299716-f@tests.mozilla.org">bug299716-f@tests.mozilla.org started *** Datasource: Addon Update Started: bug299716-f@tests.mozilla.org">bug299716-f@tests.mozilla.org *** RDFItemUpdater:checkForUpdates sending a request to server for: http://localhost:4444/data/test_bug299716.rdf, item = ({id:"bug299716-f@tests.mozilla.org">bug299716-f@tests.mozilla.org", version:"0.1", installLocationKey:"app-profile", minAppVersion:"30", maxAppVersion:"30", name:"Bug 299716 test F", xpiURL:"", xpiHash:"", iconURL:"", updateRDF:"http://localhost:4444/data/test_bug299716.rdf", updateKey:"", type:2, targetAppID:"xpcshell@tests.mozilla.org"}) *** Phone Home Listener: Update Started *** Datasource: Update Started *** Phone Home Listener: Update For bug299716-g@tests.mozilla.org">bug299716-g@tests.mozilla.org started *** Datasource: Addon Update Started: bug299716-g@tests.mozilla.org">bug299716-g@tests.mozilla.org *** RDFItemUpdater:checkForUpdates sending a request to server for: http://localhost:4444/data/test_bug299716.rdf, item = ({id:"bug299716-g@tests.mozilla.org">bug299716-g@tests.mozilla.org", version:"0.1", installLocationKey:"app-profile", minAppVersion:"30", maxAppVersion:"30", name:"Bug 299716 test G", xpiURL:"", xpiHash:"", iconURL:"", updateRDF:"http://localhost:4444/data/test_bug299716.rdf", updateKey:"", type:2, targetAppID:"toolkit@mozilla.org"}) *** Phone Home Listener: Update For bug299716-e@tests.mozilla.org">bug299716-e@tests.mozilla.org ended, status = 8 *** Version Check Phone Home Completed *** Add-on bug299716-e@tests.mozilla.org">bug299716-e@tests.mozilla.org is incompatible with Minefield 5, Toolkit 1.9. Remote compatibility check did not resolve this. *** Datasource: Addon Update Ended: bug299716-e@tests.mozilla.org">bug299716-e@tests.mozilla.org, status: 8 *** Phone Home Listener: Update Ended *** Datasource: Update Ended *** Phone Home Listener: Update For bug299716-f@tests.mozilla.org">bug299716-f@tests.mozilla.org ended, status = 8 *** Version Check Phone Home Completed *** Add-on bug299716-f@tests.mozilla.org">bug299716-f@tests.mozilla.org is incompatible with Minefield 5, Toolkit 1.9. Remote compatibility check did not resolve this. *** Datasource: Addon Update Ended: bug299716-f@tests.mozilla.org">bug299716-f@tests.mozilla.org, status: 8 *** Phone Home Listener: Update Ended *** Datasource: Update Ended *** Phone Home Listener: Update For bug299716-g@tests.mozilla.org">bug299716-g@tests.mozilla.org ended, status = 8 *** Version Check Phone Home Completed *** Add-on bug299716-g@tests.mozilla.org">bug299716-g@tests.mozilla.org is incompatible with Minefield 5, Toolkit 1.9. Remote compatibility check did not resolve this. *** Datasource: Addon Update Ended: bug299716-g@tests.mozilla.org">bug299716-g@tests.mozilla.org, status: 8 *** Phone Home Listener: Update Ended *** Datasource: Update Ended *** Item Installed via directory addition to Install Location: app-global Item ID: inspector@mozilla.org, attempting to register... *** Item Installed/Upgraded at Install Location: app-global Item ID: inspector@mozilla.org, attempting to register... *** ... success, item installed but is not compatible *** Item Installed via directory addition to Install Location: app-global Item ID: {972ce4c6-7e08-4474-a285-3208198ce6fd}, attempting to register... *** Item Installed/Upgraded at Install Location: app-global Item ID: {972ce4c6-7e08-4474-a285-3208198ce6fd}, attempting to register... *** ... success, item installed but is not compatible <<<<<<<
The unit test for bug 299716 doesn't give a great deal of information on a failure. This adds the addon its testing at the time.
Comment on attachment 285490 [details] [diff] [review] provide more logging for test failure [checked in] Checked in this minor change hopefully to provide more info when this fails again. Checking in toolkit/mozapps/extensions/test/unit/test_bug299716.js; /cvsroot/mozilla/toolkit/mozapps/extensions/test/unit/test_bug299716.js,v <-- test_bug299716.js new revision: 1.4; previous revision: 1.3 done
Attachment #285490 - Attachment description: provide more logging for test failure → provide more logging for test failure [checked in]
Product: Firefox → Toolkit
This apparently hasn't happened in some time so closing this out.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: