You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Alan Conway <ac...@redhat.com> on 2012/01/19 23:59:15 UTC

run_federation_test failing on trunk?

I'm seeing run_federation_test failing 
federation.FederationTests.test_pull_from_queue_recovery on trunk. Anybody else 
see this?

federation.FederationTests.test_pull_from_queue_recovery 
............................. fail
Error during test:  Traceback (most recent call last):
     File 
"/home/remote/aconway/qpidha/opt/src/tests/python/commands/qpid-python-test", 
line 340, in run
       phase()
     File "/home/remote/aconway/qpidha/qpid/cpp/src/tests/federation.py", line 
315, in test_pull_from_queue_recovery
       self.fail("Failed to find expected message containing 'Message %d'" % i)
     File "/usr/lib64/python2.4/unittest.py", line 301, in fail
       raise self.failureException, msg
   AssertionError: Failed to find expected message containing 'Message 6'


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: run_federation_test failing on trunk?

Posted by Gordon Sim <gs...@redhat.com>.
On 01/19/2012 11:40 PM, Alan Conway wrote:
> On 01/19/2012 05:59 PM, Alan Conway wrote:
>> I'm seeing run_federation_test failing
>> federation.FederationTests.test_pull_from_queue_recovery on trunk.
>> Anybody else
>> see this?
>>
>> federation.FederationTests.test_pull_from_queue_recovery
>> ............................. fail
>> Error during test: Traceback (most recent call last):
>> File
>> "/home/remote/aconway/qpidha/opt/src/tests/python/commands/qpid-python-test",
>>
>> line 340, in run
>> phase()
>> File "/home/remote/aconway/qpidha/qpid/cpp/src/tests/federation.py",
>> line 315,
>> in test_pull_from_queue_recovery
>> self.fail("Failed to find expected message containing 'Message %d'" % i)
>> File "/usr/lib64/python2.4/unittest.py", line 301, in fail
>> raise self.failureException, msg
>> AssertionError: Failed to find expected message containing 'Message 6'
>>
>
> I've tracked the cause of this failure to r1233083
> QPID-3352: Fix test for failed session to avoid confusion with as yet
> uninitialised session
>
> Gordon does anything spring to mind?

I committed that to the qpid-3603 branch (where that test appears to be 
disabled which is why I did not notice the failure), not to trunk.

However the 'fix' clearly breaks the re-establishment of the bridge for 
some reason... I'll investigate.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: run_federation_test failing on trunk?

Posted by Alan Conway <ac...@redhat.com>.
On 01/19/2012 05:59 PM, Alan Conway wrote:
> I'm seeing run_federation_test failing
> federation.FederationTests.test_pull_from_queue_recovery on trunk. Anybody else
> see this?
>
> federation.FederationTests.test_pull_from_queue_recovery
> ............................. fail
> Error during test: Traceback (most recent call last):
> File
> "/home/remote/aconway/qpidha/opt/src/tests/python/commands/qpid-python-test",
> line 340, in run
> phase()
> File "/home/remote/aconway/qpidha/qpid/cpp/src/tests/federation.py", line 315,
> in test_pull_from_queue_recovery
> self.fail("Failed to find expected message containing 'Message %d'" % i)
> File "/usr/lib64/python2.4/unittest.py", line 301, in fail
> raise self.failureException, msg
> AssertionError: Failed to find expected message containing 'Message 6'
>

I've tracked the cause of this failure to r1233083
     QPID-3352: Fix test for failed session to avoid confusion with as yet 
uninitialised session

Gordon does anything spring to mind?

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


RE: run_federation_test failing on trunk?

Posted by Steve Huston <sh...@riverace.com>.
I'm seeing the same problem on the nightly cmake build on RHEL 5.

> -----Original Message-----
> From: Alan Conway [mailto:aconway@redhat.com]
> Sent: Thursday, January 19, 2012 5:59 PM
> To: Qpid Dev
> Subject: run_federation_test failing on trunk?
> 
> I'm seeing run_federation_test failing
> federation.FederationTests.test_pull_from_queue_recovery on trunk.
> Anybody else see this?
> 
> federation.FederationTests.test_pull_from_queue_recovery
> ............................. fail
> Error during test:  Traceback (most recent call last):
>      File
> "/home/remote/aconway/qpidha/opt/src/tests/python/commands/qpid-
> python-test",
> line 340, in run
>        phase()
>      File
"/home/remote/aconway/qpidha/qpid/cpp/src/tests/federation.py",
> line 315, in test_pull_from_queue_recovery
>        self.fail("Failed to find expected message containing 'Message
%d'" % i)
>      File "/usr/lib64/python2.4/unittest.py", line 301, in fail
>        raise self.failureException, msg
>    AssertionError: Failed to find expected message containing 'Message
6'
> 
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org