blob: b06d7c69fc01876a49acd382e2f499916063a6db [file] [log] [blame]
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +00001/*
2 * This file contains expectations for ART's buildbot. The purpose of this file is
3 * to temporary and quickly list failing tests and not break the bots, until the
4 * libcore expectation files get properly updated. The script that uses this file
5 * is art/tools/run-libcore-tests.sh.
6 *
7 * It is also used to enable AOSP experiments, and not mess up with CTS's expectations.
8 */
9
10[
11{
12 description: "Assert.java differences between vogar and junit.",
13 result: EXEC_FAILED,
Nicolas Geoffrayea6e2df2015-05-13 21:37:44 +000014 modes: [host],
15 name: "libcore.java.math.RunCSVTests#test_csv"
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +000016},
17{
Nicolas Geoffray70a998c2014-12-04 17:05:22 +000018 description: "Differences between vogar and cts in user directory",
19 result: EXEC_FAILED,
20 modes: [device],
21 name: "libcore.java.lang.SystemTest#testSystemProperties_mutable"
22},
23{
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010024 description: "Differences between vogar and cts. Passes with --mode activity",
Nicolas Geoffray70a998c2014-12-04 17:05:22 +000025 result: EXEC_FAILED,
26 modes: [device],
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010027 names: ["libcore.java.lang.OldSystemTest#test_getProperties"]
Nicolas Geoffray0ccef6d2014-12-11 13:33:12 +000028},
29{
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010030 description: "Differences between vogar and cts. EACCESS when run with vogar.
31 Passes on host, passes with cts. Passes with vogar with su
32 (--invoke-with \"su root\"). Does not pass after setting chmod
33 777 all directories on path to socket (on device without su).",
Nicolas Geoffray0ccef6d2014-12-11 13:33:12 +000034 result: EXEC_FAILED,
35 modes: [device],
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010036 names: ["libcore.io.OsTest#testUnixDomainSockets_in_file_system"]
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +000037},
38{
Tobias Thiererbbd5a4e2016-08-03 18:33:33 +010039 description: "TCP_USER_TIMEOUT is not defined on host's tcp.h (glibc-2.15-4.8).",
40 result: EXEC_FAILED,
41 modes: [host],
42 names: ["libcore.android.system.OsConstantsTest#testTcpUserTimeoutIsDefined",
43 "libcore.io.OsTest#test_socket_tcpUserTimeout_setAndGet",
44 "libcore.io.OsTest#test_socket_tcpUserTimeout_doesNotWorkOnDatagramSocket"],
45 bug: 30402085
46},
47{
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010048 description: "Issue with incorrect device time (1970)",
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010049 result: EXEC_FAILED,
50 modes: [device],
51 names: ["libcore.java.util.TimeZoneTest#testDisplayNames",
52 "libcore.java.util.TimeZoneTest#test_useDaylightTime_Taiwan",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010053 "org.apache.harmony.tests.java.util.TimeZoneTest#test_hasSameRules_Ljava_util_TimeZone"],
54 bug: 20879084
55},
56{
57 description: "Issue with incorrect device time (1970). Test assumes that DateTime.now()
58 is greater then a date in 1998.",
59 result: EXEC_FAILED,
60 modes: [device],
61 names: ["org.apache.harmony.tests.java.util.DateTest#test_Constructor"]
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010062},
63{
David Brazdil830d16e2015-02-24 12:36:03 +000064 description: "Failing due to a locale problem on hammerhead.",
65 result: EXEC_FAILED,
66 modes: [device],
67 names: ["libcore.icu.DateIntervalFormatTest#test10089890",
68 "libcore.icu.DateIntervalFormatTest#test10209343_when_not_this_year",
69 "libcore.icu.DateIntervalFormatTest#test10560853_for_single_day_events",
70 "libcore.icu.DateIntervalFormatTest#test10560853_when_time_not_displayed",
71 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeString",
72 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanString",
73 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringAbbrev",
74 "libcore.java.text.OldDateFormatTest#test_parseLString",
75 "libcore.java.text.SimpleDateFormatTest#testDstZoneNameWithNonDstTimestamp",
76 "libcore.java.text.SimpleDateFormatTest#testDstZoneWithNonDstTimestampForNonHourDstZone",
77 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneNameWithDstTimestamp",
Nicolas Geoffraye2307b42015-12-27 23:01:28 +000078 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneWithDstTimestampForNonHourDstZone"]
David Brazdil830d16e2015-02-24 12:36:03 +000079},
80{
David Brazdilb60c58f2015-02-25 09:16:34 +000081 description: "Failing due to missing localhost on hammerhead and volantis.",
82 result: EXEC_FAILED,
83 modes: [device],
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000084 names: ["libcore.javax.crypto.CipherTest#testCipherInitWithCertificate",
85 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithFtpURLConnection",
86 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithJarFtpURLConnection",
Nicolas Geoffrayd6c1ec52015-03-26 18:08:59 +000087 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithLoggingSocketHandler",
88 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithHttpURLConnection",
89 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithJarHttpURLConnection",
90 "org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest",
91 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010092 "org.apache.harmony.luni.tests.java.net.URLConnectionTest",
93 "org.apache.harmony.tests.java.util.ScannerTest#test_Constructor_LReadableByteChannel"
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000094 ]
David Brazdilb60c58f2015-02-25 09:16:34 +000095},
96{
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +000097 description: "Test timeouts",
98 result: EXEC_TIMEOUT,
99 modes: [device],
100 names: ["org.apache.harmony.tests.java.util.ScannerTest#testPerformance"]
Nicolas Geoffrayda82d292015-01-21 14:04:31 +0000101},
102{
103 description: "Needs the newest cat version on the device",
104 result: EXEC_FAILED,
105 modes: [device],
106 names: ["org.apache.harmony.tests.java.lang.ProcessTest#test_getErrorStream"]
David Brazdil598b2202015-02-24 10:12:06 +0000107},
108{
109 description: "Short date format flag ignored for es_US locale.",
110 result: EXEC_FAILED,
111 name: "libcore.icu.DateIntervalFormatTest#test_formatDateInterval",
112 bug: 18619426
David Brazdile2f28ad2015-02-24 10:44:29 +0000113},
114{
115 description: "Error decoding digital signature bytes.",
116 result: EXEC_FAILED,
117 name: "org.apache.harmony.security.tests.java.security.Signature2Test#test_verify$BII",
118 bug: 18869265
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000119},
120{
Nicolas Geoffrayeb10b682015-06-25 11:40:42 +0100121 description: "Test sometimes timeouts on volantis, and on most modes in debug mode",
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000122 result: EXEC_TIMEOUT,
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000123 names: ["libcore.java.lang.SystemTest#testArrayCopyConcurrentModification"],
124 bug: 19165288
Nicolas Geoffray056ed4a2015-03-13 18:26:43 +0000125},
126{
Nicolas Geoffray46333432015-03-16 13:51:43 +0000127 description: "Needs kernel updates on host/device",
128 result: EXEC_FAILED,
129 names: ["libcore.io.OsTest#test_socketPing"]
Nicolas Geoffray399ff772015-04-25 14:39:59 +0100130},
131{
132 description: "Linker issues in chrooted environment",
133 modes: [device],
134 result: EXEC_FAILED,
135 names: ["org.apache.harmony.tests.java.lang.ProcessManagerTest#testEnvironment"]
Nicolas Geoffray6f3f6c72015-05-12 09:27:19 +0100136},
137{
138 description: "Crypto failures",
139 result: EXEC_FAILED,
140 names: ["libcore.javax.crypto.CipherTest#testCipher_ShortBlock_Failure",
Kenny Rootea556cd2015-09-01 17:35:34 +0000141 "libcore.javax.crypto.CipherTest#testCipher_Success"]
Nicolas Geoffrayd9d014a2015-06-26 09:24:16 +0100142},
143{
144 description: "Flake when running with libartd.so or interpreter",
145 result: EXEC_FAILED,
146 bug:22106064,
147 name: "libcore.java.lang.OldThreadGroupTest#test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ"
Narayan Kamath1eca58a2015-07-03 13:20:51 +0100148},
149{
150 description: "test_xattr fails on arm64 on the buildbots only: needs investigation",
151 result: EXEC_FAILED,
152 modes: [device],
153 names: ["libcore.io.OsTest#test_xattr"],
154 bug: 22258911
Nicolas Geoffrayd6c201e2015-07-16 19:11:54 +0100155},
156{
157 description: "fails on L builds: needs investigation",
158 result: EXEC_FAILED,
159 modes: [device],
160 names: ["org.apache.harmony.tests.java.lang.ClassTest#test_forNameLjava_lang_String"]
Narayan Kamathf874d592015-07-28 16:21:35 +0100161},
162{
163 description: "TimeZoneTest.testAllDisplayNames times out, needs investigation",
Nicolas Geoffray4af48fc2015-08-04 18:16:43 +0100164 result: EXEC_TIMEOUT,
Narayan Kamathf874d592015-07-28 16:21:35 +0100165 modes: [device],
Nicolas Geoffray4af48fc2015-08-04 18:16:43 +0100166 names: ["libcore.java.util.TimeZoneTest#testAllDisplayNames"],
Narayan Kamathf874d592015-07-28 16:21:35 +0100167 bug: 22786792
Nicolas Geoffrayd9486f92015-10-21 13:59:28 +0100168},
169{
Nicolas Geoffraycbec6d92015-10-23 16:06:49 +0100170 description: "Lack of IPv6 on some buildbot slaves",
171 result: EXEC_FAILED,
172 names: ["libcore.io.OsTest#test_byteBufferPositions_sendto_recvfrom_af_inet6",
173 "libcore.io.OsTest#test_sendtoSocketAddress_af_inet6"],
174 bug: 25178637
Roland Levillain32f7a162015-11-11 12:16:52 +0000175},
176{
177 description: "Non-deterministic test because of a dependency on weak ref collection.",
178 result: EXEC_FAILED,
179 names: ["org.apache.harmony.tests.java.util.WeakHashMapTest#test_keySet"],
180 bug: 25437292
Roland Levillain0041acf2015-12-18 16:55:35 +0000181},
182{
Paul Duffin32d39c42016-02-05 11:46:26 +0000183 description: "Failing tests after OpenJDK move.",
Nicolas Geoffrayd8959612015-12-27 15:46:35 +0000184 result: EXEC_FAILED,
185 bug: 26326992,
186 names: ["libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeStringDST",
187 "libcore.java.lang.OldSystemTest#test_load",
188 "libcore.java.text.NumberFormatTest#test_currencyWithPatternDigits",
Nicolas Geoffrayd8959612015-12-27 15:46:35 +0000189 "libcore.java.text.NumberFormatTest#test_setCurrency",
190 "libcore.java.text.OldNumberFormatTest#test_getIntegerInstanceLjava_util_Locale",
191 "libcore.java.util.CalendarTest#testAddOneDayAndOneDayOver30MinuteDstForwardAdds48Hours",
192 "libcore.java.util.CalendarTest#testNewCalendarKoreaIsSelfConsistent",
193 "libcore.java.util.CalendarTest#testSetTimeInZoneWhereDstIsNoLongerUsed",
194 "libcore.java.util.CalendarTest#test_nullLocale",
195 "libcore.java.util.FormatterTest#test_numberLocalization",
196 "libcore.java.util.FormatterTest#test_uppercaseConversions",
Nicolas Geoffrayd8959612015-12-27 15:46:35 +0000197 "libcore.javax.crypto.CipherTest#testCipher_getInstance_WrongType_Failure",
198 "libcore.javax.crypto.CipherTest#testDecryptBufferZeroSize_mustDecodeToEmptyString",
199 "libcore.javax.security.auth.x500.X500PrincipalTest#testExceptionsForWrongDNs",
200 "org.apache.harmony.luni.tests.java.net.URLConnectionTest#test_getDate",
201 "org.apache.harmony.luni.tests.java.net.URLConnectionTest#test_getExpiration",
202 "org.apache.harmony.regex.tests.java.util.regex.PatternSyntaxExceptionTest#testPatternSyntaxException",
Nicolas Geoffrayd8959612015-12-27 15:46:35 +0000203 "org.apache.harmony.tests.java.lang.FloatTest#test_parseFloat_LString_Harmony6261",
204 "org.apache.harmony.tests.java.lang.ThreadTest#test_isDaemon",
205 "org.apache.harmony.tests.java.text.DecimalFormatSymbolsTest#test_setInternationalCurrencySymbolLjava_lang_String",
206 "org.apache.harmony.tests.java.text.DecimalFormatTest#testSerializationHarmonyRICompatible",
207 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parseLjava_lang_StringLjava_text_ParsePosition",
Paul Duffin32d39c42016-02-05 11:46:26 +0000208 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parse_W_w_dd_MMMM_yyyy_EEEE",
209 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parse_dayOfYearPatterns",
210 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parse_h_m_z",
211 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parse_h_z_2DigitOffsetFromGMT",
212 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parse_h_z_4DigitOffsetFromGMT",
213 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parse_h_z_4DigitOffsetNoGMT",
Nicolas Geoffrayd8959612015-12-27 15:46:35 +0000214 "org.apache.harmony.tests.java.util.jar.JarFileTest#test_getInputStreamLjava_util_jar_JarEntry_subtest0",
Nicolas Geoffray376756d2015-12-30 14:39:15 +0000215 "libcore.java.util.CalendarTest#test_clear_45877",
216 "org.apache.harmony.crypto.tests.javax.crypto.spec.SecretKeySpecTest#testGetFormat",
217 "org.apache.harmony.tests.java.util.TimerTaskTest#test_scheduledExecutionTime"]
218},
219{
Nicolas Geoffrayd4291d62016-01-06 16:33:41 +0000220 description: "Missing resource in classpath",
221 result: EXEC_FAILED,
222 modes: [device],
223 names: ["libcore.java.util.prefs.OldAbstractPreferencesTest#testClear",
224 "libcore.java.util.prefs.OldAbstractPreferencesTest#testExportNode",
225 "libcore.java.util.prefs.OldAbstractPreferencesTest#testExportSubtree",
226 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGet",
227 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetBoolean",
228 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetByteArray",
229 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetDouble",
230 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetFloat",
231 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetInt",
232 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetLong",
233 "libcore.java.util.prefs.OldAbstractPreferencesTest#testKeys",
234 "libcore.java.util.prefs.OldAbstractPreferencesTest#testNodeExists",
235 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPut",
236 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutBoolean",
237 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutByteArray",
238 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutDouble",
239 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutFloat",
240 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutInt",
241 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutLong",
242 "libcore.java.util.prefs.OldAbstractPreferencesTest#testRemove",
243 "libcore.java.util.prefs.OldAbstractPreferencesTest#testRemoveNode",
244 "libcore.java.util.prefs.OldAbstractPreferencesTest#testSync",
245 "libcore.java.util.prefs.PreferencesTest#testHtmlEncoding",
246 "libcore.java.util.prefs.PreferencesTest#testPreferencesClobbersExistingFiles",
247 "org.apache.harmony.tests.java.util.PropertiesTest#test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String",
248 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testExportNode",
249 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testExportSubtree",
250 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testFlush",
251 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testSync",
252 "org.apache.harmony.tests.java.util.prefs.FilePreferencesImplTest#testPutGet"]
Nicolas Geoffray1c4ae8c2016-01-12 18:21:05 +0000253},
254{
Narayan Kamathae837922016-02-22 13:34:07 +0000255 description: "Only work with --mode=activity",
256 result: EXEC_FAILED,
257 names: [ "libcore.java.io.FileTest#testJavaIoTmpdirMutable" ]
Nicolas Geoffraye434a812016-03-15 23:01:33 +0000258},
259{
Przemyslaw Szczepaniak246f4242016-03-18 15:38:14 +0000260 description: "Made for extending, shouldn't be run",
Nicolas Geoffraye434a812016-03-15 23:01:33 +0000261 result: EXEC_FAILED,
Nicolas Geoffrayc2c62712016-03-19 10:25:41 +0000262 names: ["jsr166.CollectionTest#testEmptyMeansEmpty",
Przemyslaw Szczepaniak246f4242016-03-18 15:38:14 +0000263 "jsr166.Collection8Test#testForEach",
264 "jsr166.Collection8Test#testForEachConcurrentStressTest"]
Nicolas Geoffray9631f542016-07-13 10:18:48 +0100265},
266{
267 description: "Flaky test",
268 result: EXEC_FAILED,
269 bug: 30107038,
270 modes: [device],
271 names: ["org.apache.harmony.tests.java.lang.ProcessTest#test_destroyForcibly"]
Tobias Thierer533b1582016-07-27 16:00:59 +0100272},
273{
274 description: "Flaky failure, possibly caused by a kernel bug accessing /proc/",
275 result: EXEC_FAILED,
276 bug: 27464570,
277 modes: [device],
278 names: ["libcore.java.lang.ProcessBuilderTest#testRedirectInherit"]
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +0000279}
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +0000280]