RFR: JDK-8220295: sun/tools/jps/TestJps.java still timing out
Chris Plummer
chris.plummer at oracle.com
Mon Mar 11 19:14:48 UTC 2019
Maybe try a custom testlist that just runs these two tests.
Chris
On 3/11/19 12:07 PM, gary.adams at oracle.com wrote:
> Neither of these tests has been reproduced under controlled conditions.
> On recent test runs, I've been more likely to see a jstat or jstatd
> test failing.
>
> On 3/11/19 2:49 PM, Chris Plummer wrote:
>> Have you been able to reliably reproduce either of these issues?
>>
>> Chris
>>
>> On 3/11/19 9:50 AM, Gary Adams wrote:
>>> These attach tests interact with all running Java processes.
>>> From the logs of the failing tests you can see a few infrastructure
>>> Java processes and a number of other Java attaching tests including
>>> jinfo, jmap, jstat, etc.
>>>
>>> JDK-8220295: sun/tools/jps/TestJps.java still timing out
>>> JDK-8220242: com/sun/tools/attach/TempDirTest.java sometimes times
>>> out
>>>
>>> It's not clear what happens, if these processes are crossing their
>>> attach requests. To simplify the interactions, the following change
>>> will request the attaching tests to be run non-concurrently.
>>> Testing is in progress. If successful, it may be possible to reduce the
>>> timeout because a fixed number of Java processes will be running in
>>> each
>>> test run.
>>>
>>> diff --git a/test/jdk/TEST.ROOT b/test/jdk/TEST.ROOT
>>> --- a/test/jdk/TEST.ROOT
>>> +++ b/test/jdk/TEST.ROOT
>>> @@ -22,7 +22,7 @@
>>> javax/management sun/awt sun/java2d
>>> javax/xml/jaxp/testng/validation java/lang/ProcessHandle
>>>
>>> # Tests that cannot run concurrently
>>> -exclusiveAccess.dirs=java/rmi/Naming java/util/prefs
>>> sun/management/jmxremote sun/tools/jstatd sun/security/mscapi
>>> java/util/stream java/util/Arrays/largeMemory
>>> java/util/BitSet/stream javax/rmi
>>> +exclusiveAccess.dirs=java/rmi/Naming java/util/prefs
>>> sun/management/jmxremote sun/tools/jstatd sun/tools/jps
>>> com/sun/tools sun/security/mscapi java/util/stream
>>> java/util/Arrays/largeMemory java/util/BitSet/stream javax/rmi
>>> # Group definitions
>>> groups=TEST.groups
>>
>>
>>
>
More information about the serviceability-dev
mailing list