Fix fugu art-buildbot

Disable failing tests which are not picked up by
libcore_fugu_failures.txt.

Bug: 208639267
Test: art/tools/run-libcore-tests.sh --mode=device --variant=X32 \
      --no-getrandom
Change-Id: I295dd91cd44b37234dda9647a1b25f3d2b41d0a3
diff --git a/tools/run-libcore-tests.py b/tools/run-libcore-tests.py
index 2b1c568..5c94989 100755
--- a/tools/run-libcore-tests.py
+++ b/tools/run-libcore-tests.py
@@ -261,6 +261,99 @@
   "test.java.math.BigInteger_testConstructor",
 }
 
+DISABLED_FUGU_TESTS = {
+  "test.java.awt",
+  "test.java.io.ByteArrayInputStream",
+  "test.java.io.ByteArrayOutputStream",
+  "test.java.io.OutputStream",
+  "test.java.io.PrintStream",
+  "test.java.io.PrintWriter",
+  "test.java.io.Reader",
+  "test.java.io.Writer",
+  "test.java.lang.Boolean",
+  "test.java.lang.ClassLoader",
+  "test.java.lang.Double",
+  "test.java.lang.Float",
+  "test.java.lang.Integer",
+  "test.java.lang.Long",
+  "test.java.lang.StrictMath.CubeRootTests",
+  "test.java.lang.StrictMath.Expm1Tests",
+  "test.java.lang.StrictMath.ExpTests",
+  "test.java.lang.StrictMath.HyperbolicTests",
+  "test.java.lang.StrictMath.HypotTests_testAgainstTranslit_shard1",
+  "test.java.lang.StrictMath.HypotTests_testAgainstTranslit_shard2",
+  "test.java.lang.StrictMath.HypotTests_testAgainstTranslit_shard3",
+  "test.java.lang.StrictMath.HypotTests_testAgainstTranslit_shard4",
+  "test.java.lang.StrictMath.HypotTests_testHypot",
+  "test.java.lang.StrictMath.Log1pTests",
+  "test.java.lang.StrictMath.Log10Tests",
+  "test.java.lang.StrictMath.MultiplicationTests",
+  "test.java.lang.StrictMath.PowTests",
+  "test.java.lang.String",
+  "test.java.lang.Thread",
+  "test.java.lang.invoke",
+  "test.java.lang.ref.SoftReference",
+  "test.java.lang.ref.BasicTest",
+  "test.java.lang.ref.EnqueueNullRefTest",
+  "test.java.lang.ref.EnqueuePollRaceTest",
+  "test.java.lang.ref.ReferenceCloneTest",
+  "test.java.lang.ref.ReferenceEnqueuePendingTest",
+  "test.java.math.BigDecimal",
+  "test.java.math.BigInteger_testArithmetic",
+  "test.java.math.BigInteger_testBitCount",
+  "test.java.math.BigInteger_testBitLength",
+  "test.java.math.BigInteger_testbitOps",
+  "test.java.math.BigInteger_testBitwise",
+  "test.java.math.BigInteger_testByteArrayConv",
+  "test.java.math.BigInteger_testConstructor",
+  "test.java.math.BigInteger_testDivideAndReminder",
+  "test.java.math.BigInteger_testDivideLarge",
+  "test.java.math.BigInteger_testModExp",
+  "test.java.math.BigInteger_testMultiplyLarge",
+  "test.java.math.BigInteger_testNextProbablePrime",
+  "test.java.math.BigInteger_testPow",
+  "test.java.math.BigInteger_testSerialize",
+  "test.java.math.BigInteger_testShift",
+  "test.java.math.BigInteger_testSquare",
+  "test.java.math.BigInteger_testSquareLarge",
+  "test.java.math.BigInteger_testSquareRootAndReminder",
+  "test.java.math.BigInteger_testStringConv_generic",
+  "test.java.math.RoundingMode",
+  "test.java.net.DatagramSocket",
+  "test.java.net.Socket",
+  "test.java.net.SocketOptions",
+  "test.java.net.URLDecoder",
+  "test.java.net.URLEncoder",
+  "test.java.nio.channels.Channels",
+  "test.java.nio.channels.SelectionKey",
+  "test.java.nio.file",
+  "test.java.security.cert",
+  "test.java.security.KeyAgreement.KeyAgreementTest",
+  "test.java.security.KeyAgreement.KeySizeTest_testECDHKeySize",
+  "test.java.security.KeyAgreement.KeySpecTest",
+  "test.java.security.KeyAgreement.MultiThreadTest",
+  "test.java.security.KeyAgreement.NegativeTest",
+  "test.java.security.KeyStore",
+  "test.java.security.Provider",
+  "test.java.util.Arrays",
+  "test.java.util.Collection",
+  "test.java.util.Collections",
+  "test.java.util.Date",
+  "test.java.util.EnumMap",
+  "test.java.util.EnumSet",
+  "test.java.util.GregorianCalendar",
+  "test.java.util.LinkedHashMap",
+  "test.java.util.LinkedHashSet",
+  "test.java.util.List",
+  "test.java.util.Map",
+  "test.java.util.Optional",
+  "test.java.util.TestFormatter",
+  "test.java.util.TimeZone",
+  "test.java.util.function",
+  "test.java.util.stream",
+  "tck.java.time",
+}
+
 def get_jar_filename(classpath):
   base_path = (ANDROID_PRODUCT_OUT + "/../..") if ANDROID_PRODUCT_OUT else "out/target"
   base_path = os.path.normpath(base_path)  # Normalize ".." components for readability.
@@ -296,6 +389,8 @@
     test_names = list(t for t in test_names if not t.startswith("libcore.highmemorytest"))
     test_names = list(filter(lambda x: x not in SLOW_OJLUNI_TESTS, test_names))
     test_names = list(filter(lambda x: x not in DISABLED_GCSTRESS_DEBUG_TESTS, test_names))
+  if not args.getrandom:
+    test_names = list(filter(lambda x: x not in DISABLED_FUGU_TESTS, test_names))
   return test_names
 
 def get_vogar_command(test_name):