Test-WWW-Mechanize v1.48 Perl 5 v5.8.5 darwin-thread-multi-2level

Status
Fail
From
Nigel Horne
Dist
Test-WWW-Mechanize v1.48
Platform
Perl 5 v5.8.5 darwin-thread-multi-2level
Date
2017-09-27 11:53:12
ID
70201e4a-a37a-11e7-b416-7dd13e478721
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 Andy Lester,

This is a computer-generated report for Test-WWW-Mechanize-1.48
on perl 5.8.5, 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:

none provided

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

Output from '/sw/bin/make test':

PERL_DL_NONLAZY=1 "/Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Test::WWW::Mechanize 1.48, with WWW::Mechanize 1.75, LWP 6.27, Test::More 1.302078, Perl 5.008005, /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/bin/perl
t/00-load.t ................ ok
t/autolint.t ............... ok
t/content_contains.t ....... ok
t/content_lacks.t .......... ok
t/follow_link_ok.t ......... ok
t/followable_links.t ....... ok
t/get_ok-parms.t ........... ok
t/get_ok.t ................. ok
# Test server http://127.0.0.1:22292 as PID 4854

#   Failed test 'GET http://127.0.0.1:22292/form.html'
#   at t/click_ok.t line 21.
# 503
# Service Unavailable
Can't call method "click" on an undefined value at /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/lib/site_perl/5.8.5/WWW/Mechanize.pm line 1742, <DATA> line 16.
# Looks like your test exited with 255 just after 2.
t/click_ok.t ............... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/3 subtests 
# Test server http://127.0.0.1:21937 as PID 4864

#   Failed test 'DELETE http://127.0.0.1:21937/scratch.html'
#   at t/delete_ok.t line 24.
# 503
# Service Unavailable

#   Failed test 'sanity check: we can load scratch.html'
#   at t/delete_ok.t line 25.

#   Failed test 'DELETEs existing URI and reports success'
#   at t/delete_ok.t line 29.
# STDOUT is:
# > not ok 1 - Try to DELETE scratch.html
# not:
# > ok 1 - Try to DELETE scratch.html
# as expected
# STDERR is:
# > #   Failed test 'Try to DELETE scratch.html'
# > #   at t/delete_ok.t line 28.
# > # 503
# > # Service Unavailable
# not:
# > 
# > 
# > 
# > 
# as expected

#   Failed test 'And the result should be true'
#   at t/delete_ok.t line 31.

#   Failed test 'DELETEs existing URI and reports success - default desc'
#   at t/delete_ok.t line 36.
# STDOUT is:
# > not ok 1 - DELETE http://127.0.0.1:21937/scratch.html
# not:
# > ok 1 - DELETE http://127.0.0.1:21937/scratch.html
# as expected
# STDERR is:
# > #   Failed test 'DELETE http://127.0.0.1:21937/scratch.html'
# > #   at t/delete_ok.t line 35.
# > # 503
# > # Service Unavailable
# not:
# > 
# > 
# > 
# > 
# as expected

#   Failed test 'DELETE http://127.0.0.1:21937/scratch.html'
#   at t/delete_ok.t line 43.
# 503
# Service Unavailable

#   Failed test 'sanity check: we can load scratch.html by old LWP::UA'
#   at t/delete_ok.t line 44.
t/delete_ok.t .............. 
Failed 7/9 subtests 
t/has_tag.t ................ ok
t/head_ok-parms.t .......... ok
t/head_ok.t ................ ok
t/html_lint_ok.t ........... ok
t/lacks_uncapped_inputs.t .. ok
t/link_content.t ........... ok
t/link_status.t ............ ok
t/new.t .................... ok
t/links_ok.t ............... ok
t/page_links_content.t ..... ok
t/page_links_ok.t .......... ok
t/pod.t .................... ok
t/pod-coverage.t ........... ok
# Test server http://127.0.0.1:25010 as PID 4912

#   Failed test 'GET http://127.0.0.1:25010/form.html'
#   at t/headers.t line 19.
# 503
# Service Unavailable

#   Failed test 'Fails to get nonexistent header and reports failure'
#   at t/headers.t line 38.
# STDOUT is:
# > ok 1 - Try to get a bad header
# not:
# > not ok 1 - Try to get a bad header
# as expected
# STDERR is:
# > 
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/headers\.t line 37.*\n?/
# as expected

#   Failed test 'And the result should be false'
#   at t/headers.t line 41.

#   Failed test 'Matches existing header and reports success'
#   at t/headers.t line 69.
# STDOUT is:
# > not ok 1 - Content-Type is "text/html"
# not:
# > ok 1 - Content-Type is "text/html"
# as expected
# STDERR is:
# > #   Failed test 'Content-Type is "text/html"'
# > #   at t/headers.t line 68.
# > #          got: 'text/html;charset=utf-8'
# > #     expected: 'text/html'
# not:
# > 
# > 
# > 
# > 
# as expected

