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

ASF GitHub Bot commented on ARTEMIS-1317:
-----------------------------------------

Github user jdanekrh commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1439
  
    Yes, I run `mvn -Ptests -Pextra-tests -Popenwire-tests test` which includes 
integration-tests and activemq5-openwire tests you mentioned I should run.
    
    The fails are either fails that happen "always"", but somehow did not 
happen in the run with which I was comparing, or they did not happen when I 
rerun that pariticular test from the IDE afterwards.
    
    ## List of fails, before/after PR
    
    ```diff
    --- <unnamed>
    +++ <unnamed>
    @@ -1,34 +1,30 @@
    -org.apache.activemq.ActiveMQXAConnectionFactoryTest.testRollbackXaErrorCode
    
-org.apache.activemq.artemis.tests.extras.byteman.BMFailoverTest.testFailoverOnCommit
    
+org.apache.activemq.ActiveMQXAConnectionFactoryTest.testRollbackXaErrorCode    
                                                                                
                   
    
+org.apache.activemq.artemis.tests.extras.byteman.BMFailoverTest.testFailoverOnCommit
                                                                                
              
     
org.apache.activemq.artemis.tests.extras.byteman.BMFailoverTest.testFailoverOnCommit2
     
org.apache.activemq.artemis.tests.extras.byteman.BMFailoverTest.testFailoverOnReceiveCommit
     
org.apache.activemq.artemis.tests.extras.byteman.LargeMessageOverReplicationTest.testReceiveLargeMessage
     
org.apache.activemq.artemis.tests.extras.byteman.LargeMessageOverReplicationTest.testSendLargeMessage
     
org.apache.activemq.artemis.tests.extras.byteman.RaceOnSyncLargeMessageOverReplication2Test.testSendLargeMessage
     
org.apache.activemq.artemis.tests.extras.byteman.RaceOnSyncLargeMessageOverReplicationTest.testSendLargeMessage
    
+org.apache.activemq.artemis.tests.integration.amqp.AmqpReceiverDrainTest.testReceiverCanDrainMessagesQueue
     
org.apache.activemq.artemis.tests.integration.client.LibaioDependencyCheckTest.testDependency
    
-org.apache.activemq.artemis.tests.integration.client.NettyConsumerWindowSizeTest.testSlowConsumerNoBuffer
     
org.apache.activemq.artemis.tests.integration.cluster.failover.AutomaticColocatedQuorumVoteTest.testSimpleDistributionOfBackupsMaxBackupsExceeded[replicated=true]
     
org.apache.activemq.artemis.tests.integration.cluster.failover.BackupSyncJournalTest.testFailBack
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.BackupSyncJournalTest.testMessageSyncSimple
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedAsynchronousFailoverTest.testTransactional
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedFailoverTest.testTransactedMessagesWithConsumerStartedBeforeFailover
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedLargeMessageFailoverTest.testFailBack
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedLargeMessageWithDelayFailoverTest.testLiveAndBackupLiveComesBack
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedLargeMessageWithDelayFailoverTest.testNonTransacted
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedLargeMessageWithDelayFailoverTest.testTimeoutOnFailover
    
+org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedFailoverUsingNodeGroupNameTest.testXAMessagesSentSoRollbackOnEnd2
    
+org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedLargeMessageFailoverTest.testFailThenReceiveMoreMessagesAfterFailover
    
+org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedManyMultipleServerFailoverNoNodeGroupNameTest.testStartBackupFirst
    
+org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedManyMultipleServerFailoverNoNodeGroupNameTest.testStartLiveFirst
     
org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedManyMultipleServerFailoverNoNodeGroupNameTest.testStartLiveFirst
     
org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedManyMultipleServerFailoverTest.testStartLiveFirst
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedManyMultipleServerFailoverTest.testStartLiveFirst
    
-org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedPagedFailoverTest.testReplicatedFailback
    
-org.apache.activemq.artemis.tests.integration.management.ActiveMQServerControlUsingCoreTest.testForceFailover
    
+org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedPagedFailoverTest.testFailBackLiveRestartsBackupIsGone
    
+org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedPagedFailoverTest.testXAMessagesSentSoRollbackOnEnd2
    
+org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedWithDelayFailoverTest.testXAMessagesSentSoRollbackOnEnd2
    
+org.apache.activemq.artemis.tests.integration.divert.DivertTest.testInjectedTransformer
     
org.apache.activemq.artemis.tests.integration.replication.ReplicationOrderTest.testMixedPersistentAndNonPersistentMessagesOrderWithReplicatedBackup
    
-org.apache.activemq.artemis.tests.integration.replication.ReplicationOrderTest.testTxMixedPersistentAndNonPersistentMessagesOrderWithReplicatedBackup
     
org.apache.activemq.artemis.tests.integration.replication.ReplicationTest.testOrderOnNonPersistency
    
-org.apache.activemq.artemis.tests.integration.replication.ReplicationTest.testSendPacketsWithFailure
     
org.apache.activemq.artemis.tests.integration.server.AIOFileLockTimeoutTest.testAIOFileLockExpiration
    
-org.apache.activemq.artemis.tests.integration.server.ExpiryRunnerTest.testExpireConsumeHalf
    
-org.apache.activemq.artemis.tests.integration.server.ScaleDown3NodeTest.testBasicScaleDownWithDefaultReconnectAttemptsAndLargeMessages
    
+org.apache.activemq.artemis.tests.integration.ssl.CoreClientOverOneWaySSLTest.testOneWaySSLReloaded[storeType=JCEKS]
    
+org.apache.activemq.artemis.tests.integration.stomp.v12.StompV12Test.testDurableUnSubscribe
     org.apache.activemq.JmsQueueCompositeSendReceiveTest.testDuplicate
     org.apache.activemq.JmsQueueCompositeSendReceiveTest.testSendReceive
     
org.apache.activemq.JmsQueueWildcardSendReceiveTest.testReceiveWildcardQueueEndAsterisk
    @@ -40,10 +36,10 @@
     
org.apache.activemq.JmsRedeliveredTest.testQueueSessionCloseMarksMessageRedelivered
     
org.apache.activemq.JmsRedeliveredTest.testQueueSessionCloseMarksUnAckedMessageRedelivered
     
org.apache.activemq.JmsRedeliveredTest.testQueueSessionCloseMarksUnAckedMessageRedelivered
    
-org.apache.activemq.JmsSendReceiveWithMessageExpirationTest.testConsumeExpiredQueueAndDlq
     
org.apache.activemq.JmsTopicWildcardSendReceiveTest.testReceiveWildcardTopicMatchDoubleWildcard
     org.apache.activemq.QueueConsumerPriorityTest.testQueueConsumerPriority
    
-org.apache.activemq.transport.tcp.SslBrokerServiceTest.testTopicDurableSubscriptionCanBeRestored
    
+org.apache.activemq.transport.failover.FailoverComplexClusterTest.testThreeBrokerClusterSingleConnectorBackupFailoverConfig
    
+org.apache.activemq.transport.tcp.SslBrokerServiceTest.testTopicDispatchIsBroadcast
     org.apache.activemq.transport.tcp.SslBrokerServiceTest.testTopicNoLocal 
{deliveryMode=1}
     org.apache.activemq.transport.tcp.SslBrokerServiceTest.testTopicNoLocal 
{deliveryMode=2}
     
org.apache.activemq.transport.tcp.SslBrokerServiceTest.testTopicRetroactiveConsumerSeeMessagesBeforeCreation
 {deliveryMode=1, durableConsumer=false}
    @@ -61,7 +57,6 @@
     
org.apache.activemq.transport.tcp.TcpTransportBrokerTest.testTopicDispatchIsBroadcast
     
org.apache.activemq.transport.tcp.TcpTransportBrokerTest.testTopicDurableSubscriptionCanBeRestored
     org.apache.activemq.transport.tcp.TcpTransportBrokerTest.testTopicNoLocal 
{deliveryMode=1}
    -org.apache.activemq.transport.tcp.TcpTransportBrokerTest.testTopicNoLocal 
{deliveryMode=2}
     
org.apache.activemq.transport.tcp.TcpTransportBrokerTest.testTopicRetroactiveConsumerSeeMessagesBeforeCreation
 {deliveryMode=1, durableConsumer=false}
     
org.apache.activemq.transport.tcp.TcpTransportBrokerTest.testTopicRetroactiveConsumerSeeMessagesBeforeCreation
 {deliveryMode=1, durableConsumer=true}
     
org.apache.activemq.transport.tcp.TcpTransportBrokerTest.testTopicRetroactiveConsumerSeeMessagesBeforeCreation
 {deliveryMode=2, durableConsumer=false}
    ```
    
    ## My comments
    
    * 
