1 ########################################################################### 2 # 3 # Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved. 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 # 6 # This code is free software; you can redistribute it and/or modify it 7 # under the terms of the GNU General Public License version 2 only, as 8 # published by the Free Software Foundation. 9 # 10 # This code is distributed in the hope that it will be useful, but WITHOUT 11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 # version 2 for more details (a copy is included in the LICENSE file that 14 # accompanied this code). 15 # 16 # You should have received a copy of the GNU General Public License version 17 # 2 along with this work; if not, write to the Free Software Foundation, 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 # 20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 # or visit www.oracle.com if you need additional information or have any 22 # questions. 23 # 24 ########################################################################### 25 # 26 # List of tests that should not be run by test/Makefile, for various reasons: 27 # 1. Does not run with jtreg -samevm mode 28 # 2. Causes problems in jtreg -samevm mode for jtreg or tests that follow it 29 # 3. The test is too slow or consumes too many system resources 30 # 4. The test fails when run on any official build systems 31 # 32 # It is possible that a test being on this list is a mistake, and that some 33 # other test in samevm mode caused tests to fail, mistakes happen. 34 # 35 # Tests marked @ignore are not run by test/Makefile, but harmless to be listed. 36 # 37 # Tests that explicitly state "@run main/othervm ...", and are not listed here, 38 # will be run in the same batch as the samevm tests. 39 # 40 # Shell tests are othervm by default. 41 # 42 # List items are testnames followed by labels, all MUST BE commented 43 # as to why they are here and use a label: 44 # generic-all Problems on all platforms 45 # generic-ARCH Where ARCH is one of: sparc, sparcv9, x64, i586, ppc64, 46 # ppc64le, s390x etc. 47 # OSNAME-all Where OSNAME is one of: solaris, linux, windows, macosx, aix 48 # OSNAME-ARCH Specific on to one OSNAME and ARCH, e.g. solaris-x64 49 # OSNAME-REV Specific on to one OSNAME and REV, e.g. solaris-5.8 50 # 51 # More than one label is allowed but must be on the same line comma seperated, 52 # without spaces. 53 # If there are several lines mentioning the same test, the last one is used. 54 # 55 ############################################################################# 56 # 57 # Running the tests: 58 # cd test && make JT_HOME=jtreg_home PRODUCT_HOME=jdk_home jdk_all 59 # Or instead of jdk_all, use any of the jdk_* targets. 60 # 61 # Samevm Notes: 62 # * Although some tests may have only been seen to fail on some platforms, 63 # they might be flagged as 'generic-all' because the problem they have 64 # could cause hidden slowdowns on other platforms. 65 # Most samevm problems will be generic-all, but windows usually dislikes 66 # them the most. 67 # Address already in use or connection errors indicate a generic port issue. 68 # (this is not necessarily a samevm issue, but an issue for running the tests 69 # on shared machines, two people or two test runs will collide). 70 # * Samevm problem (windows in particular) is not closing all input/output 71 # * Samevm problem when a test calls setSecurityManager() 72 # * Samevm problem with setHttps*() is used? (not exactly sure here) 73 # * Samevm problem when stuffing system properties with non Strings or anything 74 # * Samevm problem when changing vm settings, or registering any vm actions 75 # * Samevm problems with deleteOnExit(), if it must happen at end of test 76 # * Samevm problems with URLClassLoader? (no details here) 77 # * Samevm problems with dependence on predictable GC or finalizations 78 # 79 # Any of the above problems may mean the test needs to be flagged as "othervm". 80 # 81 ############################################################################# 82 # 83 # Fixing the tests: 84 # 85 # Some tests just may need to be run with "othervm", and that can easily be 86 # done by adding a @run line (or modifying any existing @run): 87 # @run main/othervm NameOfMainClass 88 # Make sure this @run follows any use of @library. 89 # Otherwise, if the test is a samevm possibility, make sure the test is 90 # cleaning up after itself, closing all streams, deleting temp files, etc. 91 # 92 # Keep in mind that the bug could be in many places, and even different per 93 # platform, it could be a bug in any one of: 94 # - the testcase 95 # - the jdk (jdk classes, native code, or hotspot) 96 # - the native compiler 97 # - the javac compiler 98 # - the OS (depends on what the testcase does) 99 # 100 # If you managed to really fix one of these tests, here is how you can 101 # remove tests from this list: 102 # 1. Make sure test passes on all platforms with samevm, or mark it othervm 103 # 2. Make sure test passes on all platforms when run with it's entire group 104 # 3. Make sure both VMs are tested, -server and -client, if possible 105 # 4. Make sure you try the -d64 option on Solaris 106 # 5. Use a tool like JPRT or something to verify these results 107 # 6. Delete lines in this file, include the changes with your test changes 108 # 109 # You may need to repeat your testing 2 or even 3 times to verify good 110 # results, some of these samevm failures are not very predictable. 111 # 112 ############################################################################# 113 114 ############################################################################ 115 116 # jdk_awt 117 118 # 8221305 119 java/awt/FontMetrics/MaxAdvanceIsMax.java solaris-all,macosx-all 120 121 ############################################################################ 122 123 # jdk_beans 124 125 # 8060027 126 java/beans/XMLEncoder/Test4903007.java generic-all 127 java/beans/XMLEncoder/java_awt_GridBagLayout.java generic-all 128 java/beans/XMLDecoder/8028054/TestConstructorFinder.java generic-all 129 java/beans/XMLDecoder/8028054/TestMethodFinder.java generic-all 130 131 ############################################################################ 132 133 # jdk_lang 134 135 ############################################################################ 136 137 # jdk_management 138 139 # 8028150 140 sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh windows-all 141 142 ############################################################################ 143 144 # jdk_jmx 145 146 # 8030957 147 com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java aix-all 148 com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java aix-all 149 javax/management/MBeanServer/OldMBeanServerTest.java aix-all 150 151 ############################################################################ 152 153 # jdk_math 154 155 ############################################################################ 156 157 # jdk_other 158 159 # 6988950 160 demo/jvmti/compiledMethodLoad/CompiledMethodLoadTest.java generic-all 161 162 # 7027502 163 demo/jvmti/hprof/MonitorTest.java generic-all 164 165 ############################################################################ 166 167 # jdk_net 168 169 # 7122846 170 java/net/MulticastSocket/NoLoopbackPackets.java macosx-all 171 172 # 7122846, 8098566 173 java/net/MulticastSocket/SetLoopbackMode.java macosx-all,solaris-all 174 175 # 8171217, 7145658, 8207404 176 java/net/MulticastSocket/Test.java macosx-all,solaris-all,aix-all 177 178 # 8207404 179 java/net/MulticastSocket/SetGetNetworkInterfaceTest.java aix-all 180 181 # 7143960 182 java/net/DatagramSocket/SendDatagramToBadAddress.java macosx-all 183 184 # 8172046 185 java/net/MulticastSocket/TestInterfaces.java windows-x64,solaris-x64 186 187 # 8160738 188 sun/net/www/protocol/https/HttpsURLConnection/ImpactOnSNI.java macosx-x64 189 190 # 8010379 191 sun/net/www/http/KeepAliveCache/B5045306.java macosx-x64 192 193 # 8158598 194 sun/net/www/protocol/http/B6296310.java macosx-x64 195 196 # 8171208 197 java/net/CookieHandler/CookieManagerTest.java macosx-x64 198 java/net/HttpURLConnection/UnmodifiableMaps.java macosx-x64 199 sun/net/www/protocol/http/B6299712.java macosx-x64 200 201 # 8166362 202 sun/net/www/http/HttpClient/B8025710.java generic-all 203 204 ############################################################################ 205 206 # jdk_io 207 208 # 8169774 209 java/io/File/WinSpecialFiles.java windows-all 210 211 ############################################################################ 212 213 # jdk_nio 214 215 # 6963118 216 java/nio/channels/Selector/Wakeup.java windows-all 217 218 # 7141822 219 java/nio/channels/DatagramChannel/ChangingAddress.java macosx-all 220 221 # 7132677 222 java/nio/channels/Selector/OutOfBand.java macosx-all 223 224 # 7158947 225 java/nio/file/WatchService/Basic.java solaris-all 226 java/nio/file/WatchService/LotsOfEvents.java solaris-all 227 228 # 8030179 229 java/nio/Buffer/Chars.java windows-x64 230 231 # 8172045 232 java/nio/channels/AsyncCloseAndInterrupt.java linux-all 233 234 # 8076056 235 java/nio/channels/DatagramChannel/BasicMulticastTests.java linux-i586 236 java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java linux-i586 237 238 # 8148996 239 java/nio/file/WatchService/WithSecurityManager.java linux-all 240 241 # 8173179 242 java/nio/file/Files/probeContentType/Basic.java solaris-x64 243 244 # 8171218 245 java/nio/file/FileStore/Basic.java linux-i586 246 java/nio/file/FileSystem/Basic.java linux-i586 247 248 ############################################################################ 249 250 # jdk_rmi 251 252 # 7140992 253 java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java generic-all 254 255 # 7146541 256 java/rmi/transport/rapidExportUnexport/RapidExportUnexport.java linux-all 257 258 # 7191877 259 java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java generic-all 260 261 # 7195095 262 sun/rmi/transport/proxy/EagerHttpFallback.java generic-all 263 264 # 8049531 265 java/rmi/reliability/benchmark/bench/serial/Main.java linux-i586 266 267 # 8162906 268 javax/rmi/ssl/SSLSocketParametersTest.sh linux-all 269 270 # 8137232 271 javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java linux-all 272 273 # 8170248 274 javax/rmi/PortableRemoteObject/8146975/RmiIiopReturnValueTest.java linux-all 275 276 # 8205049 277 sun/rmi/transport/tcp/DisableRMIOverHttp/DisableRMIOverHTTPTest.java windows-all 278 279 ############################################################################ 280 281 # jdk_security 282 283 # 8026976 284 sun/security/pkcs11/ec/TestKeyFactory.java generic-all 285 # 8180837 286 sun/security/pkcs11/Secmod/AddTrustedCert.java generic-all 287 sun/security/pkcs11/tls/TestKeyMaterial.java generic-all 288 289 # 7164518 290 sun/security/krb5/auto/Unreachable.java macosx-all 291 292 # 8160071 293 sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java linux-all 294 295 # 8026393 296 sun/security/tools/jarsigner/warnings/BadKeyUsageTest.java generic-all 297 298 # 8158827 299 sun/security/krb5/auto/tools/KinitConfPlusProps.java windows-all 300 301 # 8151225 302 sun/security/rsa/SpecTest.java linux-i586 303 304 # 8043951 305 sun/security/pkcs11/MessageDigest/TestCloning.java solaris-all 306 307 # 8163498 308 sun/security/provider/NSASuiteB/TestDSAGenParameterSpec.java linux-i586 309 310 # 8203055 311 # 8129560 312 sun/security/pkcs11/rsa/TestKeyPairGenerator.java linux-all,solaris-all 313 314 # 8151834 315 sun/security/mscapi/SmallPrimeExponentP.java windows-i586 316 317 #8176354 318 sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager/PreferredKey.java generic-all 319 320 # 8206909 321 com/sun/crypto/provider/CICO/PBEFunc/CICOPBEFuncTest.java solaris-sparcv9 322 323 # 8206912 324 sun/security/krb5/auto/ReplayCacheTestProc.java solaris-sparcv9 325 326 security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java 8224768 generic-all 327 328 sun/security/mscapi/SignedObjectChain.java 8176183 windows-all 329 330 ############################################################################ 331 332 # jdk_sound 333 javax/sound/sampled/DirectAudio/bug6372428.java 8055097 generic-all 334 javax/sound/sampled/Clip/bug5070081.java 8055097 generic-all 335 javax/sound/sampled/DataLine/LongFramePosition.java 8055097 generic-all 336 337 javax/sound/sampled/Clip/Drain/ClipDrain.java 7062792 generic-all 338 339 javax/sound/sampled/Mixers/DisabledAssertionCrash.java 7067310 generic-all 340 341 # 8059743 342 javax/sound/midi/Gervill/SoftProvider/GetDevice.java generic-all 343 344 ############################################################################ 345 346 # jdk_swing 347 348 ############################################################################ 349 350 # jdk_text 351 352 ############################################################################ 353 354 # jdk_time 355 356 ############################################################################ 357 358 # jdk_tools 359 360 # 8172782, 8007410 361 tools/launcher/FXLauncherTest.java windows-all,linux-all 362 363 ############################################################################ 364 365 # jdk_jdi 366 367 ############################################################################ 368 369 # jdk_util 370 371 # 8004807 372 java/util/Timer/Args.java generic-all 373 374 ############################################################################ 375 376 # svc_tools 377 378 # 8031482 379 sun/tools/jcmd/TestJcmdSanity.java windows-all 380 381 # 6456333 382 sun/tools/jps/TestJpsJarRelative.java generic-all 383 384 ############################################################################ 385 386 # jdk_other 387 388 ############################################################################ 389 390 sample/mergesort/MergeSortTest.java 8178912 generic-all 391 sample/chatserver/ChatTest.java 8178912 generic-all