See 
<https://builds.apache.org/job/ActiveMQ-Artemis-Master/2486/display/redirect?page=changes>

Changes:

[clebertsuconic] NO-JIRA Fixing test

------------------------------------------
[...truncated 854.94 KB...]
Found unexpected parameters: [create, 
<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/./target/tmp/junit4127303272320502341/broker,>
 --silent, --no-fsync, --no-autotune, --no-web, --require-login]

usage: artemis <command> [<args>]

The most commonly used artemis commands are:
    address        Address tools group (create|delete|update|show) (example 
./artemis address create)
    browser        It will browse messages on an instance
    consumer       It will consume messages from an instance
    data           data tools group (print|imp|exp|encode|decode|compact) 
(example ./artemis data print)
    help           Display help information
    kill           Kills a broker instance started with --allow-kill
    mask           mask a password and print it out
    perf-journal   Calculates the journal-buffer-timeout you should use with 
the current data folder
    producer       It will send messages to an instance
    queue          Queue tools group (create|delete|update|stat|purge) (example 
./artemis queue create)
    run            runs the broker instance
    stop           stops the broker instance
    user           default file-based user management (add|rm|list|reset) 
(example ./artemis user list)

See 'artemis help <command>' for more information on a specific command.

Found unexpected parameters: [create, 
<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/./target/tmp/junit3823723051703437789/broker,>
 --silent, --no-fsync, --no-autotune, --no-web, --require-login]

usage: artemis <command> [<args>]

The most commonly used artemis commands are:
    address        Address tools group (create|delete|update|show) (example 
./artemis address create)
    browser        It will browse messages on an instance
    consumer       It will consume messages from an instance
    data           data tools group (print|imp|exp|encode|decode|compact) 
(example ./artemis data print)
    help           Display help information
    kill           Kills a broker instance started with --allow-kill
    mask           mask a password and print it out
    perf-journal   Calculates the journal-buffer-timeout you should use with 
the current data folder
    producer       It will send messages to an instance
    queue          Queue tools group (create|delete|update|stat|purge) (example 
./artemis queue create)
    run            runs the broker instance
    stop           stops the broker instance
    user           default file-based user management (add|rm|list|reset) 
(example ./artemis user list)

See 'artemis help <command>' for more information on a specific command.

Tests run: 11, Failures: 1, Errors: 4, Skipped: 0, Time elapsed: 23.987 sec <<< 
FAILURE! - in org.apache.activemq.cli.test.MessageSerializerTest
testSendDirectToQueue(org.apache.activemq.cli.test.MessageSerializerTest)  Time 
elapsed: 12.215 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at 
org.apache.activemq.cli.test.CliTestBase.stopServer(CliTestBase.java:105)
        at 
org.apache.activemq.cli.test.CliTestBase.closeConnection(CliTestBase.java:130)
        at 
org.apache.activemq.cli.test.MessageSerializerTest.tearDown(MessageSerializerTest.java:72)

testAnycastToMulticastTopic(org.apache.activemq.cli.test.MessageSerializerTest) 
 Time elapsed: 0.014 sec  <<< ERROR!
org.apache.activemq.artemis.cli.CLIException: Error: There is another process 
using the server at 
<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/./target/tmp/junit4127303272320502341/broker/lock.>
 Cannot start the process!
        at 
org.apache.activemq.artemis.cli.commands.tools.LockAbstract.lockCLI(LockAbstract.java:78)
        at 
org.apache.activemq.artemis.cli.commands.tools.LockAbstract.execute(LockAbstract.java:58)
        at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:68)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:133)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:85)
        at 
org.apache.activemq.cli.test.CliTestBase.startServer(CliTestBase.java:92)
        at 
org.apache.activemq.cli.test.MessageSerializerTest.setup(MessageSerializerTest.java:64)

testAnycastToMulticastTopic(org.apache.activemq.cli.test.MessageSerializerTest) 
 Time elapsed: 0.015 sec  <<< ERROR!
