Report for HTML-Selector-XPath-0.20

Back
From: metabase:user:320bfe00-2aae-11df-837a-5e0a49663a4f
Subject: FAIL HTML-Selector-XPath-0.20 v5.8.1 GNU/Linux
Date: 2017-02-15T07:13:25Z

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 Max Maischein,

This is a computer-generated report for HTML-Selector-XPath-0.20
on perl 5.8.1, 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 '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_compile.t ....... ok

#   Failed test 'E:first-child'
#   at t/01_xpath.t line 28.
#          got: '//EHTML::Selector::XPath=HASH(0x55e12b450b20)first-childSCALAR(0x55e12b41ad30)'
#     expected: '//E[count(preceding-sibling::*) = 0 and parent::*]'

#   Failed test 'F E:first-child'
#   at t/01_xpath.t line 28.
#          got: '//F//EHTML::Selector::XPath=HASH(0x55e12b4522d0)first-childSCALAR(0x55e12b450930)'
#     expected: '//F//E[count(preceding-sibling::*) = 0 and parent::*]'

#   Failed test 'F > E:first-child'
#   at t/01_xpath.t line 28.
#          got: '//F/EHTML::Selector::XPath=HASH(0x55e12b4e46d0)first-childSCALAR(0x55e12b450b20)'
#     expected: '//F/E[count(preceding-sibling::*) = 0 and parent::*]'

#   Failed test 'E:lang(c)'
#   at t/01_xpath.t line 28.
#          got: '//EHTML::Selector::XPath=HASH(0x55e12b4e4740)lang(c)SCALAR(0x55e12b453860)'
#     expected: '//E[@xml:lang='c' or starts-with(@xml:lang, 'c-')]'

#   Failed test 'E:nth-child(1)'
#   at t/01_xpath.t line 28.
#          got: '//EHTML::Selector::XPath=HASH(0x55e12b460d70)nth-child(1)SCALAR(0x55e12b4e4710)'
#     expected: '//E[count(preceding-sibling::*) = 0 and parent::*]'

#   Failed test 'E:last-child'
#   at t/01_xpath.t line 28.
#          got: '//EHTML::Selector::XPath=HASH(0x55e12b58a810)last-childSCALAR(0x55e12b460c40)'
#     expected: '//E[count(following-sibling::*) = 0 and parent::*]'

#   Failed test 'F E:last-child'
#   at t/01_xpath.t line 28.
#          got: '//F//EHTML::Selector::XPath=HASH(0x55e12b589180)last-childSCALAR(0x55e12b589050)'
#     expected: '//F//E[count(following-sibling::*) = 0 and parent::*]'

#   Failed test 'F > E:last-child'
#   at t/01_xpath.t line 28.
#          got: '//F/EHTML::Selector::XPath=HASH(0x55e12b588f30)last-childSCALAR(0x55e12b463880)'
#     expected: '//F/E[count(following-sibling::*) = 0 and parent::*]'

#   Failed test 'F > E:nth-of-type(3)'
#   at t/01_xpath.t line 28.
#          got: '//F/EHTML::Selector::XPath=HASH(0x55e12b465ce0)nth-of-type(3)SCALAR(0x55e12b463a60)'
#     expected: '//F/E[3]'
Invalid rule, couldn't parse '"Hello")' at /tmp/loop_over_bdir-32510-Co4unt/HTML-Selector-XPath-0.20-0/blib/lib/HTML/Selector/XPath.pm line 273, <DATA> line 1.
# Looks like your test exited with 9 just after 39.
t/01_xpath.t ......... 
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 84/114 subtests 
Query:
//ul//liHTML::Select...
...........^^^
Invalid query somewhere around here (I think)
# Looks like your test exited with 255 just after 2.
t/02_html.t .......... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 28/30 subtests 
t/03_xpath_root.t .... ok
t/04_subclass.t ...... ok
t/05_xpath_prefix.t .. ok
Invalid rule, couldn't parse '"s1")' at /tmp/loop_over_bdir-32510-Co4unt/HTML-Selector-XPath-0.20-0/blib/lib/HTML/Selector/XPath.pm line 273, <DATA> line 1.
# Looks like your test exited with 255 before it could output anything.
t/06_rt114261.t ...... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests 
t/07_rt114345.t ...... ok
t/99_pod.t ........... ok

Test Summary Report
-------------------
t/01_xpath.t       (Wstat: 2304 Tests: 39 Failed: 9)
  Failed tests:  6-9, 29-32, 37
  Non-zero exit status: 9
  Parse errors: Bad plan.  You planned 114 tests but ran 39.
t/02_html.t        (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 30 tests but ran 2.
t/06_rt114261.t    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
Files=9, Tests=65,  1 wallclock secs ( 0.05 usr  0.05 sys +  0.47 cusr  0.10 csys =  0.67 CPU)
Result: FAIL
Failed 3/9 test programs. 9/65 subtests failed.
Makefile:779: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module              Need     Have    
    ------------------- -------- --------
    perl                5.008001 5.008001

build_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 6.59     7.25_01 
    Test::Base          0        0.88    
    Test::More          0        1.302075

configure_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 6.59     7.25_01 


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 32528
    PERL5_CPAN_IS_RUNNING = 32528
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_MM_USE_DEFAULT = 1
    SHELL = /usr/bin/zsh
    TERM = screen

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

    $^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.16    
    CPAN::Meta          2.150010
    Cwd                 3.62    
    ExtUtils::CBuilder  0.280224
    ExtUtils::Command   7.25_01 
    ExtUtils::Install   1.54    
    ExtUtils::MakeMaker 7.25_01 
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.30    
    File::Spec          3.62    
    JSON                2.90    
    JSON::PP            2.27400 
    Module::Build       0.4220  
    Module::Signature   0.81    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.36    
    Test::More          1.302075
    YAML                1.20    
    YAML::Syck          1.29    
    version             0.9917  


--

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=linux, osvers=4.8.0-2-amd64, archname=x86_64-linux-thread-multi
    uname='linux k93msid 4.8.0-2-amd64 #1 smp debian 4.8.11-1 (2016-12-02) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927 -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Uuselongdouble'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='6.2.1 20161124', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.24.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.24'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Dec 18 2016 22:23:27
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="32528"
    PERL5_CPAN_IS_RUNNING="32528"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927/lib/5.8.1/x86_64-linux-thread-multi
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927/lib/5.8.1
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927/lib/site_perl/5.8.1/x86_64-linux-thread-multi
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927/lib/site_perl/5.8.1
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/perl-5.8.1/a927/lib/site_perl
    .