Skip Menu |
 

This queue is for tickets about the ShipIt CPAN distribution.

Report information
The Basics
Id: 112501
Status: open
Priority: 0/
Queue: ShipIt

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

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

Attachments


Subject: t/version_from_file_perl.t fails (with latest version.pm)
Download (untitled) / with headers
text/plain 1.2k
My smokers started to show the following failure: # Failed test 'read version (t/data/Perl/04.pm)' # at t/version_from_file_perl.t line 20. # Looks like you failed 1 test of 15. t/version_from_file_perl.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/15 subtests t/version_from_line_perl.t .. ok Statistical analysis suggests that the problem started with version.pm 0.9913: **************************************************************** Regression 'mod:version' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 7064743748123361.00 [1='eq_0.9904'] 0.0000 0.0000 2.88 [2='eq_0.9908'] 0.0000 0.0000 3.67 [3='eq_0.9909'] -0.0000 0.0000 -0.38 [4='eq_0.9911'] 0.0000 0.0000 5.36 [5='eq_0.9912'] 0.0000 0.0000 3.04 [6='eq_0.9913'] -1.0000 0.0000 -6702204398851419.00 [7='eq_0.9914'] -1.0000 0.0000 -6956878730747393.00 R^2= 1.000, N= 104, K= 8 **************************************************************** Could be the Lyon compromise (Lyon consensus), or something different.
Download (untitled) / with headers
text/plain 1.5k
On 2016-02-27 12:19:38, SREZIC wrote: Show quoted text
> My smokers started to show the following failure: > > # Failed test 'read version (t/data/Perl/04.pm)' > # at t/version_from_file_perl.t line 20. > # Looks like you failed 1 test of 15. > t/version_from_file_perl.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/15 subtests > t/version_from_line_perl.t .. ok > > Statistical analysis suggests that the problem started with version.pm > 0.9913: > > **************************************************************** > Regression 'mod:version' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 7064743748123361.00 > [1='eq_0.9904'] 0.0000 0.0000 2.88 > [2='eq_0.9908'] 0.0000 0.0000 3.67 > [3='eq_0.9909'] -0.0000 0.0000 -0.38 > [4='eq_0.9911'] 0.0000 0.0000 5.36 > [5='eq_0.9912'] 0.0000 0.0000 3.04 > [6='eq_0.9913'] -1.0000 0.0000 -6702204398851419.00 > [7='eq_0.9914'] -1.0000 0.0000 -6956878730747393.00 > > R^2= 1.000, N= 104, K= 8 > **************************************************************** > > > Could be the Lyon compromise (Lyon consensus), or something different.
Here a link with current statistical analysis: http://analysis.cpantesters.org/solved?distv=ShipIt-0.60 Currently it seems that all version.pm versions from 0.9913 to 0.9917 cause the failure.
Download (untitled) / with headers
text/plain 151b
https://rt.cpan.org/Public/Bug/Display.html?id=119123 version.pm changes alpha version specification. I suppose alpha version test makes no sense now.
Subject: 0001-Remove-alpha-version-test.patch
From 1d029bc971093697eb0fb4e1d853583da280ff25 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA <shohei.yoshida@dena.com> Date: Thu, 19 Jan 2017 14:58:10 +0900 Subject: [PATCH] Remove alpha version test version.pm changed alpha version specification so that its test makes no sense with latest version.pm --- t/data/Perl/04.pm | 2 +- t/data/Perl/05.pm | 17 +++++++++++++++-- t/data/Perl/06.pm | 27 ++++++++++++++++----------- t/data/Perl/07.pm | 23 ----------------------- t/version_from_file_perl.t | 4 ++-- 5 files changed, 34 insertions(+), 39 deletions(-) delete mode 100644 t/data/Perl/07.pm diff --git a/t/data/Perl/04.pm b/t/data/Perl/04.pm index 1744dd1..17e4bdd 100644 --- a/t/data/Perl/04.pm +++ b/t/data/Perl/04.pm @@ -1,5 +1,5 @@ package something; -use version; our $VERSION = qv('v1.5_0'); +use version; our $VERSION = qv('1.5.0'); 1; diff --git a/t/data/Perl/05.pm b/t/data/Perl/05.pm index 17e4bdd..702a4d6 100644 --- a/t/data/Perl/05.pm +++ b/t/data/Perl/05.pm @@ -1,5 +1,18 @@ -package something; +package Git::Jira; -use version; our $VERSION = qv('1.5.0'); +use strict; +use warnings; +use Carp; + +use version; our $VERSION = qv('1.5'); + +use base qw(Exporter); +our @EXPORT = qw(branch); + +use LWP::UserAgent; +use XML::Simple; +use Term::ANSIColor; + +use constant JIRA_LEAD => 'si/jira.issueviews:issue-xml/'; 1; diff --git a/t/data/Perl/06.pm b/t/data/Perl/06.pm index 702a4d6..4520ee0 100644 --- a/t/data/Perl/06.pm +++ b/t/data/Perl/06.pm @@ -1,18 +1,23 @@ -package Git::Jira; - +package ShipIt; use strict; -use warnings; -use Carp; +use vars qw($VERSION); +use ShipIt::Conf; +use ShipIt::State; +use ShipIt::VC; +use ShipIt::Util; + +$VERSION = '1.005'; + +=head1 NAME -use version; our $VERSION = qv('1.5'); +ShipIt - software release tool -use base qw(Exporter); -our @EXPORT = qw(branch); +=head1 SYNOPSIS -use LWP::UserAgent; -use XML::Simple; -use Term::ANSIColor; + shipit -use constant JIRA_LEAD => 'si/jira.issueviews:issue-xml/'; +=head1 OVERVIEW +=cut +my $somecode = 1; 1; diff --git a/t/data/Perl/07.pm b/t/data/Perl/07.pm deleted file mode 100644 index 4520ee0..0000000 --- a/t/data/Perl/07.pm +++ /dev/null @@ -1,23 +0,0 @@ -package ShipIt; -use strict; -use vars qw($VERSION); -use ShipIt::Conf; -use ShipIt::State; -use ShipIt::VC; -use ShipIt::Util; - -$VERSION = '1.005'; - -=head1 NAME - -ShipIt - software release tool - -=head1 SYNOPSIS - - shipit - -=head1 OVERVIEW -=cut -my $somecode = 1; - -1; diff --git a/t/version_from_file_perl.t b/t/version_from_file_perl.t index 286930a..e7e03ec 100644 --- a/t/version_from_file_perl.t +++ b/t/version_from_file_perl.t @@ -12,7 +12,7 @@ ok($proj); my $basedir = catfile(qw(t data Perl)); -for my $filenum ( 1 .. 7 ) { +for my $filenum ( 1 .. 6 ) { my $origfile = catfile( $basedir, sprintf( '%02d.pm', $filenum ) ); # check we read in the version correctly @@ -33,7 +33,7 @@ for my $filenum ( 1 .. 7 ) { # cleanup END { eval { - for ( 1 .. 7 ) + for ( 1 .. 6 ) { unlink catfile( $basedir, sprintf( '%02d.pm.new', $_ ) ); } -- 2.11.0


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.