org.apache.activemq.artemis.cli.ConfigurationException: Invalid configuration 
URI, can't find file: bootstrap.xml
        at 
org.apache.activemq.artemis.cli.factory.xml.XmlBrokerFactoryHandler.createBroker(XmlBrokerFactoryHandler.java:33)
        at 
org.apache.activemq.artemis.cli.factory.BrokerFactory.createBrokerConfiguration(BrokerFactory.java:46)
        at 
org.apache.activemq.artemis.cli.factory.BrokerFactory.createBrokerConfiguration(BrokerFactory.java:53)
        at 
org.apache.activemq.artemis.cli.commands.Configurable.getBrokerDTO(Configurable.java:118)
        at org.apache.activemq.artemis.cli.commands.Stop.execute(Stop.java:30)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:133)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:85)
        at 
org.apache.activemq.cli.test.CliTestBase.stopServer(CliTestBase.java:104)
        at 
org.apache.activemq.cli.test.CliTestBase.closeConnection(CliTestBase.java:130)
        at 
org.apache.activemq.cli.test.MessageSerializerTest.tearDown(MessageSerializerTest.java:72)

testAnycastToMulticastFQQN(org.apache.activemq.cli.test.MessageSerializerTest)  
Time elapsed: 0.011 sec  <<< ERROR!
org.apache.activemq.artemis.cli.CLIException: Error: There is another process 
using the server at 
<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/./target/tmp/junit3823723051703437789/broker/lock.>
 Cannot start the process!
        at 
org.apache.activemq.artemis.cli.commands.tools.LockAbstract.lockCLI(LockAbstract.java:78)
        at 
org.apache.activemq.artemis.cli.commands.tools.LockAbstract.execute(LockAbstract.java:58)
        at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:68)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:133)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:85)
        at 
org.apache.activemq.cli.test.CliTestBase.startServer(CliTestBase.java:92)
        at 
org.apache.activemq.cli.test.MessageSerializerTest.setup(MessageSerializerTest.java:64)

testAnycastToMulticastFQQN(org.apache.activemq.cli.test.MessageSerializerTest)  
Time elapsed: 0.012 sec  <<< ERROR!
org.apache.activemq.artemis.cli.ConfigurationException: Invalid configuration 
URI, can't find file: bootstrap.xml
        at 
org.apache.activemq.artemis.cli.factory.xml.XmlBrokerFactoryHandler.createBroker(XmlBrokerFactoryHandler.java:33)
        at 
org.apache.activemq.artemis.cli.factory.BrokerFactory.createBrokerConfiguration(BrokerFactory.java:46)
        at 
org.apache.activemq.artemis.cli.factory.BrokerFactory.createBrokerConfiguration(BrokerFactory.java:53)
        at 
org.apache.activemq.artemis.cli.commands.Configurable.getBrokerDTO(Configurable.java:118)
        at org.apache.activemq.artemis.cli.commands.Stop.execute(Stop.java:30)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:133)
        at 
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:85)
        at 
org.apache.activemq.cli.test.CliTestBase.stopServer(CliTestBase.java:104)
        at 
org.apache.activemq.cli.test.CliTestBase.closeConnection(CliTestBase.java:130)
        at 
org.apache.activemq.cli.test.MessageSerializerTest.tearDown(MessageSerializerTest.java:72)

Running org.apache.activemq.cli.test.OptionsValidationTest
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.activemq.cli.test.OptionsValidationTest
Running org.apache.activemq.cli.test.RetryCLIClientIDTest
Creating ActiveMQ Artemis instance at: 
<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/target/tmp/junit4337496631152862970/instance_user>

You can now start the broker by executing:  

   
"<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/target/tmp/junit4337496631152862970/instance_user/bin/artemis";>
 run

Or you can run the broker in the background using:

   
"<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/target/tmp/junit4337496631152862970/instance_user/bin/artemis-service";>
 start

     _        _               _
    / \  ____| |_  ___ __  __(_) _____
   / _ \|  _ \ __|/ _ \  \/  | |/  __/
  / ___ \ | \/ |_/  __/ |\/| | |\___ \
 /_/   \_\|   \__\____|_|  |_|_|/___ /
 Apache ActiveMQ Artemis 2.10.0-SNAPSHOT


