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.
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.
- duplicates
-
JDK-8289634 Test 'tools/jpackage/share/IconTest.java' always fails on Windows 11
-
- Closed
-