Quantcast

RabbitMQ & QPid test suite

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RabbitMQ & QPid test suite

Maximillian Dornseif
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/[hidden email] -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


_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: RabbitMQ & QPid test suite

Matthias Radestock-2
Maximillian Dornseif wrote:
> 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?

The 0-8 spec file that ships with the qpid test suite is not the same as
the one published by the AMQP working group.

If you download the 0-8 "AMQP class definitions (XML)" from
   http://www.amqp.org/tikiwiki/tiki-index.php?page=Download
and run the test suite with the "-s <spec-file>" option pointing to that
file then the tests go through.

A small number of tests fail because they test qpid-specific extensions,
but all the rest pass.

Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Loading...