Googling shows that putting '-Djava.net.preferIPv4Stack=true' might help. We mention that in the dev guide actually, and just recently I was wondering which one of the tests actually requires IPv4 vs IPv6 :)
http://cayenne.apache.org/dev/building-cayenne.html Andrus > On Mar 6, 2015, at 9:50 PM, Michael Gentry <[email protected]> wrote: > > I'm consistently getting this test failure when trying to build: > > Tests in error: > DataRowStoreIT.testConstructorWithProperties:63 ยป CayenneRuntime > [v.4.0.M2 Mar... > > Tests run: 1456, Failures: 0, Errors: 1, Skipped: 0 > > > > [INFO] Reactor Summary: > [INFO] > [INFO] Cayenne ........................................... SUCCESS [1.236s] > [INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.021s] > [INFO] Cayenne License and Notice Bundle ................. SUCCESS [2.770s] > [INFO] Common Unit Test Utilities ........................ SUCCESS [2.040s] > [INFO] Cayenne Code Checkers ............................. SUCCESS [0.173s] > [INFO] Cayenne Dependency Injection Container ............ SUCCESS [15.565s] > [INFO] Cayenne Server .................................... FAILURE > [3:10.456s] > > > ------------------------------------------------------------------------------- > Test set: org.apache.cayenne.access.DataRowStoreIT > ------------------------------------------------------------------------------- > Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.244 sec > <<< FAILURE! - in org.apache.cayenne.access.DataRowStoreIT > testConstructorWithProperties(org.apache.cayenne.access.DataRowStoreIT) > Time elapsed: 0.172 sec <<< ERROR! > org.apache.cayenne.CayenneRuntimeException: [v.4.0.M2 Mar 06 2015 13:39:49] > Error initializing DataRowStore. > at org.jgroups.JChannel.connect(JChannel.java:328) > at > org.apache.cayenne.event.JavaGroupsBridge.startupExternal(JavaGroupsBridge.java:130) > at org.apache.cayenne.event.EventBridge.startup(EventBridge.java:245) > at org.apache.cayenne.event.EventBridge.startup(EventBridge.java:193) > at org.apache.cayenne.event.EventBridge.startup(EventBridge.java:178) > at > org.apache.cayenne.access.DataRowStore.startListeners(DataRowStore.java:613) > at > org.apache.cayenne.access.DataRowStore.initWithProperties(DataRowStore.java:182) > at org.apache.cayenne.access.DataRowStore.<init>(DataRowStore.java:107) > at > org.apache.cayenne.access.DataRowStoreIT.testConstructorWithProperties(DataRowStoreIT.java:63) > ... > [DownHandler (UDP)] INFO org.jgroups.protocols.UDP - unicast sockets will > use interface 127.0.1.1 > [main] ERROR org.jgroups.JChannel - exception: java.lang.Exception: > exception caused by UDP.start(): java.net.SocketException: bad argument for > IP_MULTICAST_IF: address not bound to any interface > > > mrg:~$ uname -a > Linux 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:26:13 UTC 2015 i686 > i686 i686 GNU/Linux > mrg:~$ java -version > java version "1.7.0_75" > OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1) > OpenJDK Server VM (build 24.75-b04, mixed mode) > > > Any suggestions? > > Thanks, > > mrg > > > On Sat, Feb 28, 2015 at 4:48 AM, Andrus Adamchik <[email protected]> > wrote: > >> >>> On Feb 26, 2015, at 12:41 PM, Alex Kolonitsky < >> [email protected]> wrote: >>> >>> Hi All, >>> I've prepared 4.0.M2 artifacts for voting again, I hope this time >> everything will be fine. >>> >>> Maven artifacts: >> https://repository.apache.org/content/repositories/orgapachecayenne-1005 < >> https://repository.apache.org/content/repositories/orgapachecayenne-1005> >>> Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.0.M2/ < >> https://dist.apache.org/repos/dist/dev/cayenne/4.0.M2/> >>> >>> Please evaluate and cast your votes. >>> >>> Regards, >>> Alex Kolonitsky. >> >> +1 from me. >> >> >> 1. rat.sh - no complaints >> (noticed .idea/ directory at the root of the source archive. Not a show >> stopper for the release, but let's add it to assembly excludes for the >> future) >> 2. checksums - match >> 3. signatures - match >> 4. Source builds (mvn verify) >> 5. Modeler OS X, Windows, Generic versions all start fine >> 6. Random poking through the structure of the binary assemblies doesn't >> show anything abnormal. >> >> and thanks to Mike for providing a detailed release evaluation script. >> >> Andrus