[main] 22:10:25,834 INFO  [org.apache.activemq.artemis.integration.bootstrap] 
AMQ101000: Starting ActiveMQ Artemis Server
[main] 22:10:25,914 INFO  [org.apache.activemq.artemis.core.server] AMQ221000: 
live Message Broker is starting with configuration Broker Configuration 
(clustered=false,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging)
[main] 22:10:25,915 INFO  [org.apache.activemq.artemis.core.server] AMQ221012: 
Using AIO Journal
[main] 22:10:25,916 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 11,263,279,104
[main] 22:10:25,916 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: 
Protocol module found: [artemis-server]. Adding protocol support for: CORE
[main] 22:10:25,961 INFO  [org.apache.activemq.artemis.core.server] AMQ221034: 
Waiting indefinitely to obtain live lock
[main] 22:10:25,961 INFO  [org.apache.activemq.artemis.core.server] AMQ221035: 
Live Server Obtained live lock
[main] 22:10:26,332 INFO  [org.apache.activemq.artemis.core.server] AMQ221080: 
Deploying address DLQ supporting [ANYCAST]
[main] 22:10:26,350 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: 
Deploying ANYCAST queue DLQ on address DLQ
[main] 22:10:26,361 INFO  [org.apache.activemq.artemis.core.server] AMQ221080: 
Deploying address ExpiryQueue supporting [ANYCAST]
[main] 22:10:26,365 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: 
Deploying ANYCAST queue ExpiryQueue on address ExpiryQueue
[main] 22:10:26,382 WARN  [org.apache.activemq.artemis.core.server] AMQ222203: 
Classpath lacks a protocol-manager for protocol AMQP, Protocol being ignored on 
acceptor TransportConfiguration(name=artemis, 
factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyAcceptorFactory)
 
?tcpReceiveBufferSize=1048576&port=61616&host=0-0-0-0&protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE&useEpoll=true&tcpSendBufferSize=1048576&amqpCredits=1000&amqpLowCredits=300
[main] 22:10:26,383 WARN  [org.apache.activemq.artemis.core.server] AMQ222203: 
Classpath lacks a protocol-manager for protocol STOMP, Protocol being ignored 
on acceptor TransportConfiguration(name=artemis, 
factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyAcceptorFactory)
 
?tcpReceiveBufferSize=1048576&port=61616&host=0-0-0-0&protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE&useEpoll=true&tcpSendBufferSize=1048576&amqpCredits=1000&amqpLowCredits=300
[main] 22:10:26,383 WARN  [org.apache.activemq.artemis.core.server] AMQ222203: 
Classpath lacks a protocol-manager for protocol HORNETQ, Protocol being ignored 
on acceptor TransportConfiguration(name=artemis, 
factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyAcceptorFactory)
 
?tcpReceiveBufferSize=1048576&port=61616&host=0-0-0-0&protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE&useEpoll=true&tcpSendBufferSize=1048576&amqpCredits=1000&amqpLowCredits=300
[main] 22:10:26,383 WARN  [org.apache.activemq.artemis.core.server] AMQ222203: 
Classpath lacks a protocol-manager for protocol MQTT, Protocol being ignored on 
acceptor TransportConfiguration(name=artemis, 
factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyAcceptorFactory)
 
?tcpReceiveBufferSize=1048576&port=61616&host=0-0-0-0&protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE&useEpoll=true&tcpSendBufferSize=1048576&amqpCredits=1000&amqpLowCredits=300
[main] 22:10:26,383 WARN  [org.apache.activemq.artemis.core.server] AMQ222203: 
Classpath lacks a protocol-manager for protocol OPENWIRE, Protocol being 
ignored on acceptor TransportConfiguration(name=artemis, 
factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyAcceptorFactory)
 
