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

tools/jpackage/windows/WinL10nTest.java unpack.bat failed with Exit code: 1618

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK16 CI:

      tools/jpackage/windows/WinL10nTest.java

      Here's a snippet from the log file:

      [13:58:42.652] TRACE: exec: Execute [cmd /c .\\test.3563aceb\\unpacked-msi\\unpack.bat](3); discard I/O...
      [13:58:45.803] TRACE: exec: Done. Exit code: 1618
      [13:58:48.832] ERROR: Expected [0]. Actual [1618]: Check command [cmd /c .\\test.3563aceb\\unpacked-msi\\unpack.bat](3) exited with 0 code
      [13:58:48.832] [ FAILED ] WinL10nTest([name=a.wxl; culture=fr, name=b.wxl; culture=fr](length=2), fr;en-us, null).test; checks=17

      <snip>

      [14:00:33.685] [==========] 8 tests ran
      [14:00:33.685] [ PASSED ] 7 tests
      [14:00:33.685] [ FAILED ] 1 test, listed below
      [14:00:33.685] [ FAILED ] WinL10nTest([name=a.wxl; culture=fr, name=b.wxl; culture=fr](length=2), fr;en-us, null).test; workDir=[.\\test.3563aceb]
      [14:00:33.685] 1 FAILED TEST
      ----------System.err:(65/4680)*----------
      java.lang.AssertionError: Expected [0]. Actual [1618]: Check command [cmd /c .\\test.3563aceb\\unpacked-msi\\unpack.bat](3) exited with 0 code
      at jdk.jpackage.test.TKit.error(TKit.java:293)
      at jdk.jpackage.test.TKit.assertEquals(TKit.java:596)
      at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:176)
      at jdk.jpackage.test.Executor$Result.assertExitCodeIsZero(Executor.java:183)
      at jdk.jpackage.test.WindowsHelper.runMsiexecWithRetries(WindowsHelper.java:77)
      at jdk.jpackage.test.WindowsHelper.lambda$createMsiPackageHandlers$5(WindowsHelper.java:105)
      at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:424)
      at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:396)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at java.base/java.lang.Iterable.forEach(Iterable.java:75)
      at jdk.jpackage.test.PackageTest.lambda$runActions$20(PackageTest.java:360)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:359)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:358)
      at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:51)
      at WinL10nTest.test(WinL10nTest.java:165)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
      at jdk.jpackage.test.TestInstance.run(TestInstance.java:230)
      at jdk.jpackage.test.TKit.lambda$ignoreExceptions$6(TKit.java:155)
      at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:140)
      at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
      at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:755)
      at jdk.jpackage.test.TKit.lambda$runTests$5(TKit.java:137)
      at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:123)
      at jdk.jpackage.test.TKit.runTests(TKit.java:136)
      at jdk.jpackage.test.Main.runTests(Main.java:79)
      at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
      at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:123)
      at jdk.jpackage.test.Main.main(Main.java:75)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      jdk.jpackage.test.Functional$ExceptionBox: java.lang.RuntimeException: 1 FAILED TEST
      at jdk.jpackage.test.Functional.rethrowUnchecked(Functional.java:161)
      at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:107)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:123)
      at jdk.jpackage.test.Main.main(Main.java:75)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)
      Caused by: java.lang.RuntimeException: 1 FAILED TEST
      at jdk.jpackage.test.Main.reportSummary(Main.java:130)
      at jdk.jpackage.test.Main.runTests(Main.java:90)
      at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
      at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
      ... 8 more

      JavaTest Message: Test threw exception: jdk.jpackage.test.Functional$ExceptionBox: java.lang.RuntimeException: 1 FAILED TEST
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: jdk.jpackage.test.Functional$ExceptionBox: java.lang.RuntimeException: 1 FAILED TEST
      ----------rerun:(45/5479)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: