Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8F51820049E for ; Thu, 10 Aug 2017 10:50:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8DB5D16AE49; Thu, 10 Aug 2017 08:50:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B36D116AE45 for ; Thu, 10 Aug 2017 10:50:03 +0200 (CEST) Received: (qmail 65795 invoked by uid 500); 10 Aug 2017 08:50:02 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 65786 invoked by uid 99); 10 Aug 2017 08:50:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2017 08:50:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 76AC0C0042 for ; Thu, 10 Aug 2017 08:50:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id tEr0H9umD_az for ; Thu, 10 Aug 2017 08:50:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E60D25FC4D for ; Thu, 10 Aug 2017 08:50:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 703DDE07BA for ; Thu, 10 Aug 2017 08:50:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2E00E2415E for ; Thu, 10 Aug 2017 08:50:00 +0000 (UTC) Date: Thu, 10 Aug 2017 08:50:00 +0000 (UTC) From: "Jiri Danek (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ARTEMIS-1345) JMS tests in org.apache.activemq.artemis.tests.integration.jms.cluster are failing when run with AMQP protocol (qpid-jms-client JMS library) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 10 Aug 2017 08:50:04 -0000 Jiri Danek created ARTEMIS-1345: ----------------------------------- Summary: JMS tests in org.apache.activemq.artemis.tests.integration.jms.cluster are failing when run with AMQP protocol (qpid-jms-client JMS library) Key: ARTEMIS-1345 URL: https://issues.apache.org/jira/browse/ARTEMIS-1345 Project: ActiveMQ Artemis Issue Type: Test Components: AMQP, Broker Affects Versions: 2.3.0 Reporter: Jiri Danek Consider tests {{org.apache.activemq.artemis.tests.integration.jms.cluster.AutoCreateQueueClusterTest}} {{org.apache.activemq.artemis.tests.integration.jms.cluster.TemporaryQueueClusterTest}} {{org.apache.activemq.artemis.tests.integration.jms.cluster.TopicClusterTest}} When they are adapted to run through multiple JMS ConnectionFactories in turn, these test are always passing with Core, one test method fails with OpenWire (reported as ARTEMIS-1344), but all fail with AMQP. The broker prints the following error (every time) {noformat} [Thread-3 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@18e36d14)] 10:30:51,380 WARN [org.apache.activemq.artemis.core.server] AMQ222151: removing consumer which did not handle a message, consumer=org.apache.activemq.artemis.core.server.cluster.impl.Redistributor@6c72718c, message=Reference[28]:RELIABLE:org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage@799ad5a1: java.lang.UnsupportedOperationException at java.util.AbstractMap.put(AbstractMap.java:209) [rt.jar:1.8.0_131] at org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.putBytesProperty(AMQPMessage.java:690) [:] at org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage.putBytesProperty(AMQPMessage.java:743) [:] at org.apache.activemq.artemis.core.server.cluster.impl.RemoteQueueBindingImpl.addRouteContextToMessage(RemoteQueueBindingImpl.java:334) [:] at org.apache.activemq.artemis.core.server.cluster.impl.RemoteQueueBindingImpl.route(RemoteQueueBindingImpl.java:175) [:] at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.redistribute(BindingsImpl.java:222) [:] at org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.redistribute(PostOfficeImpl.java:868) [:] at org.apache.activemq.artemis.core.server.cluster.impl.Redistributor.handle(Redistributor.java:150) [:] at org.apache.activemq.artemis.core.server.impl.QueueImpl.handle(QueueImpl.java:2802) [:] at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2187) [:] at org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1900(QueueImpl.java:105) [:] at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2994) [:] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [:] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [:] at org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53) [:] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131] [Thread-3 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@18e36d14)] 10:30:51,381 ERROR [org.apache.activemq.artemis.core.server] AMQ224041: Failed to deliver: java.util.NoSuchElementException at org.apache.activemq.artemis.utils.collections.PriorityLinkedListImpl$PriorityLinkedListIterator.repeat(PriorityLinkedListImpl.java:161) [:] at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2205) [:] at org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1900(QueueImpl.java:105) [:] at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2994) [:] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [:] at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [:] at org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53) [:] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131] {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)