Skip Menu |

This queue is for tickets about the Test-Manifest CPAN distribution.

Report information
The Basics
Id: 92604
Status: open
Priority: 0/
Queue: Test-Manifest

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

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



Subject: test failures
This was with HARNESS_OPTIONS=j9, so if you are not using File::Temp or some other method for getting a unique temp dir, tests running in parallel will stomp all over each other. --> Working on Test::Manifest Fetching http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Manifest-1.23.tar.gz -> OK Unpacking Test-Manifest-1.23.tar.gz Entering Test-Manifest-1.23 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.87_05) Configuring Test-Manifest-1.23 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Test::Manifest Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 6.03 ... Yes (6.87_05) Checking if you have Test::More 0 ... Yes (1.001002) Building and testing Test-Manifest-1.23 cp lib/Manifest.pm blib/lib/Test/Manifest.pm PERL_DL_NONLAZY=1 /Users/ether/perl5/perlbrew/perls/19.7/bin/perl5.19.7 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00load.t ................ ok t/01make_test_manifest.t .. ok t/leading_space.t ......... ok # Test level is 0 # Test level is 1 t/test_manifest does not exist! at t/01get_test_files.t line 74. # Failed test 'Level 1 version of tests is right' # at t/01get_test_files.t line 77. # got: undef # expected: 't/00load.t t/01get_test_files.t t/pod_coverage.t' # Test level is 2 t/test_manifest does not exist! at t/01get_test_files.t line 74. # Failed test 'Level 2 version of tests is right' # at t/01get_test_files.t line 77. # got: undef # expected: 't/00load.t t/01get_test_files.t t/01make_test_manifest.t t/pod_coverage.t' # Test level is 3 t/test_manifest does not exist! at t/01get_test_files.t line 74. # Failed test 'Level 3 version of tests is right' # at t/01get_test_files.t line 77. # got: undef # expected: 't/00load.t t/01get_test_files.t t/01make_test_manifest.t t/leading_space.t t/pod_coverage.t t/trailing_space.t' # Looks like you failed 3 tests of 13. t/01get_test_files.t ...... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/13 subtests t/include.t ............... ok t/trailing_space.t ........ ok t/99pod.t ................. ok t/pod_coverage.t .......... ok Test Summary Report ------------------- t/01get_test_files.t (Wstat: 768 Tests: 13 Failed: 3) Failed tests: 11-13 Non-zero exit status: 3 Files=8, Tests=24, 0 wallclock secs ( 0.05 usr 0.03 sys + 0.38 cusr 0.10 csys = 0.56 CPU) Result: FAIL Failed 1/8 test programs. 3/24 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing Test::Manifest failed. See /Users/ether/.cpanm/work/1391145508.7644/build.log for details. Retry with --force to force install it.
I'm now getting errors related to this from Travis, e.g. here: https://api.travis-ci.org/jobs/26614644/log.txt?deansi=true Output: [21:50:25] t/00load.t ................ ok 1 ms [21:50:25] t/leading_space.t ......... ok 5 ms ===( 9;0 6/13 1/2 0/? 0/4 0/? 0/? )======================== # Failed test 'Nothing returned when test_manifest does not exist (scalar)' # at t/01get_test_files.t line 51. # Failed test 'Nothing returned when test_manifest does not exist (list)' # at t/01get_test_files.t line 55. # Test level is 0 [21:50:25] t/01make_test_manifest.t .. ok 13 ms ===( 14;0 10/13 0/? 0/4 0/? 0/? )=============================# Test level is 1 # Test level is 2 # Test level is 3 # Looks like you failed 2 tests of 13. [21:50:25] t/01get_test_files.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/13 subtests [21:50:25] t/trailing_space.t ........ ok 4 ms [21:50:25] t/include.t ............... ok 30 ms [21:50:25] t/pod_coverage.t .......... ok 9 ms [21:50:25] t/99pod.t ................. ok 9 ms [21:50:25] Test Summary Report ------------------- t/01get_test_files.t (Wstat: 512 Tests: 13 Failed: 2) Failed tests: 8-9 Non-zero exit status: 2 Files=8, Tests=24, 0 wallclock secs ( 0.05 usr 0.01 sys + 0.33 cusr 0.05 csys = 0.44 CPU) Result: FAIL Failed 1/8 test programs. 2/24 subtests failed. make: *** [test_dynamic] Error 255 FAIL Will turn off parallel test running for now. :-(
Hi, any chance that this can get fixed? Should I send a patch?
On Sat Aug 30 17:18:31 2014, ETHER wrote: Show quoted text
> Hi, any chance that this can get fixed? Should I send a patch?
There's always a chance to get it fixed. A pull request would be better.