swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.54k stars 10.35k forks source link

[SR-11000] `pipe_round_robin.swift.gyb` fails while building swift 5.1 toolchain #53390

Open swift-ci opened 5 years ago

swift-ci commented 5 years ago
Previous ID SR-11000
Radar None
Original Reporter stamba (JIRA User)
Type Bug

Attachment: Download

Environment PPC64LE
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 62f4e359692b894a58606646100c43bc

Issue Description:

The following test case fails on powerpc64le:-

TEST 'Swift(linux-powerpc64le) :: Driver/pipe_round_robin.swift.gyb' FAILED

Can anyone please explain what this piece of code is testing?
Attached is the failure log. pipe_round_robin.swift.gyb_failure.txt

belkadan commented 5 years ago

The test has a long comment in it that says what it's testing: that when running a compilation command with a bunch of subprocesses, the number of polls should roughly match the number of reads. I can't see how that would break on someone else's configuration, but maybe you could modify the test to have it print the problematic value, or try running the individual steps manually and looking at the output.