You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Created) (JIRA)" <ji...@apache.org> on 2012/02/02 16:51:54 UTC

[jira] [Created] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
----------------------------------------------------------------------------------------

                 Key: QPID-3803
                 URL: https://issues.apache.org/jira/browse/QPID-3803
             Project: Qpid
          Issue Type: Bug
          Components: Java Tests
    Affects Versions: 0.15
            Reporter: Alex Rudyy
             Fix For: 0.15
         Attachments: TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt

Testcase: testClientAckSortedQueue took 9.829 sec
        FAILED
Incorrect number of messages received expected:<200> but was:<42>
junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
        at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
        at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
        at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Keith Wall (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205312#comment-13205312 ] 

Keith Wall commented on QPID-3803:
----------------------------------

Patch applied.
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-3803:
-----------------------------

    Attachment: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch

Attached a patch with the fix
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Keith Wall (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205307#comment-13205307 ] 

Keith Wall commented on QPID-3803:
----------------------------------

We are still seeing the occasional failure on one CI box (on bdb profiles).

Looking at the logs from failing runs, I can see that the consumer did complete within the allowed time (9.6s in the case in front of me), but still the assertion about the number of messages consumed failed.   This can only be caused by a publication problem with the _consumed member.  The test observes _consumed in a thread safe manner (main), but the update is not thread safe (consumer thread).
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Robbie Gemmell (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-3803:
---------------------------------

    Assignee: Alex Rudyy  (was: Robbie Gemmell)
      Status: Open  (was: Ready To Review)
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Keith Wall (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3803:
-----------------------------

    Status: Ready To Review  (was: In Progress)
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-3803:
-----------------------------

    Status: Ready To Review  (was: In Progress)
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Robbie Gemmell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199637#comment-13199637 ] 

Robbie Gemmell commented on QPID-3803:
--------------------------------------

Looking at the changes I would say the increase from 5 to 50 seconds would be better wrapped in an 'if persistent else' so that the extra time is only allotted on persistent runs (which is where the problem occurred due to slow disks), as I think taking over 5 ssecodns for 200 transient messages is something we would want to know about.

In the changes to the while loop, it now appears like the loop can spin while failing to receive messages in the 1 second timeout. I would probably choose to remove that possibility and just allow more time for an individual receive to succeed (again probably selectively allocating a longer time on persistent runs e.g 3 seconds, as it would be interesting to know that it took longer than a second on a transient run). 
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Robbie Gemmell
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy reassigned QPID-3803:
--------------------------------

    Assignee: Robbie Gemmell  (was: Alex Rudyy)

Robbie, 

Could you please review and commit the patch?
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Robbie Gemmell
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Robbie Gemmell (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-3803.
----------------------------------

    Resolution: Fixed

Patch applied.
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Robbie Gemmell
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy reassigned QPID-3803:
--------------------------------

    Assignee: Robbie Gemmell  (was: Alex Rudyy)

Robbie,

Could you please apply an updated patch?

I only changed receive and join intervals.
Depending whether broker is persistent or transient the different values for these intervals are used
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Robbie Gemmell
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy reassigned QPID-3803:
--------------------------------

    Assignee: Alex Rudyy
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Reopened] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Keith Wall (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reopened QPID-3803:
------------------------------

      Assignee: Keith Wall  (was: Robbie Gemmell)
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-3803:
-----------------------------

    Attachment: TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out
                TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-3803:
-----------------------------

    Attachment:     (was: 0001-QPID-3803-Fix-test-SortedQueueTest-failures.patch)
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Robbie Gemmell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206597#comment-13206597 ] 

Robbie Gemmell commented on QPID-3803:
--------------------------------------

This failed yet again on the slow machine in question. Looking over the logs showed that the publisher sent the 200 messages but did not complete doing so until well after it appeared the consumer failed the test. This suggests the consumer timed out on receive() while waiting for the publisher (which is writing to a slow RAID6 array). This is probably partly the fault of the consumer being started before the publisher which is then always trying to keep up, although I beleive it is the intent of the test for publication and consumption to occur in parrallel to test the SortedQueue in a more intensive manner than fill-drain so this is somewhat necessary. I have increased all the receive timeouts when running on persistent profiles in atempt to compensate for such publication shortfalls.
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Robbie Gemmell (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-3803.
----------------------------------

    Resolution: Fixed
      Assignee: Robbie Gemmell  (was: Keith Wall)

The tests don't seem to have failed since the last change, closing out.
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Robbie Gemmell
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-3803:
-----------------------------

    Attachment: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch

Uploaded a new patch
                
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3803) System tests SortedQueueTest#testSortedQueue fail ocasionally on slow machines

Posted by "Alex Rudyy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-3803:
-----------------------------

    Status: Ready To Review  (was: In Progress)
    
> System tests SortedQueueTest#test<ACK MODE>SortedQueue fail ocasionally on slow machines
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3803
>                 URL: https://issues.apache.org/jira/browse/QPID-3803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3803-Fix-SortedQueueTest-tests.patch, TEST-org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue.out, TEST-org.apache.qpid.server.queue.SortedQueueTest.txt
>
>
> Testcase: testClientAckSortedQueue took 9.829 sec
>         FAILED
> Incorrect number of messages received expected:<200> but was:<42>
> junit.framework.AssertionFailedError: Incorrect number of messages received expected:<200> but was:<42>
>         at org.apache.qpid.server.queue.SortedQueueTest.runThroughSortedQueueForSessionMode(SortedQueueTest.java:154)
>         at org.apache.qpid.server.queue.SortedQueueTest.testClientAckSortedQueue(SortedQueueTest.java:122)
>         at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
>         at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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