[ 
https://issues.apache.org/jira/browse/QPID-7059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192663#comment-16192663
 ] 

Keith Wall edited comment on QPID-7059 at 10/5/17 9:30 AM:
-----------------------------------------------------------

Repeat of same issue - log attached.  The new logging shows us that the DbPing 
is giving us a non-zero value.   The problem will be a race in the test code.   
The thread updating the remote node's attributes will be racing with the Jetty 
thread reading the attributes.   The unlucky case is where the 
lastTransactionId has been read by Jetty and then the node state mutates.  This 
will give the failure. 


was (Author: k-wall):
Repeat of same issue - log attached.  The new logging shows us that the DbPing 
is giving us a non-zero value.   The problem must be within the Qpid code, but 
I can't spot it.

> BDBHAVirtualHostNodeRestTest.testDeleteMasterNode failed sporadically on 
> Apache CI
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-7059
>                 URL: https://issues.apache.org/jira/browse/QPID-7059
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Keith Wall
>            Priority: Minor
>         Attachments: 
> TEST-org.apache.qpid.server.store.berkeleydb.replication.BDBHAVirtualHostNodeRestTest.testCreate3NodeGroup.txt
>
>
> The following test was seen to fail on Apache CI:
> https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.7%20(latest),label=Ubuntu,profile=java-bdb.0-10/2122/testReport/junit/org.apache.qpid.server.store.berkeleydb.replication/BDBHAVirtualHostNodeRestTest/testDeleteMasterNode/
> The test verifies that the remote view of the other nodes in the group is 
> populated.  In this case the test failed because the node's join time is 
> recorded as zero. 
> {noformat}
> org.apache.qpid.server.store.berkeleydb.replication.BDBHAVirtualHostNodeRestTest.testDeleteMasterNode
> Failing for the past 1 build (Since Failed#2122 )
> Took 10 sec.
> add description
> Error Message
> Node node2 has unexpected joinTime 0
> Stacktrace
> junit.framework.AssertionFailedError: Node node2 has unexpected joinTime 0
>       at junit.framework.Assert.fail(Assert.java:57)
>       at junit.framework.Assert.assertTrue(Assert.java:22)
>       at junit.framework.TestCase.assertTrue(TestCase.java:192)
>       at 
> org.apache.qpid.server.store.berkeleydb.replication.BDBHAVirtualHostNodeRestTest.assertRemoteNodeData(BDBHAVirtualHostNodeRestTest.java:412)
>       at 
> org.apache.qpid.server.store.berkeleydb.replication.BDBHAVirtualHostNodeRestTest.assertRemoteNodes(BDBHAVirtualHostNodeRestTest.java:397)
>       at 
> org.apache.qpid.server.store.berkeleydb.replication.BDBHAVirtualHostNodeRestTest.testDeleteMasterNode(BDBHAVirtualHostNodeRestTest.java:206)
> {noformat}
> There were no further errors in the logs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to