Report for Perl-Critic-Git-v1.3.0

Back
From: metabase:user:a0e144f2-373b-11e6-8edd-c6848980b093
Subject: FAIL Perl-Critic-Git-v1.3.0 v5.26.0 GNU/Linux
Date: 2017-03-31T07:05:02Z

This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Guillaume Aubert,

This is a computer-generated report for Perl-Critic-Git-v1.3.0
on perl 5.26.0, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from './Build test':

# git version 2.1.4
t/01-setup.t ...................... ok
# Testing Perl::Critic::Git 1.3.0, Perl 5.026000, /home/cpan2/install/bin/perl
t/00-load.t ....................... ok
t/10-new.t ........................ ok
t/15-_get_file.t .................. ok
t/30-report_violations.t .......... ok
t/20-get_authors.t ................ ok
t/40-_is_analyzed.t ............... ok
t/50-get_perlcritic_violations.t .. ok
t/41-force_reanalyzing.t .......... ok
t/99-cleanup.t .................... ok

#   Failed test 'Retrieve git blame lines.'
#   at t/60-get_blame_lines.t line 50.
# died: Perl::Critic::Exception::Parse (Can't parse code: Did not pass a PPI::Tokenizer object to PPI::Lexer::lex_tokenizer)

#   Failed test ''$blame_lines' isa 'ARRAY''
#   at t/60-get_blame_lines.t line 52.
#     '$blame_lines' isn't defined

#   Failed test 'Find 11 lines with corresponding blame information.'
#   at t/60-get_blame_lines.t line 57.
#          got: '0'
#     expected: '11'
    # No tests run!

#   Failed test 'No tests run for subtest "The arrayref of git blame lines is made of Git::Repository::Blame::Line objects."'
#   at t/60-get_blame_lines.t line 76.
# Looks like you failed 4 tests of 7.
t/60-get_blame_lines.t ............ 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests 

#   Failed test 'Retrieve the persistent test information.'
#   at t/61-get_blame_line.t line 21.
# Error: No such file or directory

#   Failed test 'Test::FailWarnings should catch no warnings'
#   at t/61-get_blame_line.t line 25.
# Warning was 'readline() on closed filehandle $persistent at t/61-get_blame_line.t line 25.'

#   Failed test 'Retrieve the path to the test git repository.'
#   at t/61-get_blame_line.t line 25.

#   Failed test 'Test::FailWarnings should catch no warnings'
#   at t/61-get_blame_line.t line 35.
# Warning was 'Use of uninitialized value $work_tree in concatenation (.) or string at t/61-get_blame_line.t line 35.'

#   Failed test 'Create a Perl::Critic::Git object.'
#   at t/61-get_blame_line.t line 40.
# died: Argument 'file' is not a valid file path at t/61-get_blame_line.t line 35.

#   Failed test 'Retrieve git blame lines.'
#   at t/61-get_blame_line.t line 50.
# died: Can't call method "get_blame_lines" on an undefined value at t/61-get_blame_line.t line 48.

#   Failed test ''$blame_lines' isa 'ARRAY''
#   at t/61-get_blame_line.t line 52.
#     '$blame_lines' isn't defined

#   Failed test 'Find 11 lines with corresponding blame information.'
#   at t/61-get_blame_line.t line 57.
#          got: '0'
#     expected: '11'
    # No tests run!

#   Failed test 'No tests run for subtest "Retrieve blame lines individually."'
#   at t/61-get_blame_line.t line 87.
# Looks like you planned 7 tests but ran 9.
# Looks like you failed 9 tests of 9 run.
t/61-get_blame_line.t ............. 
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 7/7 subtests 

Test Summary Report
-------------------
t/60-get_blame_lines.t          (Wstat: 1024 Tests: 7 Failed: 4)
  Failed tests:  4-7
  Non-zero exit status: 4
t/61-get_blame_line.t           (Wstat: 2304 Tests: 9 Failed: 9)
  Failed tests:  1-9
  Non-zero exit status: 9
  Parse errors: Bad plan.  You planned 7 tests but ran 9.
Files=12, Tests=84,  3 wallclock secs ( 0.06 usr  0.01 sys +  8.59 cusr  0.64 csys =  9.30 CPU)
Result: FAIL
Failed 2/12 test programs. 13/84 subtests failed.

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module                         Need  Have    
    ------------------------------ ----- --------
    Carp                           0     1.42    
    Data::Dumper                   0     2.161   
    File::Basename                 0     2.85    
    Git::Repository                0     1.317   
    Git::Repository::Plugin::Blame 0     1.4.0   
    perl                           5.006 5.026000
    Perl::Critic                   0     1.126   

build_requires:

    Module                         Need  Have    
    ------------------------------ ----- --------
    File::Path                     0     2.12_002
    Test::Deep                     0     1.126   
    Test::Exception                0     0.43    
    Test::FailWarnings             0     0.008   
    Test::Git                      0     1.317   
    Test::More                     0     1.302078
    Test::Requires::Git            1.005 1.008   

configure_requires:

    Module                         Need  Have    
    ------------------------------ ----- --------
    Module::Build                  0     0.4220  


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    HARNESS_OPTIONS = j3
    LANG = en_US.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 22110
    PERL5_CPAN_IS_RUNNING = 22110
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 26912,8571,22110
    PERL_CR_SMOKER_CURRENT = Perl-Critic-Git-v1.3.0
    PERL_CR_SMOKER_RUNONCE = 1
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 0
    SHELL = /bin/bash
    TERM = putty-256color

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /home/cpan2/install/bin/perl
    $UID/$EUID = 1003 / 1003
    $GID = 1003 1003
    $EGID = 1003 1003

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.16    
    CPAN::Meta          2.150010
    Cwd                 3.67    
    ExtUtils::CBuilder  0.280225
    ExtUtils::Command   7.24    
    ExtUtils::Install   2.04    
    ExtUtils::MakeMaker 7.24    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.34    
    File::Spec          3.67    
    JSON                2.91_04 
    JSON::PP            2.27400 
    Module::Build       0.4220  
    Module::Signature   0.81    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.38    
    Test::More          1.302078
    YAML                1.23    
    YAML::Syck          1.29    
    version             0.9917  


--

Summary of my perl5 (revision 5 version 26 subversion 0) configuration:
  Commit id: 2e3b2a1fba7611d1cd6060a5f07f6a0f91a06b3a
  Platform:
    osname=linux
    osvers=3.16.0-4-amd64
    archname=x86_64-linux-thread-multi
    uname='linux digitalis 3.16.0-4-amd64 #1 smp debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 gnulinux '
    config_args='-Dusedevel -DDEBUGGING -Dusethreads -Dprefix=/home/cpan2/install -Uversiononly -des'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2 -g'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='4.9.2'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.19.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.19'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    DEBUGGING
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_TRACK_MEMPOOL
    PERL_USE_DEVEL
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
  Built under linux
  Compiled at Mar 26 2017 22:45:02
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="22110"
    PERL5_CPAN_IS_RUNNING="22110"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="26912,8571,22110"
    PERL_CR_SMOKER_CURRENT="Perl-Critic-Git-v1.3.0"
    PERL_CR_SMOKER_RUNONCE="1"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="0"
  @INC:
    /home/cpan2/install/lib/perl5/site_perl/5.26.0/x86_64-linux-thread-multi
    /home/cpan2/install/lib/perl5/site_perl/5.26.0
    /home/cpan2/install/lib/perl5/5.26.0/x86_64-linux-thread-multi
    /home/cpan2/install/lib/perl5/5.26.0