Building Foundation

I am trying to build Foundation on my Ubuntu 16.04 LTS version using:

swift/utils/build-script --xctest --foundation -t

And it fails with the following tests failing:
Failing Tests (11):
    Swift-Unit :: runtime/SwiftRuntimeTests/RefcountingTest.release
    Swift-Unit :: runtime/SwiftRuntimeTests/RefcountingTest.retain_release
    Swift-Unit :: runtime/SwiftRuntimeTests/RefcountingTest.pin_unpin
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.pin_pin_unpin_unpin
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.unowned_retain_release_n
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.isUniquelyReferenced
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.isUniquelyReferencedOrPinned
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.nonatomic_release
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.nonatomic_retain_release
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.nonatomic_pin_unpin
    Swift-Unit ::
runtime/SwiftRuntimeTests/RefcountingTest.nonatomic_pin_pin_unpin_unpin

Every thing has been freshly cloned and no code has been modifed yet...

Thanks,

Mohit

I am trying to build Foundation on my Ubuntu 16.04 LTS version using:

swift/utils/build-script --xctest --foundation -t

And it fails with the following tests failing:

OK, what happened when you looked in the logs to find out why the tests were failing?

Every thing has been freshly cloned and no code has been modifed yet...

Which version of the code were you working with? Are you on master, or a stable branch? What branch is your 'swift-llvm' subproject checked out as?

Alex

···

On 2 Mar 2017, at 01:51, Mohit Athwani via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi Alex,

I can see that all of the tests mentioned in my last mail failed on:

SwiftRuntimeTests:
/home/mohit/Documents/swift-source/swift/unittests/runtime/Refcounting.cpp:26:
void destroyTestObject(swift::HeapObject *): Assertion `object->Addr &&
"object already deallocated"' failed.

I am on the master branch for swift and swift-corelibs-foundation and on
stable branch for llvm

Thanks,

Mohit

···

On Thu, Mar 2, 2017 at 12:58 AM, Alex Blewitt <alblue@apple.com> wrote:

> On 2 Mar 2017, at 01:51, Mohit Athwani via swift-corelibs-dev < > swift-corelibs-dev@swift.org> wrote:
>
> I am trying to build Foundation on my Ubuntu 16.04 LTS version using:
>
> swift/utils/build-script --xctest --foundation -t
>
> And it fails with the following tests failing:

OK, what happened when you looked in the logs to find out why the tests
were failing?

> Every thing has been freshly cloned and no code has been modifed yet...

Which version of the code were you working with? Are you on master, or a
stable branch? What branch is your 'swift-llvm' subproject checked out as?

Alex