Report for WWW-Patent-Page-0.109.0

Back
From: Ryan Whitworth
Subject: FAIL WWW-Patent-Page-0.109.0 v5.16.3 GNU/Linux
Date: 2013-09-04T19:01:50Z

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 Wanda B. Anon,

This is a computer-generated report for WWW-Patent-Page-0.109.0
on perl 5.16.3, created by CPAN-Reporter-1.2010.

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 './Build test':

# 
# perl version 5.016003 for linux
# Archive::Zip version 1.31_04
# Carp version 1.26
# Data::Dumper version 2.145
# English version 1.05
# File::Temp version 0.2301
# File::Spec version 3.40
# HTML::Form version 6.03
# HTML::HeadParser version 3.71
# HTML::TokeParser version 3.69
# HTTP::Headers version 6.05
# HTTP::Request::Common version 6.04
# HTTP::Response version 6.04
# IO::Scalar version 2.110
# LWP::UserAgent version 6.05
# PDF::API2 version 2.020
# Test::More version 0.98
# URI version 1.60
t/001_load.t .......... ok
t/014_pod.t ........... skipped: Author test only.  Set $ENV{TEST_AUTHOR} to "Wanda_B_Anon" to run.
t/015_pod_coverage.t .. skipped: Author test only.  Set $ENV{TEST_AUTHOR} to "Wanda_B_Anon" to run.
# Testing for network and proxy.  even passing this, a common reason for failing another test suite is network, network proxy, or network time out issues.  see http://cpantesters.perl.org/show/WWW-Patent-Page.html for failure credibility.
t/020_network.t ....... ok
t/035_defaults.t ...... ok
document id 'A100,002'
not parsed. at t/040_parse_doc_id.t line 192.
document id 'USA100,002'
not parsed. at t/040_parse_doc_id.t line 192.
Use of uninitialized value in uc at
	/root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 256 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    
    To help you figure out what was undefined, perl will try to tell you
    the name of the variable (if any) that was undefined.  In some cases
    it cannot do this, so it also tells you what operation you used the
    undefined value in.  Note, however, that perl optimizes your program
    anid the operation displayed in the warning may not necessarily appear
    literally in your program.  For example, "that $foo" is usually
    optimized into "that " . $foo, and the warning will refer to the
    concatenation (.) operator, even though there is no . in
    your program.
    
