Skip Menu |

This queue is for tickets about the Cache-Memcached-Fast CPAN distribution.

Report information
The Basics
Id: 67106
Status: resolved
Priority: 0/
Queue: Cache-Memcached-Fast

People
Owner: Nobody in particular
Requestors: vertolet666 [...] yandex.ru
Cc:
AdminCc:

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



Subject: Failed test at magic.t
Date: Thu, 31 Mar 2011 12:56:09 +0400
To: bug-cache-memcached-fast [...] rt.cpan.org
From: DOBRO Sergei <vertolet666 [...] yandex.ru>
Hi,
I've run into the issue of failed test at t/magic.t.
The output:
 
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1 # Testing Cache::Memcached::Fast 0.19, Perl 5.010001, /usr/bin/perl
t/00-load.t ....... ok
t/01-connect.t .... # Connected to 2 memcached servers, lowest version 1.4.5
t/01-connect.t .... ok
t/02-isa.t ........ ok
t/big_value.t ..... ok
t/commands.t ...... ok
t/key_ref.t ....... ok
t/magic.t ......... 1/9
#   Failed test at t/magic.t line 52.

#   Failed test at t/magic.t line 53.
# Looks like you failed 2 tests of 9.
t/magic.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/9 subtests
        (less 3 skipped subtests: 4 okay)
t/namespace.t ..... ok
t/noreply.t ....... ok
t/nowait.t ........ ok
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.t ........... ok
t/serialize.t ..... ok
t/threads.t ....... ok
t/utf8.t .......... ok

Test Summary Report
-------------------
t/magic.t       (Wstat: 512 Tests: 9 Failed: 2)
  Failed tests:  5-6
  Non-zero exit status: 2
Files=15, Tests=133,  2 wallclock secs ( 0.05 usr  0.03 sys +  1.20 cusr  0.20 csys =  1.48 CPU)
Result: FAIL
Failed 1/15 test programs. 2/133 subtests failed.
make: *** [test_dynamic] Error 255
 
My environment:
memcached version is 1.4.5
 
# uname -a
Linux 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:18:33 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
 
# perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
 
Чтв Мар 31 04:56:21 2011, vertolet666@yandex.ru писал: Show quoted text
> Hi,I've run into the issue of failed test at t/magic.t.The output: > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > t/00-load.t ....... 1/1 # Testing Cache::Memcached::Fast 0.19, Perl > 5.010001, > /usr/bin/perl > t/00-load.t ....... ok > t/01-connect.t .... # Connected to 2 memcached servers, lowest version > 1.4.5 > t/01-connect.t .... ok > t/02-isa.t ........ ok > t/big_value.t ..... ok > t/commands.t ...... ok > t/key_ref.t ....... ok > t/magic.t ......... 1/9 > # Failed test at t/magic.t line 52. > > # Failed test at t/magic.t line 53. > # Looks like you failed 2 tests of 9. > t/magic.t ......... Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/9 subtests > (less 3 skipped subtests: 4 okay) > t/namespace.t ..... ok > t/noreply.t ....... ok > t/nowait.t ........ ok > t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for > testing POD > coverage > t/pod.t ........... ok > t/serialize.t ..... ok > t/threads.t ....... ok > t/utf8.t .......... ok > > Test Summary Report > ------------------- > t/magic.t (Wstat: 512 Tests: 9 Failed: 2) > Failed tests: 5-6 > Non-zero exit status: 2 > Files=15, Tests=133, 2 wallclock secs ( 0.05 usr 0.03 sys + 1.20 cusr > 0.20 csys > = 1.48 CPU) > Result: FAIL > Failed 1/15 test programs. 2/133 subtests failed. > make: *** [test_dynamic] Error 255 My environment:memcached version is > 1.4.5 # > uname -aLinux 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:18:33 EDT 2007 > x86_64 x86_64 > x86_64 GNU/Linux # perl -vThis is perl, v5.10.1 (*) built for > x86_64-linux-thread-multi
Sorry for the previous quotation. I have the same problem, but more tests failed. It's all ok on 32-bit Linux, but fails on x86_64 Linux: tadam@lucid64:~/src/Cache-Memcached-Fast-0.19$ PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... 1/1 # Testing Cache::Memcached::Fast 0.19, Perl 5.010001, /usr/bin/perl t/00-load.t ....... ok t/01-connect.t .... # Connected to 2 memcached servers, lowest version 1.4.2 t/01-connect.t .... ok t/02-isa.t ........ ok t/big_value.t ..... ok t/commands.t ...... ok t/key_ref.t ....... ok t/magic.t ......... 1/9 # Failed test at t/magic.t line 52. # Failed test at t/magic.t line 53. # Failed test at (eval 31) line 7. # Failed test at (eval 31) line 8. t/magic.t ......... 9/9 # Looks like you failed 4 tests of 9. t/magic.t ......... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/9 subtests t/namespace.t ..... ok t/noreply.t ....... ok t/nowait.t ........ 1/5 # Failed test 'Fetched all keys' # at t/nowait.t line 37. # got: '0' # expected: '1000' # Failed test 'Match results' # at t/nowait.t line 42. # got: '0' # expected: '1000' # Looks like you failed 2 tests of 5. t/nowait.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/5 subtests t/pod-coverage.t .. ok t/pod.t ........... ok t/serialize.t ..... ok t/threads.t ....... ok t/utf8.t .......... ok Test Summary Report ------------------- t/magic.t (Wstat: 1024 Tests: 9 Failed: 4) Failed tests: 5-8 Non-zero exit status: 4 t/nowait.t (Wstat: 512 Tests: 5 Failed: 2) Failed tests: 2-3 Non-zero exit status: 2 Files=15, Tests=134, 6 wallclock secs ( 0.08 usr 0.01 sys + 1.86 cusr 0.23 csys = 2.18 CPU) Result: FAIL Failed 2/15 test programs. 6/134 subtests failed. memcached version: 1.4.2 perl -v This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi uname -a Linux lucid64.feeds.yandex.net 2.6.24-23-openvzyandex #2 SMP Fri Apr 24 18:54:48 MSD 2009 x86_64 GNU/Linux If I try another x86_64 system (hardy 64 bit instead of lucid 64 bit) more tests are ok: tadam@hardy64:~/src/Cache-Memcached-Fast-0.19$ 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.19, Perl 5.008008, /usr/bin/perl t/00-load.........ok t/01-connect......# Connected to 2 memcached servers, lowest version 1.4.5 t/01-connect......ok t/02-isa..........ok t/big_value.......ok t/commands........ok t/key_ref.........ok t/magic...........ok 1/9 t/magic...........NOK 5# Failed test at t/magic.t line 52. t/magic...........NOK 6# Failed test at t/magic.t line 53. t/magic...........NOK 7 # Failed test at (eval 28) line 7. # Failed test at (eval 28) line 8. t/magic...........NOK 8# Looks like you failed 4 tests of 9. t/magic...........dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 5-8 Failed 4/9 tests, 55.56% okay t/namespace.......ok t/noreply.........ok t/nowait..........ok t/pod-coverage....ok t/pod.............ok t/serialize.......ok t/threads.........ok t/utf8............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/magic.t 4 1024 9 4 44.44% 5-8 Failed 1/15 test scripts, 93.33% okay. 4/134 subtests failed, 97.01% okay. memcached version: 1.4.5 perl -v This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi uname -a Linux hardy64.feeds.yandex.net 2.6.24-23-openvzyandex #2 SMP Fri Apr 24 18:54:48 MSD 2009 x86_64 GNU/Linux
Just to let you know: I observed your report, there was a report about failing magic.t already (#57150). This test also fails for some CPAN testers, but passes for others. However I can't reproduce the failure, and I see no direct correlation with Perl version/OS version etc., so basically I have no clue. Thus I have no plans to work on this issue, sorry. If you do not use Perl magic then it's safe to ignore the failure. If you do, then I'll appreciate if you look into the problem and post the patch :). Otherwise we have to live with it as it is...
Dne Čt 07.dub.2011 05:52:11, KROKI napsal(a): Show quoted text
> However I can't reproduce the failure, and I see no direct correlation > with Perl version/OS version etc., so basically I have no clue. Thus I > have no plans to work on this issue, sorry. If you do not use Perl > magic then it's safe to ignore the failure. If you do, then I'll > appreciate if you look into the problem and post the patch :).
Just a "me too": I observe failed tests at lines 52 and 53. What is "Perl magic"? I don't know whether I use it :-) I have Fedora 14 with memcached-1.4.5-3.fc14.x86_64. Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=linux, osvers=2.6.35.6-48.fc14.x86_64, archname=x86_64-linux-thread-multi uname='linux faethon1.fi.muni.cz 2.6.35.6-48.fc14.x86_64 #1 smp fri oct 22 15:36:08 utc 2010 x86_64 x86_64 x86_64 gnulinux ' config_args='-f config.sh -de' hint=previous, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='4.5.1 20100924 (Red Hat 4.5.1-4)', 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='gcc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.13' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/export/packages/perl-5.12.3/lib/5.12.3/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Apr 14 2011 13:28:01 %ENV: PERL5LIB="/home/kas/is-src/perllib" @INC: /home/kas/is-src/perllib /export/packages/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux-thread-multi /export/packages/perl-5.12.3/lib/site_perl/5.12.3 /export/packages/perl-5.12.3/lib/5.12.3/x86_64-linux-thread-multi /export/packages/perl-5.12.3/lib/5.12.3 .
Another "me too" t/00-load.t ....... 1/1 # Testing Cache::Memcached::Fast 0.19, Perl 5.010001, /var/tiger/perlbrew/perls/perl-5.10.1/bin/perl t/00-load.t ....... ok t/01-connect.t .... # Connected to 2 memcached servers, lowest version 1.2.8 t/01-connect.t .... ok t/02-isa.t ........ ok t/big_value.t ..... 1/13 # Failed test 'Delete' # at t/big_value.t line 83. # Looks like you failed 1 test of 13. t/big_value.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/13 subtests t/commands.t ...... ok t/key_ref.t ....... ok t/magic.t ......... 1/9 # Failed test at t/magic.t line 52. # Failed test at t/magic.t line 53. # Failed test at (eval 31) line 7. # Failed test at (eval 31) line 8. t/magic.t ......... 9/9 # Looks like you failed 4 tests of 9. t/magic.t ......... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/9 subtests Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.18-164.11.1.el5.028stab068.5, archname=x86_64-linux uname='linux vz16.tigerlead.com 2.6.18-164.11.1.el5.028stab068.5 #1 smp mon mar 15 19:26:36 msk 2010 x86_64 x86_64 x86_64 gnulinux ' config_args='-de -Dprefix=/var/tiger/perlbrew/perls/perl-5.10.1' 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-46)', 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: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Built under linux
From: chip [...] pobox.com
Another "me too". This is real
Another "me too" from me. $ perl -v This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi $ uname -r 2.6.32-5-amd64 $ cat /etc/debian_version 6.0.5
Me too, just the magic failure. CentOS 5.8 using a locally compiled memcached 1.4.3 with CentOS' perl 5.8.8. Hardware is Intel Xeon E5520 using xen. According to CPAN Testers this looks like an amd64 problem. http://www.cpantesters.org/distro/C/Cache-Memcached-Fast.html#Cache-Memcached-Fast-0.19 (switch "Grade" to "Fail" and you'll see it). Also http://analysis.cpantesters.org/solved?distv=Cache-Memcached-Fast-0.19#conf%3Aarchname%2Bosvers Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.18-53.el5, archname=x86_64-linux-thread-multi uname='linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.8 -Dsitelib=/usr/lib/perl5/site_perl/5.8.8 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.8 -Darchlib=/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi -Dsitearch=/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi -Darchname=x86_64-linux-thread-multi -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/usr/bin' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-52)', 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='gcc', ldflags ='' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Feb 22 2012 11:13:04 @INC: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8
From: listposter [...] gmail.com
Failing here too. Does anyone know if it works okay after skipping tests, or if another version sails through? Distro: CentOS 6.4 x64 Perl: perl-5.10.1-130.el6_4.x86_64 Memcached: memcached-1.4.4-3.el6.x86_64 t/key_ref.t ....... ok --- # Failed test at t/magic.t line 52. # Failed test at t/magic.t line 53. # Looks like you failed 2 tests of 9. t/magic.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/9 subtests (less 3 skipped subtests: 4 okay) t/namespace.t ..... ok --- --- Test Summary Report ------------------- t/magic.t (Wstat: 512 Tests: 9 Failed: 2) Failed tests: 5-6 Non-zero exit status: 2 Files=15, Tests=134, 2 wallclock secs ( 0.06 usr 0.02 sys + 1.24 cusr 0.16 csys = 1.48 CPU) Result: FAIL Failed 1/15 test programs. 2/134 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing Cache::Memcached::Fast failed. See /root/.cpanm/build.log for details. ---
On Thu Mar 28 15:03:01 2013, listposter@gmail.com wrote: Show quoted text
> Failing here too. Does anyone know if it works okay after skipping > tests, or if another version sails through?
magic.t tests interoperability with Perl 'tie' feature (`perldoc -f tie`). If you do not use it (or any derivative like Readonly) then you are safe. I wasn't able to reproduce the bug under Fedora with all Perl versions of the last three years - maybe the bug relates to how the Perl itself is build on other distributions.
From: listposter [...] gmail.com
Okay, I think I can help with reproduction. I started out with a CentOS 6.4 x64 installation using the CentOS-6.4-x86_64-minimal.iso from a mirror at http://isoredirect.centos.org/centos/6/isos/x86_64/ . Once booted: yum -y install perl-devel perl-core make gcc curl -L http://cpanmin.us | perl - --self-upgrade /usr/local/bin/cpanm Cache::Memcached::Fast and that worked! I was a bit confused, especially because I thought memcached would need to be present in order to build/test. Looking at the build log, it skipped server tests. yum -y install memcached service memcached start /usr/local/bin/cpanm App::pmuninstall /usr/local/bin/pm-uninstall Cache::Memcached::Fast /usr/local/bin/cpanm Cache::Memcached::Fast and there we have reproducible failure on the magic.t test. Perhaps it has something to do with a *stock* *distro* memcached configuration running on the local host?
From: listposter [...] gmail.com
/usr/local/bin/cpanm --reinstall Cache::Memcached::Fast would work instead of the App::pmuninstall stuff BTW
On Tue Apr 02 16:50:48 2013, listposter@gmail.com wrote: Show quoted text
> Okay, I think I can help with reproduction.
Thank you very much, this helped a lot. I pushed the fix to https://github.com/kroki/Cache-Memcached-Fast (most recent commit if you are interested in problem description). Could you please confirm that the problem is gone now? This would be cd /tmp git clone git://github.com/kroki/Cache-Memcached-Fast.git cd Cache-Memcached-Fast perl Makefile.PL make make test You'll have to have memcached running, start memcached -vv on a different console (or `service memcached start` as you described earlier). Thanks in advance!
From: listposter [...] gmail.com
--- t/magic.t ........... ok --- --- All tests successful. Files=17, Tests=134, 2 wallclock secs ( 0.10 usr 0.04 sys + 1.10 cusr 0.21 csys = 1.45 CPU) Result: PASS --- Looks good from here! Thanks.
Fixed in 0.20.