Bug 1113962 - perl-Test-TCP-2.02-2.fc21 FTBFS on loaded machine: time race in tests
Summary: perl-Test-TCP-2.02-2.fc21 FTBFS on loaded machine: time race in tests
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Test-TCP
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/tokuhirom/Test-TCP...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-27 11:05 UTC by Petr Pisar
Modified: 2014-06-27 12:05 UTC (History)
4 users (show)

Fixed In Version: perl-Test-TCP-2.02-3.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-27 12:05:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2014-06-27 11:05:01 UTC
perl-Test-TCP-2.02-2.fc21 can fail to build due to tests on slow machine like this:

cannot open port: 50452 at /builddir/build/BUILD/Test-TCP-2.02/blib/lib/Test/TCP.pm line 51.
Magic number checking on storable file failed at /usr/lib64/perl5/vendor_perl/Storable.pm line 399, at /usr/share/perl5/vendor_perl/Test/SharedFork/Store.pm line 51.
END failed--call queue aborted at t/12_pass_wait_port_options.t line 51.
t/12_pass_wait_port_options.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
All 24 subtests passed

This caused by various time limits in t/12_pass_wait_port_options.t. If server process does not start listening on a TCP socket in time, the test will fail.

This can be reproduced by adding "sleep 10;" just above t::Server->new() call.

Comment 1 Petr Pisar 2014-06-27 11:59:19 UTC
I will apply the patch I proposed to the upstream without the documentation change not to encourage Fedora users to use the new feature.


Note You need to log in before you can comment on or make changes to this bug.