Test-WWW-Mechanize v1.48 Perl 5 v5.27.9 x86_64-linux

Status
Fail
From
Nigel Horne
Dist
Test-WWW-Mechanize v1.48
Platform
Perl 5 v5.27.9 x86_64-linux
Date
2018-03-29 19:29:18
ID
798d0572-3387-11e8-91ce-d3e3deac0b3f
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.9, 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 '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/home/njh/perl5/perlbrew/perls/perl-5.27.9/bin/perl5.27.9" "-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.88, LWP 6.33, Test::More 1.302133, Perl 5.027009, /home/njh/perl5/perlbrew/perls/perl-5.27.9/bin/perl5.27.9
t/00-load.t ................ ok
t/autolint.t ............... skipped: HTML::Lint 2.20 is not installed, cannot test autolint
t/get_ok-parms.t ........... ok
t/content_lacks.t .......... ok
t/content_contains.t ....... ok
t/follow_link_ok.t ......... ok
t/followable_links.t ....... ok
t/get_ok.t ................. ok
t/head_ok-parms.t .......... ok
t/has_tag.t ................ ok
t/html_lint_ok.t ........... skipped: HTML::Lint is not installed, cannot test autolint
t/head_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/pod.t .................... ok
t/page_links_content.t ..... ok
t/pod-coverage.t ........... ok
t/page_links_ok.t .......... ok
t/stuff_inputs.t ........... ok
t/scrape_text_by_id.t ...... ok
t/title_is.t ............... ok
t/text_contains.t .......... ok
# Test server http://127.0.0.1:27140 as PID 6861
# Test server http://127.0.0.1:20886 as PID 6862

#   Failed test 'GET http://127.0.0.1:27140/form.html'
#   at t/click_ok.t line 21.
# 503
# Service Unavailable
Can't call method "click" on an undefined value at /home/njh/perl5/perlbrew/perls/perl-5.27.9/lib/site_perl/5.27.9/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 
# Test server http://127.0.0.1:29459 as PID 6909

#   Failed test 'GET http://127.0.0.1:29459/form.html'
#   at t/submit_form_ok.t line 21.
# 503
# Service Unavailable
There is no form numbered 1 at /home/njh/perl5/perlbrew/perls/perl-5.27.9/lib/site_perl/5.27.9/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 
# Test server http://127.0.0.1:22339 as PID 6905

#   Failed test 'PUT http://127.0.0.1:22339/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:22339/scratch.html
# not:
# > ok 1 - PUT http://127.0.0.1:22339/scratch.html
# as expected
# STDERR is:
# > #   Failed test 'PUT http://127.0.0.1:22339/scratch.html'
# > #   at t/put_ok.t line 36.
# > # 503
# > # Service Unavailable
# not:
# > 
# > 
# > 
# > 
# as expected
t/put_ok.t ................. 
Failed 5/7 subtests 

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

#   Failed test 'DELETE http://127.0.0.1:20886/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 
# Test server http://127.0.0.1:28303 as PID 6883

#   Failed test 'GET http://127.0.0.1:28303/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 

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/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.
t/put_ok.t               (Wstat: 0 Tests: 7 Failed: 5)
  Failed tests:  2-4, 6-7
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
Files=30, Tests=255, 2821 wallclock secs ( 0.08 usr  0.02 sys +  4.07 cusr  0.45 csys =  4.62 CPU)
Result: FAIL
Failed 5/30 test programs. 23/255 subtests failed.
Makefile:887: recipe for target 'test_dynamic' failed
make: *** [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.027009
    Test::Builder::Tester     1.09  1.302133
    Test::LongString          0.15  0.17    
    Test::More                0.96  1.302133
    URI::file                 0     4.21    
    WWW::Mechanize            1.68  1.88    

build_requires:

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

configure_requires:

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


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

Environment variables:

    HARNESS_OPTIONS = j10:c
    LANG = en_GB.UTF-8
    LD_LIBRARY_PATH = /usr/local/lib::
    PATH = /home/njh/perl5/perlbrew/bin:/home/njh/perl5/perlbrew/perls/perl-5.27.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/njh/bin:/sbin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 19290
    PERL5_CPAN_IS_RUNNING = 19290
    PERLBREW_HOME = /home/njh/.perlbrew
    PERLBREW_MANPATH = /home/njh/perl5/perlbrew/perls/perl-5.27.9/man
    PERLBREW_PATH = /home/njh/perl5/perlbrew/bin:/home/njh/perl5/perlbrew/perls/perl-5.27.9/bin
    PERLBREW_PERL = perl-5.27.9
    PERLBREW_ROOT = /home/njh/perl5/perlbrew
    PERLBREW_SHELLRC_VERSION = 0.82
    PERLBREW_VERSION = 0.82
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/bash
    TERM = xterm-256color
    TMPDIR = /tmp

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

    $^X = /home/njh/perl5/perlbrew/perls/perl-5.27.9/bin/perl5.27.9
    $UID/$EUID = 1000 / 1000
    $GID = 1000 4 24 25 29 30 44 46 107 112 118 1000
    $EGID = 1000 4 24 25 29 30 44 46 107 112 118 1000

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.20    
    CPAN::Meta          2.150010
    Cwd                 3.74    
    ExtUtils::CBuilder  0.280230
    ExtUtils::Command   7.34    
    ExtUtils::Install   2.14    
    ExtUtils::MakeMaker 7.34    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.38    
    File::Spec          3.74    
    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.302133
    YAML                1.24    
    YAML::Syck          1.30    
    version             0.9918  


--

Summary of my perl5 (revision 5 version 27 subversion 9) configuration:
   
  Platform:
    osname=linux
    osvers=4.14.0-3-amd64
    archname=x86_64-linux
    uname='linux microcenter 4.14.0-3-amd64 #1 smp debian 4.14.17-1 (2018-02-14) x86_64 gnulinux '
    config_args='-de -Dprefix=/home/njh/perl5/perlbrew/perls/perl-5.27.9 -Dusedevel -Aeval:scriptdir=/home/njh/perl5/perlbrew/perls/perl-5.27.9/bin'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='7.3.0'
    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='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.27.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.27'
  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-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    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_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under linux
  Compiled at Mar 29 2018 06:34:34
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="19290"
    PERL5_CPAN_IS_RUNNING="19290"
    PERLBREW_HOME="/home/njh/.perlbrew"
    PERLBREW_MANPATH="/home/njh/perl5/perlbrew/perls/perl-5.27.9/man"
    PERLBREW_PATH="/home/njh/perl5/perlbrew/bin:/home/njh/perl5/perlbrew/perls/perl-5.27.9/bin"
    PERLBREW_PERL="perl-5.27.9"
    PERLBREW_ROOT="/home/njh/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.82"
    PERLBREW_VERSION="0.82"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/njh/perl5/perlbrew/perls/perl-5.27.9/lib/site_perl/5.27.9/x86_64-linux
    /home/njh/perl5/perlbrew/perls/perl-5.27.9/lib/site_perl/5.27.9
    /home/njh/perl5/perlbrew/perls/perl-5.27.9/lib/5.27.9/x86_64-linux
    /home/njh/perl5/perlbrew/perls/perl-5.27.9/lib/5.27.9
    .