#   Failed test 'And the result should be true'
#   at t/headers.t line 71.

#   Failed test 'Matches existing header and reports success - default desc'
#   at t/headers.t line 76.
# STDOUT is:
# > not ok 1 - Response has Content-Type header with value "text/html"
# not:
# > ok 1 - Response has Content-Type header with value "text/html"
# as expected
# STDERR is:
# > #   Failed test 'Response has Content-Type header with value "text/html"'
# > #   at t/headers.t line 75.
# > #          got: 'text/html;charset=utf-8'
# > #     expected: 'text/html'
# not:
# > 
# > 
# > 
# > 
# as expected

#   Failed test 'Fails to match header and reports failure'
#   at t/headers.t line 94.
# STDERR is:
# > #   Failed test 'Content-Type is "text/plain"'
# > #   at t/headers.t line 93.
# > #          got: 'text/html;charset=utf-8'
# > #     expected: 'text/plain'
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/headers\.t line 93.*\n?/
# > #          got: 'text/html'
# > #     expected: 'text/plain'
# > 
# as expected

#   Failed test 'Matches existing header and reports success - regex'
#   at t/headers.t line 101.
# STDOUT is:
# > not ok 1 - Content-Type matches /^text\/html$/
# not:
# > ok 1 - Content-Type matches /^text\/html$/
# as expected
# STDERR is:
# > #   Failed test 'Content-Type matches /^text\/html$/'
# > #   at t/headers.t line 100.
# > #                   'text/html;charset=utf-8'
# > #     doesn't match '(?-xism:^text/html$)'
# not:
# > 
# > 
# > 
# > 
# as expected

#   Failed test 'Fails to match header and reports failure - regex'
#   at t/headers.t line 111.
# STDERR is:
# > #   Failed test 'Content-Type matches /^text\/plain$/'
# > #   at t/headers.t line 110.
# > #                   'text/html;charset=utf-8'
# > #     doesn't match '(?-xism:^text/plain$)'
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/headers\.t line 110.*\n?/
# > #                   'text/html'
# > #     doesn't match '(?-xism:^text/plain$)'
# > 
# as expected
t/headers.t ................ 
Failed 9/26 subtests 
t/scrape_text_by_id.t ...... ok
t/stuff_inputs.t ........... ok
t/text_contains.t .......... ok
t/title_is.t ............... ok
# Test server http://127.0.0.1:27575 as PID 4938

#   Failed test 'PUT http://127.0.0.1:27575/scratch.html'
#   at t/put_ok.t line 25.
# 503
# Service Unavailable

#   Failed test 'sanity check: we can load scratch.html'
#   at t/put_ok.t line 26.

#   Failed test 'PUTs existing URI and reports success'
#   at t/put_ok.t line 30.
# STDOUT is:
# > not ok 1 - Try to PUT scratch.html
# not:
# > ok 1 - Try to PUT scratch.html
# as expected
# STDERR is:
# > #   Failed test 'Try to PUT scratch.html'
# > #   at t/put_ok.t line 29.
# > # 503
# > # Service Unavailable
# not:
# > 
# > 
# > 
# > 
# as expected

#   Failed test 'And the result should be true'
#   at t/put_ok.t line 32.

#   Failed test 'PUTs existing URI and reports success - default desc'
#   at t/put_ok.t line 37.
# STDOUT is:
# > not ok 1 - PUT http://127.0.0.1:27575/scratch.html
# not:
# > ok 1 - PUT http://127.0.0.1:27575/scratch.html
# as expected
# STDERR is:
# > #   Failed test 'PUT http://127.0.0.1:27575/scratch.html'
# > #   at t/put_ok.t line 36.
# > # 503
# > # Service Unavailable
# not:
# > 
# > 
# > 
# > 
# as expected
t/put_ok.t ................. 
Failed 5/7 subtests 
# Test server http://127.0.0.1:21240 as PID 4944

#   Failed test 'GET http://127.0.0.1:21240/form.html'
#   at t/submit_form_ok.t line 21.
# 503
# Service Unavailable
There is no form numbered 1 at /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/lib/site_perl/5.8.5/WWW/Mechanize.pm line 1935, <DATA> line 16.
# Looks like your test exited with 255 just after 2.
t/submit_form_ok.t ......... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/3 subtests 

Test Summary Report
-------------------
t/click_ok.t             (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/delete_ok.t            (Wstat: 0 Tests: 9 Failed: 7)
  Failed tests:  2-4, 6-9
t/headers.t              (Wstat: 0 Tests: 26 Failed: 9)
  Failed tests:  2, 7, 9, 17, 19-20, 24-26
t/put_ok.t               (Wstat: 0 Tests: 7 Failed: 5)
  Failed tests:  2-4, 6-7
t/submit_form_ok.t       (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
Files=30, Tests=285, 240 wallclock secs ( 0.11 usr  0.08 sys +  3.92 cusr  1.16 csys =  5.27 CPU)
Result: FAIL
Failed 5/30 test programs. 23/285 subtests failed.
make: *** [Makefile:886: test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module                    Need  Have    
    ------------------------- ----- --------
    Carp::Assert::More        0     1.14    
    HTML::TokeParser          0     3.69    
    HTML::TreeBuilder         0     5.03    
    HTTP::Server::Simple      0.42  0.51    
    HTTP::Server::Simple::CGI 0     0       
    LWP                       6.02  6.27    
    parent                    0     0.234   
    perl                      5.008 5.008005
    Test::Builder::Tester     1.09  1.302078
    Test::LongString          0.15  0.17    
    Test::More                0.96  1.302078
    URI::file                 0     4.21    
    WWW::Mechanize            1.68  1.75    

build_requires:

    Module                    Need  Have    
    ------------------------- ----- --------
    ExtUtils::MakeMaker       0     7.30    

configure_requires:

    Module                    Need  Have    
    ------------------------- ----- --------
    ExtUtils::MakeMaker       0     7.30    


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

Environment variables:

    HARNESS_OPTIONS = c:j3
    LANG = en_US.UTF-8
    LC_ALL = POSIX
    LDFLAGS = -L/Users/hornenj/openssl/lib
    PATH = /Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/bin:/Users/hornenj/bin:/sw/bin:/usr/bin:/bin:/usr/X11R6/bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 4774
    PERL5_CPAN_IS_RUNNING = 4774
    PERLBREW_BASHRC_VERSION = 0.80
    PERLBREW_HOME = /Users/hornenj/.perlbrew
    PERLBREW_MANPATH = /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/man
    PERLBREW_PATH = /Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/bin
    PERLBREW_PERL = perl-5.8.5
    PERLBREW_ROOT = /Users/hornenj/perl5/perlbrew
    PERLBREW_VERSION = 0.80
    SHELL = /bin/bash
    TERM = xterm-256color
    TMPDIR = /var/folders/pz/pd7y1qjs6s3cbk170cw50fjc000c61/T/

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

    $^X = /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/bin/perl
    $UID/$EUID = 12481 / 12481
    $GID = 14 223 241 37223 206 399 204 62 12 527 37191 5344 14
    $EGID = 14 223 241 37223 206 399 204 62 12 527 37191 5344 14

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.16    
    CPAN::Meta          2.150005
    Cwd                 3.2701  
    ExtUtils::CBuilder  0.280224
    ExtUtils::Command   7.30    
    ExtUtils::Install   2.06    
    ExtUtils::MakeMaker 7.30    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.30    
    File::Spec          3.2701  
    JSON                2.93    
    JSON::PP            2.27400 
    Module::Build       0.4224  
    Module::Signature   n/a     
    Parse::CPAN::Meta   1.4422  
    Test::Harness       3.36    
    Test::More          1.302078
    YAML                n/a     
    YAML::Syck          1.30    
    version             0.9912  


--

Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=darwin, osvers=12.5.0, archname=darwin-thread-multi-2level
    uname='darwin ncbimac2008.ncbi.nlm.nih.gov 12.5.0 darwin kernel version 12.5.0: sun sep 29 13:33:47 pdt 2013; root:xnu-2050.48.12~1release_x86_64 x86_64 '
    config_args='-de -Dprefix=/Users/hornenj/perl5/perlbrew/perls/perl-5.8.5 -Duseithreads -Dusemultiplicity -Accflags=-O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -fassociative-math -Acc=cc -Aeval:scriptdir=/Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/bin'
    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 ='-fno-common -DPERL_DARWIN -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -fassociative-math -fno-strict-aliasing -I/usr/local/include',
    optimize='-O3',
    cppflags='-fno-common -DPERL_DARWIN -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -fassociative-math -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.24)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -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 darwin
  Compiled at Sep 17 2014 08:40:39
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="4774"
    PERL5_CPAN_IS_RUNNING="4774"
    PERLBREW_BASHRC_VERSION="0.80"
    PERLBREW_HOME="/Users/hornenj/.perlbrew"
    PERLBREW_MANPATH="/Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/man"
    PERLBREW_PATH="/Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/bin"
    PERLBREW_PERL="perl-5.8.5"
    PERLBREW_ROOT="/Users/hornenj/perl5/perlbrew"
    PERLBREW_VERSION="0.80"
  @INC:
    /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/lib/5.8.5/darwin-thread-multi-2level
    /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/lib/5.8.5
    /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/lib/site_perl/5.8.5/darwin-thread-multi-2level
    /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/lib/site_perl/5.8.5
    /Users/hornenj/perl5/perlbrew/perls/perl-5.8.5/lib/site_perl
    .