Open typesanitizer opened 5 years ago
Fixed by PR 27780.
What landed in #27780 is a workaround for the problem, which is actually a bug in macOS. I’ve filed a bug report with the appropriate team at Apple. The workaround makes some tests slower, so I’m leaving this bug open so we remember to remove the workaround once we can do so.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, Driver, Test | |Assignee | @beccadax | |Priority | Medium | md5: 030f49a4cea15f1cd5854a4e823825aeIssue Description:
I've occasionally run into issues with the tests Driver/linker.swift, Driver/linker-clang_rt.swift and Driver/embed-bitcode.swift being flaky.
The following test results are with e052da7d8886fa0439677852e8f7830b20c2e1da (tag: swift-DEVELOPMENT-SNAPSHOT-2019-09-25-a) but I've seen the same issues at other points as well.
Here's a Python runner to check this:
Running the script once gave me 4 failures out of 200 runs.
N.B. The script also runs 4 other tests, not sure how those are interacting with the flaky tests, but it seems hard/impossible to get the failure if only the 2 flaky tests are run.