Skip Menu |

This queue is for tickets about the Net--RabbitMQ CPAN distribution.

Report information
The Basics
Id: 70773
Status: open
Priority: 0/
Queue: Net--RabbitMQ

People
Owner: Nobody in particular
Requestors: chessvegas [...] chessvegas.com
Cc:
AdminCc:

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



Subject: Test failed (011_hearbeat.t)
Date: Wed, 07 Sep 2011 09:38:08 +0400
To: bug-net--rabbitmq [...] rt.cpan.org
From: ChessVegas Administration <chessvegas [...] chessvegas.com>
I'm getting test failed: # env MQHOST="localhost" make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_declare_exchange.t .. ok t/002_publish.t ........... ok t/003_consume.t ........... ok t/004_selfconsume.t ....... ok t/005_noack.t ............. ok t/006_txn.t ............... ok t/007_get.t ............... ok t/008_queue_declare.t ..... ok t/009_no_route.t .......... ok t/010_qos.t ............... ok t/011_hearbeat.t .......... 1/7 # Sleeping for 5 seconds t/011_hearbeat.t .......... 5/7 # Failed test 'publish' # at t/011_hearbeat.t line 26. # got: '-1' # expected: '0' # Sleeping for 1 seconds t/011_hearbeat.t .......... 7/7 # Looks like you failed 1 test of 7. t/011_hearbeat.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests t/012_timeout.t ........... ok t/013_headers.t ........... ok Test Summary Report ------------------- t/011_hearbeat.t (Wstat: 256 Tests: 7 Failed: 1) Failed test: 6 Non-zero exit status: 1 Files=13, Tests=128, 9 wallclock secs ( 0.04 usr 0.02 sys + 0.33 cusr 0.08 csys = 0.47 CPU) Result: FAIL Failed 1/13 test programs. 1/128 subtests failed. make: *** [test_dynamic] Error 255 # 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 Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.23.1-42.fc8, archname=x86_64-linux-thread-multi uname='linux chessvegas.ru 2.6.23.1-42.fc8 #1 smp tue oct 30 13:18:33 edt 2007 x86_64 x86_64 x86_64 gnulinux ' config_args='' hint=recommended, 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='cc', 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='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.1.2 20070925 (Red Hat 4.1.2-33)', 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 -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.1/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -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_FAST_STDIO USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Aug 28 2009 13:43:17 @INC: /usr/lib/perl5/5.10.1/x86_64-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1
From: chip [...] pobox.com
On Wed Sep 07 01:38:26 2011, chessvegas@chessvegas.com wrote: Show quoted text
> I'm getting test failed:
Likewise.
On Mon Sep 12 19:17:37 2011, CHIPS wrote: Show quoted text
> On Wed Sep 07 01:38:26 2011, chessvegas@chessvegas.com wrote:
> > I'm getting test failed:
> > Likewise.
I have the sabe issue.
On Mon Sep 12 19:17:37 2011, CHIPS wrote: Show quoted text
> On Wed Sep 07 01:38:26 2011, chessvegas@chessvegas.com wrote:
> > I'm getting test failed:
> > Likewise.
I have the same issue.
On Wed Mar 28 07:17:45 2012, MANTOVANI wrote: Show quoted text
> On Mon Sep 12 19:17:37 2011, CHIPS wrote:
> > On Wed Sep 07 01:38:26 2011, chessvegas@chessvegas.com wrote:
> > > I'm getting test failed:
> > > > Likewise.
> > > I have the same issue.
I was eventually able to get it to pass tests by specifying the MQHOST environment variable to point to the IP of my local RabbitMQ server. The problem is that dev.rabbitmq.com (the default for MQHOST) is running a newer RabbitMQ version (3.x) which implements AMQP 0.9.1, while this module only seems to support AMQP 0.8. To build *and test*, have a 2.x version of RabbitMQ available and build with MQHOST set to that. e.g. MQHOST=localhost make test
On 2013-05-02 17:01:28, http://kbenson.myopenid.com/ wrote: Show quoted text
> On Wed Mar 28 07:17:45 2012, MANTOVANI wrote:
> > On Mon Sep 12 19:17:37 2011, CHIPS wrote:
> > > On Wed Sep 07 01:38:26 2011, chessvegas@chessvegas.com wrote:
> > > > I'm getting test failed:
> > > > > > Likewise.
> > > > > > I have the same issue.
> > I was eventually able to get it to pass tests by specifying the MQHOST > environment variable to point to the IP of my local RabbitMQ server. > The problem is that dev.rabbitmq.com (the default for MQHOST) is > running a newer RabbitMQ version (3.x) which implements AMQP 0.9.1, > while this module only seems to support AMQP 0.8. > > To build *and test*, have a 2.x version of RabbitMQ available and > build with MQHOST set to that. e.g. > > MQHOST=localhost make test
The 0.2.8 version currently fails when running against dev.rabbitmq.com with this test: Died at t/003_consume.t line 20. # Looks like you planned 7 tests but ran 5. # Looks like your test exited with 4 just after 5. t/003_consume.t ..................... Dubious, test returned 4 (wstat 1024, 0x400) Failed 2/7 subtests