Ask Your Question

OpenDayLight-Helium-SR2 build fails due to test failure in netconf-ssh

asked 2015-02-06 13:31:54 -0700

Abhishek gravatar image

I am trying to build the ODL controller from the Git repository. It fails complaining about a failed test case from netconf-ssh. Here is my log. Could someone please tell me how to fix this? I have been trying to build the base controller for more than a day now. Don't know if I am doing something wrong. :)

[INFO] netconf-config .................................... SUCCESS [ 0.137 s]

[INFO] netconf-auth ...................................... SUCCESS [ 0.349 s]

[INFO] netconf-ssh ....................................... FAILURE [ 18.559 s]

[INFO] ------------------------------------------------------------------------


[INFO] ------------------------------------------------------------------------

[INFO] Total time: 09:58 min

[INFO] Finished at: 2015-02-06T16:14:32-05:00

[INFO] Final Memory: 328M/804M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project netconf-ssh: There are test failures.


[ERROR] Please refer to /Users/Abhishek/Documents/GitHub-Repos/ODL-Karaf/opendaylight/netconf/netconf-ssh/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]

[ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :netconf-ssh</goals>

Here is the output from the surefire-log for netconf-ssh.

2 Test set: org.opendaylight.controller.netconf.netty.SSHTest 3 ------------------------------------------------------------------------------- 4 Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.404 sec <<< FAILURE! - in org.opendaylight.controller.netconf.netty.SSHTest 5 testClientWithoutServer(org.opendaylight.controller.netconf.netty.SSHTest) Time elapsed: 5.1 sec <<< FAILURE! 6 java.lang.AssertionError: expected:<FAILEDTOCONNECT> but was:<CONNECTING> 7 at 8 at org.junit.Assert.failNotEquals( 9 at org.junit.Assert.assertEquals( 10 at org.junit.Assert.assertEquals( 11 at org.opendaylight.controller.netconf.netty.SSHTest.testClientWithoutServer(

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-06 19:26:49 -0700

faizan gravatar image

updated 2015-02-06 19:27:11 -0700

There may be some tests failing into netconf-ssh which you can see in logs.

Work Around: Build the controller with skiping test cases with command-

mvn clean install -DskipTests

Regards, Faizan

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2015-02-06 13:31:54 -0700

Seen: 531 times

Last updated: Feb 06 '15