Report for Test-HTML-Content-0.08

Back
From: metabase:user:3198cbe2-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Test-HTML-Content-0.08 v5.14.2 GNU/Linux
Date: 2012-10-22T19:14:20Z

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 Test-HTML-Content-0.08
on perl 5.14.2, created by CPAN-Reporter-1.2006.

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/graham/perls/perl-5.14.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-prerequisites.t ............................ ok
t/01-fallback-libxml.t .......................... ok
t/01-fallback-pureperl.t ........................ ok

#   Failed test 'Missing prerequisites don't let the tests fail'
#   at t/01-fallback-xpath.t line 20.
#          got: 'No such method textContent in XML::XPath::Node::ElementImpl at /home/graham/perls/caches/perl-5.14.2/build/Test-HTML-Content-0.08-qWHP7w/blib/lib/Test/HTML/Content.pm line 278.
# '
#     expected: ''

#   Failed test 'Skipped or passed when XML::LibXML is missing'
#   at t/01-fallback-xpath.t line 21.
# Expected 'skip' or '1', but got ''
# Looks like you failed 2 tests of 4.
t/01-fallback-xpath.t ........................... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests 
t/01-internal-api.t ............................. ok
t/01-xpath-query-builder.t ...................... ok
HTML parser error : Unexpected end tag : a
<html><!-- <A href="http://www.perl.com"> -->Title</A></html>
                                                      ^
HTML parser error : Unexpected end tag : a
<html><!-- <A href="http://www.perl.com"> -->Title</A></html>
                                                      ^
HTML parser error : Unexpected end tag : a
<html><!-- <A href="http://www.perl.com"> -->Title</A></html>
                                                      ^
HTML parser error : Unexpected end tag : a
<html><!-- <A href="http://www.perl.com"> -->Title</A></html>
                                                      ^
t/02-tags.t ..................................... ok
t/03-links.t .................................... ok
t/04-comments.t ................................. ok
t/05-doctype.t .................................. ok
t/06-text.t ..................................... ok

#   Failed test 'Finding a link where one should be returns all other links'
#   at t/07-errors.link.t line 67.
# STDERR is:
# #   Failed test 'Link failure (two links shouldn't exist do)'
# #   at t/07-errors.link.t line 65.
# # Expected to find no <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href="http://www.foo.com">foo</a>
# #   <a href="index.html">Home</a>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 65.*\n?/
# 
# # Expected to find no <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href="http://www.foo.com">foo</a>
# 
# #   <a href="index.html">Home</a>
# 
# as expected

#   Failed test 'Diagnosing too few links works'
#   at t/07-errors.link.t line 85.
# STDERR is:
# #   Failed test 'Link failure (too few links)'
# #   at t/07-errors.link.t line 84.
# # Expected to find exactly 3 <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href="http://www.foo.com">foo</a>
# #   <a href="index.html">Home</a>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 84.*\n?/
# 
# # Expected to find exactly 3 <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href="http://www.foo.com">foo</a>
# 
# #   <a href="index.html">Home</a>
# 
# as expected

#   Failed test 'Diagnosing too many links works'
#   at t/07-errors.link.t line 107.
# STDERR is:
# #   Failed test 'Link failure (too many links)'
# #   at t/07-errors.link.t line 106.
# # Expected to find exactly 3 <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href="http://www.bar.com">bar</a>
# #   <a href="http://www.dot.com">.</a>
# #   <a href="http://www.foo.com">foo</a>
# #   <a href="index.html">Home</a>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 106.*\n?/
# 
# # Expected to find exactly 3 <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href="http://www.bar.com">bar</a>
# 
# #   <a href="http://www.dot.com">.</a>
# 
# #   <a href="http://www.foo.com">foo</a>
# 
# #   <a href="index.html">Home</a>
# 
# as expected

#   Failed test 'Finding a link where one should be returns all other links'
#   at t/07-errors.link.t line 67.
# STDERR is:
# #   Failed test 'Link failure (two links shouldn't exist do)'
# #   at t/07-errors.link.t line 65.
# # Expected to find no <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href='http://www.foo.com'>
# #   <a href='index.html'>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 65.*\n?/
# 
# # Expected to find no <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href='http://www.foo.com'>
# 
# #   <a href='index.html'>
# 
# as expected

#   Failed test 'Diagnosing too few links works'
#   at t/07-errors.link.t line 85.
# STDERR is:
# #   Failed test 'Link failure (too few links)'
# #   at t/07-errors.link.t line 84.
# # Expected to find exactly 3 <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href='http://www.foo.com'>
# #   <a href='index.html'>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 84.*\n?/
# 
# # Expected to find exactly 3 <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href='http://www.foo.com'>
# 
# #   <a href='index.html'>
# 
# as expected

#   Failed test 'Diagnosing too many links works'
#   at t/07-errors.link.t line 107.
# STDERR is:
# #   Failed test 'Link failure (too many links)'
# #   at t/07-errors.link.t line 106.
# # Expected to find exactly 3 <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href='http://www.bar.com'>
# #   <a href='http://www.dot.com'>
# #   <a href='http://www.foo.com'>
# #   <a href='index.html'>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 106.*\n?/
# 
# # Expected to find exactly 3 <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href='http://www.bar.com'>
# 
# #   <a href='http://www.dot.com'>
# 
# #   <a href='http://www.foo.com'>
# 
# #   <a href='index.html'>
# 
# as expected

#   Failed test 'Finding a link where one should be returns all other links'
#   at t/07-errors.link.t line 67.
# STDERR is:
# #   Failed test 'Link failure (two links shouldn't exist do)'
# #   at t/07-errors.link.t line 65.
# # Expected to find no <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href='http://www.foo.com'>
# #   <a href='index.html'>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 65.*\n?/
# 
# # Expected to find no <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href='http://www.foo.com'>
# 
# #   <a href='index.html'>
# 
# as expected

#   Failed test 'Diagnosing too few links works'
#   at t/07-errors.link.t line 85.
# STDERR is:
# #   Failed test 'Link failure (too few links)'
# #   at t/07-errors.link.t line 84.
# # Expected to find exactly 3 <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href='http://www.foo.com'>
# #   <a href='index.html'>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 84.*\n?/
# 
# # Expected to find exactly 3 <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href='http://www.foo.com'>
# 
# #   <a href='index.html'>
# 
# as expected

#   Failed test 'Diagnosing too many links works'
#   at t/07-errors.link.t line 107.
# STDERR is:
# #   Failed test 'Link failure (too many links)'
# #   at t/07-errors.link.t line 106.
# # Expected to find exactly 3 <a> tag(s) matching
# #   href = (?^:.)
# # Got
# #   <a href='http://www.bar.com'>
# #   <a href='http://www.dot.com'>
# #   <a href='http://www.foo.com'>
# #   <a href='index.html'>
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 106.*\n?/
# 
# # Expected to find exactly 3 <a> tag(s) matching
# 
# #   href = (?-xism:.)
# 
# # Got
# 
# #   <a href='http://www.bar.com'>
# 
# #   <a href='http://www.dot.com'>
# 
# #   <a href='http://www.foo.com'>
# 
# #   <a href='index.html'>
# 
# as expected
t/07-errors.link.t .............................. 
Failed 9/16 subtests 

#   Failed test 'Finding a comment where none should be returns all comments'
#   at t/08-errors.comment.t line 55.
# STDERR is:
# #   Failed test 'Comment failure (two comments that shouldn't exist do)'
# #   at t/08-errors.comment.t line 53.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected no comment like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 53.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected no comment like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Diagnosing too few comments works'
#   at t/08-errors.comment.t line 68.
# STDERR is:
# #   Failed test 'Comment failure (too few comments)'
# #   at t/08-errors.comment.t line 66.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 3 comments like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 66.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected exactly 3 comments like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Diagnosing too many comments works'
#   at t/08-errors.comment.t line 81.
# STDERR is:
# #   Failed test 'Comment failure (too few comments)'
# #   at t/08-errors.comment.t line 79.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 1 comments like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 79.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected exactly 1 comments like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Finding a comment where none should be returns all comments'
#   at t/08-errors.comment.t line 55.
# STDERR is:
# #   Failed test 'Comment failure (two comments that shouldn't exist do)'
# #   at t/08-errors.comment.t line 53.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected no comment like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 53.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected no comment like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Diagnosing too few comments works'
#   at t/08-errors.comment.t line 68.
# STDERR is:
# #   Failed test 'Comment failure (too few comments)'
# #   at t/08-errors.comment.t line 66.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 3 comments like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 66.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected exactly 3 comments like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Diagnosing too many comments works'
#   at t/08-errors.comment.t line 81.
# STDERR is:
# #   Failed test 'Comment failure (too few comments)'
# #   at t/08-errors.comment.t line 79.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 1 comments like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 79.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected exactly 1 comments like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Finding a comment where none should be returns all comments'
#   at t/08-errors.comment.t line 55.
# STDERR is:
# #   Failed test 'Comment failure (two comments that shouldn't exist do)'
# #   at t/08-errors.comment.t line 53.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected no comment like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 53.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected no comment like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Diagnosing too few comments works'
#   at t/08-errors.comment.t line 68.
# STDERR is:
# #   Failed test 'Comment failure (too few comments)'
# #   at t/08-errors.comment.t line 66.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 3 comments like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 66.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected exactly 3 comments like '(?-xism:hidden m.ssage)'
# 
# as expected

#   Failed test 'Diagnosing too many comments works'
#   at t/08-errors.comment.t line 81.
# STDERR is:
# #   Failed test 'Comment failure (too few comments)'
# #   at t/08-errors.comment.t line 79.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 1 comments like '(?^:hidden m.ssage)'
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 79.*\n?/
# 
# # Saw '<!-- hidden massage -->'
# 
# # Saw '<!-- hidden massage -->'
# 
# # Expected exactly 1 comments like '(?-xism:hidden m.ssage)'
# 
# as expected
t/08-errors.comment.t ........................... 
Failed 9/16 subtests 
t/09-errors.declaration.t ....................... ok
t/09-errors.xpath.t ............................. ok
t/10-errors.text.t .............................. ok
t/12-title-fallback.t ........................... ok
t/12-title.t .................................... ok
t/13-xpath-gracefull-errors.t ................... ok
t/99-manifest.t ................................. ok
t/99-Pod.t ...................................... ok
t/99-todo.t ..................................... ok
t/99-unix-text.t ................................ ok
t/embedded-Test-HTML-Content-NoXPath.t .......... ok
t/embedded-Test-HTML-Content-XPathExtensions.t .. ok
t/embedded-Test-HTML-Content.t .................. ok

Test Summary Report
-------------------
t/01-fallback-xpath.t                         (Wstat: 512 Tests: 4 Failed: 2)
  Failed tests:  3-4
  Non-zero exit status: 2
t/07-errors.link.t                            (Wstat: 0 Tests: 16 Failed: 9)
  Failed tests:  4-6, 9-11, 14-16
t/08-errors.comment.t                         (Wstat: 0 Tests: 16 Failed: 9)
  Failed tests:  4-6, 9-11, 14-16
Files=26, Tests=632,  4 wallclock secs ( 0.19 usr  0.05 sys +  2.66 cusr  0.32 csys =  3.22 CPU)
Result: FAIL
Failed 3/26 test programs. 20/632 subtests failed.
make: *** [test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module              Need Have   
    ------------------- ---- -------
    HTML::TokeParser    0    3.69   
    Test::Builder       0    0.98_03
    Test::More          0    0.98_03

build_requires:

    Module              Need Have   
    ------------------- ---- -------
    ExtUtils::MakeMaker 0    6.63_02


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = C
    PATH = /home/graham/perls/perl-5.14.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 24638
    PERL5_CPAN_IS_RUNNING = 24638
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 19345,24638
    PERL_CR_SMOKER_CURRENT = App-MaMGal-1.4
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = xterm

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

    $^X = /home/graham/perls/perl-5.14.2/bin/perl
    $UID/$EUID = 1000 / 1000
    $GID = 100 100
    $EGID = 100 100

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                1.99_51 
    CPAN::Meta          2.120351
    Cwd                 3.39_01 
    ExtUtils::CBuilder  0.280205
    ExtUtils::Command   1.17    
    ExtUtils::Install   1.56    
    ExtUtils::MakeMaker 6.63_02 
    ExtUtils::Manifest  1.61    
    ExtUtils::ParseXS   3.15    
    File::Spec          3.39_01 
    JSON                2.53    
    JSON::PP            2.27200 
    Module::Build       0.4003  
    Module::Signature   0.68    
    Parse::CPAN::Meta   1.4404  
    Test::Harness       3.25    
    Test::More          0.98_03 
    YAML                0.73    
    YAML::Syck          1.21    
    version             0.9901  


--

Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=3.5.6-1-arch, archname=x86_64-linux
    uname='linux grosics 3.5.6-1-arch #1 smp preempt sun oct 7 19:30:49 cest 2012 x86_64 gnulinux '
    config_args='-des -Dprefix=/home/graham/perls/perl-5.14.2'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', 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 =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.16.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.16'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
                        USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at Oct 12 2012 19:57:27
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="24638"
    PERL5_CPAN_IS_RUNNING="24638"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="19345,24638"
    PERL_CR_SMOKER_CURRENT="App-MaMGal-1.4"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/graham/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux
    /home/graham/perls/perl-5.14.2/lib/site_perl/5.14.2
    /home/graham/perls/perl-5.14.2/lib/5.14.2/x86_64-linux
    /home/graham/perls/perl-5.14.2/lib/5.14.2
    .