[hibernate-dev] Infinispan tests
Steve Ebersole
steve at hibernate.org
Thu Mar 8 11:31:31 EST 2012
Well I recently just "upgraded" to Fedora 14 so that may very well have
something to do with it. The hibernate-infinispan tests always ran slow,
but this 56 minutes number is a whole new level of frustration ;)
steve at hibernate.org
http://hibernate.org
On Mar 8, 2012 9:54 AM, "Sanne Grinovero" <sanne at infinispan.org> wrote:
> Time to get a new box?
>
> Total time: 5 mins 20.498 secs
>
> Jokes aside, maybe some system setting is wrong; to run the Infinispan
> testsuite we need some system level settings, like
> https://issues.jboss.org/browse/ISPN-1890
> and lots of memory help as well; maybe there is a wrong network
> configuration: if you happen to have packets sent out to a - for
> example - wifi router, have a sightseeing tour around your home
> devices and back, that will be much slower than localhost connections.
> I don't know if this is required for the Infinispan tests in Hibernate
> as well, but maybe it affects performance.
>
> --Sanne
>
>
> On 8 March 2012 15:42, Steve Ebersole <steve at hibernate.org> wrote:
> > 11 minutes?!?! I had to kill the one last night and just disable those
> > tests for the release. This morning I let it run. 56 minutes. Yep
> > 56! And thats solely for running the hibernate-infinispan tests.
> > Everything else was built already.
> >
> >
> > [steve at apollo hibernate-infinispan]$ gradle clean test
> > :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
> > The Configuration.addDependency() method has been deprecated and will be
> > removed in the next version of Gradle. Please use the
> > getDependencies().add() method instead.
> > The SourceSet.getClasses() method has been deprecated and will be
> > removed in the next version of Gradle. Please use the getOutput() method
> > instead.
> > The SourceSet.getClassesDir() method has been deprecated and will be
> > removed in the next version of Gradle. Please use the
> > getOutput().getClassesDir() method instead.
> > The SourceSet.setClassesDir() method has been deprecated and will be
> > removed in the next version of Gradle. Please use the
> > getOutput().setClassesDir() method instead.
> > The Configuration.getAllArtifactFiles() method has been deprecated and
> > will be removed in the next version of Gradle. Please use the
> > getAllArtifacts().getFiles() method instead.
> > :hibernate-infinispan:clean
> > > Building > :hibernate-core:generateGrammarSource > Resolving
> > dependencies ':hibernate-core:hibernate-core:generateGrammarSource
> > UP-TO-DATE
> > :hibernate-core:jaxb UP-TO-DATE
> > > Building > :hibernate-core:generateMainLoggingClasses > Resolving
> > dependencies ':hibernate:hibernate-core:generateMainLoggingClasses
> > UP-TO-DATE
> > :hibernate-core:compileJava UP-TO-DATE
> > :hibernate-core:processResources UP-TO-DATE
> > :hibernate-core:classes UP-TO-DATE
> > :hibernate-core:jar UP-TO-DATE
> > > Building > :hibernate-infinispan:generateMainLoggingClasses >
> > Resolving dependencies
> > ':hib:hibernate-infinispan:generateMainLoggingClasses
> > :hibernate-infinispan:compileJava
> > [ant:javac] Note: Some input files use or override a deprecated API.
> > [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> > [ant:javac] Note: Some input files use unchecked or unsafe operations.
> > [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > :hibernate-infinispan:processResources
> > :hibernate-infinispan:classes
> > > Building > :hibernate-testing:generateMainLoggingClasses > Resolving
> > dependencies ':hibern:hibernate-testing:generateMainLoggingClasses
> > :hibernate-testing:compileJava
> > [ant:javac] Note: Some input files use unchecked or unsafe operations.
> > [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > :hibernate-testing:processResources UP-TO-DATE
> > :hibernate-testing:classes
> > :hibernate-testing:jar
> > > Building > :hibernate-infinispan:compileTestJava > Resolving
> > dependencies ':hibernate-infi:hibernate-infinispan:compileTestJava
> > [ant:javac] Note: Some input files use or override a deprecated API.
> > [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> > [ant:javac] Note: Some input files use unchecked or unsafe operations.
> > [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > :hibernate-infinispan:processTestResources
> > :hibernate-infinispan:testClasses
> > > Building > :hibernate-infinispan:test > Resolving dependencies
> > ':hibernate-infinispan:test:hibernate-infinispan:test
> >
> > BUILD SUCCESSFUL
> >
> > Total time: 56 mins 36.254 secs
> >
> > On 03/08/2012 04:34 AM, Hardy Ferentschik 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
> >>
> >> --
> >> 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
>
More information about the hibernate-dev
mailing list