Skip Menu |

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

Report information
The Basics
Id: 79936
Status: resolved
Priority: 0/
Queue: Test-Apocalypse

People
Owner: Nobody in particular
Requestors: alexgirao [...] gmail.com
Cc:
AdminCc:

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



Subject: Test-Apocalypse-1.002 test fail
Date: Sun, 30 Sep 2012 15:00:34 -0300
To: bug-Test-Apocalypse [...] rt.cpan.org
From: Alexandre Girao <alexgirao [...] gmail.com>
package: Test-Apocalypse-1.002 perl -v: This is perl 5, version 16, subversion 1 (v5.16.1) built for x86_64-linux-thread-multi uname -a: Linux hpslim 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 15:56:09 UTC 2012 x86_64 GNU/Linux lsb_release -sd: Ubuntu 10.04.4 LTS as suggested: t/00-compile.t ................ ok # # # Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.03 # perl: v5.16.1 (wanted 5.006) on linux from /home/alexgirao/tmp/ber211-release-20120915/perl/bin/perl # # CPANPLUS => 0.9121 (want 0.90) # CPANPLUS::Backend => 0.9121 (want any version) # CPANPLUS::Configure => 0.9121 (want any version) # Capture::Tiny => 0.20 (want 0.10) # Data::Dumper => 2.135_06 (want any version) # Devel::PPPort => 3.20 (want 3.19) # Exporter => 5.66 (want any version) # File::Find => 1.20 (want any version) # File::Find::Rule => 0.33 (want 0.32) # File::Slurp => 9999.19 (want 9999.13) # File::Spec => 3.39_02 (want 3.31) # File::Temp => 0.22 (want any version) # File::Which => 1.09 (want 1.09) # JSON::Any => 1.29 (want 1.25) # Module::Build => 0.4003 (want 0.3601) # Module::CPANTS::Analyse => 0.86 (want 0.85) # Module::CoreList => 2.70 (want 2.23) # Module::Pluggable => 4.0 (want 3.9) # Perl::Critic::Utils::Constants => 1.118 (want any version) # Perl::Metrics::Simple => 0.15 (want 0.13) # Perl::PrereqScanner => 1.014 (want 1.000) # Pod::Coverage::TrustPod => 0.100002 (want 0.092830) # Task::Perl::Critic => 1.008 (want 1.007) # Test::AutoLoader => 0.03 (want 0.03) # Test::Block => 0.13 (want 0.11) # Test::Builder => 0.98 (want 0.96) # Test::CPAN::Meta => 0.22 (want 0.18) # Test::CPAN::Meta::JSON => 0.14 (want 0.10) # Test::CPAN::Meta::YAML => 0.21 (want 0.17) # Test::CheckChanges => 0.14 (want any version) # Test::Compile => 0.21 (want 0.11) # Test::ConsistentVersion => 0.2.3 (want 0.2.2) # Test::Deep => 0.11 (want 0.108) # Test::Dir => 1.014 (want 1.006) # Test::DistManifest => 1.012 (want 1.005) # Test::EOL => 1.5 (want 0.3) # Test::File => 1.34 (want 1.29) # Test::Fixme => 0.07 (want 0.04) # Test::HasVersion => 0.012 (want 0.012) # Test::MinimumVersion => 0.101080 (want 0.101080) # Test::More => 0.98 (want 0.96) # Test::NoBreakpoints => 0.15 (want 0.13) # Test::NoPlan => 0.0.6 (want 0.0.6) # Test::Perl::Critic => 1.02 (want 1.02) # Test::Pod => 1.45 (want 1.41) # Test::Pod::Coverage => 1.08 (want 1.08) # Test::Pod::LinkCheck => 0.007 (want 0.004) # Test::Pod::No404s => 0.01 (want 0.01) # Test::Pod::Spelling::CommonMistakes => 1.000 (want 1.000) # Test::Portability::Files => 0.05 (want any version) # Test::Script => 1.07 (want 1.07) # Test::Signature => 1.10 (want 1.10) # Test::Spelling => 0.15 (want 0.11) # Test::Strict => 0.14 (want 0.14) # Test::Synopsis => 0.06 (want 0.06) # Test::Vars => 0.001 (want 0.001) # YAML => 0.84 (want 0.70) # YAML::Any => 0.84 (want 0.72) # parent => 0.225 (want any version) # version => 0.99 (want 0.77) # # Thanks for using my code. I hope it works for you. # If not, please try and include this output in the bug report. # That will help me reproduce the issue and solve your problem. # # Failed test 'done_testing() was already called at /home/alexgirao/tmp/ber211-release-20120915/perl/lib/site_perl/5.16.1/Test/CheckChanges.pm line 251' # at /home/alexgirao/tmp/ber211-release-20120915/perl/lib/5.16.1/Test/More.pm line 221. # Looks like you planned 1 test but ran 2. # Looks like you failed 1 test of 2 run. t/000-report-versions-tiny.t .. Dubious, test returned 1 (wstat 256, 0x100) All 1 subtests passed t/apocalypse.t ................ skipped: Author test. Please set $ENV{RELEASE_TESTING} to a true value to run. Test Summary Report ------------------- t/000-report-versions-tiny.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Parse errors: Plan (1..1) must be at the beginning or end of the TAP output Bad plan. You planned 1 tests but ran 2. Files=3, Tests=38, 5 wallclock secs ( 0.03 usr 0.01 sys + 4.62 cusr 0.46 csys = 5.12 CPU) Result: FAIL Failed 1/3 test programs. 1/38 subtests failed.
Hello, Thanks for this report! I've investigated it and yes the problem was in the use of Test::CheckChanges. It was buggy and didn't play well with subtests... I've switched to Test::CPAN::Changes and will release a fixed version soon :) On Sun Sep 30 14:01:02 2012, alexgirao@gmail.com wrote: Show quoted text
> package: Test-Apocalypse-1.002 > perl -v: This is perl 5, version 16, subversion 1 (v5.16.1) built for > x86_64-linux-thread-multi > uname -a: Linux hpslim 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 > 15:56:09 UTC 2012 x86_64 GNU/Linux > lsb_release -sd: Ubuntu 10.04.4 LTS > > as suggested: > > > t/00-compile.t ................ ok > # > # > # Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.03 > # perl: v5.16.1 (wanted 5.006) on linux from > /home/alexgirao/tmp/ber211-release-20120915/perl/bin/perl > # > # CPANPLUS => 0.9121 (want > 0.90) > # CPANPLUS::Backend => 0.9121 (want > any version) > # CPANPLUS::Configure => 0.9121 (want > any version) > # Capture::Tiny => 0.20 (want > 0.10) > # Data::Dumper => 2.135_06 (want > any version) > # Devel::PPPort => 3.20 (want > 3.19) > # Exporter => 5.66 (want > any version) > # File::Find => 1.20 (want > any version) > # File::Find::Rule => 0.33 (want > 0.32) > # File::Slurp => 9999.19 (want > 9999.13) > # File::Spec => 3.39_02 (want > 3.31) > # File::Temp => 0.22 (want > any version) > # File::Which => 1.09 (want > 1.09) > # JSON::Any => 1.29 (want > 1.25) > # Module::Build => 0.4003 (want > 0.3601) > # Module::CPANTS::Analyse => 0.86 (want > 0.85) > # Module::CoreList => 2.70 (want > 2.23) > # Module::Pluggable => 4.0 (want > 3.9) > # Perl::Critic::Utils::Constants => 1.118 (want > any version) > # Perl::Metrics::Simple => 0.15 (want > 0.13) > # Perl::PrereqScanner => 1.014 (want > 1.000) > # Pod::Coverage::TrustPod => 0.100002 (want > 0.092830) > # Task::Perl::Critic => 1.008 (want > 1.007) > # Test::AutoLoader => 0.03 (want > 0.03) > # Test::Block => 0.13 (want > 0.11) > # Test::Builder => 0.98 (want > 0.96) > # Test::CPAN::Meta => 0.22 (want > 0.18) > # Test::CPAN::Meta::JSON => 0.14 (want > 0.10) > # Test::CPAN::Meta::YAML => 0.21 (want > 0.17) > # Test::CheckChanges => 0.14 (want > any version) > # Test::Compile => 0.21 (want > 0.11) > # Test::ConsistentVersion => 0.2.3 (want > 0.2.2) > # Test::Deep => 0.11 (want > 0.108) > # Test::Dir => 1.014 (want > 1.006) > # Test::DistManifest => 1.012 (want > 1.005) > # Test::EOL => 1.5 (want > 0.3) > # Test::File => 1.34 (want > 1.29) > # Test::Fixme => 0.07 (want > 0.04) > # Test::HasVersion => 0.012 (want > 0.012) > # Test::MinimumVersion => 0.101080 (want > 0.101080) > # Test::More => 0.98 (want > 0.96) > # Test::NoBreakpoints => 0.15 (want > 0.13) > # Test::NoPlan => 0.0.6 (want > 0.0.6) > # Test::Perl::Critic => 1.02 (want > 1.02) > # Test::Pod => 1.45 (want > 1.41) > # Test::Pod::Coverage => 1.08 (want > 1.08) > # Test::Pod::LinkCheck => 0.007 (want > 0.004) > # Test::Pod::No404s => 0.01 (want > 0.01) > # Test::Pod::Spelling::CommonMistakes => 1.000 (want > 1.000) > # Test::Portability::Files => 0.05 (want > any version) > # Test::Script => 1.07 (want > 1.07) > # Test::Signature => 1.10 (want > 1.10) > # Test::Spelling => 0.15 (want > 0.11) > # Test::Strict => 0.14 (want > 0.14) > # Test::Synopsis => 0.06 (want > 0.06) > # Test::Vars => 0.001 (want > 0.001) > # YAML => 0.84 (want > 0.70) > # YAML::Any => 0.84 (want > 0.72) > # parent => 0.225 (want > any version) > # version => 0.99 (want > 0.77) > # > # Thanks for using my code. I hope it works for you. > # If not, please try and include this output in the bug report. > # That will help me reproduce the issue and solve your problem. > # > > # Failed test 'done_testing() was already called at > /home/alexgirao/tmp/ber211-release- > 20120915/perl/lib/site_perl/5.16.1/Test/CheckChanges.pm > line 251' > # at /home/alexgirao/tmp/ber211-release- > 20120915/perl/lib/5.16.1/Test/More.pm > line 221. > # Looks like you planned 1 test but ran 2. > # Looks like you failed 1 test of 2 run. > t/000-report-versions-tiny.t .. > Dubious, test returned 1 (wstat 256, 0x100) > All 1 subtests passed > t/apocalypse.t ................ skipped: Author test. Please set > $ENV{RELEASE_TESTING} to a true value to run. > > Test Summary Report > ------------------- > t/000-report-versions-tiny.t (Wstat: 256 Tests: 2 Failed: 1) > Failed test: 2 > Non-zero exit status: 1 > Parse errors: Plan (1..1) must be at the beginning or end of the TAP > output > Bad plan. You planned 1 tests but ran 2. > Files=3, Tests=38, 5 wallclock secs ( 0.03 usr 0.01 sys + 4.62 cusr > 0.46 csys = 5.12 CPU) > Result: FAIL > Failed 1/3 test programs. 1/38 subtests failed.
-- ~Apocalypse