[jbossts-issues] [JBoss JIRA] (JBTM-2790) Blacktie btadmin ResumeDomainTest failure

Tom Jenkinson (JIRA) issues at jboss.org
Wed Dec 7 11:41:00 EST 2016


    [ https://issues.jboss.org/browse/JBTM-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13335477#comment-13335477 ] 

Tom Jenkinson commented on JBTM-2790:
-------------------------------------

With the additional log patch I added you can do the following to check if it is a problem with data not received on the C side:

>From the test -output.txt

PauseDomainTest
[0x00000ea0] INFO  (AtmiBrokerServer         :645 ) - Server waiting for requests...

Next thread:
2016-12-07 14:47:05,398 [0x00000a48] DEBUG (HybridConnectionImpl     :128 ) - Sending CONNECT


stomp_read_line: remote 61613 local 49766 x46 then a gap
2016-12-07 14:47:11,818 [0x00000a48] TRACE (AtmiBrokerLogc           :84  ) - stomp_read_line: remote 61613 local 49766
2016-12-07 14:47:11,818 [0x00000a48] TRACE (AtmiBrokerLogc           :84  ) - Read the command MESSAGE
2016-12-07 14:47:11,833 [0x00000a48] DEBUG (HybridStompEndpointQueue :569 ) - Acked: ID:08d26c84-bc8c-11e6-9f10-525400b0f360
2016-12-07 14:47:11,849 [0x00000a48] DEBUG (AtmiBrokerAdmin          :43  ) - get request is pause

grep -a "08d26c84-bc8c-11e6-9f10-525400b0f360\|49766" server.log > out

2016-12-07 14:47:11,816 DEBUG [org.codehaus.stomp.jms.StompSubscription] (Thread-17 (ActiveMQ-client-global-threads-4585758)) Received from HQ: ID:08d26c84-bc8c-11e6-9f10-525400b0f360
2016-12-07 14:47:11,869 DEBUG [org.codehaus.stomp.tcp.TcpTransport] (Thread-17 (ActiveMQ-client-global-threads-4585758)) Flushed message to server side: remote - 49766 local - 61613

Also, I observed on both Windows and Linux that both server messages startup should be printed. So when the log is incomplete it is possible that those messages are just being missed. However if it was just missed messages the Stomp side wouldn't be blocking waiting for the ack so I think the data is not fully flushed.

Someone on the internet said to make sure a \n is flushed for the remote side but we do this so I don't think it's that.

> Blacktie btadmin ResumeDomainTest failure
> -----------------------------------------
>
>                 Key: JBTM-2790
>                 URL: https://issues.jboss.org/browse/JBTM-2790
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: BlackTie, Testing
>            Reporter: Amos Feng
>            Assignee: Amos Feng
>
> It looks like the ResumeDomainTest.setUp() sends the "pauseDomain' command but can not receive the response from the jboss-as server.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list