qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (QPID-4014) System test ConflationQueueTest.testParallelProductionAndConsumption failed
Date Wed, 01 Aug 2012 13:47:05 GMT

     [ https://issues.apache.org/jira/browse/QPID-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keith Wall closed QPID-4014.
----------------------------

    Resolution: Fixed
    
> System test ConflationQueueTest.testParallelProductionAndConsumption failed
> ---------------------------------------------------------------------------
>
>                 Key: QPID-4014
>                 URL: https://issues.apache.org/jira/browse/QPID-4014
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>            Reporter: Philip Harvey
>            Assignee: Philip Harvey
>            Priority: Minor
>             Fix For: 0.17
>
>         Attachments: 0001-QPID-4014-increase-debug-logging-in-ConflationQueueL.patch,
TEST-org.apache.qpid.server.queue.ConflationQueueTest.testParallelProductionAndConsumption.out.2nd-occurence.gz,
TEST-org.apache.qpid.server.queue.ConflationQueueTest.testParallelProductionAndConsumption.out.build291.gz,
TEST-org.apache.qpid.server.queue.ConflationQueueTest.testParallelProductionAndConsumption.out.build419.bz2,
TEST-org.apache.qpid.server.queue.ConflationQueueTest.testParallelProductionAndConsumption.out.gz
>
>
> Unit test ConflationQueueTest.testParallelProductionAndConsumption has failed on Jenkins
at least twice: 
> * [Build 206|https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-9-1/206/testReport/org.apache.qpid.server.queue/ConflationQueueTest/testParallelProductionAndConsumption/]
> * [Build 291|https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/291/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-9-1/testReport/junit/org.apache.qpid.server.queue/ConflationQueueTest/testParallelProductionAndConsumption/]
> This test has previously run successfully.
> On first glance, the test doesn't appear to have any inherent race conditions, therefore
it is possible that this represents a genuine problem.
> In this test, two producers each each 400 messages with alternating conflation key values,
followed by special "shutdown" messages. A single consumer remembers the latest message for
each conflation key value.
> Each producer's last few messages should be:
> * Message 397 (conflation key '1')
> * Message 398 (conflation key '0')
> * Message 399 (conflation key '1')
> * Shutdown message
> The assertion in question checks the last message received for each conflation key value.
In this case, the last message with key '1' is message 397, not the expected message 399.
> Examination of the test output (attached) indicates that the consumer received message
399 once (it must have been conflated), and that - surprisingly - it arrived *after* the two
shutdown messages.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message