?tcpReceiveBufferSize=1048576&port=61616&host=0-0-0-0&protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE&useEpoll=true&tcpSendBufferSize=1048576&amqpCredits=1000&amqpLowCredits=300
[main] 22:10:26,395 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: 
Started EPOLL Acceptor at 0.0.0.0:61616 for protocols [CORE]
[main] 22:10:26,443 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: 
Server is now live
[main] 22:10:26,443 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: 
Apache ActiveMQ Artemis Message Broker version 2.10.0-SNAPSHOT [0.0.0.0, 
nodeID=7a46b7cf-c460-11e9-a588-008cfa5b41a4] 
Consumer:: clientID = someClientID
[Thread-1 (activemq-netty-threads)] 22:10:26,462 WARN  
[org.apache.activemq.artemis.core.server] AMQ222216: Security problem while 
authenticating: AMQ229031: Unable to validate user from /127.0.0.1:32902. 
Username: null; SSL certificate subject DN: unavailable
[ActiveMQ Artemis Server Shutdown Timer] 22:10:26,908 INFO  
[org.apache.activemq.artemis.core.server] AMQ221002: Apache ActiveMQ Artemis 
Message Broker version 2.10.0-SNAPSHOT [7a46b7cf-c460-11e9-a588-008cfa5b41a4] 
stopped, uptime 1.073 seconds
Server stopped!
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.161 sec - in 
org.apache.activemq.cli.test.RetryCLIClientIDTest
Running org.apache.activemq.cli.test.StreamClassPathTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.activemq.cli.test.StreamClassPathTest

Results :

Failed tests: 
  
MessageSerializerTest.tearDown:72->CliTestBase.closeConnection:130->CliTestBase.stopServer:105
 null
Tests in error: 
org.apache.activemq.cli.test.MessageSerializerTest.testAnycastToMulticastFQQN(org.apache.activemq.cli.test.MessageSerializerTest)
  Run 1: MessageSerializerTest.setup:64->CliTestBase.startServer:92 » CLI 
Error: There ...
  Run 2: 
MessageSerializerTest.tearDown:72->CliTestBase.closeConnection:130->CliTestBase.stopServer:104
 » Configuration

org.apache.activemq.cli.test.MessageSerializerTest.testAnycastToMulticastTopic(org.apache.activemq.cli.test.MessageSerializerTest)
  Run 1: MessageSerializerTest.setup:64->CliTestBase.startServer:92 » CLI 
Error: There ...
  Run 2: 
MessageSerializerTest.tearDown:72->CliTestBase.closeConnection:130->CliTestBase.stopServer:104
 » Configuration


