JDK-8253667 : ProblemList tools/jlink/JLinkReproducible{,3}Test.java on linux-aarch64
  • Type: Sub-task
  • Component: tools
  • Sub-Component: jlink
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch64
  • Submitted: 2020-09-25
  • Updated: 2024-12-04
  • Resolved: 2020-09-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b18Fixed
Description
tools/jlink/JLinkReproducibleTest.java and tools/jlink/JLinkReproducible3Test.java
have been failing in Tier2 on linux-aarch64.

Here's the context diff for the change:

$ git diff master..
diff --git a/test/jdk/ProblemList.txt b/test/jdk/ProblemList.txt
index 56e8d3f291d..856ce7aa18b 100644
--- a/test/jdk/ProblemList.txt
+++ b/test/jdk/ProblemList.txt
@@ -856,6 +856,8 @@ sanity/client/SwingSet/src/ScrollPaneDemoTest.java 8225013 linux-all
 
 tools/jlink/JLinkReproducibleTest.java                          8217166 windows-all
 tools/jlink/plugins/CompressorPluginTest.java                   8247407 generic-all
+tools/jlink/JLinkReproducibleTest.java                          8217166 linux-aarch64
+tools/jlink/JLinkReproducible3Test.java                         8253688 linux-aarch64
 
 ############################################################################
Comments
Changeset: 821bd08c Author: Daniel D. Daugherty <dcubed@openjdk.org> Date: 2020-09-28 16:41:35 +0000 URL: https://git.openjdk.java.net/jdk/commit/821bd08c
28-09-2020

The fix for JDK-8252730 is in jdk-16+18-846 and this test failed in jdk-16+18-848-tier2 so the failure continues to reproduce. With the fix for JDK-8252730, we picked up a new test tools/jlink/JLinkReproducible3Test.java and that test is also failing on linux-aarch64. That failure is tracked by: JDK-8253688 tools/jlink/JLinkReproducible3Test.java fails with "RuntimeException: jlink producing inconsistent result in modules. Mismatch in modules file"
28-09-2020

Holding off on this ProblemListing for now. According to this PR: https://github.com/openjdk/jdk/pull/156 the following fix is ready to integrate: JDK-8252730 jlink does not create reproducible builds on different servers and [~alanb] thinks it might help: JDK-8217166 tools/jlink/JLinkReproducibleTest.java fails frequently
25-09-2020