[hibernate-dev] Infinispan tests

Galder Zamarreño galder at redhat.com
Thu Mar 15 13:40:57 EDT 2012


Ok.

If the infinispan testsuite takes forever, please send some thread dumps.

If you get failures, please indicate the failures.

If you get failures often enough that you can easily replicate, add TRACE logging to org.infinispan and org.hibernate.cache.infinispan packages and send me the logs.

I have not seen this Hibernate Infinispan testsuite on my machine and neither these failures. So, if any of you has issues, the more info you can send across to me, the easier it'll be to find the root cause.

On Mar 13, 2012, at 1:46 PM, Steve Ebersole wrote:

> Its just more of the same "sometimes they pass, sometimes they fail".
> 
> On Tue 13 Mar 2012 03:44:25 AM CDT, Galder Zamarreño wrote:
>> Do you have more info on these failures?
>> 
>> On Mar 9, 2012, at 7:01 PM, Steve Ebersole wrote:
>> 
>>> Yaay!  It ony took slightly over 5 minutes today.  But of course:
>>> 
>>>> Building>  :hibernate-infinispan:test>  Resolving dependencies ':hibernate-infinispan:test:hibernate-infinispan:test
>>> Test org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase FAILED
>>> Test org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase FAILED
>>> 101 tests completed, 19 failures
>>> 
>>> FAILURE: Build failed with an exception.
>>> 
>>> * What went wrong:
>>> Execution failed for task ':hibernate-infinispan:test'.
>>>> There were failing tests. See the report at /home/steve/projects/hibernate/4/hibernate-orm/hibernate-infinispan/target/reports/tests.
>>> 
>>> * 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: 5 mins 6.757 secs
>>> 
>>> 
>>> On Fri 09 Mar 2012 06:25:42 AM CST, Steve Ebersole wrote:
>>>> Luckily you get to decide to follow the company line and use inferior tools as part of your project.
>>>> 
>>>> Considering that part works everywhere I find it funny that you can chalk my issue up to env but this has to be a "gradle/ivy bug" lol.
>>>> 
>>>> There is also a far easier syntax for how you are trying to pull in infinispan artifacts. I'll work on updating that for you.
>>>> 
>>>> As for my "env issues", such as? I'd really like my build to finish in less than an hour! :)
>>>> 
>>>> 
>>>> On Fri 09 Mar 2012 03:51:45 AM CST, Galder Zamarreño wrote:
>>>>> 
>>>>> On Mar 8, 2012, at 4:46 PM, Strong Liu wrote:
>>>>> 
>>>>>> 
>>>>>> On Mar 8, 2012, at 6:48 PM, Sanne Grinovero wrote:
>>>>>> 
>>>>>>> Hi,
>>>>>>> I found the same files in my workspace as left over from and older
>>>>>>> build, but deleted them and tried new builds several times, they don't
>>>>>>> seem to be re-created anymore?
>>>>>>> Could anyone confirm (after cleaning them up) that it's still a
>>>>>>> problem, as I can't..
>>>>>>> 
>>>>>>> On the build issues, I had to rebuild and install locally
>>>>>>> infinispan-5.1.2.CR1 as it seems it couldn't find the test jars in
>>>>>>> Maven repositories.
>>>>>> 
>>>>>> this also causes our master job fail
>>>>>> 
>>>>>> Galder, how should we fix it?
>>>>> 
>>>>> Abandon Gradle and move to Maven? ;)
>>>>> 
>>>>> On a more serious note, I don't really know. Maybe the maven repository CI uses is corrupt?
>>>>> 
>>>>>> 
>>>>>>> 
>>>>>>> @Steve, regarding the upgrade of Infinispan in a minor release; is
>>>>>>> your concern the fact that it's not a Final version or is it about not
>>>>>>> changing any dependency version?
>>>>>>> As Infinispan 5.1.2.FINAL was released as well, so you could move forward.
>>>>>>> 
>>>>>>> I had no other test failures.
>>>>>>> 
>>>>>>> -- Sanne
>>>>>>> 
>>>>>>> On 8 March 2012 10:34, Hardy Ferentschik<hardy at hibernate.org>  wrote:
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> it just took 5 attempts to build everything :-(
>>>>>>>> 
>>>>>>>> The first two times I got errors due to unresolved dependencies (first time some docbook stuff, then Infinispan).
>>>>>>>> In both cases the problem went away by restarting the build.
>>>>>>>> 
>>>>>>>> The third time around I got a test failure in org.hibernate.test.annotations.onetoone.OneToOneTest. No idea why.
>>>>>>>> 
>>>>>>>> The forth time around org.hibernate.envers.test.integration.components.PropertiesGroupTest failed.
>>>>>>>> I've seen this test fail before (also on the metamodel branch I believe). Does anyone else see this test fail at times?
>>>>>>>> 
>>>>>>>> The fifth time the build completed successfully. I can confirm that the infinispan module creates some artifacts outside
>>>>>>>> of the build directory ObjectStore and PutObjectStoreDirHere. I don't think the tests ran any slower than they used to.
>>>>>>>> 
>>>>>>>> Total build time for me (according to gradle) was 11 mins 1.78 secs
>>>>>>>> 
>>>>>>>> I find the "random" test errors worrying though. Anyone experiencing them as well?
>>>>>>>> 
>>>>>>>> --Hardy
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Mar 8, 2012, at 3:56 AM, Steve Ebersole wrote:
>>>>>>>> 
>>>>>>>>> Hmm, I did not have problems resolving artifacts, but I just noticed
>>>>>>>>> this CR... we really need to not be upgrading to CR releases of
>>>>>>>>> dependencies as part of a point release. Sigh
>>>>>>>>> 
>>>>>>>>> On Wed 07 Mar 2012 08:19:55 PM CST, Strong Liu wrote:
>>>>>>>>>> btw ci fails due to
>>>>>>>>>> 
>>>>>>>>>> 08:23:54.474 [ERROR] [org.gradle.BuildExceptionReporter] Could not
>>>>>>>>>> resolve all dependencies for configuration
>>>>>>>>>> ':hibernate-infinispan:testCompile'.
>>>>>>>>>> 08:23:54.478 [ERROR] [org.gradle.BuildExceptionReporter]>  Artifact 'org.infinispan:infinispan-core:5.1.2.CR1:tests at jar' not found.
>>>>>>>>>> 
>>>>>>>>>> -------------------------
>>>>>>>>>> Best Regards,
>>>>>>>>>> 
>>>>>>>>>> Strong Liu<stliu at hibernate.org<http://hibernate.org/>>
>>>>>>>>>> http://about.me/stliu/bio
>>>>>>>>>> 
>>>>>>>>>> On Mar 8, 2012, at 10:04 AM, Steve Ebersole wrote:
>>>>>>>>>> 
>>>>>>>>>>> Speaking of which, is everyone else seeing tests in
>>>>>>>>>>> hibernate-infinispan taking many many minutes to run?
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> yes, it reallly takes some time
>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Wed 07 Mar 2012 07:53:42 PM CST, Steve Ebersole wrote:
>>>>>>>>>>>> Running the hibernate-infinispan tests I am seeing 2 output
>>>>>>>>>>>> directories showing up in the hibernate-infinispan directory (aka, not
>>>>>>>>>>>> hibernate-infinispan/target/...). Namely, I see
>>>>>>>>>>>> hibernate-infinispan/ObjectStore and
>>>>>>>>>>>> hibernate-infinispan/PutObjectStoreDirHere. Anyone know how/if we can
>>>>>>>>>>>> change where those directories get created?
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> -- 
>>>>>>>>>>> steve at hibernate.org<mailto:steve at hibernate.org>
>>>>>>>>>>> http://hibernate.org
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> hibernate-dev mailing list
>>>>>>>>>>> hibernate-dev at lists.jboss.org
>>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -- 
>>>>>>>>> steve at hibernate.org
>>>>>>>>> http://hibernate.org
>>>>>>>>> _______________________________________________
>>>>>>>>> hibernate-dev mailing list
>>>>>>>>> hibernate-dev at lists.jboss.org
>>>>>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>>>> 
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> hibernate-dev mailing list
>>>>>>>> hibernate-dev at lists.jboss.org
>>>>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> hibernate-dev mailing list
>>>>>>> hibernate-dev at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>> 
>>>>> 
>>>>> -- 
>>>>> Galder Zamarreño
>>>>> Sr. Software Engineer
>>>>> Infinispan, JBoss Cache
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> hibernate-dev mailing list
>>>>> hibernate-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>> 
>>> 
>>> -- 
>>> steve at hibernate.org
>>> http://hibernate.org
>> 
>> --
>> Galder Zamarreño
>> Sr. Software Engineer
>> Infinispan, JBoss Cache
>> 
> 
> -- 
> steve at hibernate.org
> http://hibernate.org

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache





More information about the hibernate-dev mailing list