blob: 238f826bbc0e01b29576d3bbcbf297497af5cbe8 [file] [log] [blame]
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -07001/*
2 * This file contains expectations for tests that we'd like to eventually fix, but aren't urgent.
3 */
4[
5{
Brian Carlstroma66a6912012-03-23 00:00:24 -07006 description: "libcore.java.io.OldFileTest#test_deleteOnExit fails on IRM05 mysid-user",
7 name: "libcore.java.io.OldFileTest#test_deleteOnExit",
8 bug: 5834665
9},
10{
Brian Carlstromce1311e2012-09-21 17:38:14 -070011 description: "libcore.java.net.URLConnectionTest#testServerShutdownInput fails on ICL27 mysid-userdebug (5534202 is caused by 5731252)",
Brian Carlstroma66a6912012-03-23 00:00:24 -070012 name: "libcore.java.net.URLConnectionTest#testServerShutdownInput",
13 bug: 5534202
14},
15{
Neil Fullerd6155902014-05-15 15:44:22 +010016 description: "This test has been failing in our continuous build recently.",
Jesse Wilson63dfb122011-02-09 21:13:12 -080017 names: [
Neil Fullerd6155902014-05-15 15:44:22 +010018 "libcore.java.net.URLConnectionTest#testConnectTimeouts"
Jesse Wilson63dfb122011-02-09 21:13:12 -080019 ],
20 bug: 3441111
21},
22{
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -070023 description: "We're retiring the security manager. Unfortunately, tests all over the place
24 need to check that they're secure, so they all fail when we refuse to install
Jesse Wilson5e8f0b92010-09-23 19:41:28 -070025 a security manager. This suppresses all of these failures.",
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -070026 result: EXEC_FAILED,
27 failure: "disable securityManager",
Jesse Wilson5e8f0b92010-09-23 19:41:28 -070028 pattern: ".*java.lang.SecurityException\\s+at java.lang.System.setSecurityManager.*",
29 bug: 2585285
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -070030},
31{
32 description: "ignore compilation errors due to different available APIs",
33 result: COMPILE_FAILED,
34 failure: "ignore compilation errors",
35 pattern: ".*\\.java:\\d+: cannot find symbol.*"
36},
37{
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -070038 description: "the average length of possible UTF-8 sequences is 2 bytes.",
39 result: EXEC_FAILED,
Narayan Kamathe5fea3d2013-11-15 11:02:26 +000040 name: "org.apache.harmony.tests.java.nio.charset.UTFCharsetEncoderTest#testSpecificDefaultValue",
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -070041 substring: "junit.framework.AssertionFailedError: expected:<1.1> but was:<2.0>"
42},
43{
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -070044 description: "Some tests (ExcludedProxyTest) connect to a public webserver to check that the HTTP client works",
45 result: EXEC_FAILED,
46 failure: "connect to the Internet",
47 pattern: ".*java.net.UnknownHostException:.*jcltest.apache.org.*"
48},
49{
Narayan Kamathbf44cb02013-11-13 13:17:00 +000050 description: "Some tests depend on ICU data, which has changed. Others make assumptions about floating point rounding",
51 result: EXEC_FAILED,
52 names: [
Narayan Kamathab762bb2013-11-15 18:40:14 +000053 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalExceptionOrder",
54 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion",
55 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE",
56 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionF",
57 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionG",
58 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_FloatDoubleBigDecimalExceptionOrder",
59 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_GeneralConversionOther",
60 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_LineSeparator",
61 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_Percent",
62 "org.apache.harmony.tests.java.util.FormatterTest#test_formatLjava_lang_String$Ljava_lang_Object_Width"
Narayan Kamathbf44cb02013-11-13 13:17:00 +000063 ]
64},
65{
66 description: "(Needs investigation) Some tests make assertions that don't make sense, others use broken port allocation logic.",
67 result: EXEC_FAILED,
68 names: [
Narayan Kamathab762bb2013-11-15 18:40:14 +000069 "org.apache.harmony.tests.java.net.Inet6AddressTest#test_getByNameLjava_lang_String",
70 "org.apache.harmony.tests.java.net.InetAddressTest#test_equalsLjava_lang_Object",
71 "org.apache.harmony.tests.java.net.InetAddressTest#test_getByNameLjava_lang_String",
Narayan Kamath82c64252014-01-02 16:21:53 +000072 "org.apache.harmony.tests.java.net.InetAddressTest#test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface"
Narayan Kamathbf44cb02013-11-13 13:17:00 +000073 ]
Narayan Kamathd567f902013-12-17 14:41:59 +000074},
75{
76 description: "(Needs investigation) Test failures from the harmony import of external/apache-harmony/archive",
77 bug: 12189307,
78 result: EXEC_FAILED,
79 names: [
Narayan Kamathd567f902013-12-17 14:41:59 +000080 "org.apache.harmony.tests.java.util.jar.ManifestTest#testNul",
81 "org.apache.harmony.tests.java.util.jar.ManifestTest#testRead",
Narayan Kamath108a6c52013-12-19 13:32:14 +000082 "org.apache.harmony.tests.java.util.jar.ManifestTest#testStreamConstructor"
Narayan Kamathd567f902013-12-17 14:41:59 +000083 ]
Neil Fuller47ae0b52014-01-20 17:45:47 +000084},
85{
86 description: "Potentially flakey because they rely on a specific local TCP port being free.",
87 result: EXEC_FAILED,
88 names: [
Neil Fullerd6155902014-05-15 15:44:22 +010089 "org.apache.harmony.tests.java.nio.channels.ServerSocketChannelTest#test_bind_explicitPort"
Neil Fuller47ae0b52014-01-20 17:45:47 +000090 ]
Brett Chabot6a6b6122014-02-27 11:46:10 -080091},
92{
Neil Fullerd377f242014-05-08 12:00:51 +010093 description: "The ResourceBundle code under test is probably not used much on Android and needs a lot of attention.",
Nicolas Geoffray2c303a22014-11-25 12:02:48 +000094 modes: [device],
Neil Fullerd377f242014-05-08 12:00:51 +010095 bug: 13747957,
96 result: EXEC_FAILED,
97 names: [
98 "org.apache.harmony.tests.java.util.ControlTest#test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ"
99 ]
Paul Duffinf586bda2014-05-12 17:12:47 +0100100},
101{
Brett Chabot6cc16732014-02-27 11:46:10 -0800102 description: "Fails in CTS, passes in CoreTestRunner.",
103 result: EXEC_FAILED,
Nicolas Geoffray2c303a22014-11-25 12:02:48 +0000104 modes: [device],
Brett Chabot6cc16732014-02-27 11:46:10 -0800105 names: [
106 "org.apache.harmony.tests.java.net.URLConnection#test_getContentEncoding",
107 "libcore.java.text.OldNumberFormatTest#test_parseLjava_lang_String",
108 "libcore.java.nio.channels.OldSocketChannelTest#test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData",
109 "org.apache.harmony.tests.java.lang.ProcessManagerTest#testSleep",
110 "libcore.java.security.cert.OldPKIXParametersTest#testPKIXParametersKeyStore04"
111 ]
112},
113{
114 description: "Suffers from DH slowness, disabling for now.",
115 result: EXEC_FAILED,
116 names: [
117 "libcore.java.security.OldDHTest#testDHGen",
118 "libcore.java.security.OldKeyPairGeneratorTestDH#testKeyPairGenerator",
119 "libcore.javax.crypto.spec.KeyPairGeneratorTestDH#testKeyPairGenerator",
120 "libcore.javax.crypto.spec.AlgorithmParametersTestDH#testAlgorithmParameters",
121 "libcore.javax.crypto.spec.AlgorithmParameterGeneratorTestDH#testAlgorithmParameterGenerator"
122 ]
123},
124{
125 description: "Destroys MD5 provider, hurts succeeding tests",
126 result: EXEC_FAILED,
127 names: [
128 "tests.api.javax.security.cert.X509CertificateTest#testVerifyPublicKey",
129 "tests.api.javax.security.cert.X509CertificateTest#testVerifyPublicKeyString"
130 ]
131},
132{
133 description: "Suffers from side effect of other, currently unknown test",
134 result: EXEC_FAILED,
135 names: [
136 "org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest#testProxyAuthorization"
137 ]
138},
139{
140 description: "Support_TestWebServer requires isolation.",
141 result: EXEC_FAILED,
142 names: [
143 "libcore.java.net.OldURLClassLoaderTest#test_findResourceLjava_lang_String"
144 ]
145},
146{
Brett Chabot6cc16732014-02-27 11:46:10 -0800147 description: "Causes OutOfMemoryError to test finalization",
148 result: EXEC_FAILED,
149 names: [
150 "org.apache.harmony.tests.java.lang.ref.SoftReferenceTest#test_get_SoftReference",
151 "org.apache.harmony.crypto.tests.javax.crypto#ExemptionMechanismTest#test_finalize"
152 ]
153},
154{
155 description: "Causes open dex file error",
156 result: EXEC_FAILED,
Nicolas Geoffray2c303a22014-11-25 12:02:48 +0000157 modes: [device],
Brett Chabot6cc16732014-02-27 11:46:10 -0800158 names: [
159 "org.apache.harmony.tests.java.lang.reflect.GenericSignatureFormatErrorTest#test_signatureFormatError"
160 ]
Jesse Wilson9b3d2ab2010-09-23 13:48:25 -0700161}
162]