You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Gordon Sim <gs...@redhat.com> on 2010/11/12 15:03:58 UTC

cluster_tests.LongTests.test_failover: poll() takes exactly 1 argument (2 given)

Anyone else seeing the following?

> cluster_tests.LongTests.test_failover .......................................................................................................... fail
> Error during teardown:
>   Traceback (most recent call last):
>     File "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/commands/qpid-python-test", line 311, in run
>       phase()
>     File "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/qpid/brokertest.py", line 495, in tearDown
>       if err: raise Exception("Unexpected process status:\n    "+"\n    ".join(err))
>   Exception: Unexpected process status:
>       poll() takes exactly 1 argument (2 given)
>       poll() takes exactly 1 argument (2 given)
>       poll() takes exactly 1 argument (2 given)
>       poll() takes exactly 1 argument (2 given)
>       poll() takes exactly 1 argument (2 given)

It seems to be a result of 
http://svn.apache.org/viewvc?rev=1032636&view=rev, as reverting that 
fixes the problem. I'm using python 2.6.

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


Re: cluster_tests.LongTests.test_failover: poll() takes exactly 1 argument (2 given)

Posted by Gordon Sim <gs...@redhat.com>.
On 11/12/2010 03:29 PM, Alan Conway wrote:
> On 11/12/2010 09:03 AM, Gordon Sim wrote:
>> Anyone else seeing the following?
>>
>>> cluster_tests.LongTests.test_failover
>>> ..........................................................................................................
>>>
>>> fail
>>> Error during teardown:
>>> Traceback (most recent call last):
>>> File
>>> "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/commands/qpid-python-test",
>>>
>>> line 311, in run
>>> phase()
>>> File
>>> "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/qpid/brokertest.py",
>>>
>>> line 495, in tearDown
>>> if err: raise Exception("Unexpected process status:\n "+"\n ".join(err))
>>> Exception: Unexpected process status:
>>> poll() takes exactly 1 argument (2 given)
>>> poll() takes exactly 1 argument (2 given)
>>> poll() takes exactly 1 argument (2 given)
>>> poll() takes exactly 1 argument (2 given)
>>> poll() takes exactly 1 argument (2 given)
>>
>> It seems to be a result of
>> http://svn.apache.org/viewvc?rev=1032636&view=rev, as
>> reverting that fixes the problem. I'm using python 2.6.
>>
>
> Fixed in r1034421, I've verified this works on python 2.4 and 2.6.

Thanks very much, Alan!

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


Re: cluster_tests.LongTests.test_failover: poll() takes exactly 1 argument (2 given)

Posted by Alan Conway <ac...@redhat.com>.
On 11/12/2010 09:03 AM, Gordon Sim wrote:
> Anyone else seeing the following?
>
>> cluster_tests.LongTests.test_failover
>> ..........................................................................................................
>> fail
>> Error during teardown:
>> Traceback (most recent call last):
>> File
>> "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/commands/qpid-python-test",
>> line 311, in run
>> phase()
>> File
>> "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/qpid/brokertest.py",
>> line 495, in tearDown
>> if err: raise Exception("Unexpected process status:\n "+"\n ".join(err))
>> Exception: Unexpected process status:
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>
> It seems to be a result of http://svn.apache.org/viewvc?rev=1032636&view=rev, as
> reverting that fixes the problem. I'm using python 2.6.
>

Fixed in r1034421, I've verified this works on python 2.4 and 2.6.

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


Re: cluster_tests.LongTests.test_failover: poll() takes exactly 1 argument (2 given)

Posted by Alan Conway <ac...@redhat.com>.
On 11/12/2010 09:03 AM, Gordon Sim wrote:
> Anyone else seeing the following?
>
>> cluster_tests.LongTests.test_failover
>> ..........................................................................................................
>> fail
>> Error during teardown:
>> Traceback (most recent call last):
>> File
>> "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/commands/qpid-python-test",
>> line 311, in run
>> phase()
>> File
>> "/home/gordon/projects/qpid-svn-trunk/cpp/build/src/tests/python/qpid/brokertest.py",
>> line 495, in tearDown
>> if err: raise Exception("Unexpected process status:\n "+"\n ".join(err))
>> Exception: Unexpected process status:
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>> poll() takes exactly 1 argument (2 given)
>
> It seems to be a result of http://svn.apache.org/viewvc?rev=1032636&view=rev, as
> reverting that fixes the problem. I'm using python 2.6.
>

Thats a problem with python versions, the fix is required to solve a different 
problem on older versions. I'll look into a fix for both.

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