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

Status
Fail
From
Nigel Horne
Dist
Test-WWW-Mechanize v1.48
Platform
Perl 5 v5.27.8 darwin-thread-multi-2level
Date
2018-03-07 14:31:46
ID
436a04b0-2214-11e8-91bb-7a21c0fa0787
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.27.8, 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.27.8-sanitize-thread/bin/perl5.27.8" "-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.87, LWP 6.33, Test::More 1.302120, Perl 5.027008, /Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/bin/perl5.27.8
t/00-load.t ................ ok
t/autolint.t ............... skipped: HTML::Lint 2.20 is not installed, cannot test autolint
# Test server http://127.0.0.1:37464 as PID 4442

#   Failed test 'GET http://127.0.0.1:37464/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.27.8-sanitize-thread/lib/site_perl/5.27.8/WWW/Mechanize.pm line 934.
# 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 
t/content_lacks.t .......... ok
t/content_contains.t ....... ok
# Test server http://127.0.0.1:39726 as PID 4577

#   Failed test 'DELETE http://127.0.0.1:39726/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:39726/scratch.html
# not:
# > ok 1 - DELETE http://127.0.0.1:39726/scratch.html
# as expected
# STDERR is:
# > #   Failed test 'DELETE http://127.0.0.1:39726/scratch.html'
# > #   at t/delete_ok.t line 35.
# > # 503
# > # Service Unavailable
# not:
# > 
# > 
# > 
# > 
# as expected

#   Failed test 'DELETE http://127.0.0.1:39726/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/follow_link_ok.t ......... ok
t/followable_links.t ....... ok
t/get_ok-parms.t ........... ok
t/get_ok.t ................. ok
t/has_tag.t ................ ok
t/head_ok-parms.t .......... ok
t/html_lint_ok.t ........... skipped: HTML::Lint is not installed, cannot test autolint
t/head_ok.t ................ ok
# Test server http://127.0.0.1:37166 as PID 4596

#   Failed test 'GET http://127.0.0.1:37166/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 '(?^:^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 '(?^:^text/plain$)'
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/headers\.t line 110.*\n?/
# > #                   'text/html'
# > #     doesn't match '(?^:^text/plain$)'
# > 
# as expected
t/headers.t ................ 
Failed 9/26 subtests 
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/pod-coverage.t ........... ok
t/pod.t .................... ok
t/page_links_ok.t .......... ok
# Test server http://127.0.0.1:37927 as PID 4620

#   Failed test 'PUT http://127.0.0.1:37927/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:37927/scratch.html
# not:
# > ok 1 - PUT http://127.0.0.1:37927/scratch.html
# as expected
# STDERR is:
# > #   Failed test 'PUT http://127.0.0.1:37927/scratch.html'
# > #   at t/put_ok.t line 36.
# > # 503
# > # Service Unavailable
# not:
# > 
# > 
# > 
# > 
# as expected
t/put_ok.t ................. 
Failed 5/7 subtests 
t/stuff_inputs.t ........... ok
t/scrape_text_by_id.t ...... ok
# Test server http://127.0.0.1:39092 as PID 4627
t/title_is.t ............... ok