t/040_parse_doc_id.t .. ok
t/100_uspto.t ......... ok
server responded with code 500, internal server error, trying again for you in case they got their act together in the last few seconds at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 421.
	WWW::Patent::Page::request('WWW::Patent::Page=HASH(0xc29a768)', 'HTTP::Request=HASH(0xd6e0a68)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page/USPTO.pm line 420
	WWW::Patent::Page::USPTO::USPTO_pdf('WWW::Patent::Page=HASH(0xc29a768)', 'WWW::Patent::Page::Response=HASH(0xc885150)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 390
	WWW::Patent::Page::get_page('WWW::Patent::Page=HASH(0xc29a768)', 'US6123456', 'office', 'USPTO', 'format', 'pdf', 'page', 1) called at t/105_uspto_pdf.t line 13
server responded with code 500, internal server error, trying again for you in case they got their act together in the last few seconds at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 421.
	WWW::Patent::Page::request('WWW::Patent::Page=HASH(0xc29a768)', 'HTTP::Request=HASH(0xd6e0a68)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page/USPTO.pm line 420
	WWW::Patent::Page::USPTO::USPTO_pdf('WWW::Patent::Page=HASH(0xc29a768)', 'WWW::Patent::Page::Response=HASH(0xc885150)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 390
	WWW::Patent::Page::get_page('WWW::Patent::Page=HASH(0xc29a768)', 'US6123456', 'office', 'USPTO', 'format', 'pdf', 'page', 1) called at t/105_uspto_pdf.t line 13
Uncaught exception from user code:
	original url = "GET http://patimg2.uspto.govhttp://pdfpiw.uspto.gov/56/234/061/1.pdf
	User-Agent: WWW::Patent::Page/0.109.0
	
	", request that caused this response = "GET http://patimg2.uspto.govhttp://pdfpiw.uspto.gov/56/234/061/1.pdf
	User-Agent: WWW::Patent::Page/0.109.0
	
	", response code = "500" = "Can't connect to patimg2.uspto.govhttp::80 (Bad hostname)", response as string = "500 Can't connect to patimg2.uspto.govhttp::80 (Bad hostname)
	Content-Type: text/plain
	Client-Date: Wed, 04 Sep 2013 19:01:48 GMT
	Client-Warning: Internal response
	
	Can't connect to patimg2.uspto.govhttp::80 (Bad hostname)
	
	LWP::Protocol::http::Socket: Bad hostname 'patimg2.uspto.govhttp:' at /root/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/LWP/Protocol/http.pm line 51.
	" at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 424.
		WWW::Patent::Page::request('WWW::Patent::Page=HASH(0xc29a768)', 'HTTP::Request=HASH(0xd6e0a68)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page/USPTO.pm line 420
		WWW::Patent::Page::USPTO::USPTO_pdf('WWW::Patent::Page=HASH(0xc29a768)', 'WWW::Patent::Page::Response=HASH(0xc885150)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 390
		WWW::Patent::Page::get_page('WWW::Patent::Page=HASH(0xc29a768)', 'US6123456', 'office', 'USPTO', 'format', 'pdf', 'page', 1) called at t/105_uspto_pdf.t line 13
	WWW::Patent::Page::request('WWW::Patent::Page=HASH(0xc29a768)', 'HTTP::Request=HASH(0xd6e0a68)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page/USPTO.pm line 420
	WWW::Patent::Page::USPTO::USPTO_pdf('WWW::Patent::Page=HASH(0xc29a768)', 'WWW::Patent::Page::Response=HASH(0xc885150)') called at /root/.cpan/build/WWW-Patent-Page-0.109.0-K35kHL/blib/lib/WWW/Patent/Page.pm line 390
	WWW::Patent::Page::get_page('WWW::Patent::Page=HASH(0xc29a768)', 'US6123456', 'office', 'USPTO', 'format', 'pdf', 'page', 1) called at t/105_uspto_pdf.t line 13
# Looks like you planned 21 tests but ran 2.
# Looks like your test exited with 22 just after 2.
t/105_uspto_pdf.t ..... 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 19/21 subtests 

Test Summary Report
-------------------
t/105_uspto_pdf.t   (Wstat: 5632 Tests: 2 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 21 tests but ran 2.
Files=8, Tests=245, 25 wallclock secs ( 0.09 usr  0.02 sys +  1.56 cusr  0.24 csys =  1.91 CPU)
Result: FAIL
Failed 1/8 test programs. 0/245 subtests failed.

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

Prerequisite modules loaded:

requires:

    Module                Need Have   
    --------------------- ---- -------
    Archive::Zip          0    1.31_04
    base                  0    2.18   
    Carp                  0    1.26   
    Data::Dumper          0    2.145  
    diagnostics           0    1.28   
    English               0    1.05   
    File::Spec            0    3.40   
    File::Temp            0.17 0.2301 
    HTML::Form            0    6.03   
    HTML::HeadParser      0    3.71   
    HTML::TokeParser      0    3.69   
    HTTP::Headers         0    6.05   
    HTTP::Request::Common 0    6.04   
    HTTP::Response        0    6.04   
    IO::Scalar            0    2.110  
    LWP::UserAgent        0    6.05   
    PDF::API2             0.53 2.020  
    strict                0    1.07   
    subs                  0    1.01   
    Test::More            0    0.98   
    URI                   0    1.60   
    vars                  0    1.02   
    version               0    0.99   
    warnings              0    1.13   

configure_requires:

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


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    PATH = /root/perl5/perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.16.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 6234
    PERL5_CPAN_IS_RUNNING = 6234
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 901,6234
    PERLBREW_BASHRC_VERSION = 0.66
    PERLBREW_HOME = /root/.perlbrew
    PERLBREW_MANPATH = /root/perl5/perlbrew/perls/perl-5.16.3/man
    PERLBREW_PATH = /root/perl5/perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.16.3/bin
    PERLBREW_PERL = perl-5.16.3
    PERLBREW_ROOT = /root/perl5/perlbrew
    PERLBREW_VERSION = 0.66
    PERL_CR_SMOKER_CURRENT = WWW-Patent-Page-0.109.0
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = rxvt-unicode

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

    $^X = /root/perl5/perlbrew/perls/perl-5.16.3/bin/perl
    $UID/$EUID = 0 / 0
    $GID = 0 0 1 2 3 4 6 10
    $EGID = 0 0 1 2 3 4 6 10

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.00    
    CPAN::Meta          2.120351
    Cwd                 3.40    
    ExtUtils::CBuilder  0.280206
    ExtUtils::Command   1.17    
    ExtUtils::Install   1.58    
    ExtUtils::MakeMaker 6.74    
    ExtUtils::Manifest  1.61    
    ExtUtils::ParseXS   3.21    
    File::Spec          3.40    
    JSON                2.59    
    JSON::PP            2.27202 
    Module::Build       0.4007  
    Module::Signature   n/a     
    Parse::CPAN::Meta   1.4405  
    Test::Harness       3.28    
    Test::More          0.98    
    YAML                0.84    
    YAML::Syck          1.27    
    version             0.99    


--

Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
   
  Platform:
    osname=linux, osvers=2.6.18-348.16.1.el5, archname=x86_64-linux
    uname='linux localhost.localdomain 2.6.18-348.16.1.el5 #1 smp wed aug 21 04:00:25 edt 2013 x86_64 x86_64 x86_64 gnulinux '
    config_args='-de -Dprefix=/root/perl5/perlbrew/perls/perl-5.16.3 -Aeval:scriptdir=/root/perl5/perlbrew/perls/perl-5.16.3/bin'
    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.1.2 20080704 (Red Hat 4.1.2-54)', 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 /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.5'
  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: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV 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 Aug 26 2013 11:51:42
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="6234"
    PERL5_CPAN_IS_RUNNING="6234"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="901,6234"
    PERLBREW_BASHRC_VERSION="0.66"
    PERLBREW_HOME="/root/.perlbrew"
    PERLBREW_MANPATH="/root/perl5/perlbrew/perls/perl-5.16.3/man"
    PERLBREW_PATH="/root/perl5/perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.16.3/bin"
    PERLBREW_PERL="perl-5.16.3"
    PERLBREW_ROOT="/root/perl5/perlbrew"
    PERLBREW_VERSION="0.66"
    PERL_CR_SMOKER_CURRENT="WWW-Patent-Page-0.109.0"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /root/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux
    /root/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3
    /root/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux
    /root/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3
    .