harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [testing][classlib] java.awt.RobotTest failed on x86_64 Linux
Date Fri, 09 Mar 2007 10:36:48 GMT
Reverted at 516356. As far as I can see the test depends on whether
mouse or keyboard were touched during the test. If I move the mouse
while it is running then it fails. I can reproduce this even on
Windows. So it seems we need a common intermittent list.

Thanks,

2007/3/9, Alexey Petrenko <alexey.a.petrenko@gmail.com>:
> The mentioned commit has a patch which should fix the failures.
> Looks like it does not.
>
> I'll add the test back to exclude list.
>
> Thanks for the info.
>
> SY, Alexey
>
> 2007/3/9, Pavlenko, Andrey A <andrey.a.pavlenko@intel.com>:
> > This test is unstable and sometimes it fails Linux on as well as on
> > Windows.
> > I think it would be better to move it back to the exclude list.
> >
> > -----Original Message-----
> > From: Vladimir Ivanov [mailto:ivavladimir@gmail.com]
> > Sent: Friday, March 09, 2007 6:23 AM
> > To: dev
> > Subject: [testing][classlib] java.awt.RobotTest failed on x86_64 Linux
> >
> > The classlib test java.awt.RobotTest failed on x86_64 Linux.
> > Note, this test was removed from exclude list some time ago:
> > --------------------------------
> > Author: ayza
> > Date: Wed Mar  7 09:44:21 2007
> > New Revision: 515659
> >
> > URL: http://svn.apache.org/viewvc?view=rev&rev=515659
> > Log:
> > Applying patch from HARMONY-3286 ([classlib][awt] The method
> > Robot.mouseMove() works incorrectly on windows). RobotTest was removed
> > from the exclude list.
> >
> > Modified:
> >    harmony/enhanced/classlib/trunk/modules/awt/make/exclude.common
> >
> > ----------------------------------------------
> > I suggest excluding it for x86_64 again up to end of investigation.
> >
> > Execution log:
> >
> > Unit Tests: (15449)
> >
> > failure: testCreateScreenCapture java.awt.RobotTest
> > failure: testGetPixelColor java.awt.RobotTest
> > failure: testKeyPress java.awt.RobotTest
> > failure: testKeyRelease java.awt.RobotTest
> > Unit Test Error Details:        (4)
> >
> > Test: testCreateScreenCaptureClass:
> > java.awt.RobotTestjunit.framework.AssertionFailedError: button is
> > shown expected:<java.awt.Color[r=255,g=255,b=255]> but
> > was:<java.awt.Color[r=0,g=0,b=0]>
> >        at java.awt.RobotTest.waitForButton(RobotTest.java:101)
> >        at
> > java.awt.RobotTest.testCreateScreenCapture(RobotTest.java:220)
> >        at
> > java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> >
> > Test: testGetPixelColorClass:
> > java.awt.RobotTestjunit.framework.AssertionFailedError: button is
> > shown expected:<java.awt.Color[r=255,g=255,b=255]> but
> > was:<java.awt.Color[r=0,g=0,b=0]>
> >        at java.awt.RobotTest.waitForButton(RobotTest.java:101)
> >        at java.awt.RobotTest.testGetPixelColor(RobotTest.java:264)
> >        at
> > java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> >
> > Test: testKeyPressClass:
> > java.awt.RobotTestjunit.framework.AssertionFailedError: button is
> > shown expected:<java.awt.Color[r=255,g=255,b=255]> but
> > was:<java.awt.Color[r=0,g=0,b=0]>
> >        at java.awt.RobotTest.waitForButton(RobotTest.java:101)
> >        at java.awt.RobotTest.testKeyPress(RobotTest.java:281)
> >        at
> > java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> >
> > Test: testKeyReleaseClass:
> > java.awt.RobotTestjunit.framework.AssertionFailedError: button is
> > shown expected:<java.awt.Color[r=255,g=255,b=255]> but
> > was:<java.awt.Color[r=0,g=0,b=0]>
> >        at java.awt.RobotTest.waitForButton(RobotTest.java:101)
> >        at java.awt.RobotTest.testKeyRelease(RobotTest.java:319)
> >        at
> > java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> >
> >  thanks, Vladimir
> >
>


-- 
Alexei Zakharov,
Intel ESSD

Mime
View raw message