Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> cmd = getRunCommand(app.buildAndRunCmds.runCommands[0]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}