JDK 9 RFR of JDK-8156176: Mark GenModuleInfo.java and ModuleTest.java as intermittently failing, demote to tier 2

Hamlin Li huaming.li at oracle.com
Fri May 6 03:43:12 UTC 2016


tools/jdeps/modules/GenModuleInfo.java
tools/jdeps/modules/ModuleTest.java
(from langtools/test)

These two tests are known to fail intermittently (JDK-8153481), they 
should be marked accordingly with @key intermittent jtreg tag in the 
test file, and should be demoted from tier 1 to tier 2 until mentioned 
issue resolved.

bug: https://bugs.openjdk.java.net/browse/JDK-8156176
webrev: http://cr.openjdk.java.net/~mli/8156176/webrev.00/

Thank you
-Hamlin

diff -r eddb2c2a831d test/TEST.groups
--- a/test/TEST.groups    Thu May 05 16:36:00 2016 -0700
+++ b/test/TEST.groups    Thu May 05 20:27:58 2016 -0700
@@ -28,11 +28,15 @@
      jdk \
      lib \
      tools \
-    -jdk/jshell/ToolReloadTest.java
+    -jdk/jshell/ToolReloadTest.java \
+    -tools/jdeps/modules/GenModuleInfo.java \
+    -tools/jdeps/modules/ModuleTest.java

  # (Almost) no langtools tests are tier 2.
  tier2 = \
-    jdk/jshell/ToolReloadTest.java
+    jdk/jshell/ToolReloadTest.java \
+    tools/jdeps/modules/GenModuleInfo.java \
+    tools/jdeps/modules/ModuleTest.java

  # No langtools tests are tier 3 either.
  tier3 =
diff -r eddb2c2a831d test/tools/jdeps/modules/GenModuleInfo.java
--- a/test/tools/jdeps/modules/GenModuleInfo.java    Thu May 05 16:36:00 
2016 -0700
+++ b/test/tools/jdeps/modules/GenModuleInfo.java    Thu May 05 20:27:58 
2016 -0700
@@ -28,6 +28,7 @@
   * @build CompilerUtils
   * @modules jdk.jdeps/com.sun.tools.jdeps
   * @run testng GenModuleInfo
+ * @key intermittent
   */

  import java.io.*;
diff -r eddb2c2a831d test/tools/jdeps/modules/ModuleTest.java
--- a/test/tools/jdeps/modules/ModuleTest.java    Thu May 05 16:36:00 
2016 -0700
+++ b/test/tools/jdeps/modules/ModuleTest.java    Thu May 05 20:27:58 
2016 -0700
@@ -28,6 +28,7 @@
   * @build CompilerUtils
   * @modules jdk.jdeps/com.sun.tools.jdeps
   * @run testng ModuleTest
+ * @key intermittent
   */

  import java.io.PrintWriter;



More information about the code-tools-dev mailing list