Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Random failures under `HARNESS_OPTIONS=j10` #4

Closed
kentfredric opened this Issue Aug 1, 2013 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

kentfredric commented Aug 1, 2013

Parallel

export HARNESS_OPTIONS=j10

1

Building and testing Dist-Zilla-Plugin-Test-UnusedVars-2.000004 ... Building Dist-Zilla-Plugin-Test-UnusedVars
t/00-compile.t .. ok                                                    
t/everything.t .. ok                                                    
t/deprecated.t .. 1/2 Can't locate directory /home/kent/.cpanm/work/1375385522.519515/Dist-Zilla-Plugin-Test-UnusedVars-2.000004/tmp/XIw0rV7EDE/source at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Dist/Zilla/Tester.pm line 156.
# Looks like you planned 2 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/deprecated.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests 

Test Summary Report
-------------------
t/deprecated.t (Wstat: 512 Tests: 1 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 2 tests but ran 1.

2

You can s)kip, r)etry, f)orce install, e)xamine build log, or l)ook ? [s] r
t/00-compile.t .. ok                                                    
t/deprecated.t .. ok                                                    
t/everything.t .. no viable configuration could be found


Trace begun at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Config/MVP/Reader/Finder.pm line 48
Config::MVP::Reader::Finder::_which_reader('Dist::Zilla::MVP::Reader::Finder=HASH(0x35fd020)', 'Path::Class::File=HASH(0x35f4210)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Config/MVP/Reader/Finder.pm line 76
Config::MVP::Reader::Finder::try {...}  at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Try/Tiny.pm line 81
eval {...} at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Try/Tiny.pm line 72
Try::Tiny::try('CODE(0x35fd0c8)', 'Try::Tiny::Catch=REF(0x35e0130)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Config/MVP/Reader/Finder.pm line 81
Config::MVP::Reader::Finder::read_config('Dist::Zilla::MVP::Reader::Finder', 'Path::Class::File=HASH(0x35f4210)', 'HASH(0x35f4270)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Dist/Zilla/Dist/Builder.pm line 220
Dist::Zilla::Dist::Builder::try {...}  at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Try/Tiny.pm line 81
eval {...} at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Try/Tiny.pm line 72
Try::Tiny::try('CODE(0x307d870)', 'Try::Tiny::Catch=REF(0x35c4080)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Dist/Zilla/Dist/Builder.pm line 245
Dist::Zilla::Dist::Builder::_load_config('Dist::Zilla::Tester::_Builder', 'HASH(0x307d408)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Dist/Zilla/Dist/Builder.pm line 26
Dist::Zilla::Dist::Builder::from_config('Dist::Zilla::Tester::_Builder', 'HASH(0xcb0208)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Dist/Zilla/Tester.pm line 144
Class::MOP::Class:::around('CODE(0x1e9bb90)', 'Dist::Zilla::Tester::_Builder', 'HASH(0xcb0208)', 'HASH(0xcc5260)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/x86_64-linux/Class/MOP/Method/Wrapped.pm line 162
Class::MOP::Method::Wrapped::__ANON__('Dist::Zilla::Tester::_Builder', 'HASH(0xcb0208)', 'HASH(0xcc5260)') called at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/x86_64-linux/Class/MOP/Method/Wrapped.pm line 91
Dist::Zilla::Tester::_Builder::from_config('Dist::Zilla::Tester::_Builder', 'HASH(0xcb0208)', 'HASH(0xcc5260)') called at t/everything.t line 8
# Looks like your test exited with 255 before it could output anything.
t/everything.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/everything.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=3, Tests=4,  1 wallclock secs ( 0.03 usr  0.01 sys +  3.38 cusr  0.30 csys =  3.72 CPU)
Result: FAIL

3

You can s)kip, r)etry, f)orce install, e)xamine build log, or l)ook ? [s] r
t/00-compile.t .. ok                                                    
===(       3;1  1/2  0/1 )==============================================cannot fetch initial working directory: No such file or directory at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Path/Class/Dir.pm line 155.
can't open /home/kent/.cpanm/work/1375385522.519515/Dist-Zilla-Plugin-Test-UnusedVars-2.000004/tmp/L2m58kIcpH/source/dist.ini for reading: No such file or directory at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Dist/Zilla/File/OnDisk.pm line 33, <DATA> line 9.
# Looks like your test exited with 2 before it could output anything.
t/everything.t .. Dubious, test returned 2 (wstat 512, 0x200)           
Failed 1/1 subtests 
t/deprecated.t .. ok

Test Summary Report
-------------------
t/everything.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.

Single Threaded

export HARNESS_OPTIONS=j1
Building and testing Dist-Zilla-Plugin-Test-UnusedVars-2.000004 ... Building Dist-Zilla-Plugin-Test-UnusedVars
t/00-compile.t .. ok   
t/deprecated.t .. ok   
t/everything.t .. ok   
All tests successful.
Files=3, Tests=5,  2 wallclock secs ( 0.03 usr  0.01 sys +  2.20 cusr  0.18 csys =  2.42 CPU)
Result: PASS

dude! Test::TempDir!!!! :)

Owner

doherty commented Aug 3, 2013

I was attempting to clean up after Test::DZil, but it looks like that's both unnecessary and counterproductive.

@doherty doherty closed this Aug 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment