Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test::Strict: t/01all.t fails on perl-5.31.2 on FreeBSD-12 #30

Open
jkeenan opened this issue Jul 24, 2019 · 1 comment

Comments

@jkeenan
Copy link

commented Jul 24, 2019

This failure was observed during CPAN-River-3000 testing of perl-5.31.2 on FreeBSD-12. Excerpt from cpanm build.log:

$ dumpjson MANWAR.Test-Strict-0.52.log.json | cat
{
  author => "MANWAR",
  dist => "Test-Strict",
  distname => "Test-Strict-0.52",
  distversion => 0.52,
  grade => "FAIL",
  prereqs => undef,
  test_output => [
    "Building and testing Test-Strict-0.52",
    "cp lib/Test/Strict.pm blib/lib/Test/Strict.pm",
    "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl-5.31.2/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t",
    "# Testing Test::Strict 0.52, Perl 5.031002, /usr/home/jkeenan/var/tad/testing/perl-5.31.2/bin/perl",
    "t/00-load.t ............ ok",
    "# First all_perl_files_ok starting",
    "# First all_perl_files_ok done",
    "# Start creating files in /tmp/7fOOfXVwe_",
    "# [",
    "#   '/tmp/u85ed_PSwD/0tHTevadfw.pl',",
    "#   '/tmp/u85ed_PSwD/2zU5rNOAIi.pl',",
    "#   '/tmp/u85ed_PSwD/yZiSKPM8CY.pl',",
    "#   '/tmp/u85ed_PSwD/09aseV8ICa.pl'",
    "# ]",
    "# File to skip: /tmp/u85ed_PSwD/2zU5rNOAIi.pl",
    "# Start all_perl_files_ok on /tmp/u85ed_PSwD (should be 2*3 = 6 tests)",
    "",
    "#   Failed test 'Syntax check /tmp/u85ed_PSwD/0tHTevadfw.pl'",
    "#   at /usr/home/jkeenan/var/tad/testing/perl-5.31.2/.cpanm/work/1563802822.70705/Test-Strict-0.52/blib/lib/Test/Strict.pm line 435.",
    "# ",
    "# This is perl 5, version 31, subversion 2 (v5.31.2) built for amd64-freebsd-thread-multi",
    "# ",
    "# Copyright 1987-2019, Larry Wall",
    "# ",
    "# Perl may be copied only under the terms of either the Artistic License or the",
    "# GNU General Public License, which may be found in the Perl 5 source kit.",
    "# ",
    "# Complete documentation for Perl, including FAQ lists, should be found on",
    "# this system using \"man perl\" or \"perldoc perl\".  If you have access to the",
    "# Internet, point your browser at http://www.perl.org/, the Perl Home Page.",
    "# ",
    "# Looks like you failed 1 test of 59.",
    "t/01all.t .............. ",
    "Dubious, test returned 1 (wstat 256, 0x100)",
    "Failed 1/59 subtests ",
    "t/02fail.t ............. ok",
    "t/03-test-perl-file.t .. ok",
    "t/04cover.t ............ skipped: Checking coverage only if the CHECK_COVERAGE environment variable is true",
    "t/90-pod.t ............. ok",
    "t/91-pod-coverage.t .... ok",
    "t/92-manifest.t ........ ok",
    "t/93-checkmanifest.t ... ok",
    "t/94-version.t ......... ok",
    "t/95-changes.t ......... ok",
    "",
    "Test Summary Report",
    "-------------------",
    "t/01all.t            (Wstat: 256 Tests: 59 Failed: 1)",
    "  Failed test:  48",
    "  Non-zero exit status: 1",
    "Files=11, Tests=92,  6 wallclock secs ( 0.02 usr  0.05 sys +  3.47 cusr  1.91 csys =  5.45 CPU)",
    "Result: FAIL",
  ],
  via => "App::cpanminus::reporter 0.17 (1.7044)",
}

Excerpt from output of prove:

ok 46 - file7
# Subtest: custom
    1..2
    ok 1 - file6
    ok 2 - file6
ok 47 - custom
# [
#   '/tmp/2q6jVR738_/8_ARN8urlS.pl',
#   '/tmp/2q6jVR738_/QzuOtc0gpf.pl',
#   '/tmp/2q6jVR738_/CSTQnYwNLz.pl',
#   '/tmp/2q6jVR738_/51Y7B7JFa_.pl'
# ]
# File to skip: /tmp/2q6jVR738_/QzuOtc0gpf.pl
# Start all_perl_files_ok on /tmp/2q6jVR738_ (should be 2*3 = 6 tests)
not ok 48 - Syntax check /tmp/2q6jVR738_/8_ARN8urlS.pl

#   Failed test 'Syntax check /tmp/2q6jVR738_/8_ARN8urlS.pl'
#   at /usr/home/jkeenan/var/tad/testing/perl-5.31.2/.cpanm/work/1563802822.70705/Test-Strict-0.52/blib/lib/Test/Strict.pm line 435.
# 
# This is perl 5, version 31, subversion 2 (v5.31.2) built for amd64-freebsd-thread-multi
# 
# Copyright 1987-2019, Larry Wall
# 
# Perl may be copied only under the terms of either the Artistic License or the
# GNU General Public License, which may be found in the Perl 5 source kit.
# 
# Complete documentation for Perl, including FAQ lists, should be found on
# this system using "man perl" or "perldoc perl".  If you have access to the
# Internet, point your browser at http://www.perl.org/, the Perl Home Page.
# 
ok 49 - use strict   /tmp/2q6jVR738_/8_ARN8urlS.pl
ok 50 - use warnings /tmp/2q6jVR738_/8_ARN8urlS.pl
ok 51 - Syntax check /tmp/2q6jVR738_/CSTQnYwNLz.pl
ok 52 - use strict   /tmp/2q6jVR738_/CSTQnYwNLz.pl
ok 53 - use warnings /tmp/2q6jVR738_/CSTQnYwNLz.pl
ok 54 - Syntax check /tmp/2q6jVR738_/51Y7B7JFa_.pl
ok 55 - use strict   /tmp/2q6jVR738_/51Y7B7JFa_.pl
ok 56 - use warnings /tmp/2q6jVR738_/51Y7B7JFa_.pl
# Subtest: perl5_12
    1..1
    ok 1 - use strict   /tmp/5lF43m1Hqg/perl5_12.pl
ok 57 - perl5_12
# Subtest: perl5_20
    1..1
    ok 1 - use strict   /tmp/5lF43m1Hqg/perl5_20.pl
ok 58 - perl5_20
# Subtest: perl_v5_12
    1..1
    ok 1 - use strict   /tmp/5lF43m1Hqg/perl_v5_12.pl
ok 59 - perl_v5_12
# Looks like you failed 1 test of 59.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/59 subtests 

Test Summary Report
-------------------
t/01all.t (Wstat: 256 Tests: 59 Failed: 1)
  Failed test:  48
  Non-zero exit status: 1
Files=1, Tests=59,  3 wallclock secs ( 0.03 usr  0.04 sys +  1.57 cusr  0.98 csys =  2.62 CPU)
Result: FAIL

Thank you very much.
Jim Keenan

@andk

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.