There have been 3 reported test failures of jpackage tests:
https://bugs.openjdk.java.net/browse/JDK-8274622
https://bugs.openjdk.java.net/browse/JDK-8277160
https://bugs.openjdk.java.net/browse/JDK-8277058
All of them appear to have the same underlying root cause where the jlink command (which is launched from within the jpackage tests) fails with:
"Error: java.lang.IllegalArgumentException".
These have all failed on macos aarch64 based on the logs attached to those issues.
However, that isn't enough to narrow down what's causing these failures. The jdk.tools.jlink.internal.JlinkTask internally uses a "jlink.debug" system property to decide whether to print the exception stacktrace of these failures. By default it is "false" and it doesn't print these exception stacktraces.
It would be good to set this system property to "true" while launching these jpackage tests to help get more detailed failure cause.
https://bugs.openjdk.java.net/browse/JDK-8274622
https://bugs.openjdk.java.net/browse/JDK-8277160
https://bugs.openjdk.java.net/browse/JDK-8277058
All of them appear to have the same underlying root cause where the jlink command (which is launched from within the jpackage tests) fails with:
"Error: java.lang.IllegalArgumentException".
These have all failed on macos aarch64 based on the logs attached to those issues.
However, that isn't enough to narrow down what's causing these failures. The jdk.tools.jlink.internal.JlinkTask internally uses a "jlink.debug" system property to decide whether to print the exception stacktrace of these failures. By default it is "false" and it doesn't print these exception stacktraces.
It would be good to set this system property to "true" while launching these jpackage tests to help get more detailed failure cause.
- relates to
-
JDK-8277058 [macos] tools/jpackage/macosx/NameWithSpaceTest.java failed NameWithSpaceTest.test
-
- Open
-
-
JDK-8274622 jlink failed with: Error: java.lang.IllegalArgumentException
-
- Closed
-
-
JDK-8277647 [REDO] JDK-8277507 Add jlink.debug system property while launching jpackage tests to help diagonize recent intermittent failures
-
- Resolved
-