https://bugzilla.redhat.com/show_bug.cgi?id=1100158
Bug ID: 1100158
Summary: perl-Server-Starter-0.17 FTBFS sometimes because of
races in tests
Product: Fedora
Version: rawhide
Component: perl-Server-Starter
Assignee: rc040203(a)freenet.de
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org,
rc040203(a)freenet.de
External Bug ID: CPAN 73711
perl-Server-Starter-0.17 does not pass tests sometimes:
[...]
# matches '(?^m:^FOO=foo-value2$)'
received TERM, sending TERM to all workers:30528,30535
worker 30528 died, status:0
worker 30535 died, status:0
exiting
[Test::TCP] Child process does not block(PID: 30526, PPID: 30525) at
/builddir/build/BUILD/Server-Starter-0.17/inc/Test/TCP.pm line 89.
# Looks like you failed 1 test of 4.
t/07-envdir.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
Test Summary Report
-------------------
t/06-autorestart.t (Wstat: 512 Tests: 28 Failed: 2)
Failed tests: 6-7
Non-zero exit status: 2
t/07-envdir.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=8, Tests=103, 137 wallclock secs ( 0.06 usr 0.00 sys + 1.50 cusr 0.25
csys = 1.81 CPU)
Result: FAIL
This happens especially if the build host is busy and delays hardcoded in the
tests are not enough. E.g. t/07-envdir.t:
my $restart = sub {
sleep 1;
kill "HUP", $server_pid;
sleep 2;
};
If one removes these sleep()s, then the tests fails all the time. This is known
to the upstream <
https://rt.cpan.org/Public/Bug/Display.html?id=73711>.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=WfPEMPxPbb&a=cc_unsubscribe