Closed Bug 587382 Opened 14 years ago Closed 12 years ago

Intermittent failure in test_service_wipeServer.js | "test failed (with xpcshell return code: 0)" and "(xpcshell/h‌ead.js) | 2147746065"

Categories

(Firefox :: Sync, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1281837685.1281838141.27669.gz
Rev3 MacOSX Leopard 10.5.8 mozilla-central opt test xpcshell on 2010/08/14 19:01:25
s: talos-r3-leopard-047

TEST-UNEXPECTED-FAIL | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | test failed (with xpcshell return code: 0), see following log:
  >>>>>>>
  Setting the identity for passphrase
TEST-INFO | (xpcshell/head.js) | test 1 pending
Weave.Service.wipeServer() deletes collections given as argument.
TEST-INFO | (xpcshell/head.js) | test 2 pending
Confirm initial environment.
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 151] false == false
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 152] false == false
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 154] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 155] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 156] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 158] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 159] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 160] true == true
wipeServer() will happily ignore the non-existent collection, delete the 'steam' collection and abort after an receiving an error on the 'petrol' collection.
wipeServer() threw this exception: Aborting wipeServer. Server responded with 503 response for http://localhost:8080/1.0/johndoe/storage/petrol
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 170] true == true
wipeServer stopped deleting after encountering an error with the 'petrol' collection, thus only 'steam' has been deleted.
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 173] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 174] false == false
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 176] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 177] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 178] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 180] false == false
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 181] true == true
TEST-PASS | /Users/cltbld/talos-slave/mozilla-central_leopard_test-xpcshell/build/xpcshell/tests/test_services_sync/unit/test_service_wipeServer.js | [test_withCollectionList_failOnCollection : 182] true == true
Weave.Service.wipeServer() deletes collections given as argument and aborts if a collection delete fails.
TEST-UNEXPECTED-FAIL | (xpcshell/head.js) | 2147746065
TEST-INFO | (xpcshell/head.js) | test 2 finished

  <<<<<<<
Summary: Intermittent failure in test_service_wipeServer.js | "test failed (with xpcshell return code: 0)" and "(xpcshell/head.js) | 2147746065" → Intermittent failure in weave tests | "test failed (with xpcshell return code: 0)" and "(xpcshell/head.js) | 2147746065"
Since the failure in comment 2 was bug 587420, did you want to dupe that here?
Summary: Intermittent failure in weave tests | "test failed (with xpcshell return code: 0)" and "(xpcshell/head.js) | 2147746065" → Intermittent failure in test_service_wipeServer.js | "test failed (with xpcshell return code: 0)" and "(xpcshell/head.js) | 2147746065"
I'm adding a ZWNJ character between "h" and "e" in head.js to make this bug not show up in TBPL suggestions for every xpcshell test failure.
Summary: Intermittent failure in test_service_wipeServer.js | "test failed (with xpcshell return code: 0)" and "(xpcshell/head.js) | 2147746065" → Intermittent failure in test_service_wipeServer.js | "test failed (with xpcshell return code: 0)" and "(xpcshell/h‌ead.js) | 2147746065"
(In reply to comment #8)
> TEST-UNEXPECTED-FAIL | (xpcshell/head.js) | 2147746065

That's NS_ERROR_NOT_AVAILABLE, thrown by server.start() when it can't create the socket. My guess is that the server doesn't close the socket soon enough before the next test creates a new server. We should really only trigger test from the server.stop() callback.
marking WEFM as this test is running and no longer reporting here.
Status: NEW → RESOLVED
Closed: 12 years ago
Component: General → Firefox Sync: Build
QA Contact: general → sync-build
Resolution: --- → WORKSFORME
Whiteboard: [orange]
Component: Firefox Sync: Build → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.