RE: Fixing the testsuite for JRockit
by Dimitris Andreadis
I started looking into some Jrockit failures and I realized that the
execution order of Junit tests inside a class *MAY BE THE REVERSE* when
running with Jrockit, compared to using sun's JVM.
This boils down to Class.getMethods()/getDeclaredMethods() returnings
methods in an undefined order:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getMethods(
)
Other people have stumbled on this before and the verdict seems to be
that tests should be re-written to work in any order:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=142528
http://mail-archive.objectweb.org/howl/2005-11/msg00058.html
I'm certain there are places in our testsuite that really depend on the
execution order, in fact this could explain the majority of jrockit
failures, so unless we isolate and conditionally execute those tests, we
need to fix them!
> -----Original Message-----
> From: Dimitris Andreadis
> Sent: Thursday, September 07, 2006 5:05 PM
> To: JBoss.org development list; QA
> Subject: Fixing the testsuite for JRockit
>
> An important task for the jbas codebase is to fix the
> testsuite when run under the jrockit JVM. This is initially
> for the 4.x branch but the fixes should apply verbatim to jboss head.
>
> The starting point is here (see linked tasks & subtasks)
> http://jira.jboss.com/jira/browse/JBAS-3598
> http://cruisecontrol.jboss.com/cc/buildresults/jboss-4.0-testsuite-1.4
>
> At any time there are anywhere between 54-58 failures, so if
> something is in your area please have a go. We'll be
> assigning tasks to people, soon.
>
> Same thing for the testsuite when run under sun-jdk5 (around
> 10 failures)
> http://cruisecontrol.jboss.com/cc/buildresults/jboss-4.0-tests
> uite-sun-1.5
> http://jira.jboss.com/jira/browse/JBAS-3611
>
> There are also a lot of transient failures in parts of the
> testsuite that are more sensitive to timing/cpu issues (e.g.
> JMS), so subsequent runs often produce different results.
> This may also have to do with testsuite runs that interfere
> with each other.
>
> If we can (a) improve those parts of the testsuite and (b)
> make sure testsuite runs are more isolated from each other,
> that would be an improvement.
>
> (I see already a related task from Adrian:
> http://jira.jboss.com/jira/browse/JBAS-3221)
>
> Thanks
> /Dimitris
>
18 years, 4 months
RE: jbossretro-testsuite Build Failed
by Ruel Loehr
Rajesh, what is there some CC cleanup that can happen to free up space?
Ruel Loehr
JBoss, a division of Red Hat
QA
-----------------------------
512-342-7840 ext 2011
Yahoo: ruelloehr
Skype: ruelloehr
AOL: dokoruel
-----Original Message-----
From: Adrian Brock
Sent: Friday, September 08, 2006 8:40 AM
To: QA
Cc: jboss-development(a)lists.jboss.org
Subject: Re: jbossretro-testsuite Build Failed
Somebody looking at this disk space problem?
On Fri, 2006-09-08 at 09:30 -0400, qa(a)jboss.com wrote:
> View results here ->
> http://cruisecontrol.jboss.com/cc/buildresults/jbossretro-testsuite?log=l...
>
--
xxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxx
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 9/6/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 9/6/2006
18 years, 4 months