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

tools/jpackage/share/jdk/jpackage/tests/BasicTest.java fails

    XMLWordPrintable

    Details

      Description

      Mach5 test failure:
      ---
      [ RUN ] BasicTest.testTemp
      TRACE: Execute tool provider [javac -d .\\testTemp\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14-jpackage+1-58\\src.full\\open\\test\\jdk\\tools\\jpackage\\share\\jdk\\jpackage\\tests\\..\\..\\..\\..\\apps\\image\\Hello.java](4)...
      TRACE: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [javac -d .\\testTemp\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14-jpackage+1-58\\src.full\\open\\test\\jdk\\tools\\jpackage\\share\\jdk\\jpackage\\tests\\..\\..\\..\\..\\apps\\image\\Hello.java](4) exited with 0 code
      TRACE: Execute tool provider [jar -c -f .\\testTemp\\jar-workdir\\foo.jar -C .\\testTemp\\jar-workdir .](7)...
      TRACE: Done. Exit code: 0
      TRACE: assertEquals(0): Check command tool provider [jar -c -f .\\testTemp\\jar-workdir\\foo.jar -C .\\testTemp\\jar-workdir .](7) exited with 0 code
      TRACE: Init fake runtime in [.\\testTemp\\fake_runtime] directory
      TRACE: Execute [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14-jpackage+1-58\\windows-x64.jdk\\jdk-14\\bin\\jpackage.exe --input .\\testTemp\\input --dest .\\testTemp\\output --name TempBasicTest --main-jar hello.jar --main-class Hello --win-console --verbose --temp .\\testTemp\\temp-root --runtime-image .\\testTemp\\fake_runtime](17); inherit I/O...
      WARNING: Using experimental tool jpackage
      jdk.jpackage.internal.PackagerException: Error: Invalid or unsupported package type: [null]
      at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:621)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:513)
      at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:98)
      at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:51)
      TRACE: Done. Exit code: 1
      ERROR: Expected [0]. Actual [1]: Check command [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14-jpackage+1-58\\windows-x64.jdk\\jdk-14\\bin\\jpackage.exe --input .\\testTemp\\input --dest .\\testTemp\\output --name TempBasicTest --main-jar hello.jar --main-class Hello --win-console --verbose --temp .\\testTemp\\temp-root --runtime-image .\\testTemp\\fake_runtime](17) exited with 0 code
      [ FAILED ] BasicTest.testTemp; checks=3
      ---

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: