Subject: | t/10_makefile.t randomly broken |
This fail happened once, but hitting "retry" with cpanm's prompt made it pass.
I'd say its likely a race condition between 2 different tests running in parallel.
cp lib/File/ShareDir/Install.pm blib/lib/File/ShareDir/Install.pm
PERL_DL_NONLAZY=1 "/home/kent/perl5/perlbrew/perls/5.22.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_compile.t ... ok
rename MakeMaker.tmp => test-262471-Makefile: No such file or directory at /home/kent/perl5/perlbrew/perls/5.22.0/lib/5.22.0/ExtUtils/MakeMaker.pm line 1188.
# Failed test 'Created test-262471-Makefile'
# at t/10_makefile.t line 51.
Can't open test-262471-Makefile: No such file or directory at t/10_makefile.t line 46.
Use of uninitialized value $content in pattern match (m//) at t/10_makefile.t line 53.
# Failed test 'Shared by dist'
# at t/10_makefile.t line 53.
Use of uninitialized value $content in pattern match (m//) at t/10_makefile.t line 54.
# Failed test 'Shared by module'
# at t/10_makefile.t line 54.
Use of uninitialized value $content in pattern match (m//) at t/10_makefile.t line 55.
# Failed test 'Shared by module again'
# at t/10_makefile.t line 55.
Use of uninitialized value $content in pattern match (m//) at t/10_makefile.t line 56.
# Failed test 'Shared by module in subdirectory'
# at t/10_makefile.t line 56.
Use of uninitialized value $content in pattern match (m//) at t/10_makefile.t line 58.
Error running make -f test-262471-Makefile: ?=512 ret=make[1]: Entering directory '/home/kent/.cpanm/work/1434665199.262407/File-ShareDir-Install-0.10'
make[1]: test-262471-Makefile: No such file or directory
make[1]: *** No rule to make target 'test-262471-Makefile'. Stop.
make[1]: Leaving directory '/home/kent/.cpanm/work/1434665199.262407/File-ShareDir-Install-0.10'
# Looks like you planned 16 tests but ran 6.
# Looks like you failed 5 tests of 6 run.
# Looks like your test exited with 2 just after 6.
t/10_makefile.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 15/16 subtests
t/11_dotfile.t ... ok
t/12_delete.t .... ok
Test Summary Report
-------------------
t/10_makefile.t (Wstat: 512 Tests: 6 Failed: 5)
Failed tests: 1-5
Non-zero exit status: 2
Parse errors: Bad plan. You planned 16 tests but ran 6.
Files=4, Tests=23, 1 wallclock secs ( 0.03 usr 0.01 sys + 1.27 cusr 0.42 csys = 1.73 CPU)
Result: FAIL