activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <clebert.suco...@gmail.com>
Subject Re: How do I compile and run Artemis tests?
Date Tue, 05 Jul 2016 03:42:06 GMT
Did you manage to do it. Or still have issues ?

On Tuesday, June 28, 2016, Jiri Danek <jdanek@redhat.com> wrote:

> After somewhat lengthy struggle I still did not manage to run Artemis tests
> in a VM. I'd like to ask if there is anybody who managed to run the tests
> and I would like to ask for suggestions what could be causing the tests to
> fail for me. Is there something obvious I need to do but I am not doing?
>
> I am running this series of commands
>
> mvn -Prelease clean package install
> mvn -Ptests test
>
> My issues to date were ... mostly hardware requirements.
>
> First of all, I checked the source on Saturday when the build was broken,
> so I had to checkout 1.3.0 tag.
>
> Running the tests seems to require 4GB of RAM (tried 512MB, then 2GB, and
> that did not work) and high open file descriptor limit, the default 1024 is
> not enough, I set 40 000, because that seems to be what the Apache Jenkins
> slaves use. It also requires a lot of time, because the tests run long.
>
> The settings above got me probably furthest I ever got. Before I increased
> the descriptor limit, tests got stuck at repeatedly printing
>
> [main] 11:42:52,381 WARN  [org.apache.activemq.artemis.core.client]
> AMQ212054: Destination address=FailoverTestAddress is blocked. If the
> system is configured to block make sure you consume messages on this
> configuration.
> [main] 11:43:02,381 WARN  [org.apache.activemq.artemis.core.client]
> AMQ212054: Destination address=FailoverTestAddress is blocked. If the
> system is configured to block make sure you consume messages on this
> configuration.
> [main] 11:43:12,381 WARN  [org.apache.activemq.artemis.core.client]
> AMQ212054: Destination address=FailoverTestAddress is blocked. If the
> system is configured to block make sure you consume messages on this
> configuration.
> [main] 11:43:22,381 WARN  [org.apache.activemq.artemis.core.client]
> AMQ212054: Destination address=FailoverTestAddress is blocked. If the
> system is configured to block make sure you consume messages on this
> configuration.
>
> After increasing the limit, I got stuck at a test repeatedly printing
>
> javax.jms.IllegalStateException: The Session is closed
>         at
> org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:775)
>         at
>
> org.apache.activemq.ActiveMQSession.configureMessage(ActiveMQSession.java:763)
>         at
>
> org.apache.activemq.ActiveMQSession.createTextMessage(ActiveMQSession.java:440)
>         at
>
> org.apache.activemq.artemis.tests.integration.openwire.amq.ProducerFlowControlSendFailTest$1.run(ProducerFlowControlSendFailTest.java:96)
>
> But I do not know how to move from here. Thanks for any input,
> --
> Jiří Daněk
>


-- 
Clebert Suconic

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message