Hi guys,
Are you guys facing the same problem? Trunk build fails for different
reasons at different times.

build 753
******************************************************
test(org.apache.openejb.arquillian.tests.cdi.ejb.OverloadedEjbObserverMethodsTest)
 Time elapsed: 0.27 sec  <<< FAILURE!
java.lang.AssertionError: expected:<2> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.apache.openejb.arquillian.tests.cdi.ejb.OverloadedEjbObserverMethodsTest.test(OverloadedEjbObserverMethodsTest.java:68)
******************************************************

build 752
******************************************************
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.067 sec
<<< FAILURE!
test(org.apache.openejb.itest.failover.RandomConnectionStrategyTest)  Time
elapsed: 18.996 sec  <<< FAILURE!
java.lang.AssertionError: Bad number of invocations for the bean "blue".
expected:<2> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at
org.apache.openejb.itest.failover.RandomConnectionStrategyTest.assertBalance(RandomConnectionStrategyTest.java:219)
at
org.apache.openejb.itest.failover.RandomConnectionStrategyTest.test(RandomConnectionStrategyTest.java:173)

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.234 sec
<<< FAILURE!
test(org.apache.openejb.arquillian.tests.cdi.ejb.OverloadedEjbObserverMethodsTest)
 Time elapsed: 0.364 sec  <<< FAILURE!
java.lang.AssertionError: expected:<2> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.apache.openejb.arquillian.tests.cdi.ejb.OverloadedEjbObserverMethodsTest.test(OverloadedEjbObserverMethodsTest.java:68)
******************************************************

build 751
******************************************************
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.532 sec
<<< FAILURE!
test(org.apache.openejb.itest.legacy.LegacyServerTest)  Time elapsed:
19.462 sec  <<< FAILURE!
java.lang.AssertionError: 22 out of 1000 is too low
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at
org.apache.openejb.itest.legacy.LegacyServerTest.assertBalance(LegacyServerTest.java:223)
at
org.apache.openejb.itest.legacy.LegacyServerTest.test(LegacyServerTest.java:172)

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.132 sec
<<< FAILURE!
test(org.apache.openejb.arquillian.tests.cdi.ejb.OverloadedEjbObserverMethodsTest)
 Time elapsed: 0.337 sec  <<< FAILURE!
java.lang.AssertionError: expected:<2> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.apache.openejb.arquillian.tests.cdi.ejb.OverloadedEjbObserverMethodsTest.test(OverloadedEjbObserverMethodsTest.java:68)
******************************************************

Do you see what may be going on? The funny thing is that if I retry the
build from the latest failure point, those particular tests pass.

So, imagine I run "mvn clean install" and the "trunk/itests/failover"
fails. If I run "mvn clean install -rf failover", it will most likely pass.

Any idea?

[]s,
Thiago.

Reply via email to