Skip Menu |

This queue is for tickets about the Catalyst-Authentication-Credential-HTTP CPAN distribution.

Report information
The Basics
Id: 55303
Status: resolved
Priority: 0/
Queue: Catalyst-Authentication-Credential-HTTP

People
Owner: bobtfish [...] bobtfish.net
Requestors: CYCLES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.011
Fixed in: (no value)



Subject: Cannot install from CPAN (test failures)
Fails with: cpan[1]> install Catalyst::Authentication::Credential::HTTP CPAN: Storable loaded ok (v2.18) Going to read /home/ollie/.cpan/Metadata Database was generated on Sat, 06 Mar 2010 22:36:41 GMT CPAN: YAML loaded ok (v0.66) Going to read /home/ollie/.cpan/build/ ............................................................................DONE Found 34 old builds, restored the state of 34 Running install for module 'Catalyst::Authentication::Credential::HTTP' Running make for D/DH/DHOSS/Catalyst-Authentication-Credential-HTTP-1.011.tar.gz Prepending blib/arch and blib/lib of 16 build dirs to PERL5LIB; for 'get' Has already been unwrapped into directory /home/ollie/.cpan/build/Catalyst-Authentication-Credential-HTTP-1.011-cuTzHn Prepending blib/arch and blib/lib of 16 build dirs to PERL5LIB; for 'make' Has already been made Prepending blib/arch and blib/lib of 16 build dirs to PERL5LIB; for 'test' Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/02pod.t t/03podcoverage.t t/04pod_spelling.t t/basic.t t/live_app.t t/live_app_digest.t t/02pod.t ............ skipped: set TEST_POD to enable this test t/03podcoverage.t .... skipped: Test::Pod::Coverage 1.04 required t/04pod_spelling.t ... skipped: Test::Spelling 0.11 not installed t/basic.t ............ ok t/live_app.t ......... [warn] Action methods (auto, moose) found defined in your application class, AuthTestApp. This is deprecated, please move them into a Root controller. t/live_app.t ......... ok t/live_app_digest.t .. Catalyst::Plugin::Cache uses NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details. NEXT used at /usr/share/perl5/Catalyst/Plugin/Cache.pm line 28 [warn] Action methods (moose) found defined in your application class, AuthDigestTestApp. This is deprecated, please move them into a Root controller. t/live_app_digest.t .. 1/12 # Failed test 'status is 200' # at t/live_app_digest.t line 66. # got: '401' # expected: '200' # Failed test 'Mufasa output' # at t/live_app_digest.t line 67. # searched: "Authorization required." # can't find: "Mufasa" # Failed test 'status is 200' # at t/live_app_digest.t line 66. # got: '401' # expected: '200' # Failed test 'Mufasa output' # at t/live_app_digest.t line 67. # searched: "Authorization required." # can't find: "Mufasa2" # Failed test 'status is 200' # at t/live_app_digest.t line 66. # got: '401' # expected: '200' # Failed test 'Mufasa output' # at t/live_app_digest.t line 67. # searched: "Authorization required." # can't find: "Mufasa" # Looks like you failed 6 tests of 12. t/live_app_digest.t .. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/12 subtests Test Summary Report ------------------- t/live_app_digest.t (Wstat: 1536 Tests: 12 Failed: 6) Failed tests: 3-4, 7-8, 11-12 Non-zero exit status: 6 Files=6, Tests=51, 4 wallclock secs ( 0.03 usr 0.12 sys + 2.40 cusr 1.21 csys = 3.76 CPU) Result: FAIL Failed 1/6 test programs. 6/51 subtests failed. make: *** [test_dynamic] Error 6 DHOSS/Catalyst-Authentication-Credential-HTTP-1.011.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DHOSS/Catalyst-Authentication-Credential-HTTP-1.011.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: DHOSS/Catalyst-Authentication-Credential-HTTP-1.011.tar.gz: make_test NO ollie@debian:~/musicbrainz-server$ perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.26-2-amd64, archname=i486-linux-gnu-thread-multi uname='linux puccini 2.6.26-2-amd64 #1 smp fri aug 14 07:12:04 utc 2009 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.10.0 -Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.3.2', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/lib64 libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0 gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Aug 28 2009 22:15:29 @INC: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
Hiya. I have no idea quite how this is happening for you :( Can you try the latest version (just released) of this and Catalyst::Plugin::Cache, they have some changes which I don't think will be helpful to fixing this, but you never know. Assuming it still fails, could you unwrap the tarball manually and run the failing test with CATALYST_DEBUG=1 perl -Ilib t/live_app_digest.t and paste me your full spraff? Can I also have your LWP, Test::WWW::Mechanize::Catalyst, Cache::FileCache, Catalyst and Catalyst::Plugin::Authentication versions?

Message body is not shown because it is too large.

On Sun Mar 07 16:10:34 2010, BOBTFISH wrote: Show quoted text
> Can I also have your LWP, Test::WWW::Mechanize::Catalyst, > Cache::FileCache, Catalyst and Catalyst::Plugin::Authentication versions?
ollie@debian:~$ perl -MLWP -e 'print "$LWP::VERSION\n"' 5.834 ollie@debian:~$ perl -MTest::WWW::Mechanize::Catalyst -e 'print 0.42 ollie@debian:~$ perl -MCatalyst -e 'print "$Catalyst::VERSION\n"' 5.80021 ollie@debian:~$ perl -MCache::FileCache -e 'print "$Cache::FileCache::VERSION\n"' ollie@debian:~$ cpan Cache::FileCache Cache::FileCache is up to date (undef). ollie@debian:~$ perl -MCatalyst::Plugin::Authentication -e 'print "$Catalyst::Plugin::Authentication::VERSION\n"' 0.10016 ollie@debian:~$
Fixed in r13228. Cheers t0m