RexOps/Rex

read buffer tests on FreeBSD are bailing out sporadically

Open

#1,327 opened on May 21, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Perl (671 stars) (218 forks)batch import
help wanted

Description

Describe the bug

Every once in a while, read buffer tests on FreeBSD are bailing out sporadically, like in this CPAN Testers report.

See #954 also, which is similar, or it's still the same even.

These two test results seems to be generated on the same testing box (same deps, rex version, perl version, OS version, architecture, uname output, etc.):

How to reproduce it

Since it seems sporadic, I'm not exactly sure about reproduction and we would probably need help from FreeBSD users.

Steps to reproduce the behavior:

  1. run t/read_buffers.t tests (probably many times until it happens)

Shortest code example that demonstrates the bug:

$ prove -l t/read_buffers.t

or perhaps

$ perl t/read_buffers.t

Expected behavior

t/read_buffers.t test should reliably finish successfully on FreeBSD systems.

Circumstances

  • Rex version: 1.10.0 (probably older ones too)
  • Perl version: 5.30.2 (probably older ones too)
  • OS running rex: FreeBSD 13.0 (probably older ones too)
  • OS managed by rex: -

Debug log

Not a debug log, but test fails with:

Bailout called.  Further testing stopped:  Reading from buffer timed out
FAILED--Further testing stopped: Reading from buffer timed out
*** Error code 255

Contributor guide