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

jpackage icon test failures pixel mismatch

XMLWordPrintable

    • x86_64
    • windows

      [17:28:27.425] TRACE: Deleting [.\\test.8d7d304e] directory recursively
      [17:28:27.440] [ OK ] IconTest(AppImage, ResourceDirIcon, ResourceDirIcon).test; checks=30
      [17:28:27.440] [==========] 20 tests ran
      [17:28:27.440] [ PASSED ] 19 tests
      [17:28:27.440] [ FAILED ] 1 test, listed below
      [17:28:27.440] [ FAILED ] IconTest(AppImage, CustomIcon, CustomIcon).test; workDir=[.\\test.e40bd2ca]
      [17:28:27.440] 1 FAILED TEST
      The process cannot access the file because it is being used by another process.
      ----------System.err:(49/3348)----------
      java.lang.AssertionError: Failed: Check the number of mismatched pixels [1024] of [1024] is < [0.100000] threshold
      at jdk.jpackage.test.TKit.error(TKit.java:277)
      at jdk.jpackage.test.TKit.assertTrue(TKit.java:657)
      at jdk.jpackage.test.TKit.assertTrue(TKit.java:644)
      at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.lambda$verifyLauncherIcon$0(LauncherIconVerifier.java:148)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at jdk.jpackage.test.TKit.withTempDirectory(TKit.java:345)
      at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.verifyLauncherIcon(LauncherIconVerifier.java:89)
      at jdk.jpackage.test.LauncherIconVerifier.applyTo(LauncherIconVerifier.java:70)
      at IconTest.lambda$createInstallVerifier$1(IconTest.java:272)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at IconTest.test(IconTest.java:166)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      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:1625)
      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:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1588)
      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:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1588)

      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

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

              Created:
              Updated:
              Resolved: