Bug #1806

RSB-Java Master fails --> Unit Tests, hard-coded hostname? And Maven Errors

Added by F. Lier about 7 years ago. Updated about 6 years ago.

Status:RejectedStart date:03/17/2014
Priority:NormalDue date:
Assignee:S. Wrede% Done:

0%

Category:Java
Target version:rsb-1.0

Description

Error log:

Tests in error: 
  deactivate(rsb.patterns.ServerTest): Could not create spread connection host=boron, port=4910
  activate(rsb.patterns.ServerTest): Could not create spread connection host=boron, port=4910
  startServer(rsb.patterns.ServerTest): Could not create spread connection host=boron, port=4910
  blocking(rsb.patterns.ServerTest): Could not create spread connection host=boron, port=4910
  addMethod(rsb.patterns.RemoteServerTest): Could not create spread connection host=boron, port=4910

INFO: Shutting down due to request and closed socket.
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
Running rsb.patterns.ServerTest
Mar 17, 2014 11:44:25 AM rsb.transport.spread.SpreadWrapper makeConnection
INFO: reoccuring SpreadException during connect to daemon: Socket(): java.net.NoRouteToHostException: No route to host
Mar 17, 2014 11:44:28 AM rsb.transport.spread.SpreadWrapper makeConnection
INFO: reoccuring SpreadException during connect to daemon: Socket(): java.net.NoRouteToHostException: No route to host
Mar 17, 2014 11:44:31 AM rsb.transport.spread.SpreadWrapper makeConnection
INFO: reoccuring SpreadException during connect to daemon: Socket(): java.net.NoRouteToHostException: No route to host
Mar 17, 2014 11:44:34 AM rsb.transport.spread.SpreadWrapper makeConnection
INFO: reoccuring SpreadException during connect to daemon: Socket(): java.net.NoRouteToHostException: No route to host
Tests run: 7, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 12.009 sec <<< FAILURE!
Running rsb.patterns.DataCallbackTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running rsb.patterns.RemoteServerTest
Mar 17, 2014 11:44:37 AM rsb.transport.spread.SpreadWrapper makeConnection
INFO: reoccuring SpreadException during connect to daemon: Socket(): java.net.NoRouteToHostException: No route to host
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.987 sec <<< FAILURE!

Maven:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.687s
[INFO] Finished at: Mon Mar 17 11:44:37 CET 2014
[INFO] Final Memory: 24M/286M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project rsb: There are test failures.
[ERROR] 
[ERROR] Please refer to /media/FSM-Lab/lsp-csra-src/generator/jobs/rsb-java-master-toolkit-nightly/workspace/label/master/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
     [exec] ==================
Build step 'Invoke top-level Maven targets' marked build as failure
Skipping publisher since build result is FAILURE
Finished: FAILURE

History

#1 Updated by J. Wienke about 7 years ago

  • Description updated (diff)

Looks like your local rsb.conf is leaking into the test. Could you try to remove it?

#2 Updated by J. Wienke about 6 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF