activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Gao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1337) The message groups feature does not work for OpenWire protocol
Date Thu, 14 Dec 2017 04:10:05 GMT

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

Howard Gao commented on ARTEMIS-1337:
-------------------------------------

The GroupingTest.testGrouping() and MessageGroupCloseTest actually verifies 2 different issues.
The testGrouping() tests the core Message Grouping with Openwire clients. The MessageGroupCloseTest
tests the Openwire Messaging Grouping features that not yet supported, i.e. the ending of
a group by setting a negative JMSXGroupSeq and setting the first grouped message with a property
called JMSXGroupFirstForConsumer. See http://activemq.apache.org/message-groups.html

For the first issue I created ARTEMIS-1558 for fixing that.

For the second issue I'm not sure whether we should bring that into 'core' so that every protocol
can support it and interact each other, or just do it for Openwire. I'd like to have some
discussion on that before taking actions.

Howard


> The message groups feature does not work for OpenWire protocol
> --------------------------------------------------------------
>
>                 Key: ARTEMIS-1337
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1337
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker, OpenWire
>    Affects Versions: 2.3.0
>            Reporter: Jiri Daněk
>            Assignee: Howard Gao
>            Priority: Critical
>
> There are two automated tests which suggest this may be broken (In addition to my manual
testing). First, 
> consider {{org.apache.activemq.artemis.tests.integration.jms.client.GroupingTest#testGrouping}}
which I've updated to include OpenWire. Second, there is activemq5 test {{MessageGroupCloseTest}}
> You can run the latter test by the usual command
> {noformat}
> mvn test -Ptests -Popenwire-tests -Dtest=MessageGroupCloseTest -DfailIfNoTests=false
-Drat.ignoreErrors=true -DskipStyleCheck=true
> {noformat}
> First, GroupingTest. My version of the test class as a whole probably contains wrongly
ported test methods ;( but this one failing on openwire is likely due to broken msg grouping
feature.
> org.apache.activemq.artemis.tests.integration.jms.client.GroupingTest#testGrouping fails
with failed assertion at {{assertEquals("Message" + j, tm.getText()); }}
> If I print the text of the message that were received on receiver1, I get {{Message0,
Message3, Message6, Message9, Message12, ...)), so apparently the Message Grouping feature
does not work with OpenWire protocol (messages with the same GroupID are being spread across
receivers).
> Second, MessageGroupCloseTest
> Looking at the logs it prints while running, it seems obvious messages are not being
grouped
> {noformat}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.activemq.usecases.MessageGroupCloseTest
> xxxxxcreating conn: tcp://localhost:61616?invmBrokerId=localhost&broker.useJmx=false&broker.persistent=false
> 2017-06-01 13:12:25,167 [main           ] - INFO  TcpTransportFactory            - deciding
whether starting an internal broker: null flag: false
> 2017-06-01 13:12:25,182 [main           ] - INFO  BrokerService                  - port
61616 is being used.
> xxxxxxxxxxxx created transporttcp://localhost:61616
> 2017-06-01 13:12:28,687 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - starting
consumer2
> 2017-06-01 13:12:28,690 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - starting
consumer1
> 2017-06-01 13:12:28,913 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=1
> 2017-06-01 13:12:28,924 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=2
> 2017-06-01 13:12:28,932 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=3
> 2017-06-01 13:12:28,940 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=4
> 2017-06-01 13:12:28,946 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=-1
> 2017-06-01 13:12:28,953 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=6
> 2017-06-01 13:12:28,958 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=7
> 2017-06-01 13:12:28,965 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=8
> 2017-06-01 13:12:28,977 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=9
> 2017-06-01 13:12:28,984 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=0, seq=-1
> 2017-06-01 13:12:28,984 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
messages: group=0
> 2017-06-01 13:12:28,991 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=1
> 2017-06-01 13:12:29,003 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=2
> 2017-06-01 13:12:29,010 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=3
> 2017-06-01 13:12:29,036 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=4
> 2017-06-01 13:12:29,042 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=-1
> 2017-06-01 13:12:29,057 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=6
> 2017-06-01 13:12:29,062 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=7
> 2017-06-01 13:12:29,068 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=8
> 2017-06-01 13:12:29,078 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=9
> 2017-06-01 13:12:29,086 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=1, seq=-1
> 2017-06-01 13:12:29,095 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=1
> 2017-06-01 13:12:29,103 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=2
> 2017-06-01 13:12:29,111 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=3
> 2017-06-01 13:12:29,118 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=4
> 2017-06-01 13:12:29,127 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=-1
> 2017-06-01 13:12:29,134 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=6
> 2017-06-01 13:12:29,140 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=7
> 2017-06-01 13:12:29,146 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=8
> 2017-06-01 13:12:29,153 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=9
> 2017-06-01 13:12:29,159 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=2, seq=-1
> 2017-06-01 13:12:29,167 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=1
> 2017-06-01 13:12:29,173 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=2
> 2017-06-01 13:12:29,179 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=3
> 2017-06-01 13:12:29,188 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=4
> 2017-06-01 13:12:29,194 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=-1
> 2017-06-01 13:12:29,200 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=6
> 2017-06-01 13:12:29,209 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=7
> 2017-06-01 13:12:29,216 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=8
> 2017-06-01 13:12:29,223 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=9
> 2017-06-01 13:12:29,230 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=3, seq=-1
> 2017-06-01 13:12:29,236 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=1
> 2017-06-01 13:12:29,244 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=2
> 2017-06-01 13:12:29,249 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=3
> 2017-06-01 13:12:29,257 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=4
> 2017-06-01 13:12:29,263 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=-1
> 2017-06-01 13:12:29,270 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=6
> 2017-06-01 13:12:29,275 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=7
> 2017-06-01 13:12:29,282 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=8
> 2017-06-01 13:12:29,288 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=9
> 2017-06-01 13:12:29,295 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=4, seq=-1
> 2017-06-01 13:12:29,303 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=1
> 2017-06-01 13:12:29,310 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=2
> 2017-06-01 13:12:29,316 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=3
> 2017-06-01 13:12:29,325 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=4
> 2017-06-01 13:12:29,330 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=-1
> 2017-06-01 13:12:29,336 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=6
> 2017-06-01 13:12:29,347 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=7
> 2017-06-01 13:12:29,352 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=8
> 2017-06-01 13:12:29,359 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=9
> 2017-06-01 13:12:29,367 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=5, seq=-1
> 2017-06-01 13:12:29,373 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=1
> 2017-06-01 13:12:29,380 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=2
> 2017-06-01 13:12:29,386 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=3
> 2017-06-01 13:12:29,393 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=4
> 2017-06-01 13:12:29,399 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=-1
> 2017-06-01 13:12:29,406 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=6
> 2017-06-01 13:12:29,414 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=7
> 2017-06-01 13:12:29,420 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=8
> 2017-06-01 13:12:29,427 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=9
> 2017-06-01 13:12:29,433 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=6, seq=-1
> 2017-06-01 13:12:29,439 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=1
> 2017-06-01 13:12:29,446 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=2
> 2017-06-01 13:12:29,452 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=3
> 2017-06-01 13:12:29,463 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=4
> 2017-06-01 13:12:29,470 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=-1
> 2017-06-01 13:12:29,476 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=6
> 2017-06-01 13:12:29,485 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=7
> 2017-06-01 13:12:29,491 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=8
> 2017-06-01 13:12:29,497 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=9
> 2017-06-01 13:12:29,503 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=7, seq=-1
> 2017-06-01 13:12:29,509 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=1
> 2017-06-01 13:12:29,516 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=2
> 2017-06-01 13:12:29,523 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=3
> 2017-06-01 13:12:29,528 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=4
> 2017-06-01 13:12:29,533 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=-1
> 2017-06-01 13:12:29,541 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=6
> 2017-06-01 13:12:29,547 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=7
> 2017-06-01 13:12:29,554 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=8
> 2017-06-01 13:12:29,561 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=9
> 2017-06-01 13:12:29,567 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=8, seq=-1
> 2017-06-01 13:12:29,574 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=1
> 2017-06-01 13:12:29,580 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=2
> 2017-06-01 13:12:29,589 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=3
> 2017-06-01 13:12:29,596 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=4
> 2017-06-01 13:12:29,602 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=-1
> 2017-06-01 13:12:29,609 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=6
> 2017-06-01 13:12:29,616 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=7
> 2017-06-01 13:12:29,621 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=8
> 2017-06-01 13:12:29,627 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=9
> 2017-06-01 13:12:29,634 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - Sent
message: group=9, seq=-1
> 2017-06-01 13:12:29,634 [Thread-2       ] - INFO  MessageGroupNewConsumerTest    - 100
messages sent
> 2017-06-01 13:12:29,639 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=0, seq=2
> 2017-06-01 13:12:29,639 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=0, seq=2
> 2017-06-01 13:12:29,642 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=0, seq=1
> 2017-06-01 13:12:29,643 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=0, seq=1
> 2017-06-01 13:12:29,656 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=0, seq=4
> 2017-06-01 13:12:29,660 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=0, seq=3
> 2017-06-01 13:12:29,665 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=0, seq=-1
> 2017-06-01 13:12:29,666 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=0, seq=6
> 2017-06-01 13:12:29,674 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=0, seq=7
> 2017-06-01 13:12:29,674 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=0, seq=7
> 2017-06-01 13:12:29,678 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=0, seq=9
> 2017-06-01 13:12:29,686 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=0, seq=8
> 2017-06-01 13:12:29,687 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=0, seq=-1
> 2017-06-01 13:12:29,700 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=1, seq=1
> 2017-06-01 13:12:29,700 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=1, seq=1
> 2017-06-01 13:12:29,711 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=1, seq=3
> 2017-06-01 13:12:29,711 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=1, seq=3
> 2017-06-01 13:12:29,712 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=1, seq=2
> 2017-06-01 13:12:29,720 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=1, seq=4
> 2017-06-01 13:12:29,720 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=1, seq=-1
> 2017-06-01 13:12:29,728 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=1, seq=7
> 2017-06-01 13:12:29,734 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=1, seq=6
> 2017-06-01 13:12:29,734 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=1, seq=6
> 2017-06-01 13:12:29,737 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=1, seq=8
> 2017-06-01 13:12:29,744 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=1, seq=9
> 2017-06-01 13:12:29,748 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=2, seq=1
> 2017-06-01 13:12:29,748 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=2, seq=1
> 2017-06-01 13:12:29,754 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=2, seq=2
> 2017-06-01 13:12:29,754 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=1, seq=-1
> 2017-06-01 13:12:29,761 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=2, seq=-1
> 2017-06-01 13:12:29,761 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=2, seq=3
> 2017-06-01 13:12:29,761 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=2, seq=3
> 2017-06-01 13:12:29,767 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=2, seq=6
> 2017-06-01 13:12:29,767 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=2, seq=6
> 2017-06-01 13:12:29,767 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=2, seq=4
> 2017-06-01 13:12:29,774 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=2, seq=9
> 2017-06-01 13:12:29,774 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=2, seq=7
> 2017-06-01 13:12:29,780 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=2, seq=8
> 2017-06-01 13:12:29,780 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=2, seq=-1
> 2017-06-01 13:12:29,790 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=3, seq=2
> 2017-06-01 13:12:29,790 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=3, seq=2
> 2017-06-01 13:12:29,790 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=3, seq=1
> 2017-06-01 13:12:29,791 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=3, seq=1
> 2017-06-01 13:12:29,798 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=3, seq=4
> 2017-06-01 13:12:29,803 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=3, seq=6
> 2017-06-01 13:12:29,803 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=3, seq=3
> 2017-06-01 13:12:29,811 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=3, seq=8
> 2017-06-01 13:12:29,817 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=3, seq=-1
> 2017-06-01 13:12:29,817 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=3, seq=-1
> 2017-06-01 13:12:29,823 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=3, seq=7
> 2017-06-01 13:12:29,823 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=4, seq=2
> 2017-06-01 13:12:29,823 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=4, seq=2
> 2017-06-01 13:12:29,823 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=3, seq=7
> 2017-06-01 13:12:29,830 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=4, seq=3
> 2017-06-01 13:12:29,836 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=3, seq=9
> 2017-06-01 13:12:29,836 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=4, seq=-1
> 2017-06-01 13:12:29,843 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=4, seq=1
> 2017-06-01 13:12:29,844 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=4, seq=1
> 2017-06-01 13:12:29,844 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=4, seq=7
> 2017-06-01 13:12:29,845 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=4, seq=7
> 2017-06-01 13:12:29,853 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=4, seq=4
> 2017-06-01 13:12:29,853 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=4, seq=9
> 2017-06-01 13:12:29,863 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=4, seq=6
> 2017-06-01 13:12:29,864 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=5, seq=1
> 2017-06-01 13:12:29,865 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=5, seq=1
> 2017-06-01 13:12:29,869 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=4, seq=8
> 2017-06-01 13:12:29,877 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=5, seq=2
> 2017-06-01 13:12:29,878 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=4, seq=-1
> 2017-06-01 13:12:29,883 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=5, seq=-1
> 2017-06-01 13:12:29,883 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=5, seq=3
> 2017-06-01 13:12:29,883 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=5, seq=3
> 2017-06-01 13:12:29,889 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=5, seq=7
> 2017-06-01 13:12:29,890 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=5, seq=7
> 2017-06-01 13:12:29,890 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=5, seq=4
> 2017-06-01 13:12:29,895 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=5, seq=-1
> 2017-06-01 13:12:29,898 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=5, seq=6
> 2017-06-01 13:12:29,903 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=6, seq=2
> 2017-06-01 13:12:29,903 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=6, seq=2
> 2017-06-01 13:12:29,910 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=5, seq=8
> 2017-06-01 13:12:29,910 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=6, seq=3
> 2017-06-01 13:12:29,915 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=5, seq=9
> 2017-06-01 13:12:29,915 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=6, seq=4
> 2017-06-01 13:12:29,923 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=6, seq=1
> 2017-06-01 13:12:29,923 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=6, seq=1
> 2017-06-01 13:12:29,930 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=6, seq=-1
> 2017-06-01 13:12:29,930 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=6, seq=7
> 2017-06-01 13:12:29,935 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=6, seq=6
> 2017-06-01 13:12:29,936 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=6, seq=6
> 2017-06-01 13:12:29,936 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=6, seq=8
> 2017-06-01 13:12:29,942 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=6, seq=-1
> 2017-06-01 13:12:29,942 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=6, seq=9
> 2017-06-01 13:12:29,948 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=7, seq=2
> 2017-06-01 13:12:29,948 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=7, seq=2
> 2017-06-01 13:12:29,954 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=7, seq=1
> 2017-06-01 13:12:29,954 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=7, seq=1
> 2017-06-01 13:12:29,955 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=7, seq=-1
> 2017-06-01 13:12:29,960 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=7, seq=3
> 2017-06-01 13:12:29,960 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=7, seq=7
> 2017-06-01 13:12:29,960 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=7, seq=7
> 2017-06-01 13:12:29,974 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=7, seq=4
> 2017-06-01 13:12:29,975 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=7, seq=9
> 2017-06-01 13:12:29,980 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=7, seq=6
> 2017-06-01 13:12:29,986 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=7, seq=8
> 2017-06-01 13:12:29,986 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=8, seq=2
> 2017-06-01 13:12:29,986 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=8, seq=2
> 2017-06-01 13:12:29,992 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=7, seq=-1
> 2017-06-01 13:12:29,995 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=8, seq=-1
> 2017-06-01 13:12:29,999 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=8, seq=1
> 2017-06-01 13:12:30,000 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=8, seq=1
> 2017-06-01 13:12:30,005 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=8, seq=6
> 2017-06-01 13:12:30,005 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=8, seq=6
> 2017-06-01 13:12:30,011 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=8, seq=3
> 2017-06-01 13:12:30,015 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=8, seq=9
> 2017-06-01 13:12:30,024 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=8, seq=4
> 2017-06-01 13:12:30,032 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=9, seq=1
> 2017-06-01 13:12:30,032 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
JMSXGroupFirstForConsumer not set for group=9, seq=1
> 2017-06-01 13:12:30,034 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=8, seq=7
> 2017-06-01 13:12:30,040 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=9, seq=3
> 2017-06-01 13:12:30,040 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=8, seq=8
> 2017-06-01 13:12:30,050 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=9, seq=4
> 2017-06-01 13:12:30,056 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=8, seq=-1
> 2017-06-01 13:12:30,057 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=9, seq=7
> 2017-06-01 13:12:30,062 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=9, seq=2
> 2017-06-01 13:12:30,062 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=9, seq=2
> 2017-06-01 13:12:30,062 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
got message group=9, seq=8
> 2017-06-01 13:12:30,069 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=9, seq=-1
> 2017-06-01 13:12:30,075 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=9, seq=6
> 2017-06-01 13:12:30,075 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
JMSXGroupFirstForConsumer not set for group=9, seq=6
> 2017-06-01 13:12:30,081 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=9, seq=9
> 2017-06-01 13:12:30,087 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
got message group=9, seq=-1
> 2017-06-01 13:12:35,069 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
total messages=47
> 2017-06-01 13:12:35,069 [Thread-3       ] - INFO  MessageGroupNewConsumerTest    - Con1:
total message groups=10
> 2017-06-01 13:12:35,093 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
total messages=53
> 2017-06-01 13:12:35,093 [Thread-4       ] - INFO  MessageGroupNewConsumerTest    - Con2:
total message groups=10
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.202 sec <<<
FAILURE! - in org.apache.activemq.usecases.MessageGroupCloseTest
> testNewConsumer(org.apache.activemq.usecases.MessageGroupCloseTest)  Time elapsed: 10.2
sec  <<< FAILURE!
> junit.framework.AssertionFailedError: not all message groups closed for consumer 1 expected:<10>
but was:<3>
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.failNotEquals(Assert.java:329)
> 	at junit.framework.Assert.assertEquals(Assert.java:78)
> 	at junit.framework.Assert.assertEquals(Assert.java:234)
> 	at junit.framework.TestCase.assertEquals(TestCase.java:401)
> 	at org.apache.activemq.usecases.MessageGroupCloseTest.testNewConsumer(MessageGroupCloseTest.java:180)
> Results :
> Failed tests: 
>   MessageGroupCloseTest.testNewConsumer:180 not all message groups closed for consumer
1 expected:<10> but was:<3>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> [ERROR] There are test failures.
> {noformat}



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

Mime
View raw message