#   Failed test 'GET http://127.0.0.1:39092/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.27.8-sanitize-thread/lib/site_perl/5.27.8/WWW/Mechanize.pm line 1027.
# 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 
t/text_contains.t .......... ok

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=255, 815 wallclock secs ( 0.91 usr  9.66 sys + 59.11 cusr 34.35 csys = 104.03 CPU)
Result: FAIL
Failed 5/30 test programs. 23/255 subtests failed.
make: *** [Makefile:886: test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module                    Need  Have    
    ------------------------- ----- --------
    Carp::Assert::More        0     1.16    
    HTML::TokeParser          0     3.69    
    HTML::TreeBuilder         0     5.07    
    HTTP::Server::Simple      0.42  0.52    
    HTTP::Server::Simple::CGI 0     0       
    LWP                       6.02  6.33    
    parent                    0     0.236   
    perl                      5.008 5.027008
    Test::Builder::Tester     1.09  1.302120
    Test::LongString          0.15  0.17    
    Test::More                0.96  1.302120
    URI::file                 0     4.21    
    WWW::Mechanize            1.68  1.87    

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
    PATH = /Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/bin:/Users/hornenj/bin:/usr/bin:/bin:/usr/X11R6/bin:/sw/bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 88462
    PERL5_CPAN_IS_RUNNING = 88462
    PERLBREW_HOME = /Users/hornenj/.perlbrew
    PERLBREW_MANPATH = /Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/man
    PERLBREW_PATH = /Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/bin
    PERLBREW_PERL = perl-5.27.8-sanitize-thread
    PERLBREW_ROOT = /Users/hornenj/perl5/perlbrew
    PERLBREW_SHELLRC_VERSION = 0.82
    PERLBREW_VERSION = 0.82
    PERL_USE_UNSAFE_INC = 1
    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.27.8-sanitize-thread/bin/perl5.27.8
    $UID/$EUID = 12481 / 12481
    $GID = 14 14 5344 37191 527 12 62 98 204 399 206 37223 241 223 100
    $EGID = 14 14 5344 37191 527 12 62 98 204 399 206 37223 241 223 100

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.20    
    CPAN::Meta          2.150010
    Cwd                 3.72    
    ExtUtils::CBuilder  0.280230
    ExtUtils::Command   7.30    
    ExtUtils::Install   2.14    
    ExtUtils::MakeMaker 7.30    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.36    
    File::Spec          3.72    
    JSON                n/a     
    JSON::PP            2.97001 
    Module::Build       0.4224  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.39    
    Test::More          1.302120
    YAML                n/a     
    YAML::Syck          1.30    
    version             0.9918  


--

Summary of my perl5 (revision 5 version 27 subversion 8) configuration:
   
  Platform:
    osname=darwin
    osvers=16.7.0
    archname=darwin-thread-multi-2level
    uname='darwin ncbimac2024 16.7.0 darwin kernel version 16.7.0: thu jan 11 22:59:40 pst 2018; root:xnu-3789.73.8~1release_x86_64 x86_64 '
    config_args='-de -Dprefix=/Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread -Dusedevel -Dcc=cc -Dusethreads -Dusedevel -Accflags=-fsanitize=thread -g -O2 -Aldflags=-fsanitize=thread -g -Alddflags=-shared -O2 -L/usr/local/lib -fstack-protector-string -fsanitize=thread -g -Aeval:scriptdir=/Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/bin'
    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 ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fsanitize=thread -g -O2 -fno-strict-aliasing -pipe -fstack-protector-strong'
    optimize='-O3'
    cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fsanitize=thread -g -O2 -fno-strict-aliasing -pipe -fstack-protector-strong'
    ccversion=''
    gccversion='4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc'
    ldflags =' -fsanitize=thread -g -fstack-protector-strong -L/usr/local/lib'
    libpth=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib /usr/local/lib
    libs=-lpthread -ldbm -ldl -lm -lutil -lc
    perllibs=-lpthread -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 -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    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_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
  Locally applied patches:
    Devel::PatchPerl 1.30
  Built under darwin
  Compiled at Mar  5 2018 08:26:50
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="88462"
    PERL5_CPAN_IS_RUNNING="88462"
    PERLBREW_HOME="/Users/hornenj/.perlbrew"
    PERLBREW_MANPATH="/Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/man"
    PERLBREW_PATH="/Users/hornenj/perl5/perlbrew/bin:/Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/bin"
    PERLBREW_PERL="perl-5.27.8-sanitize-thread"
    PERLBREW_ROOT="/Users/hornenj/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.82"
    PERLBREW_VERSION="0.82"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/lib/site_perl/5.27.8/darwin-thread-multi-2level
    /Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/lib/site_perl/5.27.8
    /Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/lib/5.27.8/darwin-thread-multi-2level
    /Users/hornenj/perl5/perlbrew/perls/perl-5.27.8-sanitize-thread/lib/5.27.8
    .