See <https://builds.apache.org/job/ActiveMQ-Artemis-Master/2479/display/redirect?page=changes>
Changes: [clebertsuconic] ARTEMIS-2454 Message Body damaged after re-encoding ------------------------------------------ [...truncated 308.34 KB...] [INFO] 1 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 1 licenses. [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ artemis-protocols --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ artemis-protocols --- [INFO] [INFO] --- dependency-check-maven:1.4.3:check (default) @ artemis-protocols --- [INFO] Skipping dependency-check [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ artemis-protocols --- [INFO] Installing <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/pom.xml> to /home/jenkins/.m2/repository/org/apache/activemq/artemis-protocols/2.10.0-SNAPSHOT/artemis-protocols-2.10.0-SNAPSHOT.pom [INFO] [INFO] -------------< org.apache.activemq:artemis-amqp-protocol >-------------- [INFO] Building ActiveMQ Artemis AMQP Protocol 2.10.0-SNAPSHOT [10/54] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ artemis-amqp-protocol --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ artemis-amqp-protocol --- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:unpack (copy) @ artemis-amqp-protocol --- [INFO] Configured Artifact: org.apache.activemq:activemq-artemis-native:1.0.0:jar [INFO] Unpacking /home/jenkins/.m2/repository/org/apache/activemq/activemq-artemis-native/1.0.0/activemq-artemis-native-1.0.0.jar to <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/target/bin> with includes "**/*.so" and excludes "" [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ artemis-amqp-protocol --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ artemis-amqp-protocol --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ artemis-amqp-protocol --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 76 source files to <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/target/classes> <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java>:336: warning: [TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution. NOTE: correcting this issue is often an incompatible API change; you should check that all dependent code still compiles succesfully. private <T> T scanForMessageSection(int scanStartPosition, Class...targetTypes) { ^ (see http://errorprone.info/bugpattern/TypeParameterUnusedInFormals) Did you mean 'private Object scanForMessageSection(int scanStartPosition, Class...targetTypes) {'? Note: <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/handler/ExecutorNettyAdapter.java> uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 warning [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (default) @ artemis-amqp-protocol --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- apache-rat-plugin:0.12:check (default) @ artemis-amqp-protocol --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 61 implicit excludes (use -debug for more details). [INFO] Exclude: .travis.yml [INFO] Exclude: **/footer.html [INFO] Exclude: **/*.txt [INFO] Exclude: **/*.md [INFO] Exclude: etc/ide-settings/** [INFO] Exclude: docs/**/*.json [INFO] Exclude: docs/**/_book/ [INFO] Exclude: **/target/ [INFO] Exclude: **/META-INF/services/* [INFO] Exclude: **/META-INF/MANIFEST.MF [INFO] Exclude: **/*.iml [INFO] Exclude: **/*.jceks [INFO] Exclude: **/*.jks [INFO] Exclude: **/xml.xsd [INFO] Exclude: **/org/apache/activemq/artemis/utils/json/** [INFO] Exclude: **/org/apache/activemq/artemis/utils/Base64.java [INFO] Exclude: **/.settings/** [INFO] Exclude: **/.project [INFO] Exclude: **/.classpath [INFO] Exclude: **/.editorconfig [INFO] Exclude: **/.checkstyle [INFO] Exclude: **/.factorypath [INFO] Exclude: **/org.apache.activemq.artemis.cfg [INFO] Exclude: **/nb-configuration.xml [INFO] Exclude: **/nbactions-tests.xml [INFO] Exclude: **/*.data [INFO] Exclude: **/*.bin [INFO] Exclude: **/src/test/resources/keystore [INFO] Exclude: **/*.log [INFO] Exclude: **/*.redo [INFO] Exclude: **/node/** [INFO] Exclude: **/node_modules/** [INFO] Exclude: **/package.json [INFO] Exclude: **/npm-shrinkwrap.json [INFO] Exclude: **/overlays/** [INFO] Exclude: **/CMakeFiles/ [INFO] Exclude: **/Makefile [INFO] Exclude: **/cmake_install.cmake [INFO] Exclude: activemq-artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.h [INFO] Exclude: **/dependency-reduced-pom.xml [INFO] Exclude: **/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker [INFO] 97 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 97 licenses. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ artemis-amqp-protocol --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ artemis-amqp-protocol --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 20 source files to <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ artemis-amqp-protocol --- [INFO] Surefire report directory: <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/target/surefire-reports> [WARNING] The system property basedir is configured twice! The property appears in <argLine/> and any of <systemPropertyVariables/>, <systemProperties/> or user property. ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.activemq.artemis.protocol.amqp.broker.AMQPConnectionCallbackTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.411 sec - in org.apache.activemq.artemis.protocol.amqp.broker.AMQPConnectionCallbackTest Running org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessageTest Tests run: 125, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.621 sec - in org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessageTest Running org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallbackTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.801 sec - in org.apache.activemq.artemis.protocol.amqp.broker.AMQPSessionCallbackTest Running org.apache.activemq.artemis.protocol.amqp.converter.TestConversions Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.237 sec - in org.apache.activemq.artemis.protocol.amqp.converter.TestConversions Running org.apache.activemq.artemis.protocol.amqp.converter.message.AMQPContentTypeSupportTest Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in org.apache.activemq.artemis.protocol.amqp.converter.message.AMQPContentTypeSupportTest Running org.apache.activemq.artemis.protocol.amqp.converter.message.AMQPMessageIdHelperTest Tests run: 51, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in org.apache.activemq.artemis.protocol.amqp.converter.message.AMQPMessageIdHelperTest Running org.apache.activemq.artemis.protocol.amqp.converter.message.AMQPMessageSupportTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.activemq.artemis.protocol.amqp.converter.message.AMQPMessageSupportTest Running org.apache.activemq.artemis.protocol.amqp.converter.message.JMSMappingInboundTransformerTest Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec - in org.apache.activemq.artemis.protocol.amqp.converter.message.JMSMappingInboundTransformerTest Running org.apache.activemq.artemis.protocol.amqp.converter.message.JMSMappingOutboundTransformerTest Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec - in org.apache.activemq.artemis.protocol.amqp.converter.message.JMSMappingOutboundTransformerTest Running org.apache.activemq.artemis.protocol.amqp.converter.message.JMSTransformationSpeedComparisonTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.apache.activemq.artemis.protocol.amqp.converter.message.JMSTransformationSpeedComparisonTest Running org.apache.activemq.artemis.protocol.amqp.converter.message.MessageTransformationTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec - in org.apache.activemq.artemis.protocol.amqp.converter.message.MessageTransformationTest Running org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContextTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.236 sec - in org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContextTest Running org.apache.activemq.artemis.protocol.amqp.proton.AmqpTransferTagGeneratorTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.038 sec - in org.apache.activemq.artemis.protocol.amqp.proton.AmqpTransferTagGeneratorTest Running org.apache.activemq.artemis.protocol.amqp.proton.ProtonServerReceiverContextTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec - in org.apache.activemq.artemis.protocol.amqp.proton.ProtonServerReceiverContextTest Running org.apache.activemq.artemis.protocol.amqp.sasl.PlainSASLTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.activemq.artemis.protocol.amqp.sasl.PlainSASLTest Running org.apache.activemq.artemis.protocol.amqp.util.CreditsSemaphoreTest Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec <<< FAILURE! - in org.apache.activemq.artemis.protocol.amqp.util.CreditsSemaphoreTest testDownAndUp(org.apache.activemq.artemis.protocol.amqp.util.CreditsSemaphoreTest) Time elapsed: 0.01 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.artemis.protocol.amqp.util.CreditsSemaphoreTest.testDownAndUp(CreditsSemaphoreTest.java:93) Running org.apache.activemq.artemis.protocol.amqp.util.NettyReadableTest Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.apache.activemq.artemis.protocol.amqp.util.NettyReadableTest Running org.apache.activemq.artemis.protocol.amqp.util.NettyWritableTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.activemq.artemis.protocol.amqp.util.NettyWritableTest Results : Failed tests: CreditsSemaphoreTest.testDownAndUp:93 null Tests run: 354, Failures: 1, Errors: 0, Skipped: 2 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ActiveMQ Artemis Parent 2.10.0-SNAPSHOT ............ SUCCESS [ 16.060 s] [INFO] ActiveMQ Artemis Commons ........................... SUCCESS [ 32.749 s] [INFO] ActiveMQ Artemis Core Client ....................... SUCCESS [ 28.131 s] [INFO] ActiveMQ Artemis Selector Implementation ........... SUCCESS [ 5.061 s] [INFO] ActiveMQ Artemis JMS Client ........................ SUCCESS [ 6.942 s] [INFO] ActiveMQ Artemis Journal ........................... SUCCESS [ 4.855 s] [INFO] ActiveMQ Artemis JDBC Store ........................ SUCCESS [ 50.191 s] [INFO] ActiveMQ Artemis Server ............................ SUCCESS [07:14 min] [INFO] ActiveMQ Artemis Protocols ......................... SUCCESS [ 0.297 s] [INFO] ActiveMQ Artemis AMQP Protocol ..................... FAILURE [ 11.637 s] [INFO] ActiveMQ Artemis STOMP Protocol .................... SKIPPED [INFO] ActiveMQ Artemis OpenWire Protocol ................. SKIPPED [INFO] ActiveMQ Artemis HQClient Protocol ................. SKIPPED [INFO] ActiveMQ Artemis HornetQ Protocol .................. SKIPPED [INFO] ActiveMQ Artemis MQTT Protocol ..................... SKIPPED [INFO] ActiveMQ Artemis DTO ............................... SKIPPED [INFO] ActiveMQ Artemis Service Extensions ................ SKIPPED [INFO] ActiveMQ Artemis JMS Server ........................ SKIPPED [INFO] ActiveMQ Artemis CDI Integration ................... SKIPPED [INFO] ActiveMQ Artemis Boot .............................. SKIPPED [INFO] ActiveMQ Artemis Tools ............................. SKIPPED [INFO] ActiveMQ Artemis JUnit Rules ....................... SKIPPED [INFO] ActiveMQ Artemis CLI ............................... SKIPPED [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: 09:53 min [INFO] Finished at: 2019-08-19T01:09:33Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project artemis-amqp-protocol: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/ActiveMQ-Artemis-Master/ws/artemis-protocols/artemis-amqp-protocol/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-amqp-protocol 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