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

tools/jpackage/share/AddLauncherTest.java#id1 fails intermittently on Windows in verifyDescription

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • tools
    • b26
    • generic
    • windows

    Description

      We run sometimes into these errors when checking descriptions :

      java.lang.AssertionError: Expected [JavaOptionsAddLauncherTest]. Actual [OpenJDK Platform binary]: Check file description of [.\testJavaOptions.85b437af\output\JavaOptionsAddLauncherTest\void.exe]
      at jdk.jpackage.test.TKit.error(TKit.java:273)
      at jdk.jpackage.test.TKit.assertEquals(TKit.java:599)
      at jdk.jpackage.test.AdditionalLauncher.verifyDescription(AdditionalLauncher.java:307)
      at jdk.jpackage.test.AdditionalLauncher.verify(AdditionalLauncher.java:324)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:1071)
      at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:1066)
      at jdk.jpackage.test.JPackageCommand$Actions.lambda$run$0(JPackageCommand.java:1081)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
      at jdk.jpackage.test.JPackageCommand$Actions.run(JPackageCommand.java:1081)
      at jdk.jpackage.test.JPackageCommand.executeVerifyActions(JPackageCommand.java:721)
      at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:783)
      at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:743)
      at jdk.jpackage.test.JPackageCommand.executeAndAssertImageCreated(JPackageCommand.java:796)
      at jdk.jpackage.test.JPackageCommand.executeAndAssertHelloAppImageCreated(JPackageCommand.java:790)
      at AddLauncherTest.testJavaOptions(AddLauncherTest.java:156)


      java.lang.AssertionError: Expected [Test modular app with multiple add-launchers where one is modular app and other is non modular app]. Actual [OpenJDK Platform binary]: Check file description of [.\testMainLauncherIsModular.ed4f638d\output\MainLauncherIsModularAddLauncherTest\ModularAppLauncher.exe]
      at jdk.jpackage.test.TKit.error(TKit.java:273)
      at jdk.jpackage.test.TKit.assertEquals(TKit.java:599)
      at jdk.jpackage.test.AdditionalLauncher.verifyDescription(AdditionalLauncher.java:307)
      at jdk.jpackage.test.AdditionalLauncher.verify(AdditionalLauncher.java:324)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:1071)
      at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:1066)
      at jdk.jpackage.test.JPackageCommand$Actions.lambda$run$0(JPackageCommand.java:1081)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
      at jdk.jpackage.test.JPackageCommand$Actions.run(JPackageCommand.java:1081)
      at jdk.jpackage.test.JPackageCommand.executeVerifyActions(JPackageCommand.java:721)
      at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:783)
      at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:743)
      at jdk.jpackage.test.JPackageCommand.executeAndAssertImageCreated(JPackageCommand.java:796)
      at jdk.jpackage.test.JPackageCommand.executeAndAssertHelloAppImageCreated(JPackageCommand.java:790)
      at AddLauncherTest.testMainLauncherIsModular(AddLauncherTest.java:216)

      Attachments

        Issue Links

          Activity

            People

              asemenyuk Alexey Semenyuk
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: