Back
From: metabase:user:320bfe00-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Test-HTML-Content-0.08 v5.15.9 GNU/Linux
Date: 2012-05-21T04:19:32Z
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.15.9, 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/sand/src/perl/repoperls/installed-perls/perl/v5.15.9-265-g1530a57/165a/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 /tmp/loop_over_bdir-PU5lL_/Test-HTML-Content-0.08-N5ucMl/blib/lib/Test/HTML/Content.pm line 278.
# '
# expected: ''
Use of uninitialized value $result in string eq at t/01-fallback-xpath.t line 21.
Use of uninitialized value $result in numeric eq (==) at t/01-fallback-xpath.t line 21.
# Failed test 'Skipped or passed when XML::LibXML is missing'
# at t/01-fallback-xpath.t line 21.
Use of uninitialized value $result in concatenation (.) or string 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.11 usr 0.03 sys + 1.68 cusr 0.21 csys = 2.03 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
Test::More 0 0.98
build_requires:
Module Need Have
------------------- ---- -------
ExtUtils::MakeMaker 0 6.63_02
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
LANGUAGE = en_US:en
PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 13641
PERL5_CPAN_IS_RUNNING = 13641
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/perl/v5.15.9-265-g1530a57/165a/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 1.9800
CPAN::Meta 2.120921
Cwd 3.39_02
ExtUtils::CBuilder 0.280206
ExtUtils::Command 1.17
ExtUtils::Install 1.58
ExtUtils::MakeMaker 6.63_02
ExtUtils::Manifest 1.61
ExtUtils::ParseXS 3.16
File::Spec 3.39_02
JSON 2.53
JSON::PP 2.27200
Module::Build 0.40
Module::Signature 0.68
Parse::CPAN::Meta 1.4404
Test::Harness 3.23
Test::More 0.98
YAML 0.81
YAML::Syck 1.20
version 0.99
--
Summary of my perl5 (revision 5 version 15 subversion 9) configuration:
Commit id: 1530a57dfaff29c214be6c42259309d263abc973
Platform:
osname=linux, osvers=3.2.0-2-amd64, archname=x86_64-linux
uname='linux k83 3.2.0-2-amd64 #1 smp sun apr 15 16:47:38 utc 2012 x86_64 gnulinux '
config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.15.9-265-g1530a57/165a -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Uuseithreads -Uuselongdouble -DDEBUGGING=-g'
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 -g',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.6.3', 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/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.13'
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'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_DEVEL
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Apr 28 2012 11:33:30
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="13641"
PERL5_CPAN_IS_RUNNING="13641"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-265-g1530a57/165a/lib/site_perl/5.15.9/x86_64-linux
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-265-g1530a57/165a/lib/site_perl/5.15.9
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-265-g1530a57/165a/lib/5.15.9/x86_64-linux
/home/src/perl/repoperls/installed-perls/perl/v5.15.9-265-g1530a57/165a/lib/5.15.9
.