The problem is usually a hung maven surefire process which blocks the
port that byteman uses.
On 7/23/12 10:22 AM, Paul Ferraro wrote:
This is probably due to a hung server process on the same machine.
If
this simple unit test is failing, the entire clustering testsuite will
also fail.
On Sat, 2012-07-21 at 00:01 +0200, Thomas Diesler wrote:
> Folks,
>
> this tests hangs often in jenkins
>
>
https://hudson.qa.jboss.com/hudson/view/JBossOSGi/job/jboss-as7-as351/5/c...
>
> It seems to be related to the machine the job is running on.
>
> Running org.jboss.as.clustering.jgroups.subsystem.JGroupsSubsystemTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.592 sec
> TransformListener() : unexpected exception opening server socket
java.net.BindException: Address already in use
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
> at java.net.ServerSocket.bind(ServerSocket.java:328)
> at java.net.ServerSocket.bind(ServerSocket.java:286)
> at org.jboss.byteman.agent.TransformListener.initialize(TransformListener.java:69)
> at
org.jboss.byteman.agent.Retransformer.addTransformListener(Retransformer.java:204)
> 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.jboss.byteman.agent.Main.premain(Main.java:216)
> at org.jboss.byteman.agent.Main.agentmain(Main.java:230)
> 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
sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
> at
sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
>
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Jason T. Greene
JBoss AS Lead / EAP Platform Architect
JBoss, a division of Red Hat