[swift-dev] snapshot build hang (TestNSNotificationCenter.test_removeObserver)

Philippe Hausler phausler at apple.com
Tue Jan 26 17:53:43 CST 2016


We did have some stalls in the tests that were non-deterministic; are you building swift-corelibs-foundation from scratch and testing or are you running tests against the binary version?

The latest versions on github should have some of the associated tests disabled that resulted in this stall.

> On Jan 26, 2016, at 3:28 PM, Drew Crawford via swift-dev <swift-dev at swift.org> wrote:
> 
> I'm attempting to build the snapshot (swift-DEVELOPMENT-SNAPSHOT-2016-01-25-a) on Linux (running buildbot-linux).
> 
> I've gotten as far as the Foundation test suite, but on two different reproductions, the Foundation tests hang in an extremely unusual location.
> 
> The exact output is
> 
> Test Case 'TestNSJSONSerialization.test_isValidJSONObjectTrue' started.
> Test Case 'TestNSJSONSerialization.test_isValidJSONObjectTrue' passed (0.0 seconds).
> Test Case 'TestNSJSONSerialization.test_isValidJSONObjectFalse' started.
> Test Case 'TestNSJSONSerialization.test_isValidJSONObjectFalse' passed (0.0 seconds).
> Executed 23 tests, with 0 failures (0 unexpected) in 0.002 (0.003) seconds
> Test Case 'TestNSLocale.test_constants' started.
> Test Case 'TestNSLocale.test_constants' passed (0.0 seconds).
> Executed 1 test, with 0 failures (0 unexpected) in 0.0 (0.0) seconds
> Test Case 'TestNSNotificationCenter.test_defaultCenter' started.
> Test Case 'TestNSNotificationCenter.test_defaultCenter' passed (0.0 seconds).
> Test Case 'TestNSNotificationCenter.test_postNotification' started.
> Test Case 'TestNSNotificationCenter.test_postNotification' passed (0.0 seconds).
> Test Case 'TestNSNotificationCenter.test_postNotificationForObject' started.
> Test Case 'TestNSNotificationCenter.test_postNotificationForObject' passed (0.0 seconds).
> Test Case 'TestNSNotificationCenter.test_postMultipleNotifications' started.
> Test Case 'TestNSNotificationCenter.test_postMultipleNotifications' passed (0.0 seconds).
> Test Case 'TestNSNotificationCenter.test_addObserverForNilName' started.
> Test Case 'TestNSNotificationCenter.test_addObserverForNilName' passed (0.0 seconds).
> Test Case 'TestNSNotificationCenter.test_removeObserver' started.
> Test Case 'TestNSNotificationCenter.test_remove
> 
> Very curious that it seems to halt in the middle of printing a log line.
> 
> For background, I'm building on a fresh Debian install inside an xhyve VM on El Capitan.  I'm going to retest this on VirtualBox just on the off-chance that this is somehow a bug in the VM itself.
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160126/748b6dcf/attachment.html>


More information about the swift-dev mailing list