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

tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]:

    XMLWordPrintable

Details

    • b16
    • x86_64
    • windows

    Description

      [21:31:17.345] Succeeded in building MSI Installer Package package
      [21:31:17.551] TRACE: exec: Done. Exit code: 0
      [21:31:17.552] TRACE: assertEquals(0): Check command [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-21+27-2343\\windows-x64.jdk\\jdk-21\\bin\\jpackage.exe --dest .\\test\\output --name Win8282351Test$-$$-$$$ --type msi --app-image .\\test\\appimage\\Win8282351Test --win-menu --win-shortcut -J-Djlink.debug=true --verbose](13) exited with 0 code
      [21:31:17.553] TRACE: assertTrue(): Check [.\\test\\output\\Win8282351Test$-$$-$$$-1.0.msi] path exists
      [21:31:17.554] TRACE: assertTrue(): Check [.\\test\\output\\Win8282351Test$-$$-$$$-1.0.msi] is a file
      [21:31:17.559] TRACE: Create [C:\\sb\\prod\\1688159313\\testoutput\\test-support\\jtreg_open_test_jdk_tier2\\scratch\\23\\test\\unpacked-msi\\unpack.bat] text file...
      [21:31:17.560] TRACE: icacls ".\\test\\unpacked-msi" /inheritance:e /grant Users:M
      [21:31:17.560] TRACE: msiexec /a "test\\output\\Win8282351Test$-$$-$$$-1.0.msi" /qn TARGETDIR="C:\\sb\\prod\\1688159313\\testoutput\\test-support\\jtreg_open_test_jdk_tier2\\scratch\\23\\test\\unpacked-msi\\Program Files"
      [21:31:17.566] TRACE: Done
      [21:31:17.569] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:31:29.245] TRACE: exec: Done. Exit code: 1618
      [21:31:32.247] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:31:36.672] TRACE: exec: Done. Exit code: 1618
      [21:31:40.677] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:31:51.174] TRACE: exec: Done. Exit code: 1618
      [21:31:56.176] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:32:00.017] TRACE: exec: Done. Exit code: 1618
      [21:32:06.023] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:32:09.202] TRACE: exec: Done. Exit code: 1618
      [21:32:16.205] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:32:21.330] TRACE: exec: Done. Exit code: 1618
      [21:32:29.342] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:32:32.799] TRACE: exec: Done. Exit code: 1618
      [21:32:41.801] TRACE: exec: Execute [cmd /c .\\test\\unpacked-msi\\unpack.bat](3); discard I/O...
      [21:32:46.092] TRACE: exec: Done. Exit code: 1618
      [21:32:56.103] ERROR: Expected [0]. Actual [1618]: Check command [cmd /c .\\test\\unpacked-msi\\unpack.bat](3) exited with 0 code
      [21:32:56.104] [ FAILED ] Win8282351Test.test; checks=7
      [21:32:56.107] [==========] 1 tests ran
      [21:32:56.107] [ PASSED ] 0 tests
      [21:32:56.110] [ FAILED ] 1 test, listed below
      [21:32:56.111] [ FAILED ] Win8282351Test.test; workDir=[.\\test]
      [21:32:56.111] 1 FAILED TEST
      ----------System.err:(57/3896)*----------
      java.lang.AssertionError: Expected [0]. Actual [1618]: Check command [cmd /c .\\test\\unpacked-msi\\unpack.bat](3) exited with 0 code
      at jdk.jpackage.test.TKit.error(TKit.java:273)
      at jdk.jpackage.test.TKit.assertEquals(TKit.java:576)
      at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:186)
      at jdk.jpackage.test.Executor$Result.assertExitCodeIsZero(Executor.java:193)
      at jdk.jpackage.test.WindowsHelper.runMsiexecWithRetries(WindowsHelper.java:104)
      at jdk.jpackage.test.WindowsHelper.lambda$createMsiPackageHandlers$4(WindowsHelper.java:141)
      at jdk.jpackage.test.PackageTest$2.lambda$accept$1(PackageTest.java:469)
      at jdk.jpackage.test.PackageTest$2.handleAction(PackageTest.java:521)
      at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:463)
      at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:411)
      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$24(PackageTest.java:381)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1593)
      at jdk.jpackage.test.PackageTest.lambda$runActions$25(PackageTest.java:380)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1593)
      at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:379)
      at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58)
      at Win8282351Test.test(Win8282351Test.java:104)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      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$5(TKit.java:141)
      at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:126)
      at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1707)
      at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
      at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:123)
      at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109)
      at jdk.jpackage.test.TKit.runTests(TKit.java:122)
      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:109)
      at jdk.jpackage.test.Main.main(Main.java:75)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1583)
      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)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109)
      at jdk.jpackage.test.Main.main(Main.java:75)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1583)

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

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 FAILED TEST

      Attachments

        Issue Links

          Activity

            People

              asemenyuk Alexey Semenyuk
              msheppar Mark Sheppard
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: