Skip Menu |
 

This queue is for tickets about the Cache-Cache CPAN distribution.

Report information
The Basics
Id: 92600
Status: new
Priority: 0/
Queue: Cache-Cache

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
KENTNL [...] cpan.org
Cc:
AdminCc:

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



Subject: Test Fails under Parallel Testing
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
Message-ID: <rt-4.0.18-28905-1391133180-1032.0-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1391133180-28905-5"
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: binary
Content-Length: 1746

Seems there are some shared paths between 2 or more tests causing unpredictable behaviour when those tests are run together.

Full build log showing failures attached.

But you can reproduce a subset of these failures (though it may take several runs to make it happen ) with:

 prove -b -j2 -vr t/3_test_file_cache.t  t/5_test_size_aware_file_cache.t
defined(@array) is deprecated at /home/kent/.cpanm/work/1391132572.279022/Cache-Cache-1.06/blib/lib/Cache/CacheTester.pm line 562.
    (Maybe you should just omit the defined()?)
===(       1;0   1/35   0/48 )==========================================defined(@array) is deprecated at /home/kent/.cpanm/work/1391132572.279022/Cache-Cache-1.06/blib/lib/Cache/CacheTester.pm line 562.
    (Maybe you should just omit the defined()?)
===(      65;18  33/35  32/48 )=========================================ok
t/5_test_size_aware_file_cache.t ..
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
Failed 5/48 subtests

Test Summary Report
-------------------
t/5_test_size_aware_file_cache.t (Wstat: 0 Tests: 48 Failed: 5)
  Failed tests:  10, 18, 24, 27, 29
Files=2, Tests=83, 23 wallclock secs ( 0.05 usr  0.00 sys +  0.24 cusr  0.07 csys =  0.36 CPU)
Result: FAIL
 


Running each test independently avoids failure case.

Subject: build.log
MIME-Version: 1.0
Content-Type: text/x-log; name="build.log"
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline; filename="build.log"
Content-Transfer-Encoding: binary
Content-Length: 14961
Download build.log
text/x-log 14.6k

Message body is not shown because it is too large.

MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-28905-1391133180-1032.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-28905-1391133180-1032.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-2415-1464468124-198.92600-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: 365
Download (untitled) / with headers
text/plain 365b
On 2014-01-30 17:53:00, KENTNL wrote: Show quoted text
> Seems there are some shared paths between 2 or more tests causing > unpredictable > behaviour when those tests are run together.
It looks like there is no way to use separate cache files in different bits of code! So this is a more serious issue than just in the tests -- any sort of parallelism will fail in the same way.


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.