Tribes MultiRegTestCase fails with IPV6
----------------------------------------
Key: TUSCANY-3581
URL: https://issues.apache.org/jira/browse/TUSCANY-3581
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-2.0-M5, Java-SCA-2.0
Reporter: Luciano Resende
Fix For: Java-SCA-2.0-M5, Java-SCA-2.0
Tribes MultiRegTestCase seems to be feiling when IPV6 is set (which seems to be
default with recent ubuntu server install)
-------------------------------------------------------------------------------
Test set: org.apache.tuscany.sca.endpoint.tribes.MultiRegTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.182 sec <<<
FAILURE!
testReplication(org.apache.tuscany.sca.endpoint.tribes.MultiRegTestCase) Time
elapsed: 1.123 sec <<< ERROR!
java.lang.IllegalStateException: org.apache.catalina.tribes.ChannelException:
java.io.IOException: Invalid argument; No faulty members identified.
at
org.apache.tuscany.sca.endpoint.tribes.ReplicatedEndpointRegistry.start(ReplicatedEndpointRegistry.java:268)
at
org.apache.tuscany.sca.endpoint.tribes.MultiRegTestCase.testReplication(MultiRegTestCase.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.apache.catalina.tribes.ChannelException: java.io.IOException:
Invalid argument; No faulty members identified.
at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:169)
at
org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:97)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
at
org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:147)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149)
at
org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:407)
at
org.apache.tuscany.sca.endpoint.tribes.ReplicatedEndpointRegistry.start(ReplicatedEndpointRegistry.java:266)
... 28 more
Caused by: java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at
org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:385)
at
org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:244)
at
org.apache.catalina.tribes.membership.McastService.start(McastService.java:319)
at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:158)
... 34 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.