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

Test tools/jpackage/share/RuntimeImageSymbolicLinksTest.java fails

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 25
    • tools
    • None
    • 25
    • generic
    • linux

      3 Tests fails
      tools/jpackage/share/RuntimeImageSymbolicLinksTest.java
      tools/jpackage/share/RuntimeImageTest.java
      tools/jpackage/share/RuntimePackageTest.java#id0

      The test log snippet:
      [22:19:42.743] Parsing [--jpt-run=RuntimeImageSymbolicLinksTest]...
      [22:19:42.772] RuntimeImageSymbolicLinksTest -> [public static void RuntimeImageSymbolicLinksTest.test() throws java.lang.Exception]
      [22:19:42.785] Create: RuntimeImageSymbolicLinksTest.test
      [22:19:42.788] [ RUN ] RuntimeImageSymbolicLinksTest.test
      [22:19:42.795] TRACE: exec: Execute tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9)...
      Error: --module-path option must be specified with --add-modules ALL-MODULE-PATH
      [22:19:42.831] TRACE: exec: Done. Exit code: 2
      [22:19:42.831] ERROR: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code
      [22:19:42.831] [ FAILED ] RuntimeImageSymbolicLinksTest.test; checks=1
      [22:19:42.833] [==========] 1 tests ran
      [22:19:42.833] [ PASSED ] 0 tests
      [22:19:42.834] [ FAILED ] 1 test, listed below
      [22:19:42.835] [ FAILED ] RuntimeImageSymbolicLinksTest.test; workDir=[./test]
      [22:19:42.835] 1 FAILED TEST
      STDERR:
      java.lang.AssertionError: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code
      at jdk.jpackage.test.TKit.error(TKit.java:277)
      at jdk.jpackage.test.TKit.assertEquals(TKit.java:598)
      at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:196)
      at jdk.jpackage.test.Executor.execute(Executor.java:239)
      at jdk.jpackage.test.Executor.execute(Executor.java:243)
      at RuntimeImageSymbolicLinksTest.test(RuntimeImageSymbolicLinksTest.java:68)

          Loading...
          Uploaded image for project: 'JDK'
          1. JDK
          2. JDK-8346729

          Test tools/jpackage/share/RuntimeImageSymbolicLinksTest.java fails

            • Icon: Bug Bug
            • Resolution: Duplicate
            • Icon: P4 P4
            • None
            • 25
            • tools
            • None
            • 25
            • generic
            • linux

              3 Tests fails
              tools/jpackage/share/RuntimeImageSymbolicLinksTest.java
              tools/jpackage/share/RuntimeImageTest.java
              tools/jpackage/share/RuntimePackageTest.java#id0

              The test log snippet:
              [22:19:42.743] Parsing [--jpt-run=RuntimeImageSymbolicLinksTest]...
              [22:19:42.772] RuntimeImageSymbolicLinksTest -> [public static void RuntimeImageSymbolicLinksTest.test() throws java.lang.Exception]
              [22:19:42.785] Create: RuntimeImageSymbolicLinksTest.test
              [22:19:42.788] [ RUN ] RuntimeImageSymbolicLinksTest.test
              [22:19:42.795] TRACE: exec: Execute tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9)...
              Error: --module-path option must be specified with --add-modules ALL-MODULE-PATH
              [22:19:42.831] TRACE: exec: Done. Exit code: 2
              [22:19:42.831] ERROR: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code
              [22:19:42.831] [ FAILED ] RuntimeImageSymbolicLinksTest.test; checks=1
              [22:19:42.833] [==========] 1 tests ran
              [22:19:42.833] [ PASSED ] 0 tests
              [22:19:42.834] [ FAILED ] 1 test, listed below
              [22:19:42.835] [ FAILED ] RuntimeImageSymbolicLinksTest.test; workDir=[./test]
              [22:19:42.835] 1 FAILED TEST
              STDERR:
              java.lang.AssertionError: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code
              at jdk.jpackage.test.TKit.error(TKit.java:277)
              at jdk.jpackage.test.TKit.assertEquals(TKit.java:598)
              at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:196)
              at jdk.jpackage.test.Executor.execute(Executor.java:239)
              at jdk.jpackage.test.Executor.execute(Executor.java:243)
              at RuntimeImageSymbolicLinksTest.test(RuntimeImageSymbolicLinksTest.java:68)

                    Unassigned Unassigned
                    syan Sendao Yan
                    Votes:
                    0 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                      Created:
                      Updated:
                      Resolved:

                        Unassigned Unassigned
                        syan Sendao Yan
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        2 Start watching this issue

                          Created:
                          Updated:
                          Resolved: