Skip Menu |
 

This queue is for tickets about the Filter CPAN distribution.

Report information
The Basics
Id: 105396
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Filter

People
Owner: RURBAN [...] cpan.org
Requestors: KENTNL [...] cpan.org
Cc: ether [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.54
Fixed in: (no value)



Subject: Fails tests under parallel testing

Note that this failure is random, so sometimes parallel passes pass, other times they fail.

Running the test many times exposes 3 tests that seem to fail here, but they don't all fail every time

prove -j4 -blr t/tee.t t/order.t t/sh.t
t/order.t .. Failed 3/3 subtests                                        
===(       4;0  1/5  0/? )==============================================Cannot remove tee.test: No such file or directory
t/tee.t .... Dubious, test returned 2 (wstat 512, 0x200)                
Failed 5/5 subtests
t/sh.t ..... ok   

Test Summary Report
-------------------
t/order.t (Wstat: 0 Tests: 3 Failed: 3)
  Failed tests:  1-3
t/tee.t  (Wstat: 512 Tests: 5 Failed: 5)
  Failed tests:  1-5
  Non-zero exit status: 2

 

prove -j1 -blr t/tee.t t/order.t t/sh.t
t/tee.t .... ok   
t/order.t .. ok   
t/sh.t ..... ok   
All tests successful.
 

 

 

Download (untitled) / with headers
text/plain 342b
Thanks, with this prove line I could repro and fix it. Fix t/tee.t + t/order.t parallel testing race Both tests were using the same filename. With my usual alias mt='TEST_JOBS=4 make -j4 -s test' I could not catch it, which means EUMM does not pass down the TEST_JOBS env to the subprocesses, or TAP::Harness has a glitch. -- Reini Urban
Fixed with 1.55 -- Reini Urban


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.