`org.apache.activemq.ActiveMQXAConnectionFactoryTest.testRollbackXaErrorCode` 
somehow did not fail in the first run, but it is known issue 
https://issues.apache.org/jira/browse/ARTEMIS-1249 and it always failed when I 
rerun this single test later with or without this PR applied
    * 
`org.apache.activemq.artemis.tests.extras.byteman.BMFailoverTest.testFailoverOnCommit`
 ditto, exept there is not a Jira for it
    * 
`org.apache.activemq.transport.failover.FailoverComplexClusterTest.testThreeBrokerClusterSingleConnectorBackupFailoverConfig`
 ditto, also no Jira, it fails for me on thread leak check
    * 
`org.apache.activemq.artemis.tests.integration.amqp.AmqpReceiverDrainTest.testReceiverCanDrainMessagesQueue`
 passes for me in a single test run, with or without PR; should not be 
affected, since this is AMQP
    * 
`org.apache.activemq.artemis.tests.integration.ssl.CoreClientOverOneWaySSLTest.testOneWaySSLReloaded[storeType=JCEKS]`
 passed when running as a single test
    * 
`org.apache.activemq.artemis.tests.integration.stomp.v12.StompV12Test.testDurableUnSubscribe`
 ditto
    * 
`org.apache.activemq.artemis.tests.integration.divert.DivertTest.testInjectedTransformer`
 dtto, no jira, fails with or without PR applied (with very wierd error 
"ActiveMQQueueExistsException[errorType=QUEUE_EXISTS message=AMQ119019: Queue 
already exists myQueue")
    
    * 
`org.apache.activemq.JmsSendReceiveWithMessageExpirationTest.testConsumeExpiredQueueAndDlq`
 is now passing
    the other tests that failed before and passed after are just flukes, i think
    
    I did not retry the failovers locally. Seems to me that every time a 
slightly different set fails.


> Messages that expire on OpenWire client are lost (never make it to 
> ExpiryQueue, if one is configured)
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1317
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1317
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker, OpenWire
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Jiri Danek
>            Priority: Critical
>
> The scenario is tested by an openwire test from activemq5, which is currently 
> failing.
> {noformat}
> Running org.apache.activemq.JmsSendReceiveWithMessageExpirationTest
> xxxxxcreating conn: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false
> 2017-08-01 08:40:22,905 [main           ] - INFO  TcpTransportFactory         
>    - deciding whether starting an internal broker: null flag: false
> 2017-08-01 08:40:22,905 [main           ] - INFO  TcpTransportFactory         
>    - starting internal broker: tcp://localhost:61616
> 2017-08-01 08:40:22,905 [main           ] - INFO  ArtemisBrokerHelper         
>    - ---starting broker, service is there? null
> 2017-08-01 08:40:22,905 [main           ] - INFO  BrokerService               
>    - Apache ActiveMQ Artemis Wrapper 5.14.0 (localhost, Artemis Broker) is 
> starting
> acceptor =>: TransportConfiguration(name=home, 
> factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyAcceptorFactory)
>  ?port=61616&host=localhost
> [main] 08:40:22,906 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221000: live Message Broker is starting with configuration Broker 
> Configuration 
> (clustered=false,journalDirectory=/root/workspace/peline_jdanek_artemis_junit-MXKODGBZMK2IRSU3ZGP3WXI5HYEVJ64OU2VN7HHODGYVOJ5FA7IQ/tests/activemq5-unit-tests/./target/tmp/junit5554952782813333836/journal,bindingsDirectory=/root/workspace/peline_jdanek_artemis_junit-MXKODGBZMK2IRSU3ZGP3WXI5HYEVJ64OU2VN7HHODGYVOJ5FA7IQ/tests/activemq5-unit-tests/./target/tmp/junit5554952782813333836/bindings,largeMessagesDirectory=/root/workspace/peline_jdanek_artemis_junit-MXKODGBZMK2IRSU3ZGP3WXI5HYEVJ64OU2VN7HHODGYVOJ5FA7IQ/tests/activemq5-unit-tests/./target/tmp/junit5554952782813333836/large-msg,pagingDirectory=/root/workspace/peline_jdanek_artemis_junit-MXKODGBZMK2IRSU3ZGP3WXI5HYEVJ64OU2VN7HHODGYVOJ5FA7IQ/tests/activemq5-unit-tests/./target/tmp/junit5554952782813333836/page)
> [main] 08:40:22,906 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size 
> (-Xmx). being defined as 1,851,260,928
> [main] 08:40:22,906 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-server]. Adding protocol support 
> for: CORE
> [main] 08:40:22,907 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding 
> protocol support for: OPENWIRE
> [main] 08:40:22,907 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol 
> support for: STOMP
> [main] 08:40:22,910 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221020: Started EPOLL Acceptor at localhost:61616 for protocols 
> [CORE,STOMP,OPENWIRE]
> [main] 08:40:22,910 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221007: Server is now live
> [main] 08:40:22,910 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.3.0-SNAPSHOT 
> [localhost, nodeID=95e57e85-76b6-11e7-aa4e-fa163e5a2b31] 
> 2017-08-01 08:40:22,910 [main           ] - INFO  BrokerService               
>    - Apache ActiveMQ Artemis Wrapper 5.14.0 (localhost, Artemis Broker) 
> started
> 2017-08-01 08:40:22,910 [main           ] - INFO  BrokerService               
>    - For help or more information please see: http://activemq.apache.org
> 2017-08-01 08:40:22,910 [main           ] - INFO  ArtemisBrokerHelper         
>    - started a service instance: 
> BrokerService[localhost]org.apache.activemq.broker.BrokerService@47a71f54
> 2017-08-01 08:40:22,910 [main           ] - INFO  TcpTransportFactory         
>    - just created 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false@1501591222910
> 2017-08-01 08:40:22,910 [main           ] - INFO  TcpTransportFactory         
>    - bound: localhost
> xxxxxxxxxxxx created transporttcp://localhost:61616
> 2017-08-01 08:40:22,934 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Dumping stats...
> 2017-08-01 08:40:22,934 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Closing down connection
> [Thread-1 (activemq-netty-threads)] 08:40:22,935 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 95e68ff6-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-1 (activemq-netty-threads)] 08:40:22,935 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session 95e68ff6-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-1 (activemq-netty-threads)] 08:40:22,935 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 
> ID:host-172-0-0-126.openstacklocal-39842-1501590872918-807:1:-1
> [Thread-1 (activemq-netty-threads)] 08:40:22,935 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session ID:host-172-0-0-126.openstacklocal-39842-1501590872918-807:1:-1
> xxxxxcreating conn: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false
> 2017-08-01 08:40:22,937 [main           ] - INFO  TcpTransportFactory         
>    - deciding whether starting an internal broker: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false@1501591222910
>  flag: false
> xxxxxxxxxxxx created transporttcp://localhost:61616
> 2017-08-01 08:40:22,975 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Dumping stats...
> 2017-08-01 08:40:22,976 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Closing down connection
> [Thread-2 (activemq-netty-threads)] 08:40:22,976 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 95ea608a-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-2 (activemq-netty-threads)] 08:40:22,977 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session 95ea608a-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-2 (activemq-netty-threads)] 08:40:22,977 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 
> ID:host-172-0-0-126.openstacklocal-39842-1501590872918-809:1:-1
> [Thread-2 (activemq-netty-threads)] 08:40:22,977 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session ID:host-172-0-0-126.openstacklocal-39842-1501590872918-809:1:-1
> xxxxxcreating conn: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false
> 2017-08-01 08:40:22,980 [main           ] - INFO  TcpTransportFactory         
>    - deciding whether starting an internal broker: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false@1501591222910
>  flag: false
> xxxxxxxxxxxx created transporttcp://localhost:61616
> 2017-08-01 08:40:30,014 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Dumping stats...
> 2017-08-01 08:40:30,014 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Closing down connection
> [Thread-3 (activemq-netty-threads)] 08:40:30,015 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 95f13e5e-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-3 (activemq-netty-threads)] 08:40:30,015 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session 95f13e5e-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-3 (activemq-netty-threads)] 08:40:30,015 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 
> ID:host-172-0-0-126.openstacklocal-39842-1501590872918-811:1:-1
> [Thread-3 (activemq-netty-threads)] 08:40:30,015 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session ID:host-172-0-0-126.openstacklocal-39842-1501590872918-811:1:-1
> xxxxxcreating conn: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false
> 2017-08-01 08:40:30,017 [main           ] - INFO  TcpTransportFactory         
>    - deciding whether starting an internal broker: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false@1501591222910
>  flag: false
> xxxxxxxxxxxx created transporttcp://localhost:61616
> 2017-08-01 08:40:37,049 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Dumping stats...
> 2017-08-01 08:40:37,049 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Closing down connection
> [Thread-4 (activemq-netty-threads)] 08:40:37,049 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 9a22da22-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-4 (activemq-netty-threads)] 08:40:37,050 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session 9a22da22-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-4 (activemq-netty-threads)] 08:40:37,050 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 
> ID:host-172-0-0-126.openstacklocal-39842-1501590872918-813:1:-1
> [Thread-4 (activemq-netty-threads)] 08:40:37,050 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session ID:host-172-0-0-126.openstacklocal-39842-1501590872918-813:1:-1
> xxxxxcreating conn: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false
> 2017-08-01 08:40:37,053 [main           ] - INFO  TcpTransportFactory         
>    - deciding whether starting an internal broker: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false@1501591222910
>  flag: false
> xxxxxxxxxxxx created transporttcp://localhost:61616
> xxxxxcreating conn: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false
> 2017-08-01 08:40:37,058 [main           ] - INFO  TcpTransportFactory         
>    - deciding whether starting an internal broker: 
> tcp://localhost:61616?invmBrokerId=localhost&broker.persistent=false@1501591222910
>  flag: false
> xxxxxxxxxxxx created transporttcp://localhost:61616
> 2017-08-01 08:40:40,284 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Dumping stats...
> 2017-08-01 08:40:40,284 [main           ] - INFO  
> ceiveWithMessageExpirationTest - Closing down connection
> [Thread-5 (activemq-netty-threads)] 08:40:40,285 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 9e544ed6-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-5 (activemq-netty-threads)] 08:40:40,285 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session 9e544ed6-76b6-11e7-aa4e-fa163e5a2b31
> [Thread-5 (activemq-netty-threads)] 08:40:40,285 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222061: Client connection 
> failed, clearing up resources for session 
> ID:host-172-0-0-126.openstacklocal-39842-1501590872918-815:1:-1
> [Thread-5 (activemq-netty-threads)] 08:40:40,285 WARN  
> [org.apache.activemq.artemis.core.server] AMQ222107: Cleared up resources for 
> session ID:host-172-0-0-126.openstacklocal-39842-1501590872918-815:1:-1
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.381 sec 
> <<< FAILURE! - in org.apache.activemq.JmsSendReceiveWithMessageExpirationTest
> testConsumeExpiredQueueAndDlq(org.apache.activemq.JmsSendReceiveWithMessageExpirationTest)
>   Time elapsed: 3.235 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: got dlq messages expected:<99> but 
> was:<90>
>       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.JmsSendReceiveWithMessageExpirationTest.testConsumeExpiredQueueAndDlq(JmsSendReceiveWithMessageExpirationTest.java:164)
> {noformat}
> I've discussed the test with Clebert at ARTEMIS-1276 
> (https://github.com/apache/activemq-artemis/pull/1407)
> IMO, the reason for the assertion error is that the client's prefetch value 
> is 10 messages, out of which 1 message is consumed immediately (on time), 
> while the remaining 9 messages are left to expire in the prefetch cache.
> The test then tries to get the expired messages from ExpiryQueue, but gets 
> only 90 that expired on the server. The 9 that expired on client are missing.



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

Reply via email to