apple / swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence
swift.org
Apache License 2.0
5.23k stars 1.12k forks source link

[SR-10098] TestFoundation segfault on Linux swift-5.1-branch #3515

Open slavapestov opened 5 years ago

slavapestov commented 5 years ago
Previous ID SR-10098
Radar rdar://48833710
Original Reporter @slavapestov
Type Bug
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 1 | |Component/s | Foundation | |Labels | Bug | |Assignee | @millenomi | |Priority | Medium | md5: 979f3376410a4aa1956b9fbb99f7f752

Issue Description:

Seeing this in the 5.1 bot – https://ci.swift.org/job/oss-swift-5.1-incremental-RA-linux-ubuntu-16_04//260/console

00:58:16.689 The following tests FAILED:
00:58:16.689      1 - TestFoundation (SEGFAULT)

I don't see any Foundation commits in the commit list, and its not clear which specific test case failed, so I'm a bit stumped. Is there a transient memory corruption issue somewhere?

swift-ci commented 5 years ago

Comment by Kim Topley (JIRA)

Another example, which blocks submission of a change to swift-corelibs-libdispatch:

https://ci.swift.org/job/swift-corelibs-libdispatch-PR-Linux/268/console

benlangmuir commented 5 years ago

Still happening in PR tests: https://ci.swift.org/job/swift-PR-Linux/12156/

benlangmuir commented 5 years ago

I think this is in TestXMLDocument.test_xpath. All the logs I've seen end like this:

09:48:26 Test Case 'TestXMLDocument.test_xpath' started at 2019-03-18 11:48:26.632
09:48:26 
09:48:26 
09:48:26 0% tests passed, 1 tests failed out of 1

The other tests show "passed", but not this one.

benlangmuir commented 5 years ago

PR to disable this test: https://github.com/apple/swift-corelibs-foundation/pull/2052