Skip Menu |

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

Report information
The Basics
Id: 3335
Status: resolved
Priority: 0/
Queue: WWW-Yahoo-Groups

People
Owner: spoon [...] cpan.org
Requestors: merlyn [...] stonehenge.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.86
Fixed in: 1.87



To: sppon [...] dellah.org
Subject: WWW::Yahoo::Groups 1.86 is broken
From: merlyn [...] stonehenge.com (Randal L. Schwartz)
Date: 25 Aug 2003 23:52:44 -0700
Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00load.........ok t/01login........ok t/02badparam.....NOK 10# Failed test (t/02badparam.t at line 64) t/02badparam.....NOK 16# Failed test (t/02badparam.t at line 64) t/02badparam.....ok 32/32# Looks like you failed 2 tests of 32. t/02badparam.....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 10, 16 Failed 2/32 tests, 93.75% okay t/03adult........ok t/03message......ok t/04rss..........ok t/05lists........ok 5/7# [ craptestgroupforadulstuff eGroups-Moderator-News www_yaho_t ] t/05lists........ok t/06lastmsgid....ok t/07sleep........ok 4/7# autosleep(): 1061880128 - 1061880117 = 11 t/07sleep........ok 7/7# No sleep(): 1061880140 - 1061880128 = 12 t/07sleep........ok t/08logout.......ok t/09badfetch.....ok t/10agent........ok t/12decode.......ok 5/11Unknown unmangling entry: (139, 7) t/12decode.......ok t/99pod..........ok -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
[merlyn@stonehenge.com - Tue Aug 26 03:10:40 2003]: Show quoted text
> Running make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00load.........ok > t/01login........ok > t/02badparam.....NOK 10# Failed test (t/02badparam.t at line 64) > t/02badparam.....NOK 16# Failed test (t/02badparam.t at line 64) > t/02badparam.....ok 32/32# Looks like you failed 2 tests of 32. > t/02badparam.....dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 10, 16 > Failed 2/32 tests, 93.75% okay > t/03adult........ok
[...] Heyo, I don't suppose you could supply a perl -V and a 'make test TEST_VERBOSE=1'? Precise versions of the modules listed in the 'requires' section of the META.yml would be appreciated too, if you feel like it. cheers, -- Iain.
From: merlyn [...] stonehenge.com
[SPOON - Tue Aug 26 03:20:13 2003]: Show quoted text
> [merlyn@stonehenge.com - Tue Aug 26 03:10:40 2003]: >
> > Running make test > > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > > t/00load.........ok > > t/01login........ok > > t/02badparam.....NOK 10# Failed test (t/02badparam.t at line 64) > > t/02badparam.....NOK 16# Failed test (t/02badparam.t at line 64) > > t/02badparam.....ok 32/32# Looks like you failed 2 tests of 32. > > t/02badparam.....dubious > > Test returned status 2 (wstat 512, 0x200) > > DIED. FAILED tests 10, 16 > > Failed 2/32 tests, 93.75% okay > > t/03adult........ok
> [...] > > Heyo, > > I don't suppose you could supply a perl -V and > a 'make test TEST_VERBOSE=1'? > > Precise versions of the modules listed in the 'requires' > section of the META.yml would be appreciated too, if you > feel like it. > > > cheers,
All versions are updated to the latest CPAN thing, except for WWW::Yahoo::Groups. I've attached my test verbose and perl -V
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00load.........1..1 ok 1 - use WWW::Yahoo::Groups; ok t/01login........1..4 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - Login failed: Nope. That's not a good login. ok 4 - Fetch failed: Cannot fetch a message without a list being specified. ok t/02badparam.....1..32 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - autosleep_fractional: Parameter \#1 to WWW::Yahoo::Groups::Mechanize::autosleep did not pass the 'is integer' callback not ok 4 - autosleep_string: Failed, but not the right way. # Failed test (t/02badparam.t at line 64) ok 5 - autosleep_subzero: Parameter \#1 to WWW::Yahoo::Groups::Mechanize::autosleep did not pass the 'not negative' callback ok 6 - autosleep_toomany: 2 parameters were passed to WWW::Yahoo::Groups::Mechanize::autosleep but 1 was expected ok 7 - autosleep_undef: Parameter \#1 to WWW::Yahoo::Groups::Mechanize::autosleep was an 'undef', which is not one of the allowed types: scalar ok 8 - fetch_message_fractional: Parameter \#1 to WWW::Yahoo::Groups::fetch_message did not pass the 'is integer' callback ok 9 - fetch_message_insufficient: 0 parameters were passed to WWW::Yahoo::Groups::fetch_message but 1 was expected not ok 10 - fetch_message_string: Failed, but not the right way. # Failed test (t/02badparam.t at line 64) ok 11 - fetch_message_toomany: 2 parameters were passed to WWW::Yahoo::Groups::fetch_message but 1 was expected ok 12 - fetch_message_undef: Parameter \#1 to WWW::Yahoo::Groups::fetch_message was an 'undef', which is not one of the allowed types: scalar ok 13 - fetch_message_zero: Parameter \#1 to WWW::Yahoo::Groups::fetch_message did not pass the 'greater than zero' callback ok 14 - fetch_rss_fractional: Parameter \#1 to WWW::Yahoo::Groups::fetch_rss did not pass the 'is integer' callback ok 15 - fetch_rss_hundred_one: Parameter \#1 to WWW::Yahoo::Groups::fetch_rss did not pass the 'less than or equal to one hundred' callback not ok 16 - fetch_rss_string: Failed, but not the right way. # Failed test (t/02badparam.t at line 64) ok 17 - fetch_rss_toomany: 2 parameters were passed to WWW::Yahoo::Groups::fetch_rss but 0 - 1 was expected ok 18 - fetch_rss_undef: Parameter \#1 to WWW::Yahoo::Groups::fetch_rss was an 'undef', which is not one of the allowed types: scalar ok 19 - fetch_rss_zero: Parameter \#1 to WWW::Yahoo::Groups::fetch_rss did not pass the 'greater than zero' callback ok 20 - first_msg_id_toomany: 1 parameter was passed to WWW::Yahoo::Groups::first_msg_id but 0 were expected ok 21 - last_msg_id_toomany: 1 parameter was passed to WWW::Yahoo::Groups::last_msg_id but 0 were expected ok 22 - list_badchars: Parameter \#1 to WWW::Yahoo::Groups::list did not pass the 'appropriate characters' callback ok 23 - list_blank: Parameter \#1 to WWW::Yahoo::Groups::list did not pass the 'defined and of length' callback ok 24 - list_toomany: 2 parameters were passed to WWW::Yahoo::Groups::list but 1 was expected ok 25 - lists_toomany: 1 parameter was passed to WWW::Yahoo::Groups::lists but 0 were expected ok 26 - loggedin_toomany: 1 parameter was passed to WWW::Yahoo::Groups::loggedin but 0 were expected ok 27 - login_arrayref: Parameter \#1 to WWW::Yahoo::Groups::login was an 'arrayref', which is not one of the allowed types: scalar ok 28 - login_insufficient: 1 parameter was passed to WWW::Yahoo::Groups::login but 2 were expected ok 29 - login_named: 4 parameters were passed to WWW::Yahoo::Groups::login but 2 were expected ok 30 - login_named_dash: 4 parameters were passed to WWW::Yahoo::Groups::login but 2 were expected ok 31 - login_toomany: 3 parameters were passed to WWW::Yahoo::Groups::login but 2 were expected ok 32 - logout_toomany: 1 parameter was passed to WWW::Yahoo::Groups::logout but 0 were expected # Looks like you failed 3 tests of 32. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 4, 10, 16 Failed 3/32 tests, 90.62% okay t/03adult........1..8 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - Did not fail setting list. ok 4 - List set correctly. ok 5 - fetch 1 succeeded. ok 6 - Retrieved message 1 correctly ok 7 - fetch 2 failed Message 4 is not there. ok 8 - All done ok t/03message......1..10 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - Did not fail setting list. ok 4 - List set correctly. ok 5 - fetch 1 succeeded. ok 6 - Retrieved message 1 correctly ok 7 - fetch 2 succeeded. ok 8 - Retrieved message 2 correctly ok 9 - fetch 3 failed Message 242390 is not there. ok 10 - All done ok t/04rss..........1..23 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - Did not fail setting list. ok 4 - List set correctly. ok 5 - RSS fetch succeeded. ok 6 - There are indeed only two items. ok 7 - Did not fail setting list. ok 8 - List set correctly. ok 9 - RSS fetch failed Thought we were getting RSS. Got something else. ok 10 - Did not fail setting list. ok 11 - List set correctly. ok 12 - RSS fetch succeeded. ok 13 - There should be 30 items by default. ok 14 - RSS fetch succeeded. ok 15 - There should be 1 items, like we asked. (1) ok 16 - RSS fetch succeeded. ok 17 - There should be 29 items, like we asked. (29) ok 18 - RSS fetch succeeded. ok 19 - There should be 31 items, like we asked. (31) ok 20 - RSS fetch succeeded. ok 21 - There should be 99 items, like we asked. (99) ok 22 - RSS fetch succeeded. ok 23 - There should be 100 items, like we asked. (100) ok t/05lists........1..7 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - We are not logged in ok 4 - One cannot fetch lists while not logged in. ok 5 - We are logged in # [ craptestgroupforadulstuff eGroups-Moderator-News www_yaho_t ] ok 6 - Received list of groups ok 7 - List count is accurate (3) ok t/06lastmsgid....1..16 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - We are logged in ok 4 - Cannot determine archive extent without a list being specified. ok 5 - Did not fail setting list. ok 6 - List set correctly. ok 7 - first_msg_id(): Fetched a response ok 8 - Message count is accurate (1) ok 9 - Did not fail setting list. ok 10 - List set correctly. ok 11 - last_msg_id(): Fetched a response ok 12 - Message count is accurate (2) ok 13 - Did not fail setting list. ok 14 - List set correctly. ok 15 - last_msg_id(): Fetch a response ok 16 - Message count is probably accurate (72017) ok t/07sleep........1..7 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - autosleep() returns what was given ok 4 - We are logged in # autosleep(): 1061883684 - 1061883669 = 15 ok 5 - Either sleep or had a slow network connection. ok 6 - The object isa WWW::Yahoo::Groups ok 7 - We are logged in # No sleep(): 1061883698 - 1061883684 = 14 ok t/08logout.......1..11 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - Can not log out if not logged in. ok 4 - Logged in ok 5 - Am logged in ok 6 - Logged out ok 7 - Am logged out ok 8 - Logged in ok 9 - Am logged in ok 10 - Logged out ok 11 - Am logged out ok t/09badfetch.....1..3 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - Correctly given a fatal BadFetch. ok t/10agent........1..7 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - The object isa WWW::Mechanize ok 4 - Same object as before ok 5 - The object isa WWW::Yahoo::Groups ok 6 - Same object as before ok 7 - The object isa Fnar ok t/12decode.......1..11 ok 1 - use WWW::Yahoo::Groups; ok 2 - The object isa WWW::Yahoo::Groups ok 3 - Decode to 20030801122331.SQHR4342.fep08-svc.ttys.com@localhost ok 4 - Decode to ict@eh.org ok 5 - Decode to iain-yg@dellah.org Unknown unmangling entry: (139, 7) ok 6 - Correctly failed parse ok 7 - Should not decode to ict@eh.org ok 8 - List set correctly. ok 9 - Fetch 71674 succeeded. ok 10 - Decoded message ok 11 - All done ok t/99pod..........1..4 ok 1 - POD test for blib/lib/WWW/Yahoo/Groups.pm ok 2 - POD test for blib/lib/WWW/Yahoo/Groups/Utils.pm ok 3 - POD test for blib/lib/WWW/Yahoo/Groups/Mechanize.pm ok 4 - POD test for blib/lib/WWW/Yahoo/Groups/Errors.pm ok Failed 1/14 test scripts, 92.86% okay. 3/144 subtests failed, 97.92% okay. Failed Test Stat Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/02badparam.t 3 768 32 3 9.38% 4 10 16 make: *** [test_dynamic] Error 45 Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration: Platform: osname=darwin, osvers=6.6, archname=darwin uname='darwin localhost 6.6 darwin kernel version 6.6: thu may 1 21:48:54 pdt 2003; root:xnuxnu-344.34.obj~1release_ppc power macintosh powerpc ' config_args='-des -Dusedevel -Uversiononly -Dprefix=/opt/perl/snap -Dlocincpth=/sw/include -Dloclibpth=/sw/lib -Dperladmin=merlyn@stonehenge.com' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/sw/include', optimize='-Os', cppflags='-no-cpp-precomp -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/sw/include' ccversion='', gccversion='3.1 20020420 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -flat_namespace -L/sw/lib' libpth=/sw/lib /usr/lib /usr/local/lib libs=-lgdbm -ldb -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined suppress -L/sw/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Locally applied patches: MAINT20897 Built under darwin Compiled at Aug 25 2003 16:54:06 %ENV: PERL5LIB="/sw/lib/perl5" @INC: /sw/lib/perl5 /opt/perl/snap/lib/5.8.1/darwin /opt/perl/snap/lib/5.8.1 /opt/perl/snap/lib/site_perl/5.8.1/darwin /opt/perl/snap/lib/site_perl/5.8.1 /opt/perl/snap/lib/site_perl .
[MERLYN - Tue Aug 26 03:44:12 2003]: [...] Show quoted text
> I've attached my test verbose and perl -V
Looks like it's something in bleadperl. I'll get back to you after some more investigation. cheers, -- Iain.
[SPOON - Tue Aug 26 05:19:21 2003]: Show quoted text
> [MERLYN - Tue Aug 26 03:44:12 2003]: > > [...]
> > I've attached my test verbose and perl -V
> > Looks like it's something in bleadperl. > I'll get back to you after some more investigation.
Hash randomisation strikes again. 1.87 will come out sometime in the next half day. Don't worry too much about the failures --- they're a result of me having 'use warnings FATAL => "all"' and as that test file is merely checking that bad parameters cause problems, it's technically all good, just being given a vaguely wrong error message. cheers, -- Iain.