RFR: 8038963 com/sun/jdi tests fail because cygwin's ps sometimes misses processes

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Wed Apr 2 11:38:34 UTC 2014


Looks good!

-JB-

On 2.4.2014 13:26, Staffan Larsen wrote:
> We have had many intermittent failures in the com/sun/jdi tests recently. After much debugging it turns out that the cygwin version of ps sometimes misses some processes. Since the output of ps is used to determine if the tests should exit, this causes some problems… I suspect a recent update to cygwin, but haven’t been able to confirm that.
>
> This change stops using ps on cygwin and instead uses the builtin tasklist program on windows.
>
> I have also removed some old supporting code for Windows 98 (!).
>
> Tested by running the jdi tests over and over locally many times and also in jprt.
>
> webrev: http://cr.openjdk.java.net/~sla/8038963/webrev.00/
> bug: https://bugs.openjdk.java.net/browse/JDK-8038963
>
> Thanks,
> /Staffan
>



More information about the serviceability-dev mailing list