[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-442) Can't build mod_cluster from master
Radoslav Husar (JIRA)
issues at jboss.org
Thu Nov 13 08:18:30 EST 2014
[ https://issues.jboss.org/browse/MODCLUSTER-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019715#comment-13019715 ]
Radoslav Husar commented on MODCLUSTER-442:
-------------------------------------------
Actually:
* "Can't build" can be considered an overstatement, given that you actually can build, but just can't execute the tests. To really just build just use "mvn clean install -DskipTests".
* Since part of the code is relying on multicasting, you need to have functional multicast on the host.
* Everytime a new commit is added to the repository, the CI tests execute automatically making sure that all tests pass in the given environment (e.g. https://github.com/modcluster/mod_cluster/pull/127#issuecomment-61789430). So similar problems are unlikely, JDK/OS combination problems are thus possible but rare.
Please give it a try and close this one.
> Can't build mod_cluster from master
> -----------------------------------
>
> Key: MODCLUSTER-442
> URL: https://issues.jboss.org/browse/MODCLUSTER-442
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Alpha2
> Reporter: Maxime Beck
> Assignee: Radoslav Husar
> Labels: mod_cluster
>
> When trying to build mod_cluster from it's github repository (version 1.3.1.Alpha2), I get two failures on the core module as seen bellow.
> $ mvn install
> ++++
> Results :
> Failed tests:
> AdvertiseListenerImplTestCase.testBasicOperation:135
> Wanted but not invoked:
> mCMPHandler.addProxy(<Capturing argument>);
> -> at org.jboss.modcluster.advertise.AdvertiseListenerImplTestCase.testBasicOperation(AdvertiseListenerImplTestCase.java:135)
> Actually, there were zero interactions with this mock.
> MulticastSocketFactoryImplTestCase.testMulticastSocketNoCrossTalk:63->testMulticastSocket:112 null
> Tests run: 46, Failures: 2, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] mod_cluster (parent) ............................... SUCCESS [ 0.618 s]
> [INFO] mod_cluster: Container SPI ......................... SUCCESS [ 0.412 s]
> [INFO] mod_cluster: Core .................................. FAILURE [ 4.163 s]
> [INFO] mod_cluster: Container (parent) .................... SKIPPED
> [INFO] mod_cluster: Container - Catalina .................. SKIPPED
> [INFO] mod_cluster: Container - Catalina (standalone) ..... SKIPPED
> [INFO] mod_cluster: Container - Tomcat 6 .................. SKIPPED
> [INFO] mod_cluster: Container - Tomcat 7 .................. SKIPPED
> [INFO] mod_cluster: Container - Tomcat 8 .................. SKIPPED
> [INFO] mod_cluster: Container - JBoss Web ................. SKIPPED
> [INFO] mod_cluster: Demo (parent) ......................... SKIPPED
> [INFO] mod_cluster: Demo - Client ......................... SKIPPED
> [INFO] mod_cluster: Demo - Server ......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.506 s
> [INFO] Finished at: 2014-11-12T18:04:39+01:00
> [INFO] Final Memory: 15M/298M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project mod_cluster-core: There are test failures.
> [ERROR]
> [ERROR] Please refer to /home/mbeck/dev/mod_cluster/core/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 :mod_cluster-core
> +++
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the mod_cluster-issues
mailing list