[ANN] Cache::Memcached::Fast 0.03

Jason Titus jazzmantitus at yahoo.com
Sun Dec 16 17:55:32 UTC 2007


Heh.  Good point.  I was lulled into thinking I didn't need to do that since a bunch of other memcached related things start up their own instance for testing.  It would probably be worthwhile to add a 'Couldn't connect to server' error or some such.


But it still fails a bunch of the tests on Mac OS X 10.5.1 and Centos/RHEL - 


Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.................# Testing Cache::Memcached::Fast 0.02, Perl 5.008008, /usr/bin/perl
t/00-load.................ok                                                 
t/Cache-Memcached-Fast....ok 35/58                                           
t/Cache-Memcached-Fast....NOK 36#   Failed test in t/Cache-Memcached-Fast.t at line 93.
#          got: undef
#     expected: 'value ref check'


#   Failed test in t/Cache-Memcached-Fast.t at line 96.
#          got: undef
#     expected: 'value ref check'
t/Cache-Memcached-Fast....NOK 37                                             
#   Failed test 'The object isa ARRAY'
#   in t/Cache-Memcached-Fast.t at line 102.
t/Cache-Memcached-Fast....NOK 39#     The object isn't defined               
Can't use an undefined value as an ARRAY reference at t/Cache-Memcached-Fast.t line 103.
# Looks like you planned 58 tests but only ran 39.
# Looks like you failed 3 tests of 39 run.
# Looks like your test died just after 39.
t/Cache-Memcached-Fast....dubious                                            
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 36-37, 39-58
	Failed 22/58 tests, 62.07% okay
t/pod-coverage............skipped
        all skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.....................skipped
        all skipped: Test::Pod 1.22 required for testing POD
Failed Test              Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/Cache-Memcached-Fast.t  255 65280    58   41  70.69%  36-37 39-58
2 tests skipped.
Failed 1/4 test scripts, 75.00% okay. 22/59 subtests failed, 62.71% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force


Centos/RHEL 4 -


Running make test
make[1]: Entering directory `/root/.cpan/build/Cache-Memcached-Fast-0.02/src'
make[1]: Leaving directory `/root/.cpan/build/Cache-Memcached-Fast-0.02/src'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.................ok 1/1# Testing Cache::Memcached::Fast 0.02, Perl 5.008008, /usr/bin/perl
t/00-load.................ok                                                 
t/Cache-Memcached-Fast....ok 1/58                                            
#   Failed test in t/Cache-Memcached-Fast.t at line 28.
t/Cache-Memcached-Fast....NOK 3                                              
#   Failed test in t/Cache-Memcached-Fast.t at line 81.
t/Cache-Memcached-Fast....NOK 31                                             
#   Failed test in t/Cache-Memcached-Fast.t at line 82.
t/Cache-Memcached-Fast....NOK 32                                             
#   Failed test in t/Cache-Memcached-Fast.t at line 83.
#          got: undef
#     expected: 'bxa'
t/Cache-Memcached-Fast....NOK 33                                             
#   Failed test in t/Cache-Memcached-Fast.t at line 85.
t/Cache-Memcached-Fast....ok 35/58                                           
#   Failed test 'The object isa ARRAY'
#   in t/Cache-Memcached-Fast.t at line 102.
#     The object isn't defined
Can't use an undefined value as an ARRAY reference at t/Cache-Memcached-Fast.t line 103.
t/Cache-Memcached-Fast....NOK 39# Looks like you planned 58 tests but only ran 39.
# Looks like you failed 6 tests of 39 run.
# Looks like your test died just after 39.
t/Cache-Memcached-Fast....dubious                                            
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3, 31-34, 39-58
	Failed 25/58 tests, 56.90% okay
t/pod-coverage............skipped
        all skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.....................skipped
        all skipped: Test::Pod 1.22 required for testing POD
Failed Test              Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/Cache-Memcached-Fast.t  255 65280    58   44  75.86%  3 31-34 39-58
2 tests skipped.
Failed 1/4 test scripts, 75.00% okay. 25/59 subtests failed, 57.63% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force





Also, it doesn't explicitly depend on IO::Compress::Gzip even though it errors w/o it.


Jason


----- Original Message ----
From: Tomash Brechko <tomash.brechko at gmail.com>
To: Jason Titus <jazzmantitus at yahoo.com>
Cc: memcached at lists.danga.com
Sent: Sunday, December 16, 2007 9:23:29 AM
Subject: Re: [ANN] Cache::Memcached::Fast 0.03


On Sun, Dec 16, 2007 at 09:11:27 -0800, Jason Titus wrote:
> Sounds very cool but it fails the tests on both Centos/RHEL 4 and
> Mac OS X 10.5.1...  What platform are you building on?

Hmm, looks like every test is failing for you.  Have you actually
started memcached daemon on localhost:11211 as README says? ;)

I recently uploaded 0.03 to CPAN.  It has no functional changes, but
test case is improved to detect if memcached is running, and what
version it is.  Could you please install 0.03, and report us the
outcome?


-- 
   Tomash Brechko





More information about the memcached mailing list