Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 3799
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: Michael-W.J.West [...] usa.dupont.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.59
Fixed in: 0.40



Subject: Mech 0.59 fails tests with perl 5.8.0 on cygwin
CPAN does not get through the tests for Mech:0.59 with perl 5.8.0 on cygwin on my WIN2000 laptop failing at test 2 of click.t, and hanging at test 4. As an aside, it worked as Mech 0.40 with perl 5.6.1 on my cygwin at that time. I suggest that the proxy/local server in the click.t my $server = Test::HTTP::LocalServer->spawn(); may not be working. Is it possible to test that the LocalServer is behaving as expected? is there an appropriate "or die" test for "$server" before it is relied upon for tests? As an aside, will the tests recognize that I use a proxy defined in the environment http_proxy=http://my.proxy.net/ ? Will that interfere with the LocalServer? ? There is some information below my signature that may be helpful. Also, Mech 0.59 thinks I am not directly connected to the internet, whereas cpan thinks I am, and I think I am. I am happy to work with you to run new versions of tests. Can you please remind me how to decompress a .bz2 file? Thanks. Regards, Mike West ----------------------------------------------------------- Michael W. J. West "Mike" ECT/IPG DuPont Electronic & Communication Technologies/ Intellectual Property Group DuPont Barley Mill Plaza P30-1234 Wilmington, DE 19880-0030 work (302) 892-8822 fax 892-8274 cell 559-3642 Michael-W.J.West@usa.dupont.com <-w/h-> westmj@spamcop.net _DATA_ Removing previously used /lib/perl5/5.8.0/.cpan/build/WWW-Mechanize-0.59 CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-0.59.tar.gz It seems that you are not directly connected to the Internet. Some of the WWW::Mechanize tests interact with websites such as Google, in addition to its own internal tests. Do you want to skip these tests? [y] Do you want to install the mech-dump utility? [y] It looks like you don't have IO::Socket::SSL installed. You will not be able to process https:// URLs correctly. Checking if your kit is complete... Looks good Writing Makefile for WWW::Mechanize cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod cp lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Link.pm cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm cp script/mech-dump blib/script/mech-dump /usr/bin/cygperl.exe "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mech-dum p /usr/bin/make -- OK Running make test /usr/bin/cygperl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load.......ok t/98.rules......ok t/99.pod........ok t/add_header....ok t/area_link.....ok t/carp..........skipped all skipped: Test::Warn required to test _carp t/click.........ok 2/8# Failed test (t/click.t at line 18) t/click.........ok 3/8 t/click.........NOK 4 <CTRL C> t/click.........NOK 4make: *** [test_dynamic] Interrupt /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Show quoted text
cpan> cpan> # Looks like you planned 8 tests but only ran 4.
# Looks like your test died just after 4. $ cygperl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=cygwin, osvers=1.3.22(0.7832), archname=cygwin-multi-64int uname='cygwin_nt-5.0 ismene 1.3.22(0.7832) 2003-03-18 09:20 i586 unknown unk nown cygwin ' config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O3 -Dman3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=defi ne useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' ccversion='', gccversion='3.2 20020927 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee ksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -lcrypt -lutil -lgdbm_compat perllibs=-lcrypt -lutil -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICI T_CONTEXT Built under cygwin Compiled at Aug 29 2003 12:06:59 %ENV: CYGWIN="" @INC: /usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .
Starting in 0.73_01, the http_proxy and HTTP_PROXY environment variables get deleted during the tests that access the dummy local server. This should let your tests pass.