You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Carl Trieloff (JIRA)" <qp...@incubator.apache.org> on 2006/11/22 19:22:01 UTC

[jira] Created: (QPID-123) Sporadic failure on Python tests

Sporadic failure on Python tests
--------------------------------

                 Key: QPID-123
                 URL: http://issues.apache.org/jira/browse/QPID-123
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: M2
            Reporter: Carl Trieloff
             Fix For: M2


======================================================================
FAIL: test_ack (tests.basic.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 167, in test_ack
    self.assertEqual("One", msg1.content.body)
AssertionError: 'One' != 'Three'

======================================================================
FAIL: test_recover_requeue (tests.basic.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 211, in test_recover_requeue
    self.assertEqual("One", msg1.content.body)
AssertionError: 'One' != 'Three'

----------------------------------------------------------------------
Ran 43 tests in 92.811s

FAILED (failures=2)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-123) Sporadic failure on Python tests

Posted by "Kim van der Riet (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-123?page=all ]

Kim van der Riet updated QPID-123:
----------------------------------

    Attachment: qpid_cpp_test_failure.txt

I have seen the same intermitent failure. Screen-grab attached.

> Sporadic failure on Python tests
> --------------------------------
>
>                 Key: QPID-123
>                 URL: http://issues.apache.org/jira/browse/QPID-123
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M2
>            Reporter: Carl Trieloff
>             Fix For: M2
>
>         Attachments: qpid_cpp_test_failure.txt
>
>
> ======================================================================
> FAIL: test_ack (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 167, in test_ack
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ======================================================================
> FAIL: test_recover_requeue (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 211, in test_recover_requeue
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ----------------------------------------------------------------------
> Ran 43 tests in 92.811s
> FAILED (failures=2)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (QPID-123) Sporadic failure on Python tests

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-123?page=all ]

Gordon Sim resolved QPID-123.
-----------------------------

    Resolution: Fixed

Resolved by making the test queue exclusive for each of those tests such that they are destroyed on closing the connection. Subsequent re-runs don't see the messages left on the queues and don't fail.

> Sporadic failure on Python tests
> --------------------------------
>
>                 Key: QPID-123
>                 URL: http://issues.apache.org/jira/browse/QPID-123
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M2
>            Reporter: Carl Trieloff
>         Assigned To: Gordon Sim
>             Fix For: M2
>
>         Attachments: qpid_cpp_test_failure.txt
>
>
> ======================================================================
> FAIL: test_ack (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 167, in test_ack
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ======================================================================
> FAIL: test_recover_requeue (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 211, in test_recover_requeue
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ----------------------------------------------------------------------
> Ran 43 tests in 92.811s
> FAILED (failures=2)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (QPID-123) Sporadic failure on Python tests

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/QPID-123?page=comments#action_12452015 ] 
            
Gordon Sim commented on QPID-123:
---------------------------------

I believe this happens when you re-run the tests without restarting the broker ude to the queue not being deleted. I'll confirm and fix this.

> Sporadic failure on Python tests
> --------------------------------
>
>                 Key: QPID-123
>                 URL: http://issues.apache.org/jira/browse/QPID-123
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M2
>            Reporter: Carl Trieloff
>         Assigned To: Gordon Sim
>             Fix For: M2
>
>         Attachments: qpid_cpp_test_failure.txt
>
>
> ======================================================================
> FAIL: test_ack (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 167, in test_ack
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ======================================================================
> FAIL: test_recover_requeue (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 211, in test_recover_requeue
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ----------------------------------------------------------------------
> Ran 43 tests in 92.811s
> FAILED (failures=2)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (QPID-123) Sporadic failure on Python tests

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-123?page=all ]

Gordon Sim reassigned QPID-123:
-------------------------------

    Assignee: Gordon Sim

> Sporadic failure on Python tests
> --------------------------------
>
>                 Key: QPID-123
>                 URL: http://issues.apache.org/jira/browse/QPID-123
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M2
>            Reporter: Carl Trieloff
>         Assigned To: Gordon Sim
>             Fix For: M2
>
>         Attachments: qpid_cpp_test_failure.txt
>
>
> ======================================================================
> FAIL: test_ack (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 167, in test_ack
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ======================================================================
> FAIL: test_recover_requeue (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 211, in test_recover_requeue
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ----------------------------------------------------------------------
> Ran 43 tests in 92.811s
> FAILED (failures=2)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-123) Sporadic failure on Python tests

Posted by "Carl Trieloff (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-123?page=all ]

Carl Trieloff updated QPID-123:
-------------------------------



Gordon, that is correct, just figured that out. happens on re-run without shutdown.

> Sporadic failure on Python tests
> --------------------------------
>
>                 Key: QPID-123
>                 URL: http://issues.apache.org/jira/browse/QPID-123
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M2
>            Reporter: Carl Trieloff
>         Assigned To: Gordon Sim
>             Fix For: M2
>
>         Attachments: qpid_cpp_test_failure.txt
>
>
> ======================================================================
> FAIL: test_ack (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 167, in test_ack
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ======================================================================
> FAIL: test_recover_requeue (tests.basic.BasicTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/cctrieloff/apache/qpid/trunk/qpid/python/tests/basic.py", line 211, in test_recover_requeue
>     self.assertEqual("One", msg1.content.body)
> AssertionError: 'One' != 'Three'
> ----------------------------------------------------------------------
> Ran 43 tests in 92.811s
> FAILED (failures=2)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira