diff --git a/testsuite/src/it/java/org/graalvm/tests/integration/AppReproducersTest.java b/testsuite/src/it/java/org/graalvm/tests/integration/AppReproducersTest.java index edbf9eb9..66761b5a 100644 --- a/testsuite/src/it/java/org/graalvm/tests/integration/AppReproducersTest.java +++ b/testsuite/src/it/java/org/graalvm/tests/integration/AppReproducersTest.java @@ -510,7 +510,9 @@ public void imageioAWT(TestInfo testInfo, Apps app) throws IOException, Interrup errors.addAll(interimErrs); } assertTrue(errors.isEmpty(), - "There were errors checking the generated image files, see:\n" + String.join("\n", errors)); + "There were errors checking the generated image files. " + + "Check " + getLogsDir(cn, mn) + File.separator + processLog.getName()+" for e.g. GLIBC, missing libs etc. " + + "See:\n" + String.join("\n", errors)); } else { LOGGER.info("Running..."); final List cmd = getRunCommand(app.buildAndRunCmds.runCommands[0]); diff --git a/testsuite/src/it/java/org/graalvm/tests/integration/utils/Commands.java b/testsuite/src/it/java/org/graalvm/tests/integration/utils/Commands.java index ac6b000f..8716668d 100644 --- a/testsuite/src/it/java/org/graalvm/tests/integration/utils/Commands.java +++ b/testsuite/src/it/java/org/graalvm/tests/integration/utils/Commands.java @@ -1320,6 +1320,11 @@ public static boolean compareArrays(int[] a, int[] b, int[] threshold) { * @return */ public static boolean isBuilderImageIncompatible(String base) { - return BUILDER_IMAGE.contains("ubi9") && ("ubi8".equals(base) || "amzn2".equals(base)); + return + // UBI9 builder creates dependency on way too new GLIBC for UBI8 or amzn2 to run. + (BUILDER_IMAGE.contains("ubi9") && ("ubi8".equals(base) || "amzn2".equals(base))) || + // Our dev image, the latest master, latest JDK, requires gcc toolchain-10 that + // creates a dependency on GLIBC_2.28. O.K. for UBI8, too new for Amzn2 + (BUILDER_IMAGE.contains("dev") && "amzn2".equals(base)); } }