[hibernate-dev] Build failed in Jenkins: hibernate-orm-master-h2 #381

Steve Ebersole steve at hibernate.org
Wed Nov 27 10:53:54 EST 2013


Yes thats the nature of intermittent ;)

I have not changed it yet.  I will though.  At the moment we have 2 
tests that fail intermittently: this one, and a test in 
hibernate-infinispan.

On Wed 27 Nov 2013 06:21:05 AM CST, Hardy Ferentschik wrote:
> Steve, are you still looking for feedback on this? It seems the CI tests are passing again
> and I am not sure whether I ever wrote any locking tests. If so, I completely forgot about it.
>
> —Hardy
>
>
> On 24 Jan 2013, at 15:46, Steve Ebersole <steve at hibernate.org> wrote:
>
>> I looked at this some more.
>>
>> The cause is that the second attempt to read the row with pessimistic
>> locking from a separate thread sometimes leads to a timeout.  To be
>> honest, I am not sure what the "success condition" is that does not lead
>> to a timeout in the database.  In turn, the timeout causes some bad
>> handling back in the main part of the test (namely an attempt to commit
>> the transaction on the EM that timed out).
>>
>> Obviously there was a different expectation when this was written. I
>> know how this should look, but I wanted to check about these previous
>> expectations before I started making changes.  Scott, Hardy.. as far as
>> I can tell you guys did this part of the test code.  Any memories of that?
>>
>> On 11/19/2013 06:51 PM, Steve Ebersole wrote:
>>>
>>> Anyone know why this test continues to fail intermittently?
>>>
>>> ---------- Forwarded message ----------
>>> From: "Hibernate CI" <ci at hibernate.org <mailto:ci at hibernate.org>>
>>> Date: Nov 19, 2013 6:44 PM
>>> Subject: Build failed in Jenkins: hibernate-orm-master-h2 #381
>>> To: <steve at hibernate.org <mailto:steve at hibernate.org>>
>>> Cc:
>>>
>>> See <http://ci.hibernate.org/job/hibernate-orm-master-h2/381/changes>
>>>
>>> Changes:
>>>
>>> [Steve Ebersole] HHH-8720 - Create an index for the topical guides
>>>
>>> [Steve Ebersole] HHH-8692 - Document value generation feature
>>>
>>> ------------------------------------------
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> Started by an SCM change
>>> [EnvInject] - Loading node environment variables.
>>> Building in workspace
>>> <http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/>
>>> Fetching changes from the remote Git repository
>>> Fetching upstream changes from
>>> git://github.com/hibernate/hibernate-orm.git
>>> <http://github.com/hibernate/hibernate-orm.git>
>>> Checking out Revision 4e6f3a975357cda4519df8972f5be95cf7ff0745
>>> (origin/master)
>>> [workspace] $ /bin/sh -xe /tmp/hudson1245240517042988452.sh
>>> + ./gradlew clean test check :release:aggregateJavadocs publish
>>> :buildSrc:compileJava UP-TO-DATE
>>> :buildSrc:compileGroovy UP-TO-DATE
>>> :buildSrc:processResources UP-TO-DATE
>>> :buildSrc:classes UP-TO-DATE
>>> :buildSrc:jar UP-TO-DATE
>>> :buildSrc:assemble UP-TO-DATE
>>> :buildSrc:compileTestJava UP-TO-DATE
>>> :buildSrc:compileTestGroovy UP-TO-DATE
>>> :buildSrc:processTestResources UP-TO-DATE
>>> :buildSrc:testClasses UP-TO-DATE
>>> :buildSrc:test UP-TO-DATE
>>> :buildSrc:check UP-TO-DATE
>>> :buildSrc:build UP-TO-DATE
>>> Creating properties on demand (a.k.a. dynamic properties) has been
>>> deprecated and is scheduled to be removed in Gradle 2.0. Please read
>>> http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
>>> for information on the replacement for dynamic properties.
>>> Deprecated dynamic property: "exportPackageVersion" on "project
>>> ':documentation'", value: "4.3.0".
>>> Deprecated dynamic property "exportPackageVersion" created in multiple
>>> locations.
>>> The ConfigurationContainer.add() method has been deprecated and is
>>> scheduled to be removed in Gradle 2.0. Please use the create() method
>>> instead.
>>> The TaskContainer.add() method has been deprecated and is scheduled to
>>> be removed in Gradle 2.0. Please use the create() method instead.
>>> :documentation:clean UP-TO-DATE
>>> :hibernate-c3p0:clean
>>> :hibernate-core:clean
>>> :hibernate-ehcache:clean
>>> :hibernate-entitymanager:clean
>>> :hibernate-envers:clean
>>> :hibernate-gradle-plugin:clean
>>> :hibernate-infinispan:clean
>>> :hibernate-jpamodelgen:clean
>>> :hibernate-maven-plugin:clean
>>> :hibernate-osgi:clean
>>> :hibernate-proxool:clean
>>> :hibernate-testing:clean
>>> :release:clean
>>> :documentation:compileJava UP-TO-DATE
>>> :documentation:processResources UP-TO-DATE
>>> :documentation:classes UP-TO-DATE
>>> :documentation:compileTestJava UP-TO-DATE
>>> :documentation:processTestResources UP-TO-DATE
>>> :documentation:testClasses UP-TO-DATE
>>> :documentation:test UP-TO-DATE
>>> :hibernate-c3p0:copyJavaApiSignature
>>> :hibernate-core:copyJavaApiSignature
>>> :hibernate-core:generateGrammarSource
>>> [ant:null] ANTLR Parser Generator   Version 2.7.7 (20060906) 1989-2005
>>> [ant:null] ANTLR Parser Generator   Version 2.7.7 (20060906) 1989-2005
>>> [ant:null] ANTLR Parser Generator   Version 2.7.7 (20060906) 1989-2005
>>> [ant:null] ANTLR Parser Generator   Version 2.7.7 (20060906) 1989-2005
>>> [ant:null] ANTLR Parser Generator   Version 2.7.7 (20060906) 1989-2005
>>> [ant:null] ANTLR Parser Generator   Version 2.7.7 (20060906) 1989-2005
>>> :hibernate-core:jaxb
>>> :hibernate-core:generateMainLoggingClasses
>>> :hibernate-core:compileJavawarning: [options] bootstrap class path not
>>> set in conjunction with -source 1.6
>>> Note: Some input files use or override a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 1 warning
>>>
>>> :hibernate-core:processResources
>>> :hibernate-core:classes
>>> :hibernate-core:jar
>>> :hibernate-c3p0:generateMainLoggingClasses
>>> :hibernate-c3p0:compileJavawarning: [options] bootstrap class path not
>>> set in conjunction with -source 1.6
>>> 1 warning
>>>
>>> :hibernate-c3p0:processResources
>>> :hibernate-c3p0:classes
>>> :hibernate-testing:copyJavaApiSignature
>>> :hibernate-testing:generateMainLoggingClasses
>>> :hibernate-testing:compileJavawarning: [options] bootstrap class path
>>> not set in conjunction with -source 1.6
>>> Note:
>>> <http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java>
>>> uses or overrides a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 1 warning
>>>
>>> :hibernate-testing:processResources UP-TO-DATE
>>> :hibernate-testing:classes
>>> :hibernate-testing:jar
>>> :hibernate-c3p0:compileTestJavawarning: [options] bootstrap class path
>>> not set in conjunction with -source 1.6
>>> Note:
>>> <http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/C3P0ConnectionProviderTest.java>
>>> uses or overrides a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> 1 warning
>>>
>>> :hibernate-c3p0:processTestResources
>>> :hibernate-c3p0:testClasses
>>> :hibernate-c3p0:test
>>> :hibernate-c3p0:checkstyleMain
>>> :hibernate-c3p0:findbugsMain
>>> FindBugs rule violations were found. See the report at:
>>> file://<http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-c3p0/target/reports/findbugs/main.xml>
>>> :hibernate-c3p0:findbugsTest
>>> :hibernate-c3p0:buildDashboard
>>> :hibernate-core:generateTestGrammarSource UP-TO-DATE
>>> :hibernate-core:compileTestJavawarning: [options] bootstrap class path
>>> not set in conjunction with -source 1.6
>>> Note: Some input files use or override a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 1 warning
>>>
>>> :hibernate-core:processTestResources
>>> :hibernate-core:testClasses
>>> :hibernate-core:test
>>> :hibernate-core:checkstyleMain
>>> Checkstyle rule violations were found. See the report at:
>>> file://<http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-core/target/reports/checkstyle/main.xml>
>>> :hibernate-core:findbugsMain
>>> FindBugs rule violations were found. See the report at:
>>> file://<http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-core/target/reports/findbugs/main.xml>
>>> :hibernate-core:findbugsTest
>>> FindBugs rule violations were found. See the report at:
>>> file://<http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-core/target/reports/findbugs/test.xml>
>>> :hibernate-core:buildDashboard
>>> :hibernate-ehcache:copyJavaApiSignature
>>> :hibernate-ehcache:generateMainLoggingClasses
>>> :hibernate-ehcache:compileJavawarning: [options] bootstrap class path
>>> not set in conjunction with -source 1.6
>>> 1 warning
>>>
>>> :hibernate-ehcache:processResources
>>> :hibernate-ehcache:classes
>>> :hibernate-ehcache:compileTestJavawarning: [options] bootstrap class
>>> path not set in conjunction with -source 1.6
>>> Note:
>>> <http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-ehcache/src/test/java/org/hibernate/test/cache/HibernateCacheTest.java>
>>> uses or overrides a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 1 warning
>>>
>>> :hibernate-ehcache:processTestResources
>>> :hibernate-ehcache:testClasses
>>> :hibernate-ehcache:test
>>> :hibernate-ehcache:checkstyleMain
>>> :hibernate-ehcache:findbugsMain
>>> FindBugs rule violations were found. See the report at:
>>> file://<http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-ehcache/target/reports/findbugs/main.xml>
>>> :hibernate-ehcache:findbugsTest
>>> FindBugs rule violations were found. See the report at:
>>> file://<http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-ehcache/target/reports/findbugs/test.xml>
>>> :hibernate-ehcache:buildDashboard
>>> :hibernate-entitymanager:copyJavaApiSignature
>>> :hibernate-entitymanager:generateMainLoggingClasses
>>> :hibernate-entitymanager:compileJavawarning: [options] bootstrap class
>>> path not set in conjunction with -source 1.6
>>> Note: Some input files use or override a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 1 warning
>>>
>>> :hibernate-entitymanager:processResources
>>> :hibernate-entitymanager:classes
>>> :hibernate-jpamodelgen:copyJavaApiSignature
>>> :hibernate-jpamodelgen:generateMainLoggingClasses
>>> :hibernate-jpamodelgen:jaxb
>>> :hibernate-jpamodelgen:compileJavawarning: [options] bootstrap class
>>> path not set in conjunction with -source 1.6
>>> warning: a package-info.java file has already been seen for package
>>> unnamed package
>>> warning: a package-info.java file has already been seen for package
>>> unnamed package
>>> warning: a package-info.java file has already been seen for package
>>> unnamed package
>>> warning: a package-info.java file has already been seen for package
>>> unnamed package
>>> 5 warnings
>>>
>>> :hibernate-jpamodelgen:processResources
>>> :hibernate-jpamodelgen:classes
>>> :hibernate-jpamodelgen:jar
>>> :hibernate-entitymanager:generateTestJpaMetamodelClasses
>>> :hibernate-entitymanager:compileTestJavawarning: [options] bootstrap
>>> class path not set in conjunction with -source 1.6
>>> Note: Some input files use or override a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 1 warning
>>>
>>> :hibernate-entitymanager:copyBundleResources
>>> :hibernate-entitymanager:processTestResources
>>> :hibernate-entitymanager:testClasses
>>> :hibernate-entitymanager:test
>>>
>>> org.hibernate.jpa.test.lock.LockTest > testContendedPessimisticLock FAILED
>>>     javax.persistence.RollbackException at LockTest.java:387
>>>
>>> 394 tests completed, 1 failed, 8 skipped
>>> :hibernate-entitymanager:test FAILED
>>> :hibernate-entitymanager:buildDashboard
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>> * What went wrong:
>>> Execution failed for task ':hibernate-entitymanager:test'.
>>>> There were failing tests. See the report at:
>>> file://<http://ci.hibernate.org/job/hibernate-orm-master-h2/ws/hibernate-entitymanager/target/reports/tests/index.html>
>>>
>>> * Try:
>>> Run with --stacktrace option to get the stack trace. Run with --info
>>> or --debug option to get more log output.
>>>
>>> BUILD FAILED
>>>
>>> Total time: 25 mins 53.306 secs
>>> Build step 'Execute shell' marked build as failure
>>> [CHECKSTYLE] Skipping publisher since build result is FAILURE
>>> [FINDBUGS] Skipping publisher since build result is FAILURE
>>> [TASKS] Skipping publisher since build result is FAILURE
>>> Recording test results
>>> Publishing Javadoc
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list