8197453: Add support of extra problem list
authorepavlova
Tue, 27 Feb 2018 21:29:19 -0800
changeset 49179 4b273ed9a82d
parent 49178 1836bf0c820a
child 49180 9637557def32
8197453: Add support of extra problem list Reviewed-by: iignatyev, jjg
test/TestCommon.gmk
test/hotspot/jtreg/ProblemList-graal.txt
test/jdk/ProblemList-graal.txt
--- a/test/TestCommon.gmk	Tue Feb 27 21:29:08 2018 -0800
+++ b/test/TestCommon.gmk	Tue Feb 27 21:29:19 2018 -0800
@@ -325,13 +325,14 @@
 endif
 
 # Problematic tests to be excluded
-PROBLEM_LISTS=$(call MixedDirs,$(wildcard ProblemList.txt))
+EXTRA_PROBLEM_LISTS :=
+PROBLEM_LISTS := ProblemList.txt $(EXTRA_PROBLEM_LISTS)
 
 # Create exclude list for this platform and arch
 ifdef NO_EXCLUDES
   JTREG_EXCLUSIONS =
 else
-  JTREG_EXCLUSIONS = $(PROBLEM_LISTS:%=-exclude:%)
+  JTREG_EXCLUSIONS = $(addprefix -exclude:, $(wildcard $(PROBLEM_LISTS)))
 endif
 
 # convert list of directories to dos paths
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/hotspot/jtreg/ProblemList-graal.txt	Tue Feb 27 21:29:19 2018 -0800
@@ -0,0 +1,81 @@
+#
+# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#
+
+#############################################################################
+#
+# List of quarantined tests for testing in Graal JIT mode.
+#
+#############################################################################
+
+compiler/c2/cr7200264/TestSSE2IntVect.java                      8194958   generic-all
+compiler/c2/cr7200264/TestSSE4IntVect.java                      8194958   generic-all
+
+compiler/ciReplay/TestServerVM.java                             8181747   generic-all
+compiler/ciReplay/TestVMNoCompLevel.java                        8181747   generic-all
+
+compiler/compilercontrol/commandfile/LogTest.java               8181753   generic-all
+compiler/compilercontrol/commands/LogTest.java                  8181753   generic-all
+compiler/compilercontrol/directives/ExcludeTest.java            8181753   generic-all
+compiler/compilercontrol/jcmd/AddExcludeTest.java               8181753   generic-all
+compiler/compilercontrol/jcmd/AddLogTest.java                   8181753   generic-all
+compiler/compilercontrol/mixed/RandomValidCommandsTest.java     8181753   generic-all
+
+compiler/intrinsics/mathexact/LongMulOverflowTest.java          8196568   generic-all
+
+compiler/jvmci/SecurityRestrictionsTest.java                    8181837   generic-all
+
+compiler/jvmci/TestValidateModules.java                         8194942   generic-all
+gc/arguments/TestVerifyBeforeAndAfterGCFlags.java               8194942   generic-all
+
+compiler/rangechecks/TestRangeCheckSmearing.java                8195632   generic-all
+compiler/uncommontrap/Test8009761.java                          8195632   generic-all
+compiler/whitebox/ForceNMethodSweepTest.java                    8195632   generic-all
+
+compiler/unsafe/UnsafeGetConstantField.java                     8181833   generic-all
+compiler/unsafe/UnsafeGetStableArrayElement.java                8181833   generic-all
+compiler/unsafe/UnsafeOffHeapBooleanTest.java                   8181833   generic-all
+compiler/unsafe/UnsafeOnHeapBooleanTest.java                    8181833   generic-all
+:1
+compiler/whitebox/ClearMethodStateTest.java                     8181831   generic-all
+compiler/whitebox/EnqueueMethodForCompilationTest.java          8181831   generic-all
+compiler/whitebox/MakeMethodNotCompilableTest.java              8181831   generic-all
+
+gc/arguments/TestNewSizeFlags.java                              8196611   generic-all
+gc/g1/TestConcurrentSystemGC.java                               8196611   generic-all
+
+gc/g1/ihop/TestIHOPErgo.java                                    8191048   generic-all
+gc/g1/plab/TestPLABEvacuationFailure.java                       8191048   generic-all
+gc/g1/plab/TestPLABPromotion.java                               8191048   generic-all
+gc/g1/plab/TestPLABResize.java                                  8191048   generic-all
+
+gc/TestNUMAPageSize.java                                        8194949   generic-all
+
+runtime/appcds/UseAppCDS.java                                   8196626   generic-all
+
+runtime/ReservedStack/ReservedStackTestCompiler.java            8181855   generic-all
+
+serviceability/jvmti/GetModulesInfo/JvmtiGetAllModulesTest.java 8195156   generic-all
+
+runtime/Metaspace/DefineClass.java                              8197442   generic-all
+
+compiler/compilercontrol/directives/LogTest.java                8197446   generic-all
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/jdk/ProblemList-graal.txt	Tue Feb 27 21:29:19 2018 -0800
@@ -0,0 +1,67 @@
+#
+# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#
+
+#############################################################################
+#
+# List of quarantined tests for testing in Graal JIT mode.
+#
+#############################################################################
+
+java/lang/Class/getDeclaredField/ClassDeclaredFieldsTest.java           8185139   generic-all
+java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java            8185139   generic-all
+java/lang/ProcessBuilder/SecurityManagerClinit.java                     8185139   generic-all
+java/lang/reflect/Proxy/nonPublicProxy/NonPublicProxyClass.java         8185139   generic-all
+java/lang/StackWalker/CallerSensitiveMethod/Main.java                   8185139   generic-all
+java/lang/StackWalker/GetCallerClassTest.java                           8185139   generic-all
+java/lang/String/concat/WithSecurityManager.java                        8185139   generic-all
+java/lang/System/Logger/custom/CustomLoggerTest.java                    8185139   generic-all
+java/lang/System/Logger/default/DefaultLoggerTest.java                  8185139   generic-all
+java/lang/System/LoggerFinder/BaseLoggerFinderTest/BaseLoggerFinderTest.java                        8185139   generic-all
+java/lang/System/LoggerFinder/DefaultLoggerFinderTest/DefaultLoggerFinderTest.java                  8185139   generic-all
+java/lang/System/LoggerFinder/internal/BaseDefaultLoggerFinderTest/BaseDefaultLoggerFinderTest.java 8185139   generic-all
+java/lang/System/LoggerFinder/internal/BaseLoggerBridgeTest/BaseLoggerBridgeTest.java               8185139   generic-all
+java/lang/System/LoggerFinder/internal/BasePlatformLoggerTest/BasePlatformLoggerTest.java           8185139   generic-all
+java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerTest.java                     8185139   generic-all
+java/lang/System/LoggerFinder/internal/LoggerBridgeTest/LoggerBridgeTest.java                       8185139   generic-all
+java/lang/System/LoggerFinder/internal/LoggerFinderLoaderTest/LoggerFinderLoaderTest.java           8185139   generic-all
+java/lang/System/LoggerFinder/internal/PlatformLoggerBridgeTest/PlatformLoggerBridgeTest.java       8185139   generic-all
+java/lang/System/LoggerFinder/jdk/DefaultLoggerBridgeTest/DefaultLoggerBridgeTest.java              8185139   generic-all
+java/lang/System/LoggerFinder/LoggerFinderAPI/LoggerFinderAPI.java      8185139   generic-all
+java/util/concurrent/atomic/AtomicUpdaters.java                         8185139   generic-all
+java/util/concurrent/Executors/PrivilegedCallables.java                 8185139   generic-all
+java/util/logging/FileHandlerPath.java                                  8185139   generic-all
+java/util/logging/FileHandlerPatternExceptions.java                     8185139   generic-all
+java/util/logging/Logger/setResourceBundle/TestSetResourceBundle.java   8185139   generic-all
+java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexResetUpdate.java    8185139   generic-all
+java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexUpdate.java         8185139   generic-all
+java/util/logging/LogManager/Configuration/updateConfiguration/SimpleUpdateConfigurationTest.java   8185139   generic-all
+java/util/logging/LogManager/Configuration/updateConfiguration/SimpleUpdateConfigWithInputStreamTest.java   8185139   generic-all
+java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java   8185139   generic-all
+java/util/logging/RootLogger/RootLevelInConfigFile.java                 8185139   generic-all
+java/util/logging/TestAppletLoggerContext.java                          8185139   generic-all
+java/util/logging/TestConfigurationListeners.java                       8185139   generic-all
+
+java/util/concurrent/tck/JSR166TestCase.java                            8187486   generic-all
+
+java/lang/ref/OOMEInReferenceHandler.java                               8196611   generic-all
+java/lang/Runtime/exec/LotsOfOutput.java                                8196611   generic-all