|
|
|
JGroups was a known problem in this category, but today we even had a testsuite fail because Byteman was clashing with the Byteman port opened by a different test run, I think from ORM.
On Jenkins we can use a port-assigning plugin but we would need a concerted effort among each project to actually honor the injected configuration.
A different approach would be to fully isolate each build in separate containers.
{noformat}java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) at java.net.ServerSocket.bind(ServerSocket.java:376) at java.net.ServerSocket.bind(ServerSocket.java:330) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.byteman.agent.Main.premain(Main.java:241) at org.jboss.byteman.agent.Main.agentmain(Main.java:260) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382) at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:407){noformat}
|
|
|
|