Bug#901080: libtest-differences-perl: FTBFS with Perl 5.28: t/column-headers.t failure with verbose tests

2018-06-10 Thread Niko Tyni
On Sun, Jun 10, 2018 at 11:38:43AM +0300, Niko Tyni wrote:
> On Fri, Jun 08, 2018 at 11:23:04PM +0200, gregor herrmann wrote:

> > Confirmed, both the failure and the correlation with test verbosity.
> 
> This is triggered by newer versions of Test-Simple and happens
> on sid as well with the separate libtest-simple-perl package
> installed.

It bisects to

 
https://github.com/Test-More/test-more/commit/b9c8b098fcb6be510d418b9356c3437b3660d67f

and I've filed

 https://github.com/Test-More/test-more/issues/810

about it. We'll see where it needs fixing.
-- 
Niko Tyni   nt...@debian.org



Bug#901080: libtest-differences-perl: FTBFS with Perl 5.28: t/column-headers.t failure with verbose tests

2018-06-10 Thread Niko Tyni
Control: retitle -1 libtest-differences-perl: FTBFS with newer versions of 
libtest-simple-perl: t/column-headers.t failure with verbose tests

On Fri, Jun 08, 2018 at 11:23:04PM +0200, gregor herrmann wrote:
> On Fri, 08 Jun 2018 21:28:37 +0300, Niko Tyni wrote:
> 
> > Source: libtest-differences-perl
> > Version: 0.64-1
> > Severity: important
> > User: debian-p...@lists.debian.org
> > Usertags: perl-5.28-transition
> > 
> > This package fails to build with perl 5.28.0-RC1 (currently in
> > experimental).
> > 
> >  
> > http://perl.debian.net/rebuild-logs/perl-5.28-throwaway/libtest-differences-perl_0.64-1/libtest-differences-perl_0.64-1_amd64-2018-06-08T17:52:42Z.build
> > 
> > This seems to be related to verbose test output. 

> Confirmed, both the failure and the correlation with test verbosity.

This is triggered by newer versions of Test-Simple and happens
on sid as well with the separate libtest-simple-perl package
installed.
-- 
Niko Tyni   nt...@debian.org



Bug#901080: libtest-differences-perl: FTBFS with Perl 5.28: t/column-headers.t failure with verbose tests

2018-06-08 Thread gregor herrmann
Control: tag -1 + confirmed patch

On Fri, 08 Jun 2018 21:28:37 +0300, Niko Tyni wrote:

> Source: libtest-differences-perl
> Version: 0.64-1
> Severity: important
> User: debian-p...@lists.debian.org
> Usertags: perl-5.28-transition
> 
> This package fails to build with perl 5.28.0-RC1 (currently in
> experimental).
> 
>  
> http://perl.debian.net/rebuild-logs/perl-5.28-throwaway/libtest-differences-perl_0.64-1/libtest-differences-perl_0.64-1_amd64-2018-06-08T17:52:42Z.build
> 
> This seems to be related to verbose test output. 
> 
> $ prove -b t/column-headers.t 
> t/column-headers.t .. ok   
> All tests successful.
> Files=1, Tests=2,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.13 cusr  0.02 
> csys =  0.17 CPU)
> Result: PASS
> 
> $ prove -v -b t/column-headers.t 
> t/column-headers.t .. 
> not ok 1 - got expected error output
> #   Failed test 'got expected error output'
> #   at t/column-headers.t line 14.
> #  got: '#   Failed test 'both the same'
> # #   at t/script/default-headers line 8.
> # # ++++
> # # | Elt|Got |Expected|
> # # ++++
> # # |   0|{   |{   |
> # # *   1|  foo => 'bar'  |  foo => 'baz'  *
> # # |   2|}   |}   |
> # # ++++
> # # Looks like you failed 1 test of 1.
> # '
> # expected: '
> # #   Failed test 'both the same'
> # #   at t/script/default-headers line 8.
> # # ++++
> # # | Elt|Got |Expected|
> # # ++++
> # # |   0|{   |{   |
> # # *   1|  foo => 'bar'  |  foo => 'baz'  *
> # # |   2|}   |}   |
> # # ++++
> # # Looks like you failed 1 test of 1.
> # '

Confirmed, both the failure and the correlation with test verbosity.
The following "fixes" the issue:


#v+
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
 %:
dh $@
+
+override_dh_auto_test:
+   dh_auto_test -- --verbose 0
#v-


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: U2: Sunday Bloody Sunday


signature.asc
Description: Digital Signature


Bug#901080: libtest-differences-perl: FTBFS with Perl 5.28: t/column-headers.t failure with verbose tests

2018-06-08 Thread Niko Tyni
Source: libtest-differences-perl
Version: 0.64-1
Severity: important
User: debian-p...@lists.debian.org
Usertags: perl-5.28-transition

This package fails to build with perl 5.28.0-RC1 (currently in
experimental).

 
http://perl.debian.net/rebuild-logs/perl-5.28-throwaway/libtest-differences-perl_0.64-1/libtest-differences-perl_0.64-1_amd64-2018-06-08T17:52:42Z.build

This seems to be related to verbose test output. 

$ prove -b t/column-headers.t 
t/column-headers.t .. ok   
All tests successful.
Files=1, Tests=2,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.13 cusr  0.02 
csys =  0.17 CPU)
Result: PASS

$ prove -v -b t/column-headers.t 
t/column-headers.t .. 
not ok 1 - got expected error output
#   Failed test 'got expected error output'
#   at t/column-headers.t line 14.
#  got: '#   Failed test 'both the same'
# #   at t/script/default-headers line 8.
# # ++++
# # | Elt|Got |Expected|
# # ++++
# # |   0|{   |{   |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}   |}   |
# # ++++
# # Looks like you failed 1 test of 1.
# '
# expected: '
# #   Failed test 'both the same'
# #   at t/script/default-headers line 8.
# # ++++
# # | Elt|Got |Expected|
# # ++++
# # |   0|{   |{   |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}   |}   |
# # ++++
# # Looks like you failed 1 test of 1.
# '
not ok 2 - got expected error output
#   Failed test 'got expected error output'
#   at t/column-headers.t line 36.
#  got: '#   Failed test 'both the same'
# #   at t/script/custom-headers line 8.
# # ++++
# # | Elt|Lard|Chips   |
# # ++++
# # |   0|{   |{   |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}   |}   |
# # ++++
# # Looks like you failed 1 test of 1.
# '
# expected: '
# #   Failed test 'both the same'
# #   at t/script/custom-headers line 8.
# # ++++
# # | Elt|Lard|Chips   |
# # ++++
# # |   0|{   |{   |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}   |}   |
# # ++++
# # Looks like you failed 1 test of 1.
# '
1..2
# Looks like you failed 2 tests of 2.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests 

Test Summary Report
---
t/column-headers.t (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=1, Tests=2,  1 wallclock secs ( 0.01 usr  0.01 sys +  0.14 cusr  0.01 
csys =  0.17 CPU)
Result: FAIL

-- 
Niko Tyni   nt...@debian.org