Subject: | forks2.t fails under heavy load |
First reported in Debian, while rebuilding all packages to scan for failures. (http://bugs.debian.org/730908).
The symptoms are that under heavy load, forks2.t test sometimes fails.
Here's the output with $debug enabled in t/forked.tt:
------------===========-------------
# test paragraph mode, getlines, $/ set funny
# ACCEPTED CONNECTION
ok 110
ok 111
# got 'go\n'
# SENDING 'this is '
# SENDING 'a test\n'
# SIGPIPE recevied in 6846
# Looks like you planned 115 tests but ran 111.
print 6846: Broken pipe
Compilation failed in require at t/forked2.t line 5.
------------===========-------------
6846 is the child PID.
The original failure report (linked in the first message from the link above) ends with
------------===========-------------
# Looks like you planned 115 tests but ran 111.
print 26175: Connection reset by peer
Compilation failed in require at t/forked2.t line 5.
------------===========-------------