[ RUN ] AdditionalLaunchersTest.test TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/fa.properties] properties file... TRACE: description=jpackage test extention TRACE: extension=AdditionalLaunchersTest TRACE: mime-type=application/x-jpackage-AdditionalLaunchersTest TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/Baz2.properties] properties file... TRACE: arguments= TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/foo.properties] properties file... TRACE: arguments=yep! TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/Bar.properties] properties file... TRACE: arguments=one two three TRACE: Done TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name AdditionalLaunchersTest --package-type pkg --main-jar hello.jar --main-class Hello --file-associations ./test/fa.properties --arguments Duke --arguments is --arguments the --arguments King --main-jar hello.jar --main-class Hello --add-launcher Baz2=./test/Baz2.properties --add-launcher foo=./test/foo.properties --add-launcher Bar=./test/Bar.properties --verbose](34); inherit I/O... TRACE: Done. Exit code: 134 ERROR: Expected [0]. Actual [134]: Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name AdditionalLaunchersTest --package-type pkg --main-jar hello.jar --main-class Hello --file-associations ./test/fa.properties --arguments Duke --arguments is --arguments the --arguments King --main-jar hello.jar --main-class Hello --add-launcher Baz2=./test/Baz2.properties --add-launcher foo=./test/foo.properties --add-launcher Bar=./test/Bar.properties --verbose](34) exited with 0 code [ FAILED ] AdditionalLaunchersTest.test; checks=5 java.lang.AssertionError: Expected [0]. Actual [134]: Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name AdditionalLaunchersTest --package-type pkg --main-jar hello.jar --main-class Hello --file-associations ./test/fa.properties --arguments Duke --arguments is --arguments the --arguments King --main-jar hello.jar --main-class Hello --add-launcher Baz2=./test/Baz2.properties --add-launcher foo=./test/foo.properties --add-launcher Bar=./test/Bar.properties --verbose](34) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:238) at jdk.jpackage.test.TKit.assertEquals(TKit.java:532) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:159) at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:309) at jdk.jpackage.test.PackageTest.lambda$run$19(PackageTest.java:253) at java.base/java.util.ArrayList.forEach(ArrayList.java:1510) at jdk.jpackage.test.PackageTest.run(PackageTest.java:253) at AdditionalLaunchersTest.test(AdditionalLaunchersTest.java:87) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) at jdk.jpackage.test.TestInstance.run(TestInstance.java:224) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:131) at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:116) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1624) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:113) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:95) at jdk.jpackage.test.TKit.runTests(TKit.java:112) 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:89) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99) at jdk.jpackage.test.Main.main(Main.java:75) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) at java.base/java.lang.Thread.run(Thread.java:830) [==========] 1 tests ran [ PASSED ] 0 tests [ FAILED ] 1 test, listed below [ FAILED ] AdditionalLaunchersTest.test; workDir=[./test] 1 FAILED TEST [ RUN ] AppImagePackageTest TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./input/hello.jar -C ./jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./input/hello.jar -C ./jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./input --dest appimage --name AppImagePackageTest --package-type app-image --main-jar hello.jar --main-class Hello --package-type app-image --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type dmg --app-image appimage/AppImagePackageTest.app --verbose](10); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type dmg --app-image appimage/AppImagePackageTest.app --verbose](10) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.dmg] is a file TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type pkg --app-image appimage/AppImagePackageTest.app --verbose](10); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type pkg --app-image appimage/AppImagePackageTest.app --verbose](10) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.pkg] is a file TRACE: Deleting [.] directory recursively TRACE: java.nio.file.FileSystemException: .: Invalid argument [ OK ] AppImagePackageTest; checks=8 [ RUN ] FileAssociationsTest.test TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa.properties] properties file... TRACE: description=jpackage test extention TRACE: extension=jptest1 TRACE: mime-type=application/x-jpackage-jptest1 TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa2.properties] properties file... TRACE: icon=/Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../resources/icon.icns TRACE: description=jpackage test extention TRACE: extension=jptest2 TRACE: mime-type=application/x-jpackage-jptest2 TRACE: Done TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type dmg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type dmg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.dmg] is a file TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa.properties] properties file... TRACE: description=jpackage test extention TRACE: extension=jptest1 TRACE: mime-type=application/x-jpackage-jptest1 TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa2.properties] properties file... TRACE: icon=/Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../resources/icon.icns TRACE: description=jpackage test extention TRACE: extension=jptest2 TRACE: mime-type=application/x-jpackage-jptest2 TRACE: Done TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type pkg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type pkg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.pkg] is a file TRACE: Deleting [./test] directory recursively [ OK ] FileAssociationsTest.test; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] InstallDirTest.testCommon TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type pkg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type pkg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.pkg] is a file TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./testCommon/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type dmg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type dmg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.dmg] is a file TRACE: Deleting [./testCommon] directory recursively [ OK ] InstallDirTest.testCommon; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] LicenseTest.testCommon TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type dmg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type dmg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.dmg] is a file TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./testCommon/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type pkg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type pkg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.pkg] is a file TRACE: Deleting [./testCommon] directory recursively [ OK ] LicenseTest.testCommon; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] SimplePackageTest.test TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type dmg --main-jar hello.jar --main-class Hello --verbose](14); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type dmg --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.dmg] is a file TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type pkg --main-jar hello.jar --main-class Hello --verbose](14); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type pkg --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.pkg] is a file TRACE: Deleting [./test] directory recursively [ OK ] SimplePackageTest.test; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] MacPropertiesTest.testPackageIdetifier(Foo) TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./testPackageIdetifier.25608476/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testPackageIdetifier.25608476/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testPackageIdetifier.25608476/input/hello.jar -C ./testPackageIdetifier.25608476/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testPackageIdetifier.25608476/input/hello.jar -C ./testPackageIdetifier.25608476/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageIdetifier.25608476/input --dest ./testPackageIdetifier.25608476/output --name PackageIdetifierMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-identifier Foo --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageIdetifier.25608476/input --dest ./testPackageIdetifier.25608476/output --name PackageIdetifierMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-identifier Foo --verbose](16) exited with 0 code TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/runtime] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/runtime] is a directory TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest] is a file TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest] file is executable TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/app/PackageIdetifierMacPropertiesTest.cfg] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/app/PackageIdetifierMacPropertiesTest.cfg] is a file TRACE: Execute [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest](1); discard I/O; in directory [./testPackageIdetifier.25608476]... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest](1) exited with 0 code TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageIdetifier.25608476/appOutput.txt] path exists TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageIdetifier.25608476/appOutput.txt] is a file TRACE: assertStringListEquals(): Check contents of [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageIdetifier.25608476/appOutput.txt] file TRACE: assertStringListEquals(1, jpackage test application) TRACE: assertStringListEquals(2, args.length: 0) TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/Info.plist] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/Info.plist] is a file TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/Info.plist] file is readable TRACE: assertEquals(Foo): Check value of CFBundleIdentifier plist key TRACE: Deleting [./testPackageIdetifier.25608476] directory recursively [ OK ] MacPropertiesTest.testPackageIdetifier(Foo); checks=18 [ RUN ] MacPropertiesTest.testPackageName(MacPackageNameTest) TRACE: Execute tool provider [javac -d ./testPackageName.01934392/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testPackageName.01934392/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testPackageName.01934392/input/hello.jar -C ./testPackageName.01934392/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testPackageName.01934392/input/hello.jar -C ./testPackageName.01934392/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageName.01934392/input --dest ./testPackageName.01934392/output --name PackageNameMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-name MacPackageNameTest --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageName.01934392/input --dest ./testPackageName.01934392/output --name PackageNameMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-name MacPackageNameTest --verbose](16) exited with 0 code TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/runtime] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/runtime] is a directory TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest] is a file TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest] file is executable TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/app/PackageNameMacPropertiesTest.cfg] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/app/PackageNameMacPropertiesTest.cfg] is a file TRACE: Execute [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest](1); discard I/O; in directory [./testPackageName.01934392]... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest](1) exited with 0 code TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageName.01934392/appOutput.txt] path exists TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageName.01934392/appOutput.txt] is a file TRACE: assertStringListEquals(): Check contents of [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageName.01934392/appOutput.txt] file TRACE: assertStringListEquals(1, jpackage test application) TRACE: assertStringListEquals(2, args.length: 0) TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/Info.plist] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/Info.plist] is a file TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/Info.plist] file is readable TRACE: assertEquals(MacPackageNameTest): Check value of CFBundleName plist key TRACE: Deleting [./testPackageName.01934392] directory recursively [ OK ] MacPropertiesTest.testPackageName(MacPackageNameTest); checks=18 [==========] 2 tests ran [ PASSED ] 2 tests [ RUN ] SigningAppImageTest TRACE: Execute [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6); save output... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6) exited with 0 code TRACE: Did not found a key for 'Developer ID Application: jpackage.openjdk.java.net' TRACE: Skip the test: Cannot find required certifciates: null TRACE: Deleting [.] directory recursively TRACE: java.nio.file.FileSystemException: .: Invalid argument [ SKIPPED ] SigningAppImageTest; checks=1 jtreg.SkippedException: Cannot find required certifciates: null at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at jdk.jpackage.test.TKit.lambda$throwSkippedException$13(TKit.java:445) at jdk.jpackage.test.Functional$ThrowingSupplier.lambda$toSupplier$0(Functional.java:55) at jdk.jpackage.test.TKit.throwSkippedException(TKit.java:445) at SigningCheck.validateCertificate(SigningCheck.java:83) at SigningCheck.checkCertificates(SigningCheck.java:39) at SigningAppImageTest.lambda$main$0(SigningAppImageTest.java:54) at jdk.jpackage.test.TestInstance.lambda$new$1(TestInstance.java:151) at jdk.jpackage.test.TestInstance.run(TestInstance.java:224) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:131) at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:116) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:113) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99) at jdk.jpackage.test.TKit.runTests(TKit.java:112) at jdk.jpackage.test.TKit.lambda$run$2(TKit.java:86) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.run(TKit.java:86) at SigningAppImageTest.main(SigningAppImageTest.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) at java.base/java.lang.Thread.run(Thread.java:830) [ RUN ] SigningPackageTest TRACE: Execute [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6); save output... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6) exited with 0 code TRACE: Did not found a key for 'Developer ID Application: jpackage.openjdk.java.net' TRACE: Skip the test: Cannot find required certifciates: null TRACE: Deleting [.] directory recursively TRACE: java.nio.file.FileSystemException: .: Invalid argument [ SKIPPED ] SigningPackageTest; checks=1 jtreg.SkippedException: Cannot find required certifciates: null at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at jdk.jpackage.test.TKit.lambda$throwSkippedException$13(TKit.java:445) at jdk.jpackage.test.Functional$ThrowingSupplier.lambda$toSupplier$0(Functional.java:55) at jdk.jpackage.test.TKit.throwSkippedException(TKit.java:445) at SigningCheck.validateCertificate(SigningCheck.java:83) at SigningCheck.checkCertificates(SigningCheck.java:39) at SigningPackageTest.lambda$main$2(SigningPackageTest.java:75) at jdk.jpackage.test.TestInstance.lambda$new$1(TestInstance.java:151) at jdk.jpackage.test.TestInstance.run(TestInstance.java:224) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:131) at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:116) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:113) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99) at jdk.jpackage.test.TKit.runTests(TKit.java:112) at jdk.jpackage.test.TKit.lambda$run$2(TKit.java:86) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.run(TKit.java:86) at SigningPackageTest.main(SigningPackageTest.java:74) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) at java.base/java.lang.Thread.run(Thread.java:830) [ RUN ] AdditionalLaunchersTest.test TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/fa.properties] properties file... TRACE: description=jpackage test extention TRACE: extension=AdditionalLaunchersTest TRACE: mime-type=application/x-jpackage-AdditionalLaunchersTest TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/Baz2.properties] properties file... TRACE: arguments= TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/foo.properties] properties file... TRACE: arguments=yep! TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/Bar.properties] properties file... TRACE: arguments=one two three TRACE: Done TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name AdditionalLaunchersTest --package-type dmg --main-jar hello.jar --main-class Hello --file-associations ./test/fa.properties --arguments Duke --arguments is --arguments the --arguments King --main-jar hello.jar --main-class Hello --add-launcher Baz2=./test/Baz2.properties --add-launcher foo=./test/foo.properties --add-launcher Bar=./test/Bar.properties --verbose](34); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name AdditionalLaunchersTest --package-type dmg --main-jar hello.jar --main-class Hello --file-associations ./test/fa.properties --arguments Duke --arguments is --arguments the --arguments King --main-jar hello.jar --main-class Hello --add-launcher Baz2=./test/Baz2.properties --add-launcher foo=./test/foo.properties --add-launcher Bar=./test/Bar.properties --verbose](34) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/AdditionalLaunchersTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/AdditionalLaunchersTest-1.0.dmg] is a file TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/fa.properties] properties file... TRACE: description=jpackage test extention TRACE: extension=AdditionalLaunchersTest TRACE: mime-type=application/x-jpackage-AdditionalLaunchersTest TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/Baz2.properties] properties file... TRACE: arguments= TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/foo.properties] properties file... TRACE: arguments=yep! TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/AdditionalLaunchersTest/test/Bar.properties] properties file... TRACE: arguments=one two three TRACE: Done TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name AdditionalLaunchersTest --package-type pkg --main-jar hello.jar --main-class Hello --file-associations ./test/fa.properties --arguments Duke --arguments is --arguments the --arguments King --main-jar hello.jar --main-class Hello --add-launcher Baz2=./test/Baz2.properties --add-launcher foo=./test/foo.properties --add-launcher Bar=./test/Bar.properties --verbose](34); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name AdditionalLaunchersTest --package-type pkg --main-jar hello.jar --main-class Hello --file-associations ./test/fa.properties --arguments Duke --arguments is --arguments the --arguments King --main-jar hello.jar --main-class Hello --add-launcher Baz2=./test/Baz2.properties --add-launcher foo=./test/foo.properties --add-launcher Bar=./test/Bar.properties --verbose](34) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/AdditionalLaunchersTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/AdditionalLaunchersTest-1.0.pkg] is a file TRACE: Deleting [./test] directory recursively [ OK ] AdditionalLaunchersTest.test; checks=14 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] AppImagePackageTest TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./input/hello.jar -C ./jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./input/hello.jar -C ./jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./input --dest appimage --name AppImagePackageTest --package-type app-image --main-jar hello.jar --main-class Hello --package-type app-image --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type dmg --app-image appimage/AppImagePackageTest.app --verbose](10); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type dmg --app-image appimage/AppImagePackageTest.app --verbose](10) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.dmg] is a file TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type pkg --app-image appimage/AppImagePackageTest.app --verbose](10); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --dest /Users/uadmin/output --name AppImagePackageTest --package-type pkg --app-image appimage/AppImagePackageTest.app --verbose](10) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/AppImagePackageTest-1.0.pkg] is a file TRACE: Deleting [.] directory recursively TRACE: java.nio.file.FileSystemException: .: Invalid argument [ OK ] AppImagePackageTest; checks=8 [ RUN ] FileAssociationsTest.test TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa.properties] properties file... TRACE: description=jpackage test extention TRACE: extension=jptest1 TRACE: mime-type=application/x-jpackage-jptest1 TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa2.properties] properties file... TRACE: icon=/Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../resources/icon.icns TRACE: description=jpackage test extention TRACE: extension=jptest2 TRACE: mime-type=application/x-jpackage-jptest2 TRACE: Done TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type pkg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type pkg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.pkg] is a file TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa.properties] properties file... TRACE: description=jpackage test extention TRACE: extension=jptest1 TRACE: mime-type=application/x-jpackage-jptest1 TRACE: Done TRACE: Create [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest/test/fa2.properties] properties file... TRACE: icon=/Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../resources/icon.icns TRACE: description=jpackage test extention TRACE: extension=jptest2 TRACE: mime-type=application/x-jpackage-jptest2 TRACE: Done TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type dmg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name FileAssociationsTest --package-type dmg --file-associations ./test/fa.properties --main-jar hello.jar --main-class Hello --file-associations ./test/fa2.properties --verbose](18) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/FileAssociationsTest-1.0.dmg] is a file TRACE: Deleting [./test] directory recursively [ OK ] FileAssociationsTest.test; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] InstallDirTest.testCommon TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type dmg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type dmg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.dmg] is a file TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./testCommon/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type pkg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonInstallDirTest --package-type pkg --main-jar hello.jar --main-class Hello --install-dir /Application/jpackage --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonInstallDirTest-1.0.pkg] is a file TRACE: Deleting [./testCommon] directory recursively [ OK ] InstallDirTest.testCommon; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] LicenseTest.testCommon TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type dmg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type dmg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.dmg] is a file TRACE: Execute tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testCommon/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./testCommon/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testCommon/input/hello.jar -C ./testCommon/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type pkg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testCommon/input --dest /Users/uadmin/output --name CommonLicenseTest --package-type pkg --main-jar hello.jar --main-class Hello --license-file testCommon/license.txt --verbose](16) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/CommonLicenseTest-1.0.pkg] is a file TRACE: Deleting [./testCommon] directory recursively [ OK ] LicenseTest.testCommon; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] SimplePackageTest.test TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type pkg --main-jar hello.jar --main-class Hello --verbose](14); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type pkg --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.pkg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.pkg] is a file TRACE: Execute tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./test/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/share/../apps/image/Hello.java](4) exited with 0 code TRACE: Delete [./test/input/hello.jar] existing jar file TRACE: Execute tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test/input/hello.jar -C ./test/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type dmg --main-jar hello.jar --main-class Hello --verbose](14); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest /Users/uadmin/output --name SimplePackageTest --package-type dmg --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.dmg] path exists TRACE: assertTrue(): Check [/Users/uadmin/output/SimplePackageTest-1.0.dmg] is a file TRACE: Deleting [./test] directory recursively [ OK ] SimplePackageTest.test; checks=10 [==========] 1 tests ran [ PASSED ] 1 test [ RUN ] MacPropertiesTest.testPackageIdetifier(Foo) TRACE: Bundler dmg supported TRACE: Bundler pkg supported TRACE: Execute tool provider [javac -d ./testPackageIdetifier.25608476/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testPackageIdetifier.25608476/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testPackageIdetifier.25608476/input/hello.jar -C ./testPackageIdetifier.25608476/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testPackageIdetifier.25608476/input/hello.jar -C ./testPackageIdetifier.25608476/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageIdetifier.25608476/input --dest ./testPackageIdetifier.25608476/output --name PackageIdetifierMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-identifier Foo --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageIdetifier.25608476/input --dest ./testPackageIdetifier.25608476/output --name PackageIdetifierMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-identifier Foo --verbose](16) exited with 0 code TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/runtime] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/runtime] is a directory TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest] is a file TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest] file is executable TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/app/PackageIdetifierMacPropertiesTest.cfg] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/app/PackageIdetifierMacPropertiesTest.cfg] is a file TRACE: Execute [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest](1); discard I/O; in directory [./testPackageIdetifier.25608476]... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/MacOS/PackageIdetifierMacPropertiesTest](1) exited with 0 code TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageIdetifier.25608476/appOutput.txt] path exists TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageIdetifier.25608476/appOutput.txt] is a file TRACE: assertStringListEquals(): Check contents of [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageIdetifier.25608476/appOutput.txt] file TRACE: assertStringListEquals(1, jpackage test application) TRACE: assertStringListEquals(2, args.length: 0) TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/Info.plist] path exists TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/Info.plist] is a file TRACE: assertTrue(): Check [./testPackageIdetifier.25608476/output/PackageIdetifierMacPropertiesTest.app/Contents/Info.plist] file is readable TRACE: assertEquals(Foo): Check value of CFBundleIdentifier plist key TRACE: Deleting [./testPackageIdetifier.25608476] directory recursively [ OK ] MacPropertiesTest.testPackageIdetifier(Foo); checks=18 [ RUN ] MacPropertiesTest.testPackageName(MacPackageNameTest) TRACE: Execute tool provider [javac -d ./testPackageName.01934392/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [javac -d ./testPackageName.01934392/jar-workdir /Users/uadmin/sandbox/test/jdk/tools/jpackage/macosx/../apps/image/Hello.java](4) exited with 0 code TRACE: Execute tool provider [jar -c -f ./testPackageName.01934392/input/hello.jar -C ./testPackageName.01934392/jar-workdir .](7)... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testPackageName.01934392/input/hello.jar -C ./testPackageName.01934392/jar-workdir .](7) exited with 0 code TRACE: Execute [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageName.01934392/input --dest ./testPackageName.01934392/output --name PackageNameMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-name MacPackageNameTest --verbose](16); inherit I/O... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/Users/uadmin/Downloads/jdk-14.jdk/Contents/Home/bin/jpackage --input ./testPackageName.01934392/input --dest ./testPackageName.01934392/output --name PackageNameMacPropertiesTest --package-type app-image --main-jar hello.jar --main-class Hello --mac-package-name MacPackageNameTest --verbose](16) exited with 0 code TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/runtime] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/runtime] is a directory TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest] is a file TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest] file is executable TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/app/PackageNameMacPropertiesTest.cfg] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/app/PackageNameMacPropertiesTest.cfg] is a file TRACE: Execute [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest](1); discard I/O; in directory [./testPackageName.01934392]... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/MacOS/PackageNameMacPropertiesTest](1) exited with 0 code TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageName.01934392/appOutput.txt] path exists TRACE: assertTrue(): Check [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageName.01934392/appOutput.txt] is a file TRACE: assertStringListEquals(): Check contents of [/private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/macosx/MacPropertiesTest/testPackageName.01934392/appOutput.txt] file TRACE: assertStringListEquals(1, jpackage test application) TRACE: assertStringListEquals(2, args.length: 0) TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/Info.plist] path exists TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/Info.plist] is a file TRACE: assertTrue(): Check [./testPackageName.01934392/output/PackageNameMacPropertiesTest.app/Contents/Info.plist] file is readable TRACE: assertEquals(MacPackageNameTest): Check value of CFBundleName plist key TRACE: Deleting [./testPackageName.01934392] directory recursively [ OK ] MacPropertiesTest.testPackageName(MacPackageNameTest); checks=18 [==========] 2 tests ran [ PASSED ] 2 tests [ RUN ] SigningAppImageTest TRACE: Execute [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6); save output... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6) exited with 0 code TRACE: Using key 'Developer ID Application: jpackage.openjdk.java.net TRACE: Execute [security dump-trust-settings](2); save output... TRACE: Done. Exit code: 255 ERROR: Expected [0]. Actual [255]: Check command [security dump-trust-settings](2) exited with 0 code [ FAILED ] SigningAppImageTest; checks=2 java.lang.AssertionError: Expected [0]. Actual [255]: Check command [security dump-trust-settings](2) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:238) at jdk.jpackage.test.TKit.assertEquals(TKit.java:532) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:159) at jdk.jpackage.test.Executor$Result.assertExitCodeIsZero(Executor.java:166) at jdk.jpackage.test.Executor.executeAndGetOutput(Executor.java:197) at SigningCheck.validateCertificateTrust(SigningCheck.java:90) at SigningCheck.checkCertificates(SigningCheck.java:40) at SigningAppImageTest.lambda$main$0(SigningAppImageTest.java:54) at jdk.jpackage.test.TestInstance.lambda$new$1(TestInstance.java:151) at jdk.jpackage.test.TestInstance.run(TestInstance.java:224) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:131) at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:116) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:113) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99) at jdk.jpackage.test.TKit.runTests(TKit.java:112) at jdk.jpackage.test.TKit.lambda$run$2(TKit.java:86) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.run(TKit.java:86) at SigningAppImageTest.main(SigningAppImageTest.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) at java.base/java.lang.Thread.run(Thread.java:830) [ RUN ] SigningPackageTest TRACE: Execute [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6); save output... TRACE: Done. Exit code: 0 TRACE: assertEquals(0): Check command [security find-certificate -c "Developer ID Application: jpackage.openjdk.java.net" -a jpackagerTest.keychain](6) exited with 0 code TRACE: Using key 'Developer ID Application: jpackage.openjdk.java.net TRACE: Execute [security dump-trust-settings](2); save output... TRACE: Done. Exit code: 255 ERROR: Expected [0]. Actual [255]: Check command [security dump-trust-settings](2) exited with 0 code [ FAILED ] SigningPackageTest; checks=2 java.lang.AssertionError: Expected [0]. Actual [255]: Check command [security dump-trust-settings](2) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:238) at jdk.jpackage.test.TKit.assertEquals(TKit.java:532) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:159) at jdk.jpackage.test.Executor$Result.assertExitCodeIsZero(Executor.java:166) at jdk.jpackage.test.Executor.executeAndGetOutput(Executor.java:197) at SigningCheck.validateCertificateTrust(SigningCheck.java:90) at SigningCheck.checkCertificates(SigningCheck.java:40) at SigningPackageTest.lambda$main$2(SigningPackageTest.java:75) at jdk.jpackage.test.TestInstance.lambda$new$1(TestInstance.java:151) at jdk.jpackage.test.TestInstance.run(TestInstance.java:224) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:131) at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:116) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:113) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99) at jdk.jpackage.test.TKit.runTests(TKit.java:112) at jdk.jpackage.test.TKit.lambda$run$2(TKit.java:86) at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89) at jdk.jpackage.test.TKit.run(TKit.java:86) at SigningPackageTest.main(SigningPackageTest.java:74) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) at java.base/java.lang.Thread.run(Thread.java:830)