Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8253688

tools/jlink/JLinkReproducible3Test.java fails with "RuntimeException: jlink producing inconsistent result in modules. Mismatch in modules file"

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      aarch64
    • OS:
      linux

      Description

      The following test fails in the JDK16 CI:

      tools/jlink/JLinkReproducible3Test.java

      Here's a snippet from the log file:

      ----------System.err:(12/811)----------
      java.lang.RuntimeException: jlink producing inconsistent result in modules. Mismatch in modules file occurred at byte position 394681
      at JLinkReproducible3Test.main(JLinkReproducible3Test.java:81)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: jlink producing inconsistent result in modules. Mismatch in modules file occurred at byte position 394681

      Starting this bug as a P3 since this is a Tier2 failure.

      tools/jlink/JLinkReproducible3Test.java is a new start
      that was integrated with this fix:

          JDK-8252730 jlink does not create reproducible builds on different servers

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igraves Ian Graves
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: