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

tools/jpackage/share/AddLauncherTest.java#id1 failed with "ERROR: Failed: Check icon file"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 20
    • 20
    • tools
    • b08
    • x86_64
    • windows

    Description

      The following test failed in the JDK20 CI:

      tools/jpackage/share/AddLauncherTest.java#id1

      Here's a snippet from the log file:

      [16:21:52.537] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1658245847\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\scratch\\5\\bug8230933\\icons.0\\no-icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1658245847\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\scratch\\5\\bug8230933\\icons.0\\no-icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [16:21:52.537] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1658245847\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\scratch\\5\\bug8230933\\out-32620\\bug8230933AddLauncherTest\\no-icon.exe').ToBitmap().Save('C:\\sb\\prod\\1658245847\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\scratch\\5\\bug8230933\\icons.0\\no-icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [16:21:52.834] TRACE: exec: Done. Exit code: 0
      [16:21:52.834] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1658245847\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\scratch\\5\\bug8230933\\out-32620\\bug8230933AddLauncherTest\\no-icon.exe').ToBitmap().Save('C:\\sb\\prod\\1658245847\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\scratch\\5\\bug8230933\\icons.0\\no-icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [16:21:52.850] ERROR: Failed: Check icon file [.\\bug8230933\\icons.0\\no-icon.exe\\actual.bmp] of no-icon launcher is a copy of source icon file [.\\bug8230933\\icons.0\\no-icon.exe\\expected.bmp]
      [16:21:52.850] [ FAILED ] AddLauncherTest.bug8230933; checks=43

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

      Attachments

        Issue Links

          Activity

            People

              asemenyuk Alexey Semenyuk
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: