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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-7107-1434907712-35.0-0-0 [...] rt.cpan.org>
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1458

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.
 

 

 

MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-7107-1434907712-35.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-7107-1434907712-35.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-24544-1437897512-181.105396-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 342
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
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-7107-1434907712-35.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-7107-1434907712-35.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-31858-1437908075-1234.105396-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 32
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.