[swift-dev] snapshot build hang (TestNSNotificationCenter.test_removeObserver)
phausler at apple.com
Tue Jan 26 18:09:55 CST 2016
https://github.com/apple/swift-corelibs-foundation/commit/5b77eaf0f941dd7f9d029588cd7ac4080eb851db was the test that was backing up the output because the test for threading was hanging.
So in theory you should be able to just disable the tests for NSThread and NSTask and that will get you going (if this is the same bug as I am thinking it is)
> On Jan 26, 2016, at 4:03 PM, Drew Crawford <drew at sealedabstract.com> wrote:
> I'm building from scratch, using the same tag (swift-DEVELOPMENT-SNAPSHOT-2016-01-25-a) on all repos.
> When you say "the latest versions on github", could you recommend a specific tag or ref I should build against?
>> On Jan 26, 2016, at 5:53 PM, Philippe Hausler <phausler at apple.com <mailto:phausler at apple.com>> wrote:
>> 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 <mailto: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 <mailto:swift-dev at swift.org>
>>> https://lists.swift.org/mailman/listinfo/swift-dev <https://lists.swift.org/mailman/listinfo/swift-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev