[hibernate-dev] Re : Test failure on trunk

Julien HENRY henryju at yahoo.fr
Wed Jun 16 15:54:42 EDT 2010


Hi Steve,

I tried again and I think there is a concurrency issue with tests. Running the full test suite (mvn clean test) in testsuite module fails with the error reported previously. But running only the BulkManipulationTest succeed (mvn clean test -Dtest=BulkManipulationTest).

Looking at output logs I can see some timeout issues (WARN).

Running tests in Eclipse is even worst: 7 errors and 32 failures.

But running with hsqldb profile works fin, except that I was bitten by MRESOURCES-112 (I'm using Maven 3.0-beta-1) so I had to use the following workaround:
Index: parent/pom.xml
===================================================================
@@ -356,6 +356,17 @@
                         </execution>
                     </executions>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-resources-plugin</artifactId>
+                    <version>2.4.2</version>
+                    <configuration>
+                        <useDefaultDelimiters>false</useDefaultDelimiters><!-- Fix for MRESOURCES-112 -->
+                        <delimiters>
+                          <delimiter>${*}</delimiter>
+                        </delimiters>
+                    </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>


Finally I tried to update hsqldb to 2.0.0 (the groupId is now org.hsqldb) but the maven build is stuck on:
Running org.hibernate.test.jpa.lock.JPALockTest

Here is the thread dump if it means something to you: http://pastebin.com/rFx0KL60

Regards,

Julien



----- Message d'origine ----
> De : Steve Ebersole <steve at hibernate.org>
> À : Julien HENRY <henryju at yahoo.fr>
> Cc : hibernate-dev at lists.jboss.org
> Envoyé le : Mer 16 juin 2010, 14h 33min 35s
> Objet : Re: [hibernate-dev] Test failure on trunk
> 
> Hi Julien.

Is this against H2 (the default)?  I have no issues 
> running those tests
here and the Hudson job is fine.

On Tue, 
> 2010-06-15 at 09:53 -0700, Julien HENRY wrote:
> Hi,
> 
> I 
> would like to contribute to Hibernate. I have retrieved source code and started 
> a full build. There are 2 test failures. Is it related to my 
> configuration?
> 
> 
> -------------------------------------------------------------------------------
> 
> Test set: org.hibernate.test.hql.BulkManipulationTest
> 
> -------------------------------------------------------------------------------
> 
> Tests run: 38, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 238.592 sec 
> <<< FAILURE!
> 
> testSimpleDeleteOnAnimal(org.hibernate.test.hql.BulkManipulationTest)  Time 
> elapsed: 4.296 sec  <<< FAILURE!
> 
> junit.framework.AssertionFailedError: incorrect delete count expected:<1> 
> but was:<0>
>     at 
> junit.framework.Assert.fail(Assert.java:47)
>     at 
> junit.framework.Assert.failNotEquals(Assert.java:282)
>     at 
> junit.framework.Assert.assertEquals(Assert.java:64)
>     at 
> junit.framework.Assert.assertEquals(Assert.java:201)
>     at 
> org.hibernate.test.hql.BulkManipulationTest.testSimpleDeleteOnAnimal(BulkManipulationTest.java:938)
> 
> 
> 
> testDeleteUnionSubclassAbstractRoot(org.hibernate.test.hql.BulkManipulationTest)  
> Time elapsed: 4.24 sec  <<< FAILURE!
> 
> junit.framework.AssertionFailedError: incorrect update count expected:<3> 
> but was:<1>
>     at 
> junit.framework.Assert.fail(Assert.java:47)
>     at 
> junit.framework.Assert.failNotEquals(Assert.java:282)
>     at 
> junit.framework.Assert.assertEquals(Assert.java:64)
>     at 
> junit.framework.Assert.assertEquals(Assert.java:201)
>     at 
> org.hibernate.test.hql.BulkManipulationTest.testDeleteUnionSubclassAbstractRoot(BulkManipulationTest.java:1026)
> 
> 
> [...]
> Tests run: 2069, Failures: 2, Errors: 0, Skipped: 
> 0
> 
> Thanks
> 
> Julien
> 
> 
> 
> 
>      
> 
> 
> _______________________________________________
> hibernate-dev mailing 
> list
> 
> href="mailto:hibernate-dev at lists.jboss.org">hibernate-dev at lists.jboss.org
> 
> 
> >https://lists.jboss.org/mailman/listinfo/hibernate-dev

-- 
Steve 
> Ebersole <
> href="mailto:steve at hibernate.org">steve at hibernate.org>

> href="http://hibernate.org" target=_blank >http://hibernate.org


      




More information about the hibernate-dev mailing list