ODL controller project not building fine

asked 2015-10-05 07:06:42 -0700

balajimit gravatar image

I am trying to build the latest odl controller project from the sources ( https://github.com/opendaylight/controller.git ). "mvn clean install" always fails with the error below.
Am I using incorrect os/tool versions?? (But from the info given in readme, it does look ok; wondering what is the issue here)

This is my build environment:
OS: Fedora-22 (4.0.4-301.fc22.x8664)

JDK: 1.8.0 (java-1.8.0-openjdk-1.8.0.45-36.b13.fc22.x86
64)

mvn: 3.2.5 (NON-CANONICAL2015-04-01T06:42:27mockbuild)



[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project sal-inmemory-datastore: There are test failures.
[ERROR]
[ERROR] Please refer to /home/store/octeon_build/cloudhsm/odl/cup/controller/opendaylight/md-sal/sal-inmemory-datastore/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 :sal-inmemory-datastore</goals>

edit retag flag offensive close merge delete

Comments

try with jdk 1.7 - there was an issue some months ago, that odl works only with jdk 1.7. Dont know, wheter the issue with java 8 has been fixed.

Denis ( 2015-10-06 15:33:48 -0700 )edit