On our CI environment, running our Gradle build hangs indefinitely on the testClasses task. The job is at http://ci.hibernate.org/job/hibernate-orm-master-h2
The job is configured to run ‘./gradlew clean test check :documentation:aggregateJavadocs publish’
I have tried a number of different Oracle JDK (7) versions to rule out JDK problems, including 7u21, 7u45, 7u51. No difference.
For one run I enabled strace to try to better see where it hangs. Unfortunately the yielded a 3.4G log file that is not very useful due to its sheer size.
I have also tried running Gradle with --debug and --info options. The problem is that using either of those causes the hang to not happen.
At this point I am completely out of ideas, but still the Gradle build hangs.
NOTE : I say it hangs in testClasses because that is the last line I see in the Jenkins build console:
:hibernate-core:runTestSourceGenerators UP-TO-DATE :hibernate-core:compileTestJavaNote: 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. :hibernate-core:processTestResources :hibernate-core:testClasses
Maybe it actually hangs trying to transition to the next task.