Local unit test failures


(Brian King) #1

Hey Folks,
I'm a bit stumped with some unit test failures that only occur on my
machine, and was hoping someone had some clues. They occur with fresh
checkouts of all of the repositories, and I'm running the latest Xcode beta
on 10.12.3. Swift builds fine, but when I run the tests with the default
`utils/build-script --test`, there are a bunch of failures with the tests
explicitly unwrapping and crashing, as well as a few crashes calling
_swift_release_dealloc from inside of `===`.

Any idea what the problem could be? I'm not sure how I could break
something so specific without any local changes.

Here's some log output:
https://gist.github.com/KingOfBrian/ea74d12015a58b05ab1f130f88ac144b

Any help would be great. Not being able to trust my unit tests locally has
been a bit un-nerving!

Brian King


(Michael Gottesman) #2

There is some breakage right now on the debug assert build. I think that is what you are hitting.

You can see this here:

https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-simulator

If it is the same test failures as you are seeing, I would assume that is the issue.

Michael

···

On Mar 12, 2017, at 5:59 AM, Brian King via swift-dev <swift-dev@swift.org> wrote:

Hey Folks,
I'm a bit stumped with some unit test failures that only occur on my machine, and was hoping someone had some clues. They occur with fresh checkouts of all of the repositories, and I'm running the latest Xcode beta on 10.12.3. Swift builds fine, but when I run the tests with the default `utils/build-script --test`, there are a bunch of failures with the tests explicitly unwrapping and crashing, as well as a few crashes calling _swift_release_dealloc from inside of `===`.

Any idea what the problem could be? I'm not sure how I could break something so specific without any local changes.

Here's some log output:
https://gist.github.com/KingOfBrian/ea74d12015a58b05ab1f130f88ac144b
Any help would be great. Not being able to trust my unit tests locally has been a bit un-nerving!

Brian King

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Brian King) #3

Great, thanks Michael, looks like that's the issue -- I'll check there in
the future

···

On Sun, Mar 12, 2017 at 1:52 PM, Michael Gottesman <mgottesman@apple.com> wrote:

There is some breakage right now on the debug assert build. I think that
is what you are hitting.

You can see this here:

https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-simulator

If it is the same test failures as you are seeing, I would assume that is
the issue.

Michael

On Mar 12, 2017, at 5:59 AM, Brian King via swift-dev <swift-dev@swift.org> > wrote:

Hey Folks,
I'm a bit stumped with some unit test failures that only occur on my
machine, and was hoping someone had some clues. They occur with fresh
checkouts of all of the repositories, and I'm running the latest Xcode beta
on 10.12.3. Swift builds fine, but when I run the tests with the default
`utils/build-script --test`, there are a bunch of failures with the tests
explicitly unwrapping and crashing, as well as a few crashes calling
_swift_release_dealloc from inside of `===`.

Any idea what the problem could be? I'm not sure how I could break
something so specific without any local changes.

Here's some log output:
https://gist.github.com/KingOfBrian/ea74d12015a58b05ab1f130f88ac144b

Any help would be great. Not being able to trust my unit tests locally has
been a bit un-nerving!

Brian King
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev