You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Vladimir Ivanov <iv...@gmail.com> on 2007/03/09 04:23:08 UTC

[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

Re: [testing][classlib] java.awt.RobotTest failed on x86_64 Linux

Posted by Alexey Petrenko <al...@gmail.com>.
I've just added RobotTest to linux x86_64 drlvm exclude list.

SY, Alexey

2007/3/9, Alexey Petrenko <al...@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 <an...@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
> >
>

Re: [testing][classlib] java.awt.RobotTest failed on x86_64 Linux

Posted by Alexei Zakharov <al...@gmail.com>.
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 <al...@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 <an...@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

RE: [testing][classlib] java.awt.RobotTest failed on x86_64 Linux

Posted by "Pavlenko, Andrey A" <an...@intel.com>.
Alexey, the patch fixes failure of the testMouseMove() test case on
windows, but the test has several failing test cases. 

-----Original Message-----
From: Alexey Petrenko [mailto:alexey.a.petrenko@gmail.com] 
Sent: Friday, March 09, 2007 1:22 PM
To: dev@harmony.apache.org
Subject: Re: [testing][classlib] java.awt.RobotTest failed on x86_64
Linux

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 <an...@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
>

Re: [testing][classlib] java.awt.RobotTest failed on x86_64 Linux

Posted by Alexey Petrenko <al...@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 <an...@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
>

RE: [testing][classlib] java.awt.RobotTest failed on x86_64 Linux

Posted by "Pavlenko, Andrey A" <an...@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