changeset 12504:2d1a84d812d6

8132094: Mark intermittently failuring core-svc tests Reviewed-by: jbachorik, sspitsyn
author ykantser
date Wed, 22 Jul 2015 09:51:40 +0200
parents 5f928072738e
children 7e30e3ddeec7
files test/com/sun/jdi/ArrayLengthDumpTest.sh test/com/sun/jdi/BreakpointTest.java test/com/sun/jdi/BreakpointWithFullGC.sh test/com/sun/jdi/CatchAllTest.sh test/com/sun/jdi/CatchCaughtTest.sh test/com/sun/jdi/CatchPatternTest.sh test/com/sun/jdi/CommandCommentDelimiter.sh test/com/sun/jdi/DeoptimizeWalk.sh test/com/sun/jdi/ExceptionEvents.java test/com/sun/jdi/JdbExprTest.sh test/com/sun/jdi/JdbMissStep.sh test/com/sun/jdi/JdbVarargsTest.sh test/com/sun/jdi/MixedSuspendTest.sh test/com/sun/jdi/NotAField.sh test/com/sun/jdi/RedefineAbstractClass.sh test/com/sun/jdi/RedefineAnnotation.sh test/com/sun/jdi/RedefineClearBreakpoint.sh test/com/sun/jdi/RedefineException.sh test/com/sun/jdi/RedefineFinal.sh test/com/sun/jdi/RedefineIntConstantToLong.sh test/com/sun/jdi/RedefinePop.sh test/com/sun/jdi/RedefineStep.sh test/com/sun/jdi/RedefineTTYLineNumber.sh test/com/sun/jdi/SimulResumerTest.java test/com/sun/jdi/StringConvertTest.sh test/com/sun/jdi/sde/FilterMangleTest.java test/com/sun/tools/attach/BasicTests.java test/java/lang/ClassLoader/Assert.java test/java/lang/instrument/BootClassPath/BootClassPathTest.sh test/java/lang/instrument/ManifestTest.sh test/java/lang/instrument/PremainClass/InheritAgent0101.java test/java/lang/instrument/RedefineBigClass.sh test/java/lang/instrument/RetransformBigClass.sh test/java/lang/management/ThreadMXBean/AllThreadIds.java test/javax/management/monitor/ReflectionExceptionTest.java test/javax/management/monitor/StringMonitorDeadlockTest.java test/javax/management/mxbean/GenericArrayTypeTest.java test/javax/management/remote/mandatory/connection/BrokenConnectionTest.java test/javax/management/remote/mandatory/notif/NotificationEmissionTest.java test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh test/sun/management/jmxremote/startstop/JMXStatusPerfCountersTest.java test/sun/tools/jmap/BasicJMapTest.java test/sun/tools/jstatd/TestJstatdDefaults.java test/sun/tools/jstatd/TestJstatdExternalRegistry.java test/sun/tools/jstatd/TestJstatdPort.java test/sun/tools/jstatd/TestJstatdPortAndServer.java
diffstat 46 files changed, 47 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/jdi/ArrayLengthDumpTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/ArrayLengthDumpTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -30,6 +30,7 @@
 #           TTY: dump <ArrayReference> command not implemented.
 #  @author Tim Bell
 #
+#  @key intermittent
 #  @run shell ArrayLengthDumpTest.sh
 #
 classname=ArrayLengthDumpTarg
--- a/test/com/sun/jdi/BreakpointTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/BreakpointTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
  *
  *  @author jjh
  *
+ *  @key intermittent
  *  @modules jdk.jdi
  *  @run build TestScaffold VMConnection TargetListener TargetAdapter
  *  @run compile -g BreakpointTest.java
@@ -45,7 +46,7 @@
 // the debuggee, waits a bit, and enables the bkpt again.
 
 class BreakpointTarg {
-    public final static int BKPT_LINE = 55;
+    public final static int BKPT_LINE = 56;
             // LINE NUMBER SENSITIVE
 
     public static long count;
--- a/test/com/sun/jdi/BreakpointWithFullGC.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/BreakpointWithFullGC.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -29,6 +29,7 @@
 #  @author dcubed (based on the test program posted to the following
 #  Eclipse thread https://bugs.eclipse.org/bugs/show_bug.cgi?id=279137)
 #
+#  @key intermittent
 #  @run shell BreakpointWithFullGC.sh
 
 compileOptions=-g
--- a/test/com/sun/jdi/CatchAllTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/CatchAllTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -29,6 +29,7 @@
 #  @summary REGRESSION: jdb rejects the syntax catch java.lang.IndexOutOfBoundsException
 #  @author Tim Bell
 #
+#  @key intermittent
 #  @run shell CatchAllTest.sh
 #
 classname=CatchAllTestTarg
--- a/test/com/sun/jdi/CatchCaughtTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/CatchCaughtTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -29,6 +29,7 @@
 #  @summary TTY: 'catch caught' with no class pattern throws NullPointerException
 #  @author Tim Bell
 #
+#  @key intermittent
 #  @run shell CatchCaughtTest.sh
 #
 classname=CatchCaughtTestTarg
--- a/test/com/sun/jdi/CatchPatternTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/CatchPatternTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
 #  @summary TTY: surprising ExceptionSpec.resolveEventRequest() wildcard results
 #  @author Tim Bell
 #
+#  @key intermittent
 #  @run shell CatchPatternTest.sh
 classname=CatchPatternTestTarg
 createJavaFile()
--- a/test/com/sun/jdi/CommandCommentDelimiter.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/CommandCommentDelimiter.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
 #  @bug 4507088
 #  @summary TTY: Add a comment delimiter to the jdb command set
 #  @author Tim Bell
+#  @key intermittent
 #  @run shell CommandCommentDelimiter.sh
 #
 
--- a/test/com/sun/jdi/DeoptimizeWalk.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/DeoptimizeWalk.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
 #  @bug 4525714
 #  @summary jtreg test PopAsynchronousTest fails in build 85 with -Xcomp
 #  @author Jim Holmlund/Swamy Venkataramanappa
+#  @key intermittent
 #  @run shell DeoptimizeWalk.sh
 
 #  This is another test of the same bug.  The bug occurs when trying
--- a/test/com/sun/jdi/ExceptionEvents.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/ExceptionEvents.java	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
  *
  *  @author Robert Field
  *
+ *  @key intermittent
  *  @modules jdk.jdi
  *  @run build TestScaffold VMConnection
  *  @run compile -g ExceptionEvents.java
--- a/test/com/sun/jdi/JdbExprTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/JdbExprTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
 #  @test
 #  @bug 4660158
 #  @author Staffan Larsen
+#  @key intermittent
 #  @run shell JdbExprTest.sh
 
 # These are variables that can be set to control execution
--- a/test/com/sun/jdi/JdbMissStep.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/JdbMissStep.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
 #  @summary REGRESSION: jdb / jdi not stopping at some breakpoints and steps in j2sdk1.4.
 #  @author Jim Holmlund
 #
+#  @key intermittent
 #  @run shell JdbMissStep.sh
 
 # These are variables that can be set to control execution
--- a/test/com/sun/jdi/JdbVarargsTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/JdbVarargsTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -29,6 +29,7 @@
 #
 #  @author jjh
 #
+#  @key intermittent
 #  @run shell JdbVarargsTest.sh
 
 classname=JdbVarargsTest
--- a/test/com/sun/jdi/MixedSuspendTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/MixedSuspendTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -29,6 +29,7 @@
 # 
 #  @author Jim Holmlund
 # 
+#  @key intermittent
 #  @modules jdk.jdi
 #  @run build TestScaffold VMConnection TargetListener TargetAdapter
 #  @run shell MixedSuspendTest.sh
--- a/test/com/sun/jdi/NotAField.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/NotAField.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -29,6 +29,7 @@
 #  @summary TTY: NullPointerException at
 #           com.sun.tools.jdi.MirrorImpl.validateMirrors
 #  @author Tim Bell
+#  @key intermittent
 #  @run shell NotAField.sh
 #
 
--- a/test/com/sun/jdi/RedefineAbstractClass.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineAbstractClass.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -31,6 +31,7 @@
 #   methods are called.
 # @author Daniel D. Daugherty
 #
+# @key intermittent
 # @run shell RedefineAbstractClass.sh
 
 compileOptions=-g
--- a/test/com/sun/jdi/RedefineAnnotation.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineAnnotation.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
 #  @summary Redefine a class that has an annotation and verify that the
 #    new annotation is returned.
 #
+#  @key intermittent
 #  @run shell RedefineAnnotation.sh
 
 compileOptions=-g
--- a/test/com/sun/jdi/RedefineClearBreakpoint.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineClearBreakpoint.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
 #  @bug 4705330
 #  @summary Netbeans Fix and Continue crashes JVM
 #  @author Jim Holmlund/Swamy Venkataramanappa
+#  @key intermittent
 #  @run shell RedefineClearBreakpoint.sh
 
 #  The failure occurs after a bkpt is set and then cleared
--- a/test/com/sun/jdi/RedefineException.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineException.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
 #  @summary The VM crashes when a method in a redefined class throws an exception.
 #  @author Jim Holmlund
 #
+#  @key intermittent
 #  @run shell RedefineException.sh
 
 # This is another symptomm of 4559100
--- a/test/com/sun/jdi/RedefineFinal.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineFinal.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
 #  @bug 4788344
 #  @summary RedefineClasses is an apparent no-op if instance method is final
 #
+#  @key intermittent
 #  @run shell RedefineFinal.sh
 
 compileOptions=-g
--- a/test/com/sun/jdi/RedefineIntConstantToLong.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineIntConstantToLong.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
 #  @bug 6394084
 #  @summary Redefine class can't handle addition of 64 bit constants in JDK1.5.0_05
 #
+#  @key intermittent
 #  @run shell RedefineIntConstantToLong.sh
 
 compileOptions=-g
--- a/test/com/sun/jdi/RedefinePop.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefinePop.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -30,6 +30,7 @@
 #
 #  The failure occurs with debug java when the pop deletes the
 #  line that called the method which is being popped.
+#  @key intermittent
 #  @run shell RedefinePop.sh
 
 
--- a/test/com/sun/jdi/RedefineStep.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineStep.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
 #  @bug 4689395
 #  @summary "step over" after a class is redefined acts like "step out"
 #  @author Jim Holmlund
+#  @key intermittent
 #  @run shell RedefineStep.sh
 #
 
--- a/test/com/sun/jdi/RedefineTTYLineNumber.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/RedefineTTYLineNumber.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
 #  @bug 4660756
 #  @summary TTY: Need to clear source cache after doing a redefine class
 #  @author Jim Holmlund
+#  @key intermittent
 #  @run shell/timeout=240 RedefineTTYLineNumber.sh
 
 #set -x
--- a/test/com/sun/jdi/SimulResumerTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/SimulResumerTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -28,6 +28,7 @@
  *
  *  @author jjh
  *
+ *  @key intermittent
  *  @modules jdk.jdi
  *  @run build TestScaffold VMConnection TargetListener TargetAdapter
  *  @run compile -g SimulResumerTest.java
--- a/test/com/sun/jdi/StringConvertTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/StringConvertTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -29,6 +29,7 @@
 #           2. TTY: run on expression evaluation
 #  @author jim/suvasis mukherjee
 #
+#  @key intermittent
 #  @run shell StringConvertTest.sh
 
 #  Run this script to see the bug.  See comments at the end
--- a/test/com/sun/jdi/sde/FilterMangleTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/jdi/sde/FilterMangleTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -5,6 +5,7 @@
  *
  *  @author Robert Field / Jim Holmlund
  *
+ *  @key intermittent
  *  @library ..
  *  @modules jdk.jdi
  *  @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
--- a/test/com/sun/tools/attach/BasicTests.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/com/sun/tools/attach/BasicTests.java	Wed Jul 22 09:51:40 2015 +0200
@@ -41,7 +41,7 @@
  * @test
  * @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757
  * @summary Basic unit tests for the VM attach mechanism.
- * @modules jdk.jartool/sun.tools.jar
+ * @key intermittent
  * @library /lib/testlibrary
  * @modules java.instrument
  *          java.management
--- a/test/java/lang/ClassLoader/Assert.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/java/lang/ClassLoader/Assert.java	Wed Jul 22 09:51:40 2015 +0200
@@ -28,7 +28,7 @@
  * @run main/othervm Assert
  * @summary Test the assertion facility
  * @author Mike McCloskey
- * @key randomness
+ * @key randomness intermittent
  */
 
 import package1.*;
--- a/test/java/lang/instrument/BootClassPath/BootClassPathTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/java/lang/instrument/BootClassPath/BootClassPathTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
 # @summary Test non US-ASCII characters in the value of the Boot-Class-Path
 #          attribute.
 #
+# @key intermittent
 # @modules java.instrument
 # @run shell/timeout=240 BootClassPathTest.sh
 
--- a/test/java/lang/instrument/ManifestTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/java/lang/instrument/ManifestTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
 # @summary JLI JAR manifest processing should ignore leading and trailing white space.
 # @author Daniel D. Daugherty
 #
+# @key intermittent
 # @modules java.instrument
 # @run build ManifestTestApp ExampleForBootClassPath
 # @run shell/timeout=900 ManifestTest.sh
--- a/test/java/lang/instrument/PremainClass/InheritAgent0101.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/java/lang/instrument/PremainClass/InheritAgent0101.java	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
  * @summary test config (0,1,0,1): inherited 1-arg and declared 1-arg in agent class
  * @author Daniel D. Daugherty, Sun Microsystems
  *
+ * @key intermittent
  * @run shell ../MakeJAR3.sh InheritAgent0101
  * @run main/othervm -javaagent:InheritAgent0101.jar DummyMain
  */
--- a/test/java/lang/instrument/RedefineBigClass.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/java/lang/instrument/RedefineBigClass.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
 # @summary Redefine a big class.
 # @author Daniel D. Daugherty
 #
+# @key intermittent
 # @modules java.instrument
 # @run shell MakeJAR3.sh RedefineBigClassAgent 'Can-Redefine-Classes: true'
 # @run build BigClass RedefineBigClassApp NMTHelper
--- a/test/java/lang/instrument/RetransformBigClass.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/java/lang/instrument/RetransformBigClass.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
 # @summary Retransform a big class.
 # @author Daniel D. Daugherty
 #
+# @key intermittent
 # @modules java.instrument
 # @run shell MakeJAR4.sh RetransformBigClassAgent SimpleIdentityTransformer 'Can-Retransform-Classes: true'
 # @run build BigClass RetransformBigClassApp NMTHelper
--- a/test/java/lang/management/ThreadMXBean/AllThreadIds.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/java/lang/management/ThreadMXBean/AllThreadIds.java	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
  * @summary Basic unit test of ThreadMXBean.getAllThreadIds()
  * @author  Alexei Guibadoulline and Mandy Chung
  *
+ * @key intermittent
  * @modules java.management
  * @run main/othervm AllThreadIds
  */
--- a/test/javax/management/monitor/ReflectionExceptionTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/javax/management/monitor/ReflectionExceptionTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
  * @summary Test that the jmx.monitor.error.runtime monitor notification
  *          is emitted when getAttribute throws ReflectionException.
  * @author Luis-Miguel Alventosa
+ * @key intermittent
  * @modules java.management
  * @run clean ReflectionExceptionTest MBeanServerBuilderImpl
  *            MBeanServerForwarderInvocationHandler
--- a/test/javax/management/monitor/StringMonitorDeadlockTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/javax/management/monitor/StringMonitorDeadlockTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
  * @summary Test that no locks are held when a monitor attribute is sampled
  * or notif delivered.
  * @author Eamonn McManus
+ * @key intermittent
  * @modules java.management
  * @run clean StringMonitorDeadlockTest
  * @run build StringMonitorDeadlockTest
--- a/test/javax/management/mxbean/GenericArrayTypeTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/javax/management/mxbean/GenericArrayTypeTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
  * @bug 6292705
  * @summary Test support for arrays in parameterized types.
  * @author Luis-Miguel Alventosa
+ * @key intermittent
  * @modules java.management
  * @run clean GenericArrayTypeTest
  * @run build GenericArrayTypeTest
--- a/test/javax/management/remote/mandatory/connection/BrokenConnectionTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/javax/management/remote/mandatory/connection/BrokenConnectionTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
  * @bug 4940957 8025205
  * @summary Tests behaviour when connections break
  * @author Eamonn McManus
+ * @key intermittent
  * @modules java.management
  * @run clean BrokenConnectionTest
  * @run build BrokenConnectionTest
--- a/test/javax/management/remote/mandatory/notif/NotificationEmissionTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/javax/management/remote/mandatory/notif/NotificationEmissionTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -27,6 +27,7 @@
  * @summary Check the emission of notifications when a Security Manager is
  * installed. Test the property "jmx.remote.x.check.notification.emission".
  * @author Luis-Miguel Alventosa
+ * @key intermittent
  * @modules java.management
  * @run clean NotificationEmissionTest
  * @run build NotificationEmissionTest
--- a/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh	Wed Jul 22 09:51:40 2015 +0200
@@ -26,6 +26,7 @@
 # @bug     6528083
 # @summary Test RMI Bootstrap
 #
+# @key intermittent
 # @library /lib/testlibrary
 # @modules java.management/sun.management
 #          java.management/sun.management.jmxremote
--- a/test/sun/management/jmxremote/startstop/JMXStatusPerfCountersTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/sun/management/jmxremote/startstop/JMXStatusPerfCountersTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -40,6 +40,7 @@
  * @bug 8075926
  * @summary Makes sure that the current management agent status is reflected
  *          in the related performance counters.
+ * @key intermittent
  * @library /lib/testlibrary
  * @build jdk.testlibrary.* PortAllocator TestApp ManagementAgentJcmd
  * @run testng/othervm -XX:+UsePerfData JMXStatusPerfCountersTest
--- a/test/sun/tools/jmap/BasicJMapTest.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/sun/tools/jmap/BasicJMapTest.java	Wed Jul 22 09:51:40 2015 +0200
@@ -36,6 +36,7 @@
  * @test
  * @bug 6321286
  * @summary Unit test for jmap utility
+ * @key intermittent
  * @library /lib/testlibrary
  * @library /../../test/lib/share/classes
  * @modules java.management
--- a/test/sun/tools/jstatd/TestJstatdDefaults.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/sun/tools/jstatd/TestJstatdDefaults.java	Wed Jul 22 09:51:40 2015 +0200
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 4990825
+ * @key intermittent
  * @library /lib/testlibrary
  * @modules java.management
  * @build jdk.testlibrary.* JstatdTest JstatGCUtilParser
--- a/test/sun/tools/jstatd/TestJstatdExternalRegistry.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/sun/tools/jstatd/TestJstatdExternalRegistry.java	Wed Jul 22 09:51:40 2015 +0200
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 4990825 7092186
+ * @key intermittent
  * @library /lib/testlibrary
  * @modules java.management
  * @build jdk.testlibrary.* JstatdTest JstatGCUtilParser
--- a/test/sun/tools/jstatd/TestJstatdPort.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/sun/tools/jstatd/TestJstatdPort.java	Wed Jul 22 09:51:40 2015 +0200
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 4990825
+ * @key intermittent
  * @library /lib/testlibrary
  * @modules java.management
  * @build jdk.testlibrary.* JstatdTest JstatGCUtilParser
--- a/test/sun/tools/jstatd/TestJstatdPortAndServer.java	Tue Jul 21 20:37:19 2015 +0200
+++ b/test/sun/tools/jstatd/TestJstatdPortAndServer.java	Wed Jul 22 09:51:40 2015 +0200
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 4990825
+ * @key intermittent
  * @library /lib/testlibrary
  * @modules java.management
  * @build jdk.testlibrary.* JstatdTest JstatGCUtilParser