Skip Menu |

This queue is for tickets about the Data-ShowTable CPAN distribution.

Report information
The Basics
Id: 102615
Status: new
Priority: 0/
Queue: Data-ShowTable

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

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



Subject: Very broken under parallel testing
I'd guess you've got multiple tests working on the same paths, but I can't make sense of the test code to be sure.
Subject: testlog.txt
HARNESS_OPTIONS=j2 make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/kent/perl5/perlbrew/perls/5.21.8-c/bin/perl5.21.9" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/box-scaling.t ....... 1..8 not ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 Failed 1/8 subtests t/box-showtable.t ..... 1..8 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok t/box-widths.t ........ 1..8 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok t/box-wrap.t .......... 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ok t/html-calls.t ........ 1..8 ok 1 ok 2 ok 3 ok 4 ok 5 not ok 6 not ok 7 not ok 8 Failed 3/8 subtests t/box-calls.t ......... 1..8 ok 1 not ok 2 not ok 3 not ok 4 not ok 5 ok 6 ok 7 ok 8 Failed 4/8 subtests t/html-scaling.t ...... 1..8 not ok 1 not ok 2 not ok 3 not ok 4 not ok 5 not ok 6 ok 7 ok 8 Failed 6/8 subtests t/html-fmt.t .......... 1..12 ok 1 ok 2 ok 3 not ok 4 not ok 5 not ok 6 not ok 7 not ok 8 not ok 9 ok 10 ok 11 ok 12 Failed 6/12 subtests t/html-showtable.t .... 1..8 ok 1 ok 2 not ok 3 ok 4 not ok 5 ok 6 ok 7 ok 8 Failed 2/8 subtests t/html-widths.t ....... 1..8 not ok 1 not ok 2 not ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 Failed 3/8 subtests t/html-wrap.t ......... 1..5 ok 1 ok 2 ok 3 ok 4 not ok 5 Failed 1/5 subtests t/list-calls.t ........ 1..8 ok 1 not ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 Failed 1/8 subtests t/list-scaling.t ...... 1..8 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 not ok 8 Failed 1/8 subtests t/list-showtable.t .... 1..8 ok 1 not ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 Failed 1/8 subtests t/list-widths.t ....... 1..8 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok t/list-wrap.t ......... 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ok t/simple-calls.t ...... 1..8 ok 1 ok 2 ok 3 not ok 4 not ok 5 ok 6 not ok 7 not ok 8 Failed 4/8 subtests t/simple-scaling.t .... 1..8 not ok 1 not ok 2 not ok 3 not ok 4 ok 5 ok 6 ok 7 ok 8 Failed 4/8 subtests t/simple-showtable.t .. 1..8 ok 1 ok 2 ok 3 not ok 4 not ok 5 not ok 6 not ok 7 ok 8 Failed 4/8 subtests t/simple-widths.t ..... 1..8 not ok 1 not ok 2 not ok 3 not ok 4 ok 5 ok 6 ok 7 ok 8 Failed 4/8 subtests t/simple-wrap.t ....... 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ok t/test-showtable.t .... 1..1 not ok 1 Failed 1/1 subtests Test Summary Report ------------------- t/box-scaling.t (Wstat: 0 Tests: 8 Failed: 1) Failed test: 1 t/html-calls.t (Wstat: 0 Tests: 8 Failed: 3) Failed tests: 6-8 t/box-calls.t (Wstat: 0 Tests: 8 Failed: 4) Failed tests: 2-5 t/html-scaling.t (Wstat: 0 Tests: 8 Failed: 6) Failed tests: 1-6 t/html-fmt.t (Wstat: 0 Tests: 12 Failed: 6) Failed tests: 4-9 t/html-showtable.t (Wstat: 0 Tests: 8 Failed: 2) Failed tests: 3, 5 t/html-widths.t (Wstat: 0 Tests: 8 Failed: 3) Failed tests: 1-3 t/html-wrap.t (Wstat: 0 Tests: 5 Failed: 1) Failed test: 5 t/list-calls.t (Wstat: 0 Tests: 8 Failed: 1) Failed test: 2 t/list-scaling.t (Wstat: 0 Tests: 8 Failed: 1) Failed test: 8 t/list-showtable.t (Wstat: 0 Tests: 8 Failed: 1) Failed test: 2 t/simple-calls.t (Wstat: 0 Tests: 8 Failed: 4) Failed tests: 4-5, 7-8 t/simple-scaling.t (Wstat: 0 Tests: 8 Failed: 4) Failed tests: 1-4 t/simple-showtable.t (Wstat: 0 Tests: 8 Failed: 4) Failed tests: 4-7 t/simple-widths.t (Wstat: 0 Tests: 8 Failed: 4) Failed tests: 1-4 t/test-showtable.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 Files=22, Tests=161, 1 wallclock secs ( 0.17 usr 0.05 sys + 1.26 cusr 0.97 csys = 2.45 CPU) Result: FAIL Failed 16/22 test programs. 46/161 subtests failed. Makefile:847: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255
Subject: 0002-Fix-parallel-testing-issues-by-using-a-non-concurren.patch
From a4db786271c4ae3b987d7c4facc488db31966221 Mon Sep 17 00:00:00 2001 From: Kent Fredric <kentnl@gentoo.org> Date: Sat, 7 Oct 2017 19:17:38 +1300 Subject: Fix parallel testing issues by using a non-concurrent tempdir (Possible) Bug: https://bugs.gentoo.org/403881 Bug: https://rt.cpan.org/Ticket/Display.html?id=102615 --- t/Test-Setup.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Test-Setup.pl b/t/Test-Setup.pl index 8b4a82e..f7400cd 100755 --- a/t/Test-Setup.pl +++ b/t/Test-Setup.pl @@ -1,11 +1,11 @@ #!/usr/bin/env perl use Carp; - +use File::Temp qw( tempdir ); ($DIR,$PROG) = $0 =~ m=^(.*/)?([^/]+)$=; $DIR =~ s=/$== || chop($DIR = `pwd`); -$testdir = -d 't' ? 't' : '.'; +$testdir = tempdir( 'temp.XXXX', DIR => ( -d 't' ? 't' : '.' ), CLEANUP => 1); # Setup these globals -- 2.14.1