[esb-dev] build error

Mark Little mlittle at redhat.com
Wed Jun 27 05:55:48 EDT 2007


On 27 Jun 2007, at 10:43, Tom Fennelly wrote:

> Can you try it outside Eclipse.  For a start, it'll run really fast  
> - like only 10 mins ;-)

It doesn't actually make that much of a difference to me. I'm using a  
PowerBook that is 2+ years old ;-)

>   Eclipse may also be screwing with yer classpath - I doubt it, but  
> easiest thing is to avoid the possibility all together.

Nope. Same version of Eclipse and classpath that I've been using  
successfully for the past 6+ months.

> In general I think it's a good idea to run builds on your local  
> machine in the same way as they're run on the CI machine (or as  
> near as possible).

If that's the case then we're screwed, because the logical conclusion  
is that we only support the exact same configurations for OS and JVM  
as the CI. If running locally does not show up issues that CI shows  
up, that's important to know. But more important is the contrary,  
i.e., running locally showing up issues that CI doesn't. People will  
expect to be able to build in their favourite environment (emacs,  
Eclipse, IntelliJ, whatever) and we should try to support that rather  
than forcing them down a narrow CI-defined path.

Now what we really should be doing is checking why CI fails and  
drilling down into that whenever it happens. But that's a soap-box  
I've been on time and time again ;-)

Mark.


>
> T.
>
> Mark Little wrote:
>> I'm running clean, dist, test within Eclipse. Took 21 minutes to  
>> build everything for me ;-)
>>
>> I'll do another update to make sure nothing changed since  
>> yesterday afternoon, when I did my last one.
>>
>> I hope the test rule *does not* run the integration tests ;-)
>>
>> Mark.
>>
>>
>> On 27 Jun 2007, at 10:27, Tom Fennelly wrote:
>>
>>> What build rule are you using ;-) ?
>>>
>>> I see it when I run "ant clean dist test".  Should these be  
>>> integration tests perhaps, or has the build changed to run the  
>>> integration tests under the general "test" build target?
>>>
>>> T.
>>>
>>>
>>> Mark Little wrote:
>>>> I did an update and a build, but didn't see this. What build  
>>>> rule were you using?
>>>>
>>>> Mark.
>>>>
>>>>
>>>> On 26 Jun 2007, at 16:54, Kurt T Stam wrote:
>>>>
>>>>> Anyone getting this? What do I do to fix this?
>>>>>
>>>>>     [java] [junit] Testcase:
>>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerU 
>>>>> nitTest
>>>>> took 0 sec
>>>>>      [java] [junit]     Caused an ERROR
>>>>>      [java] [junit]
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSys 
>>>>> temStrategyException:
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFile 
>>>>> CacheException:
>>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>>      [java] [junit] org.jboss.soa.esb.ConfigurationException:
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSys 
>>>>> temStrategyException:
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFile 
>>>>> CacheException:
>>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListener. 
>>>>> createRemoteFileSystemStrategy 
>>>>> (ReadOnlyRemoteGatewayListener.java:222)
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListener. 
>>>>> <init>(ReadOnlyRemoteGatewayListener.java:83)
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerU 
>>>>> nitTest.createRemoteGatewayListener 
>>>>> (ReadOnlyRemoteGatewayListenerUnitTest.java:212)
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerU 
>>>>> nitTest.classSetup(ReadOnlyRemoteGatewayListenerUnitTest.java:76)
>>>>>      [java] [junit]     at
>>>>> org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod 
>>>>> (BeforeAndAfterRunner.java:74)
>>>>>      [java] [junit]     at
>>>>> org.junit.internal.runners.BeforeAndAfterRunner.runBefores 
>>>>> (BeforeAndAfterRunner.java:50)
>>>>>      [java] [junit]     at
>>>>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected 
>>>>> (BeforeAndAfterRunner.java:33)
>>>>>      [java] [junit]     at
>>>>> org.junit.internal.runners.TestClassRunner.run 
>>>>> (TestClassRunner.java:52)
>>>>>      [java] [junit]     at
>>>>> junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
>>>>>      [java] [junit] Caused by:
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSys 
>>>>> temStrategyException:
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFile 
>>>>> CacheException:
>>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.ReadOnlyRemot 
>>>>> eFileSystemStrategy.init(ReadOnlyRemoteFileSystemStrategy.java:63)
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListener. 
>>>>> createRemoteFileSystemStrategy 
>>>>> (ReadOnlyRemoteGatewayListener.java:205)
>>>>>      [java] [junit]     ... 15 more
>>>>>      [java] [junit] Caused by:
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFile 
>>>>> CacheException:
>>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFile 
>>>>> Cache.start(FtpFileCache.java:135)
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.ReadOnlyRemot 
>>>>> eFileSystemStrategy.init(ReadOnlyRemoteFileSystemStrategy.java:59)
>>>>>      [java] [junit]     ... 16 more
>>>>>      [java] [junit] Caused by: org.jgroups.ChannelException:  
>>>>> failed to
>>>>> start protocol stack
>>>>>      [java] [junit]     at org.jgroups.JChannel.connect 
>>>>> (JChannel.java:389)
>>>>>      [java] [junit]     at
>>>>> org.jboss.cache.TreeCache.startService(TreeCache.java:1263)
>>>>>      [java] [junit]     at
>>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFile 
>>>>> Cache.start(FtpFileCache.java:130)
>>>>>      [java] [junit]     ... 17 more
>>>>>      [java] [junit] Caused by: java.lang.Exception: exception  
>>>>> caused by
>>>>> UDP.start()
>>>>>      [java] [junit]     at
>>>>> org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java: 
>>>>> 582)
>>>>>      [java] [junit]     at
>>>>> org.jgroups.stack.DownHandler.run(Protocol.java:118)
>>>>>      [java] [junit] Caused by: java.lang.Exception: problem  
>>>>> creating
>>>>> sockets (bind_addr=localhost/127.0.0.1,  
>>>>> mcast_addr=228.1.2.3:48866)
>>>>>      [java] [junit]     at org.jgroups.protocols.UDP.start 
>>>>> (UDP.java:372)
>>>>>      [java] [junit]     at
>>>>> org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java: 
>>>>> 571)
>>>>>      [java] [junit]     ... 1 more
>>>>>      [java] [junit] Caused by: java.net.SocketException: bad  
>>>>> argument
>>>>> for IP_MULTICAST_IF2: No IP addresses bound to interface
>>>>>      [java] [junit]     at
>>>>> java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
>>>>>      [java] [junit]     at
>>>>> java.net.PlainDatagramSocketImpl.setOption 
>>>>> (PlainDatagramSocketImpl.java:299)
>>>>>      [java] [junit]     at
>>>>> java.net.MulticastSocket.setNetworkInterface 
>>>>> (MulticastSocket.java:502)
>>>>>      [java] [junit]     at
>>>>> org.jgroups.protocols.UDP.createSockets(UDP.java:490)
>>>>>      [java] [junit]     at org.jgroups.protocols.UDP.start 
>>>>> (UDP.java:367)
>>>>>      [java] [junit]     ... 2 more
>>>>>      [java] BUILD FAILED
>>>>>      [java] C:\cygwin\home\kstam\dev\jbossesb\product\build.xml: 
>>>>> 131: The
>>>>> following error occurred while executing this line:
>>>>>      [java] C:\cygwin\home\kstam\dev\jbossesb\product\build.xml: 
>>>>> 141: The
>>>>> following error occurred while executing this line:
>>>>>      [java]
>>>>> C:\cygwin\home\kstam\dev\jbossesb\product\rosetta\build.xml:87:  
>>>>> The
>>>>> following error occurred while executing this line:
>>>>>      [java]
>>>>> C:\cygwin\home\kstam\dev\jbossesb\product\rosetta\tests 
>>>>> \build.xml:82:
>>>>> The following error occurred while executing this line:
>>>>>      [java]
>>>>> C:\cygwin\home\kstam\dev\jbossesb\product\rosetta\tests 
>>>>> \build.xml:109:
>>>>> Test
>>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerU 
>>>>> nitTest
>>>>> failed
>>>>>      [java] Total time: 3 minutes 57 seconds
>>>>>
>>>>> BUILD FAILED
>>>>> C:\cygwin\home\kstam\dev\jbossesb\product\build.xml:420: The  
>>>>> following
>>>>> error occurred while executing this line:
>>>>> C:\cygwin\home\kstam\dev\jbossesb\product\build.xml:87: Java  
>>>>> returned: 1
>>>>>
>>>>> _______________________________________________
>>>>> esb-dev mailing list
>>>>> esb-dev at lists.jboss.org <mailto:esb-dev at lists.jboss.org>
>>>>> https://lists.jboss.org/mailman/listinfo/esb-dev
>>>>
>>>> ----
>>>>
>>>> Mark Little
>>>> mlittle at redhat.com <mailto:mlittle at redhat.com>
>>>>
>>>> JBoss, a Division of Red Hat
>>>> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111  
>>>> Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.  
>>>> Registered in UK and Wales under Company Registration No.  
>>>> 3798903 Directors: Michael Cunningham (USA), Charlie Peters  
>>>> (USA) and David Owens (Ireland)
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> -----
>>>>
>>>> _______________________________________________
>>>> esb-dev mailing list
>>>> esb-dev at lists.jboss.org <mailto:esb-dev at lists.jboss.org>
>>>> https://lists.jboss.org/mailman/listinfo/esb-dev
>>>>
>>>>
>>>
>>> -- 
>>> Red Hat:
>>> Registered Address: Red Hat Ltd, Brian O' Donnell and Partners,  
>>> 62 Merrion Square, Dublin 2, Ireland.
>>> Registered in the Companies Registration Office, Parnell House,  
>>> 14 Parnell Square, Dublin 1, Ireland, at No. 304873
>>> Directors: Charlie Peters (USA), Michael Cunningham (USA). David  
>>> Owens, Brendan Lane
>>>
>>
>> ----
>>
>> Mark Little
>> mlittle at redhat.com <mailto:mlittle at redhat.com>
>>
>> JBoss, a Division of Red Hat
>> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111  
>> Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.  
>> Registered in UK and Wales under Company Registration No. 3798903  
>> Directors: Michael Cunningham (USA), Charlie Peters (USA) and  
>> David Owens (Ireland)
>>
>>
>>
>>
>
> -- 
> Red Hat:
> Registered Address: Red Hat Ltd, Brian O' Donnell and Partners, 62  
> Merrion Square, Dublin 2, Ireland.
> Registered in the Companies Registration Office, Parnell House, 14  
> Parnell Square, Dublin 1, Ireland, at No. 304873
> Directors: Charlie Peters (USA), Michael Cunningham (USA). David  
> Owens, Brendan Lane
>

----

Mark Little
mlittle at redhat.com

JBoss, a Division of Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod  
Street, Windsor, Berkshire,
SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David  
Owens (Ireland)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/esb-dev/attachments/20070627/e842df10/attachment.html 


More information about the esb-dev mailing list