You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Alexei Zakharov <al...@gmail.com> on 2007/03/14 13:51:43 UTC

Re: [classlib] svn commit: r517631 - in /harmony/enhanced/classlib/trunk/modules/awt/make: exclude.common exclude.interm

> Will do but overnight this test has failed every time the build ran so I
> still think it belongs in one of the default exclude files.

I see. The only reason why I put this in the intermittent is because
it passes for me on DRLVM / IBM VME / Win32 / Linux if I don't touch
keyboard & mouse. So do you see the same failures on the updated
version of the test? Can you share the stack traces again please?

Thanks,

2007/3/14, Mark Hindess <ma...@googlemail.com>:
>
> On 14 March 2007 at 11:59, "Alexei Zakharov" <al...@gmail.com> wrote:
> > Hi Mark,
> >
> > I've run RobotTest dozen of times both on J9 and DRLVM (Windows &
> > Linux 32 bit variants). I can say that the pass rate on IBM VME and on
> > DRLVM is about the same. I guess that the real reason why it fails on
> > your machine is because you touch the mouse during the test run. Don't
> > you? :)
>
> I don't think so; This machine doesn't have a working mouse. ;-) The
> tests are run on Xvfb - a virtual framebuffer.
>
> > In the perfect world you shouldn't touch anything while awt &
> > swing tests are running, especially RobotTest. I understand that this
> > is hardly achievable if you run tests on your development workstation.
> > I've fixed some delays in RobotTest at r518070. Hope this helps.
>
> Understood but I don't think this applies to the problem I'm seeing.
>
> > BTW if you have enough power could you please update CC at
> > hursley.ibm.com and add -Dexclude.interm=true? We have agreed (see for
> > example "[classlib][testing] what is default behavior for
> > intermittently failed tests exclude lists" thread) that CC should not
> > run intermittent tests. Just to avoid broadcasting of false alarms.
>
> Will do but overnight this test has failed every time the build ran so I
> still think it belongs in one of the default exclude files.
>
> -Mark
>
> > Thanks,
> >
> > 2007/3/13, Mark Hindess <ma...@googlemail.com>:
> > > This test fails every time for me (linux/x86/ibm) so can we move it back
> > > to an exclude list that is used by default please.
> > >
> > > -Mark.
> > >
> > > Failures are:
> > >
> > > testKeyPress    Failure button has focus
> > > junit.framework.AssertionFailedError: button has focus at java.awt.RobotTes
> > t.waitFocus(RobotTest.java:310) at java.awt.RobotTest.testKeyPress(RobotTest.
> > java:284) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java
> > :25)
> > >
> > > testKeyRelease  Failure button has focus
> > > junit.framework.AssertionFailedError: button has focus at java.awt.RobotTes
> > t.waitFocus(RobotTest.java:310) at java.awt.RobotTest.testKeyRelease(RobotTes
> > t.java:321) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.ja
> > va:25
> > > )
> > >
> > > testMouseWheel  Failure N/A
> > > junit.framework.AssertionFailedError at java.awt.RobotTest.testMouseWheel(R
> > obotTest.java:432) at java.lang.reflect.AccessibleObject.invokeV(AccessibleOb
> > ject.java:25)
> > >
> > >
> > > On 13 March 2007 at 10:25, ayza@apache.org wrote:
> > > > Author: ayza
> > > > Date: Tue Mar 13 03:25:49 2007
> > > > New Revision: 517631
> > > >
> > > > URL: http://svn.apache.org/viewvc?view=rev&rev=517631
> > > > Log:
> > > > Moving java.awt.RobotTest from common exclude list to common intermittent
> >  exc
> > > > lude list.
> > > >
> > > > Added:
> > > >     harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm   (wi
> > th p
> > > > rops)
> > > > Modified:
> > > >     harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common
> > > >
> > > > Modified: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common
> > > > URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules
> > /awt
> > > > /make/exclude.common?view=diff&rev=517631&r1=517630&r2=517631
> > > > =========================================================================
> > ====
> > > > =
> > > > --- harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common (orig
> > inal
> > > > )
> > > > +++ harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common Tue M
> > ar 1
> > > > 3 03:25:49 2007
> > > > @@ -12,9 +12,6 @@
> > > >  java/awt/FlowLayoutTest.java
> > > >  java/awt/GridBagLayoutTest.java
> > > >  java/awt/GridLayoutTest.java
> > > > -# intermittent failure, seems RobotTest depends on
> > > > -# whether mouse or keyboard were touched during the test
> > > > -java/awt/RobotTest.java
> > > >  java/awt/WindowRTest.java
> > > >  java/awt/datatransfer/ClipboardTest.java
> > > >  java/awt/BorderLayoutTest.java
> > > >
> > > > Added: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm
> > > > URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules
> > /awt
> > > > /make/exclude.interm?view=auto&rev=517631
> > > > =========================================================================
> > ====
> > > > =
> > > > --- harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm (adde
> > d)
> > > > +++ harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm Tue M
> > ar 1
> > > > 3 03:25:49 2007
> > > > @@ -0,0 +1,3 @@
> > > > +# intermittent failure, seems RobotTest depends on
> > > > +# whether mouse or keyboard were touched during the test
> > > > +java/awt/RobotTest.java
> > > >
> > > > Propchange: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.inte
> > rm
> > > > -------------------------------------------------------------------------
> > ----
> > > > -
> > > >     svn:eol-style = native

