[rabbitmq-discuss] RabbitMQ & QPid test suite

Maximillian Dornseif md at hudora.de
Thu Aug 16 06:58:44 BST 2007


I'm trying to use RabbitMQ (rabbitmq-server-1.1.0-alpha locally and  
the public test server) with QPid's Python test suite. But seemingly  
I do something wrong here since the tests are hanging. Any hints what  
happening here?

$ svn info
URL: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid/python
Revision: 565728
Last Changed Date: 2007-08-10 17:55:16 +0200 (Fri, 10 Aug 2007)
[...]
$ uname -a  # MaxOS X 10.4.10, Python 2.5.1 (r251:54863, Jun 14 2007,  
15:08:59)
Darwin lichtblick.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May  
23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386

$ time ./run-tests -b guest/guest at dev.rabbitmq.com -v
Using specification from: ../specs/amqp.0-8.xml
Warning: duplicate id: Constant(name=xa_rbrollback, id=1)
Warning: duplicate id: Constant(name=xa_rbtimeout, id=2)
Warning: duplicate id: Constant(name=xa_heurhaz, id=3)
Warning: duplicate id: Constant(name=xa_rdonly, id=7)
test_bit1 (tests.codec.BitTestCase) ... ok
test_bit2 (tests.codec.BitTestCase) ... ok
test_bit3 (tests.codec.BitTestCase) ... ok
test_bit_decode_0 (tests.codec.BitTestCase) ... ok
test_bit_decode_1 (tests.codec.BitTestCase) ... ok
test_content_inline (tests.codec.ContentTestCase) ... ok
test_content_inline_decode (tests.codec.ContentTestCase) ... ok
test_content_reference (tests.codec.ContentTestCase) ... ok
test_content_reference_decode (tests.codec.ContentTestCase) ... ok
test_field_table_decode (tests.codec.FieldTableTestCase) ... ok
test_field_table_invalid_field_name_length  
(tests.codec.FieldTableTestCase) ... ok
test_field_table_multiple_name_value_pair  
(tests.codec.FieldTableTestCase) ... ok
test_field_table_name_value_pair (tests.codec.FieldTableTestCase) ... ok
test_octet_out_of_upper_range (tests.codec.IntegerTestCase) ... ok
test_ulong_int (tests.codec.IntegerTestCase) ... ok
test_ulong_int_decode (tests.codec.IntegerTestCase) ... ok
test_ulong_int_out_of_lower_range (tests.codec.IntegerTestCase) ... ok
test_ulong_int_out_of_upper_range (tests.codec.IntegerTestCase) ... ok
test_ulong_int_with_fraction (tests.codec.IntegerTestCase) ... [...]/ 
codec.py:98: DeprecationWarning: integer argument expected, got float
   self.write(pack(fmt, *args))
ok
test_ulong_long_int (tests.codec.IntegerTestCase) ... ok
test_ulong_long_int_decode (tests.codec.IntegerTestCase) ... ok
test_ulong_long_int_out_of_lower_range  
(tests.codec.IntegerTestCase) ... ok
test_ulong_long_int_out_of_upper_range  
(tests.codec.IntegerTestCase) ... ok
test_ulong_long_int_with_fraction (tests.codec.IntegerTestCase) ... ok
test_unsigned_octet (tests.codec.IntegerTestCase) ... ok
test_unsigned_octet_decode (tests.codec.IntegerTestCase) ... ok
test_uoctet_out_of_lower_range (tests.codec.IntegerTestCase) ... ok
test_uoctet_with_fraction (tests.codec.IntegerTestCase) ... ok
test_ushort_int (tests.codec.IntegerTestCase) ... ok
test_ushort_int_decode (tests.codec.IntegerTestCase) ... ok
test_ushort_int_out_of_lower_range (tests.codec.IntegerTestCase) ... ok
test_ushort_int_out_of_upper_range (tests.codec.IntegerTestCase) ... ok
test_ushort_int_with_fraction (tests.codec.IntegerTestCase) ... ok
test_long_string_decode (tests.codec.StringTestCase) ... ok
test_long_string_positive_length (tests.codec.StringTestCase) ... ok
test_long_string_zero_length (tests.codec.StringTestCase) ... ok
test_short_string_decode (tests.codec.StringTestCase) ... ok
test_short_string_out_of_upper_range (tests.codec.StringTestCase) ... ok
test_short_string_positive_length (tests.codec.StringTestCase) ... ok
test_short_string_zero_length (tests.codec.StringTestCase) ... ok
test_oldtestcases (tests.codec.oldTests) ... ok
test_close (tests.queue.QueueTest) ... ok
test_listen (tests.queue.QueueTest) ... ok
test_load_0_10 (tests.spec.SpecTest) ... Warning: duplicate id:  
Constant(name=xa_rbrollback, id=1)
Warning: duplicate id: Constant(name=xa_rbtimeout, id=2)
Warning: duplicate id: Constant(name=xa_heurhaz, id=3)
Warning: duplicate id: Constant(name=xa_rdonly, id=7)
ok
test_load_0_8 (tests.spec.SpecTest) ... ok
test_load_0_9 (tests.spec.SpecTest) ... ok
test_load_0_9_errata (tests.spec.SpecTest) ... ok
test_ack (tests_0-8.basic.BasicTests) ...

Here it hangs and I have to forcefully terminate the Python instance  
(^Z kill %1;fg ^C) to get to the shell again.

If I run a local broker instead of using dev.rabbitmq.com I also see  
the same hangs in test_ack.

Regards

Maximillian





More information about the rabbitmq-discuss mailing list