Mark Little wrote:
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.
Hmmm... I don't think what I
said == "we're screwed", but don't wanna
get into a big debate on logical conclusions etc. We can't say we
support building within environments which have unknown variable e.g.
how one has manually set up their Eclipse workspace. What we can say is
that we can support building with environments which have a known set of
variables... version(s) of ant, jdk etc., and that if people have issues
after that we will sort them out. People are free to build in whatever
way they like, but at the end of the day we as a development team have
to have some benchmark to work against and I'd have thought that was the
CI system and how it builds the product.... and so, when you have an
issue such as this, the first port of call (in my mind anyway) is to go
back to the benchmark.
>
> 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.ReadOnlyRemoteGatewayListenerUnitTest
>>>>> took 0 sec
>>>>> [java] [junit] Caused an ERROR
>>>>> [java] [junit]
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSystemStrategyException:
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCacheException:
>>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>> [java] [junit] org.jboss.soa.esb.ConfigurationException:
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSystemStrategyException:
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCacheException:
>>>>> 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.ReadOnlyRemoteGatewayListenerUnitTest.createRemoteGatewayListener(ReadOnlyRemoteGatewayListenerUnitTest.java:212)
>>>>> [java] [junit] at
>>>>>
org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerUnitTest.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.RemoteFileSystemStrategyException:
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCacheException:
>>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>> [java] [junit] at
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.ReadOnlyRemoteFileSystemStrategy.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.FtpFileCacheException:
>>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>> [java] [junit] at
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCache.start(FtpFileCache.java:135)
>>>>> [java] [junit] at
>>>>>
org.jboss.soa.esb.listeners.gateway.remotestrategies.ReadOnlyRemoteFileSystemStrategy.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.FtpFileCache.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.ReadOnlyRemoteGatewayListenerUnitTest
>>>>> 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(a)lists.jboss.org <mailto:esb-dev@lists.jboss.org>
>>>>>
https://lists.jboss.org/mailman/listinfo/esb-dev
>>>>
>>>> ----
>>>>
>>>> Mark Little
>>>> mlittle(a)redhat.com <mailto:mlittle@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(a)lists.jboss.org <mailto:esb-dev@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(a)redhat.com <mailto:mlittle@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(a)redhat.com <mailto:mlittle@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