Tests run: 71, Failures: 1, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ActiveMQ Artemis Parent 2.10.0-SNAPSHOT ............ SUCCESS [  6.536 s]
[INFO] ActiveMQ Artemis Commons ........................... SUCCESS [ 33.459 s]
[INFO] ActiveMQ Artemis Core Client ....................... SUCCESS [ 26.769 s]
[INFO] ActiveMQ Artemis Selector Implementation ........... SUCCESS [  4.005 s]
[INFO] ActiveMQ Artemis JMS Client ........................ SUCCESS [  6.093 s]
[INFO] ActiveMQ Artemis Journal ........................... SUCCESS [  4.314 s]
[INFO] ActiveMQ Artemis JDBC Store ........................ SUCCESS [ 44.572 s]
[INFO] ActiveMQ Artemis Server ............................ SUCCESS [06:04 min]
[INFO] ActiveMQ Artemis Protocols ......................... SUCCESS [  0.243 s]
[INFO] ActiveMQ Artemis AMQP Protocol ..................... SUCCESS [ 15.208 s]
[INFO] ActiveMQ Artemis STOMP Protocol .................... SUCCESS [  3.269 s]
[INFO] ActiveMQ Artemis OpenWire Protocol ................. SUCCESS [ 12.920 s]
[INFO] ActiveMQ Artemis HQClient Protocol ................. SUCCESS [  2.934 s]
[INFO] ActiveMQ Artemis HornetQ Protocol .................. SUCCESS [  3.314 s]
[INFO] ActiveMQ Artemis MQTT Protocol ..................... SUCCESS [  2.564 s]
[INFO] ActiveMQ Artemis DTO ............................... SUCCESS [  2.826 s]
[INFO] ActiveMQ Artemis Service Extensions ................ SUCCESS [  2.684 s]
[INFO] ActiveMQ Artemis JMS Server ........................ SUCCESS [  2.606 s]
[INFO] ActiveMQ Artemis CDI Integration ................... SUCCESS [  7.389 s]
[INFO] ActiveMQ Artemis Boot .............................. SUCCESS [  0.479 s]
[INFO] ActiveMQ Artemis Tools ............................. SUCCESS [  1.125 s]
[INFO] ActiveMQ Artemis JUnit Rules ....................... SUCCESS [ 13.227 s]
[INFO] ActiveMQ Artemis CLI ............................... FAILURE [01:39 min]
[INFO] ActiveMQ Artemis Web ............................... SKIPPED
[INFO] ActiveMQ Artemis Web ............................... SKIPPED
[INFO] ActiveMQ Artemis Core Client All ................... SKIPPED
[INFO] ActiveMQ Artemis Client OSGi ....................... SKIPPED
[INFO] ActiveMQ Artemis JMS Client All .................... SKIPPED
[INFO] ActiveMQ Artemis JMS Client OSGi ................... SKIPPED
[INFO] ActiveMQ Artemis RAR POM ........................... SKIPPED
[INFO] ActiveMQ Artemis REST Interface Implementation ..... SKIPPED
[INFO] ActiveMQ Artemis Maven Plugin ...................... SKIPPED
[INFO] ActiveMQ Artemis Server OSGi ....................... SKIPPED
[INFO] ActiveMQ Artemis Cons .............................. SKIPPED
[INFO] ActiveMQ Artemis HawtIO Branding ................... SKIPPED
[INFO] ActiveMQ Artemis HawtIO Plugin ..................... SKIPPED
[INFO] ActiveMQ Artemis Console ........................... SKIPPED
[INFO] ActiveMQ Artemis Spring Integration ................ SKIPPED
[INFO] Apache ActiveMQ Artemis Distribution ............... SKIPPED
[INFO] ActiveMQ Artemis Tests POM ......................... SKIPPED
[INFO] ActiveMQ Artemis Test Support ...................... SKIPPED
[INFO] ActiveMQ Artemis Unit Tests ........................ SKIPPED
[INFO] ActiveMQ Artemis Joram Tests ....................... SKIPPED
[INFO] ActiveMQ Artemis timing Tests ...................... SKIPPED
[INFO] ActiveMQ Artemis JMS Tests ......................... SKIPPED
[INFO] ActiveMQ Artemis Features .......................... SKIPPED
[INFO] ActiveMQ Artemis Integration Tests ................. SKIPPED
[INFO] ActiveMQ Artemis Client Integration Tests .......... SKIPPED
[INFO] ActiveMQ Artemis Compatibility Tests ............... SKIPPED
[INFO] ActiveMQ Artemis soak Tests ........................ SKIPPED
[INFO] ActiveMQ Artemis stress Tests ...................... SKIPPED
[INFO] ActiveMQ Artemis performance Tests ................. SKIPPED
[INFO] Smoke Tests ........................................ SKIPPED
[INFO] ActiveMQ Artemis Extra Tests 2.10.0-SNAPSHOT ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:04 min
[INFO] Finished at: 2019-08-21T22:10:27Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project artemis-cli: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-cli/target/surefire-reports>
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :artemis-cli
Build step 'Invoke top-level Maven targets' marked build as failure
Performing Post build task...
Could not match :Too many files with unapproved license  : False
Logical operation result is FALSE
Skipping script  : cat ratReport.txt
END OF POST BUILD TASK  : 0
Recording test results

Reply via email to