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

tools/jpackage/share/AddLauncherTest.java#id1 failed with "Check the number of mismatched pixels"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 20
    • 20
    • tools
    • 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:

      [01:36:39.820] [ RUN ] AddLauncherTest.bug8230933
      [01:36:44.966] TRACE: Bundler msi supported
      [01:36:45.181] TRACE: Bundler exe supported
      [01:36:45.642] TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]]
      [01:36:46.186] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\default_icon.properties] properties file...
      [01:36:46.647] TRACE: Done
      [01:36:46.713] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\no_icon.properties] properties file...
      [01:36:46.714] TRACE: icon=
      [01:36:46.987] TRACE: Done
      [01:36:46.988] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\custom_icon.properties] properties file...
      [01:36:46.988] TRACE: icon=C:/ade/mesos/work_dir/jib-master/install/jdk-20+27-2114/src.full/open/test/jdk/tools/jpackage/resources/icon.ico
      [01:36:47.067] TRACE: Done
      [01:36:48.508] TRACE: exec: Execute tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4)...
      [01:37:44.649] TRACE: exec: Done. Exit code: 0
      [01:37:44.693] TRACE: assertEquals(0): Check command tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4) exited with 0 code
      [01:37:44.980] TRACE: exec: Execute tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7)...
      [01:37:54.862] TRACE: exec: Done. Exit code: 0
      [01:37:54.899] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7) exited with 0 code
      [01:37:55.846] TRACE: exec: Execute [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type exe --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.properties --add-launcher no_icon=.\\bug8230933\\no_icon.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.properties -J-Djlink.debug=true --verbose](22); inherit I/O...
      [01:37:57.007] Running candle.exe
      [01:37:57.112] Running light.exe
      [01:37:57.295] Detected [light.exe] version [3.11.1.2318].
      [01:37:57.296] Detected [candle.exe] version [3.11.1.2318].
      [01:37:57.298] WiX 3.11.1.2318 detected. Enabling advanced cleanup action.
      [01:38:10.906] Command [PID: -1]:
          jlink --output c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-msi.image\\bug8230933AddLauncherTest\\runtime --module-path c:\\\\ade\\\\mesos\\\\work_dir\\\\jib-master\\\\install\\\\jdk-20+27-2114\\\\windows-x64-debug.jdk\\\\jdk-20\\\\fastdebug\\\\jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,jdk.sctp,java.sql.rowset,jdk.jlink,java.smartcardio,jdk.unsupported,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.logging,java.transaction.xa,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.incubator.concurrent,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files
      [01:38:10.907] Output:
          WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.concurrent

      [01:38:10.907] Returned: 0

      [01:38:10.942] Using default package resource JavaApp.ico [icon] (add bug8230933AddLauncherTest.ico to the resource-dir to customize).
      [01:38:10.994] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391".
      [01:38:11.005] Using default package resource WinLauncher.template [Template for creating executable properties file] (add bug8230933AddLauncherTest.properties to the resource-dir to customize).
      [01:38:11.341] Using default package resource JavaApp.ico [icon] (add default_icon.ico to the resource-dir to customize).
      [01:38:11.350] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391".
      [01:38:11.351] Using default package resource WinLauncher.template [Template for creating executable properties file] (add default_icon.properties to the resource-dir to customize).
      [01:38:11.364] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391".
      [01:38:11.365] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no_icon.properties to the resource-dir to customize).
      [01:38:11.371] Using custom package resource [icon] (loaded from file C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\resources\\icon.ico).
      [01:38:11.382] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391".
      [01:38:11.383] Using default package resource WinLauncher.template [Template for creating executable properties file] (add custom_icon.properties to the resource-dir to customize).
      [01:38:12.780] MSI ProductCode: 415c72f4-3e88-3abf-9c08-56e255794edf.
      [01:38:12.781] MSI UpgradeCode: 9606ab28-8f33-3d78-9755-85a9823b6f80.
      [01:38:12.884] Using default package resource MsiInstallerStrings_de.wxl [WiX localization file] (add MsiInstallerStrings_de.wxl to the resource-dir to customize).
      [01:38:12.887] Using default package resource MsiInstallerStrings_en.wxl [WiX localization file] (add MsiInstallerStrings_en.wxl to the resource-dir to customize).
      [01:38:12.890] Using default package resource MsiInstallerStrings_ja.wxl [WiX localization file] (add MsiInstallerStrings_ja.wxl to the resource-dir to customize).
      [01:38:12.892] Using default package resource MsiInstallerStrings_zh_CN.wxl [WiX localization file] (add MsiInstallerStrings_zh_CN.wxl to the resource-dir to customize).
      [01:38:12.895] Using default package resource main.wxs [Main WiX project file] (add main.wxs to the resource-dir to customize).
      [01:38:12.896] Using default package resource overrides.wxi [Overrides WiX project file] (add overrides.wxi to the resource-dir to customize).
      [01:38:12.904] Preparing MSI config: c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-exe.image\\bug8230933AddLauncherTest-1.0.msi.
      [01:38:12.928] Generating MSI: c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-exe.image\\bug8230933AddLauncherTest-1.0.msi.
      [01:38:13.027] Running candle.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:38:13.237] Command [PID: 41720]:
          candle.exe -nologo c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\main.wxs -ext WixUtilExtension -arch x64 -out c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\wixobj\\main.wixobj -dJpAppDescription=bug8230933AddLauncherTest -dJpAppVersion=1.0 -dJpProductCode=415c72f4-3e88-3abf-9c08-56e255794edf -dJpAppName=bug8230933AddLauncherTest -dJpAllowUpgrades=yes -dJpProductUpgradeCode=9606ab28-8f33-3d78-9755-85a9823b6f80 -dJpIsSystemWide=yes -dJpAllowDowngrades=yes -dJpIcon=c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-msi.image\\bug8230933AddLauncherTest\\bug8230933AddLauncherTest.exe -dJpAppVendor=Unknown -dJpAppSizeKb=147812 -dJpConfigDir=c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config
      [01:38:13.238] Output:
          main.wxs
      [01:38:13.238] Returned: 0

      [01:38:13.238] Running candle.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:38:13.475] Command [PID: 22252]:
          candle.exe -nologo c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\bundle.wxf -ext WixUtilExtension -arch x64 -out c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\wixobj\\bundle.wixobj
      [01:38:13.475] Output:
          bundle.wxf
      [01:38:13.475] Returned: 0

      [01:38:13.476] Running candle.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:38:13.627] Command [PID: 17688]:
          candle.exe -nologo c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\ui.wxf -ext WixUtilExtension -arch x64 -out c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\wixobj\\ui.wixobj
      [01:38:13.627] Output:
          ui.wxf
      [01:38:13.627] Returned: 0

      [01:38:13.637] Running light.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:38:35.930] Command [PID: 16216]:
          light.exe -nologo -spdb -ext WixUtilExtension -out c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\images\\win-exe.image\\bug8230933AddLauncherTest-1.0.msi -b c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config -sice:ICE27 -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\MsiInstallerStrings_de.wxl -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\MsiInstallerStrings_en.wxl -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\MsiInstallerStrings_ja.wxl -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\MsiInstallerStrings_zh_CN.wxl -cultures:en-us c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\wixobj\\main.wixobj c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\wixobj\\bundle.wixobj c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\wixobj\\ui.wixobj
      [01:38:35.930] Output:
          c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391\\config\\main.wxs(53) : warning LGHT1076 : ICE61: This product should remove only older versions of itself. No Maximum version was detected for the current product. (JP_DOWNGRADABLE_FOUND)
      [01:38:35.931] Returned: 0

      [01:38:35.931] Generating EXE for installer to: C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\output.
      [01:38:35.949] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage6124465976629971391".
      [01:38:35.950] Using default package resource WinInstaller.template [Template for creating executable properties file] (add WinInstaller.properties to the resource-dir to customize).
      [01:38:36.942] Installer (.exe) saved to: C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\output
      [01:38:36.942] Succeeded in building EXE Installer Package package
      [01:38:37.831] TRACE: exec: Done. Exit code: 0
      [01:38:37.831] TRACE: assertEquals(0): Check command [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type exe --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.properties --add-launcher no_icon=.\\bug8230933\\no_icon.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.properties -J-Djlink.debug=true --verbose](22) exited with 0 code
      [01:38:37.907] TRACE: assertTrue(): Check [.\\bug8230933\\output\\bug8230933AddLauncherTest-1.0.exe] path exists
      [01:38:37.907] TRACE: assertTrue(): Check [.\\bug8230933\\output\\bug8230933AddLauncherTest-1.0.exe] is a file
      [01:38:38.067] TRACE: No handler of [unpack] action for [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type exe --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.properties --add-launcher no_icon=.\\bug8230933\\no_icon.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.properties](20) command
      [01:38:38.122] TRACE: Skip [verify-install] action of [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type exe --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.properties --add-launcher no_icon=.\\bug8230933\\no_icon.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.properties](20) command
      [01:38:38.142] TRACE: No handler of [unpack] action for [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type exe --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.properties --add-launcher no_icon=.\\bug8230933\\no_icon.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.properties](20) command
      [01:38:38.346] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\default_icon.0.properties] properties file...
      [01:38:38.391] TRACE: Done
      [01:38:38.391] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\no_icon.0.properties] properties file...
      [01:38:38.391] TRACE: icon=
      [01:38:38.391] TRACE: Done
      [01:38:38.391] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\custom_icon.0.properties] properties file...
      [01:38:38.391] TRACE: icon=C:/ade/mesos/work_dir/jib-master/install/jdk-20+27-2114/src.full/open/test/jdk/tools/jpackage/resources/icon.ico
      [01:38:38.391] TRACE: Done
      [01:38:38.412] TRACE: exec: Execute tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4)...
      [01:38:45.726] TRACE: exec: Done. Exit code: 0
      [01:38:45.726] TRACE: assertEquals(0): Check command tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4) exited with 0 code
      [01:38:45.727] TRACE: Delete [.\\bug8230933\\input\\hello.jar] existing jar file
      [01:38:45.727] TRACE: exec: Execute tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7)...
      [01:38:46.908] TRACE: exec: Done. Exit code: 0
      [01:38:46.908] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7) exited with 0 code
      [01:38:47.050] TRACE: exec: Execute [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type msi --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.0.properties --add-launcher no_icon=.\\bug8230933\\no_icon.0.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.0.properties -J-Djlink.debug=true --verbose](22); inherit I/O...
      [01:38:48.315] Running candle.exe
      [01:38:48.500] Running light.exe
      [01:38:48.745] Detected [light.exe] version [3.11.1.2318].
      [01:38:48.745] Detected [candle.exe] version [3.11.1.2318].
      [01:38:48.748] WiX 3.11.1.2318 detected. Enabling advanced cleanup action.
      [01:39:03.895] Command [PID: -1]:
          jlink --output c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\images\\win-msi.image\\bug8230933AddLauncherTest\\runtime --module-path c:\\\\ade\\\\mesos\\\\work_dir\\\\jib-master\\\\install\\\\jdk-20+27-2114\\\\windows-x64-debug.jdk\\\\jdk-20\\\\fastdebug\\\\jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,jdk.sctp,java.sql.rowset,jdk.jlink,java.smartcardio,jdk.unsupported,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.logging,java.transaction.xa,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.incubator.concurrent,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files
      [01:39:03.895] Output:
          WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.concurrent

      [01:39:03.897] Returned: 0

      [01:39:03.936] Using default package resource JavaApp.ico [icon] (add bug8230933AddLauncherTest.ico to the resource-dir to customize).
      [01:39:03.995] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642".
      [01:39:04.007] Using default package resource WinLauncher.template [Template for creating executable properties file] (add bug8230933AddLauncherTest.properties to the resource-dir to customize).
      [01:39:04.323] Using default package resource JavaApp.ico [icon] (add default_icon.ico to the resource-dir to customize).
      [01:39:04.332] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642".
      [01:39:04.333] Using default package resource WinLauncher.template [Template for creating executable properties file] (add default_icon.properties to the resource-dir to customize).
      [01:39:04.356] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642".
      [01:39:04.356] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no_icon.properties to the resource-dir to customize).
      [01:39:04.364] Using custom package resource [icon] (loaded from file C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\resources\\icon.ico).
      [01:39:04.377] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642".
      [01:39:04.378] Using default package resource WinLauncher.template [Template for creating executable properties file] (add custom_icon.properties to the resource-dir to customize).
      [01:39:06.163] MSI ProductCode: 415c72f4-3e88-3abf-9c08-56e255794edf.
      [01:39:06.164] MSI UpgradeCode: 9606ab28-8f33-3d78-9755-85a9823b6f80.
      [01:39:06.299] Using default package resource MsiInstallerStrings_de.wxl [WiX localization file] (add MsiInstallerStrings_de.wxl to the resource-dir to customize).
      [01:39:06.301] Using default package resource MsiInstallerStrings_en.wxl [WiX localization file] (add MsiInstallerStrings_en.wxl to the resource-dir to customize).
      [01:39:06.306] Using default package resource MsiInstallerStrings_ja.wxl [WiX localization file] (add MsiInstallerStrings_ja.wxl to the resource-dir to customize).
      [01:39:06.309] Using default package resource MsiInstallerStrings_zh_CN.wxl [WiX localization file] (add MsiInstallerStrings_zh_CN.wxl to the resource-dir to customize).
      [01:39:06.314] Using default package resource main.wxs [Main WiX project file] (add main.wxs to the resource-dir to customize).
      [01:39:06.316] Using default package resource overrides.wxi [Overrides WiX project file] (add overrides.wxi to the resource-dir to customize).
      [01:39:06.325] Preparing MSI config: C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\output\\bug8230933AddLauncherTest-1.0.msi.
      [01:39:06.354] Generating MSI: C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\output\\bug8230933AddLauncherTest-1.0.msi.
      [01:39:06.487] Running candle.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:39:06.755] Command [PID: 41124]:
          candle.exe -nologo c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\main.wxs -ext WixUtilExtension -arch x64 -out c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\wixobj\\main.wixobj -dJpAppDescription=bug8230933AddLauncherTest -dJpAppVersion=1.0 -dJpProductCode=415c72f4-3e88-3abf-9c08-56e255794edf -dJpAppName=bug8230933AddLauncherTest -dJpAllowUpgrades=yes -dJpProductUpgradeCode=9606ab28-8f33-3d78-9755-85a9823b6f80 -dJpIsSystemWide=yes -dJpAllowDowngrades=yes -dJpIcon=c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\images\\win-msi.image\\bug8230933AddLauncherTest\\bug8230933AddLauncherTest.exe -dJpAppVendor=Unknown -dJpAppSizeKb=147812 -dJpConfigDir=c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config
      [01:39:06.755] Output:
          main.wxs
      [01:39:06.755] Returned: 0

      [01:39:06.756] Running candle.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:39:07.047] Command [PID: 40200]:
          candle.exe -nologo c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\bundle.wxf -ext WixUtilExtension -arch x64 -out c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\wixobj\\bundle.wixobj
      [01:39:07.048] Output:
          bundle.wxf
      [01:39:07.048] Returned: 0

      [01:39:07.049] Running candle.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:39:07.206] Command [PID: 81604]:
          candle.exe -nologo c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\ui.wxf -ext WixUtilExtension -arch x64 -out c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\wixobj\\ui.wixobj
      [01:39:07.206] Output:
          ui.wxf
      [01:39:07.207] Returned: 0

      [01:39:07.218] Running light.exe in c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\images\\win-msi.image\\bug8230933AddLauncherTest
      [01:39:29.101] Command [PID: 51172]:
          light.exe -nologo -spdb -ext WixUtilExtension -out C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\output\\bug8230933AddLauncherTest-1.0.msi -b c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config -sice:ICE27 -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\MsiInstallerStrings_de.wxl -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\MsiInstallerStrings_en.wxl -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\MsiInstallerStrings_ja.wxl -loc c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\MsiInstallerStrings_zh_CN.wxl -cultures:en-us c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\wixobj\\main.wixobj c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\wixobj\\bundle.wixobj c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\wixobj\\ui.wixobj
      [01:39:29.101] Output:
          c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage741736758496996642\\config\\main.wxs(53) : warning LGHT1076 : ICE61: This product should remove only older versions of itself. No Maximum version was detected for the current product. (JP_DOWNGRADABLE_FOUND)
      [01:39:29.101] Returned: 0

      [01:39:29.102] Succeeded in building MSI Installer Package package
      [01:39:30.576] TRACE: exec: Done. Exit code: 0
      [01:39:30.577] TRACE: assertEquals(0): Check command [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type msi --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.0.properties --add-launcher no_icon=.\\bug8230933\\no_icon.0.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.0.properties -J-Djlink.debug=true --verbose](22) exited with 0 code
      [01:39:30.577] TRACE: assertTrue(): Check [.\\bug8230933\\output\\bug8230933AddLauncherTest-1.0.msi] path exists
      [01:39:30.577] TRACE: assertTrue(): Check [.\\bug8230933\\output\\bug8230933AddLauncherTest-1.0.msi] is a file
      [01:39:30.678] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\unpack.bat] text file...
      [01:39:30.728] TRACE: icacls ".\\bug8230933\\unpacked-msi" /inheritance:e /grant Users:M
      [01:39:30.728] TRACE: msiexec /a "bug8230933\\output\\bug8230933AddLauncherTest-1.0.msi" /qn TARGETDIR="C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\Program Files"
      [01:39:30.729] TRACE: Done
      [01:39:30.783] TRACE: exec: Execute [cmd /c .\\bug8230933\\unpacked-msi\\unpack.bat](3); discard I/O...
      [01:39:33.485] TRACE: exec: Done. Exit code: 0
      [01:39:33.487] TRACE: assertEquals(0): Check command [cmd /c .\\bug8230933\\unpacked-msi\\unpack.bat](3) exited with 0 code
      [01:39:33.496] TRACE: Verify unpacked: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\output --name bug8230933AddLauncherTest --type msi --main-jar hello.jar --main-class Hello --win-console --add-launcher default_icon=.\\bug8230933\\default_icon.0.properties --add-launcher no_icon=.\\bug8230933\\no_icon.0.properties --add-launcher custom_icon=.\\bug8230933\\custom_icon.0.properties jpt-unpacked-folder .\\bug8230933\\unpacked-msi](22)
      [01:39:33.789] TRACE: assertEquals(2): Check the package has 2 top installation directories
      [01:39:33.794] TRACE: Not verifying desktop integration because package was unpacked, not installed
      [01:39:34.208] TRACE: assertFalse(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\service-installer.exe] path doesn't exist
      [01:39:34.598] TRACE: assertStringListEquals(): Check there are no files with [.jpackage.xml] name in the package
      [01:39:34.756] TRACE: assertStringListEquals(): Check there is only one file with [.package] name in the package
      [01:39:34.806] TRACE: assertStringListEquals(1, .\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\app\\.package)
      [01:39:34.822] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\runtime] path exists
      [01:39:34.822] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\runtime] is a directory
      [01:39:34.848] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\bug8230933AddLauncherTest.exe] path exists
      [01:39:34.848] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\bug8230933AddLauncherTest.exe] is a file
      [01:39:34.848] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\bug8230933AddLauncherTest.exe] file is executable
      [01:39:34.849] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\app\\bug8230933AddLauncherTest.cfg] path exists
      [01:39:34.849] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\app\\bug8230933AddLauncherTest.cfg] is a file
      [01:39:35.286] TRACE: Clearing PATH in environment
      [01:39:35.288] TRACE: exec: Execute ["C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\bug8230933AddLauncherTest.exe"](1); inherit I/O; in directory [.\\bug8230933]...
      hello: Environment supports a display
      hello: Environment supports a desktop
      jpackage test application
      args.length: 0
      hello: Output file: [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt]
      [01:39:36.697] TRACE: exec: Done. Exit code: 0
      [01:39:36.701] TRACE: assertTrue(): Check [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] path exists
      [01:39:36.701] TRACE: assertTrue(): Check [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] is a file
      [01:39:36.878] TRACE: assertStringListEquals(): Check contents of [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] file
      [01:39:36.918] TRACE: assertStringListEquals(1, jpackage test application)
      [01:39:36.918] TRACE: assertStringListEquals(2, args.length: 0)
      [01:39:37.118] TRACE: assertFalse(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.ico] path doesn't exist
      [01:39:37.851] TRACE: exec: Execute tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4)...
      [01:39:38.361] TRACE: exec: Done. Exit code: 0
      [01:39:38.361] TRACE: assertEquals(0): Check command tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4) exited with 0 code
      [01:39:38.361] TRACE: Delete [.\\bug8230933\\input\\hello.jar] existing jar file
      [01:39:38.362] TRACE: exec: Execute tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7)...
      [01:39:38.365] TRACE: exec: Done. Exit code: 0
      [01:39:38.365] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7) exited with 0 code
      [01:39:38.404] TRACE: Init fake runtime in [.\\bug8230933\\fake_runtime] directory
      [01:39:38.476] TRACE: exec: Execute [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\out-38964 --name bug8230933AddLauncherTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\\bug8230933\\fake_runtime -J-Djlink.debug=true --verbose](18); inherit I/O...
      [01:39:39.643] Creating app package: bug8230933AddLauncherTest in C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\out-38964
      [01:39:39.694] Using default package resource JavaApp.ico [icon] (add bug8230933AddLauncherTest.ico to the resource-dir to customize).
      [01:39:39.776] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage16136521990387309270".
      [01:39:39.785] Using default package resource WinLauncher.template [Template for creating executable properties file] (add bug8230933AddLauncherTest.properties to the resource-dir to customize).
      [01:39:39.949] Succeeded in building Windows Application Image package
      [01:39:40.140] TRACE: exec: Done. Exit code: 0
      [01:39:40.140] TRACE: assertEquals(0): Check command [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\out-38964 --name bug8230933AddLauncherTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\\bug8230933\\fake_runtime -J-Djlink.debug=true --verbose](18) exited with 0 code
      [01:39:40.226] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\default_icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\default_icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:40.580] TRACE: exec: Done. Exit code: 0
      [01:39:40.580] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\default_icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\default_icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:40.611] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\default_icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:40.913] TRACE: exec: Done. Exit code: 0
      [01:39:40.913] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\default_icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:40.913] TRACE: Check icon file [.\\bug8230933\\icons\\default_icon.exe\\actual.bmp] of default_icon launcher is a copy of source icon file [.\\bug8230933\\icons\\default_icon.exe\\expected.bmp]
      [01:39:41.127] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "(Get-Item \\"C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe\\").VersionInfo | select FileDescription"](5); save output...

      FileDescription
      ---------------
      bug8230933AddLauncherTest


      [01:39:41.558] TRACE: exec: Done. Exit code: 0
      [01:39:41.559] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "(Get-Item \\"C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe\\").VersionInfo | select FileDescription"](5) exited with 0 code
      [01:39:41.578] TRACE: assertEquals(bug8230933AddLauncherTest): Check file description of [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe]
      [01:39:41.587] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe] path exists
      [01:39:41.587] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe] is a file
      [01:39:41.587] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe] file is executable
      [01:39:41.875] TRACE: exec: Execute ["C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\default_icon.exe"](1); inherit I/O; in directory [.\\bug8230933]...
      hello: Environment supports a display
      hello: Environment supports a desktop
      jpackage test application
      args.length: 0
      hello: Output file: [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt]
      [01:39:43.054] TRACE: exec: Done. Exit code: 0
      [01:39:43.100] TRACE: assertTrue(): Check [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] path exists
      [01:39:43.100] TRACE: assertTrue(): Check [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] is a file
      [01:39:43.103] TRACE: assertStringListEquals(): Check contents of [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] file
      [01:39:43.104] TRACE: assertStringListEquals(1, jpackage test application)
      [01:39:43.104] TRACE: assertStringListEquals(2, args.length: 0)
      [01:39:43.166] TRACE: assertFalse(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.ico] path doesn't exist
      [01:39:43.307] TRACE: exec: Execute tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4)...
      [01:39:43.476] TRACE: exec: Done. Exit code: 0
      [01:39:43.476] TRACE: assertEquals(0): Check command tool provider [javac -d .\\bug8230933\\jar-workdir C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\apps\\Hello.java](4) exited with 0 code
      [01:39:43.476] TRACE: Delete [.\\bug8230933\\input\\hello.jar] existing jar file
      [01:39:43.477] TRACE: exec: Execute tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7)...
      [01:39:43.481] TRACE: exec: Done. Exit code: 0
      [01:39:43.481] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\\bug8230933\\input\\hello.jar -C .\\bug8230933\\jar-workdir .](7) exited with 0 code
      [01:39:43.481] TRACE: Init fake runtime in [.\\bug8230933\\fake_runtime] directory
      [01:39:43.568] TRACE: Create [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\no-icon.properties] properties file...
      [01:39:43.568] TRACE: icon=
      [01:39:43.568] TRACE: Done
      [01:39:43.569] TRACE: Cleaning [.\\bug8230933\\out-38964] directory recursively
      [01:39:43.572] TRACE: exec: Execute [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\out-38964 --name bug8230933AddLauncherTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\\bug8230933\\fake_runtime --add-launcher no-icon=.\\bug8230933\\no-icon.properties -J-Djlink.debug=true --verbose](20); inherit I/O...
      [01:39:44.816] Creating app package: bug8230933AddLauncherTest in C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\out-38964
      [01:39:44.867] Using default package resource JavaApp.ico [icon] (add bug8230933AddLauncherTest.ico to the resource-dir to customize).
      [01:39:44.927] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage4363839787507949227".
      [01:39:44.940] Using default package resource WinLauncher.template [Template for creating executable properties file] (add bug8230933AddLauncherTest.properties to the resource-dir to customize).
      [01:39:45.192] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "c:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\tmp\\jdk.jpackage4363839787507949227".
      [01:39:45.194] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize).
      [01:39:45.203] Succeeded in building Windows Application Image package
      [01:39:45.320] TRACE: exec: Done. Exit code: 0
      [01:39:45.321] TRACE: assertEquals(0): Check command [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\jpackage.exe --input .\\bug8230933\\input --dest .\\bug8230933\\out-38964 --name bug8230933AddLauncherTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\\bug8230933\\fake_runtime --add-launcher no-icon=.\\bug8230933\\no-icon.properties -J-Djlink.debug=true --verbose](20) exited with 0 code
      [01:39:45.348] TRACE: assertFalse(): Check [.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.ico] path doesn't exist
      [01:39:45.375] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons.0\\no-icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons.0\\no-icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:45.852] TRACE: exec: Done. Exit code: 0
      [01:39:45.854] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons.0\\no-icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons.0\\no-icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:45.855] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons.0\\no-icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:46.193] TRACE: exec: Done. Exit code: 0
      [01:39:46.194] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons.0\\no-icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:46.194] TRACE: 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]
      [01:39:46.263] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "(Get-Item \\"C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe\\").VersionInfo | select FileDescription"](5); save output...

      FileDescription
      ---------------
      bug8230933AddLauncherTest


      [01:39:46.714] TRACE: exec: Done. Exit code: 0
      [01:39:46.714] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "(Get-Item \\"C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe\\").VersionInfo | select FileDescription"](5) exited with 0 code
      [01:39:46.714] TRACE: assertEquals(bug8230933AddLauncherTest): Check file description of [.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe]
      [01:39:46.714] TRACE: assertTrue(): Check [.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe] path exists
      [01:39:46.714] TRACE: assertTrue(): Check [.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe] is a file
      [01:39:46.714] TRACE: assertTrue(): Check [.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe] file is executable
      [01:39:46.715] TRACE: Not running .\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\no-icon.exe launcher because application runtime directory [.\\bug8230933\\out-38964\\bug8230933AddLauncherTest\\runtime] is incomplete
      [01:39:46.716] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\no_icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\no_icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:47.104] TRACE: exec: Done. Exit code: 0
      [01:39:47.104] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\no_icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\no_icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:47.104] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\no_icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:47.419] TRACE: exec: Done. Exit code: 0
      [01:39:47.419] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\no_icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:47.419] TRACE: Check icon file [.\\bug8230933\\icons\\no_icon.exe\\actual.bmp] of no_icon launcher is a copy of source icon file [.\\bug8230933\\icons\\no_icon.exe\\expected.bmp]
      [01:39:47.474] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "(Get-Item \\"C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe\\").VersionInfo | select FileDescription"](5); save output...

      FileDescription
      ---------------
      bug8230933AddLauncherTest


      [01:39:47.853] TRACE: exec: Done. Exit code: 0
      [01:39:47.853] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "(Get-Item \\"C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe\\").VersionInfo | select FileDescription"](5) exited with 0 code
      [01:39:47.853] TRACE: assertEquals(bug8230933AddLauncherTest): Check file description of [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe]
      [01:39:47.853] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe] path exists
      [01:39:47.853] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe] is a file
      [01:39:47.853] TRACE: assertTrue(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe] file is executable
      [01:39:47.854] TRACE: exec: Execute ["C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\no_icon.exe"](1); inherit I/O; in directory [.\\bug8230933]...
      hello: Environment supports a display
      hello: Environment supports a desktop
      jpackage test application
      args.length: 0
      hello: Output file: [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt]
      [01:39:49.024] TRACE: exec: Done. Exit code: 0
      [01:39:49.024] TRACE: assertTrue(): Check [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] path exists
      [01:39:49.024] TRACE: assertTrue(): Check [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] is a file
      [01:39:49.025] TRACE: assertStringListEquals(): Check contents of [C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\appOutput.txt] file
      [01:39:49.025] TRACE: assertStringListEquals(1, jpackage test application)
      [01:39:49.025] TRACE: assertStringListEquals(2, args.length: 0)
      [01:39:49.026] TRACE: assertFalse(): Check [.\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\custom_icon.ico] path doesn't exist
      [01:39:49.107] TRACE: Set icon of [.\\bug8230933\\icons\\custom_icon.exe\\container.exe] launcher to [C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+27-2114\\src.full\\open\\test\\jdk\\tools\\jpackage\\resources\\icon.ico] file
      [01:39:49.170] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\custom_icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\custom_icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:49.446] TRACE: exec: Done. Exit code: 0
      [01:39:49.446] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\custom_icon.exe\\container.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\custom_icon.exe\\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:49.446] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\custom_icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\custom_icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O...
      [01:39:49.707] TRACE: exec: Done. Exit code: 0
      [01:39:49.707] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\unpacked-msi\\Program Files\\bug8230933AddLauncherTest\\custom_icon.exe').ToBitmap().Save('C:\\sb\\prod\\1670374945\\testoutput\\test-support\\jtreg_open_test_jdk_core_tools\\scratch\\0\\bug8230933\\icons\\custom_icon.exe\\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code
      [01:39:49.707] TRACE: Check icon file [.\\bug8230933\\icons\\custom_icon.exe\\actual.bmp] of custom_icon launcher is a copy of source icon file [.\\bug8230933\\icons\\custom_icon.exe\\expected.bmp]
      [01:39:57.246] TRACE: assertEquals(32): Check expected and actual icons have the same width
      [01:39:57.246] TRACE: assertEquals(32): Check expected and actual icons have the same height
      [01:39:57.280] TRACE: Images mismatch at [0, 0] pixel
      [01:39:57.280] TRACE: Images mismatch at [0, 1] pixel
      [01:39:57.280] TRACE: Images mismatch at [0, 2] pixel

      <snip>

      [01:39:57.297] TRACE: Images mismatch at [31, 29] pixel
      [01:39:57.297] TRACE: Images mismatch at [31, 30] pixel
      [01:39:57.297] TRACE: Images mismatch at [31, 31] pixel
      [01:39:57.681] ERROR: Failed: Check the number of mismatched pixels [1024] of [1024] is < [0.100000] threshold
      [01:39:57.824] [ FAILED ] AddLauncherTest.bug8230933; checks=67

      <snip>

      [01:43:15.512] [==========] 6 tests ran
      [01:43:15.512] [ PASSED ] 5 tests
      [01:43:15.697] [ FAILED ] 1 test, listed below
      [01:43:15.728] [ FAILED ] AddLauncherTest.bug8230933; workDir=[.\\bug8230933]
      [01:43:15.799] 1 FAILED TEST
      The process cannot access the file because it is being used by another process.
      ----------System.err:(64/4496)----------
      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 jdk.jpackage.test.AdditionalLauncher.verifyIcon(AdditionalLauncher.java:286)
      at jdk.jpackage.test.AdditionalLauncher.verify(AdditionalLauncher.java:322)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at jdk.jpackage.test.PackageTest$Handler.lambda$verifyPackageInstalled$5(PackageTest.java:658)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:658)
      at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:592)
      at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:504)
      at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:411)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at java.base/java.lang.Iterable.forEach(Iterable.java:75)
      at jdk.jpackage.test.PackageTest.lambda$runActions$24(PackageTest.java:381)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at jdk.jpackage.test.PackageTest.lambda$runActions$25(PackageTest.java:380)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:379)
      at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58)
      at AddLauncherTest.bug8230933(AddLauncherTest.java:128)
      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:1599)
      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:1599)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: