`pipe_round_robin.swift.gyb` fails while building swift 5.1 toolchain

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?

******************** TEST 'Swift(linux-powerpc64le) :: Driver/pipe_round_robin.swift.gyb' FAILED ********************
Script:
--
: 'RUN: at line 3';   rm -rf "/home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs" && mkdir -p "/home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs"
: 'RUN: at line 4';   rm -rf "/home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/stats" && mkdir -p "/home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/stats"
: 'RUN: at line 16';   '/usr/bin/python' /home/sar/swift-source/swift/utils/gyb -D N=1 /home/sar/swift-source/swift/test/Driver/pipe_round_robin.swift.gyb -o /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift
: 'RUN: at line 17';   '/usr/bin/python' /home/sar/swift-source/swift/utils/gyb -D N=2 /home/sar/swift-source/swift/test/Driver/pipe_round_robin.swift.gyb -o /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file2.swift
: 'RUN: at line 18';   '/usr/bin/python' /home/sar/swift-source/swift/utils/gyb -D N=3 /home/sar/swift-source/swift/test/Driver/pipe_round_robin.swift.gyb -o /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file3.swift
: 'RUN: at line 19';   '/usr/bin/python' /home/sar/swift-source/swift/utils/gyb -D N=4 /home/sar/swift-source/swift/test/Driver/pipe_round_robin.swift.gyb -o /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file4.swift
: 'RUN: at line 26';   /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/bin/swiftc -target powerpc64le-unknown-linux-gnu  -module-cache-path '/home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/swift-test-results/powerpc64le-unknown-linux-gnu/clang-module-cache' -swift-version 4   -j 4 -module-name manyfuncs -typecheck -stats-output-dir /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/stats -Xfrontend -debug-time-function-bodies /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/*.swift
: 'RUN: at line 27';   /usr/bin/python /home/sar/swift-source/swift/utils/process-stats-dir.py --evaluate 'abs(float(NumDriverPipeReads) / float(NumDriverPipePolls)) < 3.0' /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/stats
--
Exit Code: 1

Command Output (stdout):
--
evaluate condition failed: 'abs(float(NumDriverPipeReads) / float(NumDriverPipePolls)) < 3.0'

--
Command Output (stderr):
--
117.82ms        /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:31:6      global function process_1_function_1(_:)
3.62ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:37:6      global function process_1_function_2(_:)
3.48ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:43:6      global function process_1_function_3(_:)
3.50ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:49:6      global function process_1_function_4(_:)
3.49ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:55:6      global function process_1_function_5(_:)
3.46ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:61:6      global function process_1_function_6(_:)
3.51ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:67:6      global function process_1_function_7(_:)
3.57ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:73:6      global function process_1_function_8(_:)
3.53ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:79:6      global function process_1_function_9(_:)
3.53ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:85:6      global function process_1_function_10(_:)
3.52ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:91:6      global function process_1_function_11(_:)
3.58ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:97:6      global function process_1_function_12(_:)
3.48ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:103:6     global function process_1_function_13(_:)
3.45ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:109:6     global function process_1_function_14(_:)
3.46ms  /home/sar/swift-source/build/buildbot_linux/swift-linux-powerpc64le/test-linux-powerpc64le/Driver/Output/pipe_round_robin.swift.gyb.tmp/manyfuncs/file1.swift:115:6     global function process_1_function_15(_:)
                                                                                                                   
Terms of Service

Privacy Policy

Cookie Policy