-- 
Alexei Zakharov,
Intel ESSD

Re: [classlib] svn commit: r517631 - in /harmony/enhanced/classlib/trunk/modules/awt/make: exclude.common exclude.interm

Posted by Mark Hindess <ma...@googlemail.com>.
On 14 March 2007 at 15:51, "Alexei Zakharov" <al...@gmail.com> wrote:
>
> > Will do but overnight this test has failed every time the build ran
> > so I still think it belongs in one of the default exclude files.
> 
> I see. The only reason why I put this in the intermittent is because
> it passes for me on DRLVM / IBM VME / Win32 / Linux if I don't touch
> keyboard & mouse. So do you see the same failures on the updated
> version of the test? Can you share the stack traces again please?

Well, I did include them when I started this thread.  They are now
rather jumbled so these are the latest from r518049:

testKeyPress    Failure button has focus
junit.framework.AssertionFailedError: button has focus at 
   java.awt.RobotTest.waitFocus(RobotTest.java:310) at 
   java.awt.RobotTest.testKeyPress(RobotTest.java:284) at 
   java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)      

testKeyRelease  Failure button has focus
junit.framework.AssertionFailedError: button has focus at 
   java.awt.RobotTest.waitFocus(RobotTest.java:310) at
   java.awt.RobotTest.testKeyRelease(RobotTest.java:321) at
   java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) 

testMouseWheel  Failure N/A
junit.framework.AssertionFailedError at
   java.awt.RobotTest.testMouseWheel(RobotTest.java:432) at
   java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)      

I've modified our build machines to not run the interm tests now but I
can run them manually if you need me to test any fixes.

-Mark.

> Thanks,
> 
> 2007/3/14, Mark Hindess <ma...@googlemail.com>:
> >
> > On 14 March 2007 at 11:59, "Alexei Zakharov" <al...@gmail.com> wr
> ote:
> > > Hi Mark,
> > >
> > > I've run RobotTest dozen of times both on J9 and DRLVM (Windows &
> > > Linux 32 bit variants). I can say that the pass rate on IBM VME and on
> > > DRLVM is about the same. I guess that the real reason why it fails on
> > > your machine is because you touch the mouse during the test run. Don't
> > > you? :)
> >
> > I don't think so; This machine doesn't have a working mouse. ;-) The
> > tests are run on Xvfb - a virtual framebuffer.
> >
> > > In the perfect world you shouldn't touch anything while awt &
> > > swing tests are running, especially RobotTest. I understand that this
> > > is hardly achievable if you run tests on your development workstation.
> > > I've fixed some delays in RobotTest at r518070. Hope this helps.
> >
> > Understood but I don't think this applies to the problem I'm seeing.
> >
> > > BTW if you have enough power could you please update CC at
> > > hursley.ibm.com and add -Dexclude.interm=true? We have agreed (see for
> > > example "[classlib][testing] what is default behavior for
> > > intermittently failed tests exclude lists" thread) that CC should not
> > > run intermittent tests. Just to avoid broadcasting of false alarms.
> >
> > Will do but overnight this test has failed every time the build ran so I
> > still think it belongs in one of the default exclude files.
> >
> > -Mark
> >
> > > Thanks,
> > >
> > > 2007/3/13, Mark Hindess <ma...@googlemail.com>:
> > > > This test fails every time for me (linux/x86/ibm) so can we move it bac
> k
> > > > to an exclude list that is used by default please.
> > > >
> > > > -Mark.
> > > >
> > > > Failures are:
> > > >
> > > > testKeyPress    Failure button has focus
> > > > junit.framework.AssertionFailedError: button has focus at java.awt.Robo
> tTes
> > > t.waitFocus(RobotTest.java:310) at java.awt.RobotTest.testKeyPress(RobotT
> est.
> > > java:284) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.
> java
> > > :25)
> > > >
> > > > testKeyRelease  Failure button has focus
> > > > junit.framework.AssertionFailedError: button has focus at java.awt.Robo
> tTes
> > > t.waitFocus(RobotTest.java:310) at java.awt.RobotTest.testKeyRelease(Robo
> tTes
> > > t.java:321) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObjec
> t.ja
> > > va:25
> > > > )
> > > >
> > > > testMouseWheel  Failure N/A
> > > > junit.framework.AssertionFailedError at java.awt.RobotTest.testMouseWhe
> el(R
> > > obotTest.java:432) at java.lang.reflect.AccessibleObject.invokeV(Accessib
> leOb
> > > ject.java:25)
> > > >
> > > >
> > > > On 13 March 2007 at 10:25, ayza@apache.org wrote:
> > > > > Author: ayza
> > > > > Date: Tue Mar 13 03:25:49 2007
> > > > > New Revision: 517631
> > > > >
> > > > > URL: http://svn.apache.org/viewvc?view=rev&rev=517631
> > > > > Log:
> > > > > Moving java.awt.RobotTest from common exclude list to common intermit
> tent
> > >  exc
> > > > > lude list.
> > > > >
> > > > > Added:
> > > > >     harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm  
>  (wi
> > > th p
> > > > > rops)
> > > > > Modified:
> > > > >     harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common
> > > > >
> > > > > Modified: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.co
> mmon
> > > > > URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/mod
> ules
> > > /awt
> > > > > /make/exclude.common?view=diff&rev=517631&r1=517630&r2=517631
> > > > > =====================================================================
> ====
> > > ====
> > > > > =
> > > > > --- harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common (
> orig
> > > inal
> > > > > )
> > > > > +++ harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common T
> ue M
> > > ar 1
> > > > > 3 03:25:49 2007
> > > > > @@ -12,9 +12,6 @@
> > > > >  java/awt/FlowLayoutTest.java
> > > > >  java/awt/GridBagLayoutTest.java
> > > > >  java/awt/GridLayoutTest.java
> > > > > -# intermittent failure, seems RobotTest depends on
> > > > > -# whether mouse or keyboard were touched during the test
> > > > > -java/awt/RobotTest.java
> > > > >  java/awt/WindowRTest.java
> > > > >  java/awt/datatransfer/ClipboardTest.java
> > > > >  java/awt/BorderLayoutTest.java
> > > > >
> > > > > Added: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.inter
> m
> > > > > URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/mod
> ules
> > > /awt
> > > > > /make/exclude.interm?view=auto&rev=517631
> > > > > =====================================================================
> ====
> > > ====
> > > > > =
> > > > > --- harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm (
> adde
> > > d)
> > > > > +++ harmony/enhanced/classlib/trunk/modules/awt/make/exclude.interm T
> ue M
> > > ar 1
> > > > > 3 03:25:49 2007
> > > > > @@ -0,0 +1,3 @@
> > > > > +# intermittent failure, seems RobotTest depends on
> > > > > +# whether mouse or keyboard were touched during the test
> > > > > +java/awt/RobotTest.java
> > > > >
> > > > > Propchange: harmony/enhanced/classlib/trunk/modules/awt/make/exclude.
> inte
> > > rm
> > > > > ---------------------------------------------------------------------
> ----
> > > ----
> > > > > -
> > > > >     svn:eol-style = native
> 
> -- 
> Alexei Zakharov,
> Intel ESSD
>