RFR: JDK-8220295: sun/tools/jps/TestJps.java still timing out

Gary Adams gary.adams at oracle.com
Mon Mar 11 16:50:51 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20190311/b4869027/attachment.html>


More information about the serviceability-dev mailing list