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: ''