Skip Menu |

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

Report information
The Basics
Id: 85313
Status: new
Priority: 0/
Queue: Net--RabbitMQ

People
Owner: Nobody in particular
Requestors: jschulz.cpan [...] bloonix.de
Cc:
AdminCc:

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



Subject: Test hangs: Binding queue: server channel error 406, message: PRECONDITION_FAILED...
cpan[1]> install Net::RabbitMQ CPAN: Storable loaded ok (v2.20) Going to read '/root/.cpan/Metadata' Database was generated on Wed, 15 May 2013 10:41:03 GMT Running install for module 'Net::RabbitMQ' CPAN: YAML loaded ok (v0.70) Running make for J/JE/JESUS/Net--RabbitMQ-0.2.6.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /root/.cpan/sources/authors/id/J/JE/JESUS/Net--RabbitMQ-0.2.6.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................................................DONE Net--RabbitMQ-0.2.6/ Net--RabbitMQ-0.2.6/.gitignore Net--RabbitMQ-0.2.6/amqp.h Net--RabbitMQ-0.2.6/amqp_api.c Net--RabbitMQ-0.2.6/amqp_config.h Net--RabbitMQ-0.2.6/amqp_connection.c Net--RabbitMQ-0.2.6/amqp_debug.c Net--RabbitMQ-0.2.6/amqp_framing.c Net--RabbitMQ-0.2.6/amqp_framing.h Net--RabbitMQ-0.2.6/amqp_mem.c Net--RabbitMQ-0.2.6/amqp_private.h Net--RabbitMQ-0.2.6/amqp_socket.c Net--RabbitMQ-0.2.6/amqp_table.c Net--RabbitMQ-0.2.6/Changes Net--RabbitMQ-0.2.6/LICENSE Net--RabbitMQ-0.2.6/LICENSE-MPL-RabbitMQ Net--RabbitMQ-0.2.6/Makefile.PL Net--RabbitMQ-0.2.6/MANIFEST Net--RabbitMQ-0.2.6/META.yml Net--RabbitMQ-0.2.6/RabbitMQ.pm Net--RabbitMQ-0.2.6/RabbitMQ.xs Net--RabbitMQ-0.2.6/README Net--RabbitMQ-0.2.6/t/ Net--RabbitMQ-0.2.6/typemap Net--RabbitMQ-0.2.6/t/001_declare_exchange.t Net--RabbitMQ-0.2.6/t/002_publish.t Net--RabbitMQ-0.2.6/t/003_consume.t Net--RabbitMQ-0.2.6/t/004_selfconsume.t Net--RabbitMQ-0.2.6/t/005_noack.t Net--RabbitMQ-0.2.6/t/006_txn.t Net--RabbitMQ-0.2.6/t/007_get.t Net--RabbitMQ-0.2.6/t/008_queue_declare.t Net--RabbitMQ-0.2.6/t/009_no_route.t Net--RabbitMQ-0.2.6/t/010_qos.t Net--RabbitMQ-0.2.6/t/011_hearbeat.t Net--RabbitMQ-0.2.6/t/012_timeout.t Net--RabbitMQ-0.2.6/t/013_headers.t Net--RabbitMQ-0.2.6/t/014_bind_with_headers.t Net--RabbitMQ-0.2.6/t/015_declare_queue_with_headers.t Net--RabbitMQ-0.2.6/t/016_reject.t CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build J/JE/JESUS/Net--RabbitMQ-0.2.6.tar.gz Checking if your kit is complete... Looks good RabbitMQ.c: In function ‘XS_Net__RabbitMQ__publish’: RabbitMQ.xs:557: warning: unused variable ‘exchange’ RabbitMQ.xs: In function ‘XS_Net__RabbitMQ_get’: RabbitMQ.xs:655: warning: value computed is not used RabbitMQ.xs:656: warning: value computed is not used RabbitMQ.xs:657: warning: value computed is not used RabbitMQ.xs:658: warning: value computed is not used RabbitMQ.xs:659: warning: value computed is not used RabbitMQ.c: In function ‘XS_Net__RabbitMQ_new’: RabbitMQ.c:1342: warning: unused variable ‘clazz’ gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" amqp_api.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" amqp_connection.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" amqp_debug.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" amqp_framing.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" amqp_mem.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" amqp_socket.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" amqp_table.c Running Mkbootstrap for Net::RabbitMQ () chmod 644 RabbitMQ.bs rm -f blib/arch/auto/Net/RabbitMQ/RabbitMQ.so gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic RabbitMQ.o amqp_api.o amqp_connection.o amqp_debug.o amqp_framing.o amqp_mem.o amqp_socket.o amqp_table.o -o blib/arch/auto/Net/RabbitMQ/RabbitMQ.so \ \ Writing Makefile for Net::RabbitMQ Writing MYMETA.yml and MYMETA.json cp RabbitMQ.pm blib/lib/Net/RabbitMQ.pm /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap RabbitMQ.xs > RabbitMQ.xsc && mv RabbitMQ.xsc RabbitMQ.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.2.6\" -DXS_VERSION=\"0.2.6\" -fPIC "-I/usr/lib64/perl5/CORE" RabbitMQ.c RabbitMQ.xs: In function ‘internal_brcb’: RabbitMQ.xs:73: warning: value computed is not used RabbitMQ.xs:74: warning: value computed is not used RabbitMQ.xs:76: warning: value computed is not used RabbitMQ.xs:78: warning: value computed is not used RabbitMQ.xs: In function ‘internal_recv’: RabbitMQ.xs:107: warning: value computed is not used RabbitMQ.xs:108: warning: value computed is not used RabbitMQ.xs:109: warning: value computed is not used RabbitMQ.xs:110: warning: value computed is not used RabbitMQ.xs:123: warning: value computed is not used RabbitMQ.xs:127: warning: value computed is not used RabbitMQ.xs:131: warning: value computed is not used RabbitMQ.xs:135: warning: value computed is not used RabbitMQ.xs:139: warning: value computed is not used RabbitMQ.xs:143: warning: value computed is not used RabbitMQ.xs:147: warning: value computed is not used RabbitMQ.xs:151: warning: value computed is not used RabbitMQ.xs:155: warning: value computed is not used RabbitMQ.xs:159: warning: value computed is not used RabbitMQ.xs:163: warning: value computed is not used RabbitMQ.xs:167: warning: value computed is not used RabbitMQ.xs:171: warning: value computed is not used RabbitMQ.xs:179: warning: value computed is not used RabbitMQ.xs:183: warning: value computed is not used RabbitMQ.xs:190: warning: value computed is not used RabbitMQ.xs:177: warning: unused variable ‘val’ RabbitMQ.xs:222: warning: value computed is not used RabbitMQ.xs: In function ‘hash_to_amqp_table’: RabbitMQ.xs:234: warning: implicit declaration of function ‘amqp_create_table’ RabbitMQ.xs:245: warning: implicit declaration of function ‘amqp_table_add_string’ RabbitMQ.xs:247: warning: implicit declaration of function ‘amqp_table_add_int’ RabbitMQ.xs: In function ‘XS_Net__RabbitMQ_ack’: RabbitMQ.xs:509: warning: pointer targets in assignment differ in signedness RabbitMQ.xs: In function ‘XS_Net__RabbitMQ_reject’: RabbitMQ.xs:527: warning: pointer targets in assignment differ in signedness chmod 755 blib/arch/auto/Net/RabbitMQ/RabbitMQ.so cp RabbitMQ.bs blib/arch/auto/Net/RabbitMQ/RabbitMQ.bs chmod 644 blib/arch/auto/Net/RabbitMQ/RabbitMQ.bs Manifying blib/man3/Net::RabbitMQ.3pm JESUS/Net--RabbitMQ-0.2.6.tar.gz /usr/bin/make -- OK Running 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 ..................... 3/7 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 t/004_selfconsume.t ................. ok t/005_noack.t ....................... ok t/006_txn.t ......................... ok t/007_get.t ......................... 12/13 # Failed test 'get' # at t/007_get.t line 64. # got: 'basic_get: server channel error 406, message: PRECONDITION_FAILED - invalid expiration 'later': no_integer at t/007_get.t line 63. # ' # expected: '' # Failed test 'get should see message' # at t/007_get.t line 67. # Structures begin differing at: # $got->{body} = 'Magic Transient Payload' # $expected->{body} = 'Magic Transient Payload 2' # Looks like you failed 2 tests of 13. t/007_get.t ......................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/13 subtests t/008_queue_declare.t ............... ok t/009_no_route.t .................... 4/10 Closing connection: server connection error 540, message: NOT_IMPLEMENTED - immediate=true at t/009_no_route.t line 30. # Looks like you planned 10 tests but ran 8. # Looks like your test exited with 115 just after 8. t/009_no_route.t .................... Dubious, test returned 115 (wstat 29440, 0x7300) Failed 2/10 subtests t/010_qos.t ......................... ok t/011_hearbeat.t .................... 3/6 # Sleeping for 5 seconds t/011_hearbeat.t .................... 5/6 # Sleeping for 1 seconds t/011_hearbeat.t .................... ok t/012_timeout.t ..................... ok t/013_headers.t ..................... ok t/014_bind_with_headers.t ........... 3/? # Using queue amq.gen-WGqmNh-3INNy0guATnrRAQ t/014_bind_with_headers.t ........... 7/? # Failed test 'queue_bind' # at t/014_bind_with_headers.t line 31. # got: 'Binding queue: server channel error 406, message: PRECONDITION_FAILED - x-match field missing at t/014_bind_with_headers.t line 30. # ' # expected: ''
perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.32-220.el6.x86_64, archname=x86_64-linux-thread-multi uname='linux c6b8.bsys.dev.centos.org 2.6.32-220.el6.x86_64 #1 smp tue dec 6 19:48:22 gmt 2011 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 -DDEBUGGING=-g -Dversion=5.10.1 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Darchlib=/usr/lib64/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib64/perl5/vendor_perl -Dinc_version_list=5.10.0 -Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -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 -Dscriptdir=/usr/bin -Dusesitecustomize' 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='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='-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 -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-3)', 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' 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.12' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib64/perl5/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_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_REENTRANT_API USE_SITECUSTOMIZE Built under linux Compiled at Apr 30 2013 12:24:05 @INC: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .
rpm -qa | grep -i rabbitmq librabbitmq-devel-0.1-0.2.hgfb6fca832fd2.el6.x86_64 rabbitmq-server-2.6.1-1.el6.noarch librabbitmq-0.1-0.2.hgfb6fca832fd2.el6.x86_64 cat /etc/issue CentOS release 6.4 (Final) Kernel \r on an \m
The installation process hangs on t/014_bind_with_headers.t ........... 7/? # Failed test 'queue_bind' # at t/014_bind_with_headers.t line 31. # got: 'Binding queue: server channel error 406, message: PRECONDITION_FAILED - x-match field missing at t/014_bind_with_headers.t line 30. # ' # expected: '' Do you need further information?