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

WinUpgradeUUIDTest.java fails after JDK-8236518

    Details

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

      Description

      The following test is failing in the JDK15 CI:

      tools/jpackage/windows/WinUpgradeUUIDTest.java#id1

      Here's a snippet from the log file:

      ----------System.out:(20/967)*----------
      Parsing [--jpt-run=WinUpgradeUUIDTest]...
      WinUpgradeUUIDTest.test -> [public static void WinUpgradeUUIDTest.test()]
      WinUpgradeUUIDTest.testUUIDs -> [public static void WinUpgradeUUIDTest.testUUIDs()]
      Create: WinUpgradeUUIDTest.test
      Create: WinUpgradeUUIDTest.testUUIDs
      [ RUN ] WinUpgradeUUIDTest.test
      TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]]
      TRACE: Deleting [.\\test] directory recursively
      [ OK ] WinUpgradeUUIDTest.test; checks=0
      [ RUN ] WinUpgradeUUIDTest.testUUIDs
      TRACE: Actions: [[initialize], [create], [finalize]]
      TRACE: Actions: [[initialize], [create], [finalize]]
      TRACE: Actions: [[initialize], [create], [finalize]]
      TRACE: Actions: [[initialize], [create], [finalize]]
      [ FAILED ] WinUpgradeUUIDTest.testUUIDs; checks=0
      [==========] 2 tests ran
      [ PASSED ] 1 test
      [ FAILED ] 1 test, listed below
      [ FAILED ] WinUpgradeUUIDTest.testUUIDs; workDir=[.\\testUUIDs]
      1 FAILED TEST
      ----------System.err:(51/3581)----------
      WARNING: Using incubator modules: jdk.incubator.jpackage
      java.lang.NullPointerException
      at WinUpgradeUUIDTest$PropertyVerifier.assertEquals(WinUpgradeUUIDTest.java:185)
      at WinUpgradeUUIDTest.testUUIDs(WinUpgradeUUIDTest.java:148)
      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 jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
      at jdk.jpackage.test.TestInstance.run(TestInstance.java:224)
      at jdk.jpackage.test.TKit.lambda$ignoreExceptions$6(TKit.java:138)
      at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:123)
      at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1624)
      at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
      at jdk.jpackage.test.TKit.lambda$runTests$5(TKit.java:120)
      at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:101)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:106)
      at jdk.jpackage.test.TKit.runTests(TKit.java:119)
      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:101)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:106)
      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: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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      jdk.jpackage.test.Functional$ExceptionBox: java.lang.RuntimeException: 1 FAILED TEST
      at jdk.jpackage.test.Functional.rethrowUnchecked(Functional.java:157)
      at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:103)
      at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:106)
      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: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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      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:101)
      ... 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:(43/5163)*----------

      The first job set that contains this failure also includes the fix for this:

      JDK-8236518 There is no Native Packages WinUpgradeUUIDTest-2.0.exe after creating Native packages on win

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwilhelm Jesper Wilhelmsson
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: