The following test failed in the JDK17 CI:
tools/jpackage/share/AppImagePackageTest.java
Here's a snippet from the log file:
[07:52:11.199] Succeeded in building Mac PKG Package package
[07:52:11.220] TRACE: exec: Done. Exit code: 0
[07:52:11.221] TRACE: assertEquals(0): Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type pkg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10) exited with 0 code
[07:52:11.222] TRACE: assertTrue(): Check [./test/output/AppImagePackageTest-1.0.pkg] path exists
[07:52:11.222] TRACE: assertTrue(): Check [./test/output/AppImagePackageTest-1.0.pkg] is a file
[07:52:11.224] TRACE: exec: Execute [pkgutil --expand ./test/output/AppImagePackageTest-1.0.pkg ./test/unpacked-pkg/data](4); discard I/O...
[07:52:11.636] TRACE: exec: Done. Exit code: 0
[07:52:11.636] TRACE: assertEquals(0): Check command [pkgutil --expand ./test/output/AppImagePackageTest-1.0.pkg ./test/unpacked-pkg/data](4) exited with 0 code
[07:52:11.707] TRACE: exec: Execute [tar -C ./test/unpacked-pkg/unpacked/Applications -xvf ./test/unpacked-pkg/data/AppImagePackageTest-app.pkg/Payload](5); discard I/O...
[07:52:12.871] TRACE: exec: Done. Exit code: 0
[07:52:12.872] TRACE: assertEquals(0): Check command [tar -C ./test/unpacked-pkg/unpacked/Applications -xvf ./test/unpacked-pkg/data/AppImagePackageTest-app.pkg/Payload](5) exited with 0 code
[07:52:12.872] TRACE: Verify unpacked: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type pkg --app-image ./test/appimage/AppImagePackageTest.app jpt-unpacked-folder ./test/unpacked-pkg/unpacked](11)
[07:52:12.895] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package
[07:52:12.897] TRACE: assertStringListEquals(1, ./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/app/.jpackage.xml)
[07:52:12.900] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime] path exists
[07:52:12.901] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime] is a directory
[07:52:12.907] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/MacOS/AppImagePackageTest] path exists
[07:52:12.907] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/MacOS/AppImagePackageTest] is a file
[07:52:12.907] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/MacOS/AppImagePackageTest] file is executable
[07:52:12.914] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/app/AppImagePackageTest.cfg] path exists
[07:52:12.915] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/app/AppImagePackageTest.cfg] is a file
[07:52:12.918] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime/Contents/MacOS/libjli.dylib] path exists
[07:52:12.918] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime/Contents/MacOS/libjli.dylib] is a file
[07:52:12.919] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type dmg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10); inherit I/O...
Timeout refired 2160 times
[08:27:50.437] TRACE: exec: Done. Exit code: 134
[08:27:50.437] ERROR: Expected [0]. Actual [134]: Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type dmg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10) exited with 0 code
[08:27:50.438] [ FAILED ] AppImagePackageTest.test; checks=19
tools/jpackage/share/AppImagePackageTest.java
Here's a snippet from the log file:
[07:52:11.199] Succeeded in building Mac PKG Package package
[07:52:11.220] TRACE: exec: Done. Exit code: 0
[07:52:11.221] TRACE: assertEquals(0): Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type pkg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10) exited with 0 code
[07:52:11.222] TRACE: assertTrue(): Check [./test/output/AppImagePackageTest-1.0.pkg] path exists
[07:52:11.222] TRACE: assertTrue(): Check [./test/output/AppImagePackageTest-1.0.pkg] is a file
[07:52:11.224] TRACE: exec: Execute [pkgutil --expand ./test/output/AppImagePackageTest-1.0.pkg ./test/unpacked-pkg/data](4); discard I/O...
[07:52:11.636] TRACE: exec: Done. Exit code: 0
[07:52:11.636] TRACE: assertEquals(0): Check command [pkgutil --expand ./test/output/AppImagePackageTest-1.0.pkg ./test/unpacked-pkg/data](4) exited with 0 code
[07:52:11.707] TRACE: exec: Execute [tar -C ./test/unpacked-pkg/unpacked/Applications -xvf ./test/unpacked-pkg/data/AppImagePackageTest-app.pkg/Payload](5); discard I/O...
[07:52:12.871] TRACE: exec: Done. Exit code: 0
[07:52:12.872] TRACE: assertEquals(0): Check command [tar -C ./test/unpacked-pkg/unpacked/Applications -xvf ./test/unpacked-pkg/data/AppImagePackageTest-app.pkg/Payload](5) exited with 0 code
[07:52:12.872] TRACE: Verify unpacked: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type pkg --app-image ./test/appimage/AppImagePackageTest.app jpt-unpacked-folder ./test/unpacked-pkg/unpacked](11)
[07:52:12.895] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package
[07:52:12.897] TRACE: assertStringListEquals(1, ./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/app/.jpackage.xml)
[07:52:12.900] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime] path exists
[07:52:12.901] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime] is a directory
[07:52:12.907] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/MacOS/AppImagePackageTest] path exists
[07:52:12.907] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/MacOS/AppImagePackageTest] is a file
[07:52:12.907] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/MacOS/AppImagePackageTest] file is executable
[07:52:12.914] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/app/AppImagePackageTest.cfg] path exists
[07:52:12.915] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/app/AppImagePackageTest.cfg] is a file
[07:52:12.918] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime/Contents/MacOS/libjli.dylib] path exists
[07:52:12.918] TRACE: assertTrue(): Check [./test/unpacked-pkg/unpacked/Applications/AppImagePackageTest.app/Contents/runtime/Contents/MacOS/libjli.dylib] is a file
[07:52:12.919] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type dmg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10); inherit I/O...
Timeout refired 2160 times
[08:27:50.437] TRACE: exec: Done. Exit code: 134
[08:27:50.437] ERROR: Expected [0]. Actual [134]: Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1508/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/jpackage --dest ./test/output --name AppImagePackageTest --type dmg --app-image ./test/appimage/AppImagePackageTest.app --verbose](10) exited with 0 code
[08:27:50.438] [ FAILED ] AppImagePackageTest.test; checks=19
- duplicates
-
JDK-8249395 (macos) jpackage tests timeout on MacPro5_1 systems
-
- Resolved
-