Details
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8249209 | 16 | Alexey Semenyuk | P3 | Resolved | Fixed | b06 |
JDK-8250159 | 15.0.2 | Alexey Semenyuk | P3 | Resolved | Fixed | b01 |
JDK-8250458 | 15.0.1 | Alexey Semenyuk | P3 | Resolved | Fixed | b03 |
Description
The following test failed in the JDK15 CI:
tools/jpackage/share/jdk/jpackage/tests/BasicTest.java
Here's a snippet from the failing log:
Generating DEB for installer to: /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb.
Running [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb]
dpkg-deb: building package 'tempbasictest' in '/opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb'.
semop(1): encountered an error: Invalid argument
/usr/bin/fakeroot: 1: kill: No such process
java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb] exited with 1 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:75)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildDeb(LinuxDebBundler.java:459)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildPackageBundle(LinuxDebBundler.java:179)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:149)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:646)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:515)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.execute(Main.java:98)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.main(Main.java:52)
Kept working directory for debug: /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb
jdk.incubator.jpackage.internal.PackagerException: java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb] exited with 1 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:162)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:646)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:515)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.execute(Main.java:98)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.main(Main.java:52)
Caused by: java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb] exited with 1 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:75)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildDeb(LinuxDebBundler.java:459)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildPackageBundle(LinuxDebBundler.java:179)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:149)
... 4 more
TRACE: exec: Done. Exit code: 1
ERROR: Expected [0]. Actual [1]: Check command [/opt/mach5/mesos/work_dir/jib-master/install/jdk-15+27-1333/linux-x64.jdk/jdk-15/bin/jpackage --input ./testTemp/input --dest ./testTemp/output --name TempBasicTest --type deb --main-jar hello.jar --main-class Hello --temp ./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb --verbose](16) exited with 0 code
[ FAILED ] BasicTest.testTemp; checks=4
Since this is a Tier2 failure, I would normally start this bug
off at P3, but the failure hasn't reproduced in subsequent
Tier2 test runs.
tools/jpackage/share/jdk/jpackage/tests/BasicTest.java
Here's a snippet from the failing log:
Generating DEB for installer to: /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb.
Running [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb]
dpkg-deb: building package 'tempbasictest' in '/opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb'.
semop(1): encountered an error: Invalid argument
/usr/bin/fakeroot: 1: kill: No such process
java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb] exited with 1 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:75)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildDeb(LinuxDebBundler.java:459)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildPackageBundle(LinuxDebBundler.java:179)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:149)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:646)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:515)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.execute(Main.java:98)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.main(Main.java:52)
Kept working directory for debug: /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb
jdk.incubator.jpackage.internal.PackagerException: java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb] exited with 1 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:162)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:646)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:515)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.execute(Main.java:98)
at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.main(Main.java:52)
Caused by: java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb/images, /opt/mach5/mesos/work_dir/slaves/63712a43-4eaa-429c-95b4-483ac8241123-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/172ada6a-643c-4f68-bd84-52f51f6dc1cb/runs/ce0b876a-0078-4730-8646-650844ee6325/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/./testTemp/output/tempbasictest_1.0-1_amd64.deb] exited with 1 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:75)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildDeb(LinuxDebBundler.java:459)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxDebBundler.buildPackageBundle(LinuxDebBundler.java:179)
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.LinuxPackageBundler.execute(LinuxPackageBundler.java:149)
... 4 more
TRACE: exec: Done. Exit code: 1
ERROR: Expected [0]. Actual [1]: Check command [/opt/mach5/mesos/work_dir/jib-master/install/jdk-15+27-1333/linux-x64.jdk/jdk-15/bin/jpackage --input ./testTemp/input --dest ./testTemp/output --name TempBasicTest --type deb --main-jar hello.jar --main-class Hello --temp ./testTemp/temp-root/tempbasictest_1.0-1_amd64.deb --verbose](16) exited with 0 code
[ FAILED ] BasicTest.testTemp; checks=4
Since this is a Tier2 failure, I would normally start this bug
off at P3, but the failure hasn't reproduced in subsequent
Tier2 test runs.
Attachments
Issue Links
- backported by
-
JDK-8249209 jpackage tests failed due to "semop(1): encountered an error: Invalid argument"
-
- Resolved
-
-
JDK-8250159 jpackage tests failed due to "semop(1): encountered an error: Invalid argument"
-
- Resolved
-
-
JDK-8250458 jpackage tests failed due to "semop(1): encountered an error: Invalid argument"
-
- Resolved
-
- duplicates
-
JDK-8246679 tools/jpackage/linux/PackageDepsTest.java is failing
-
- Resolved
-
-
JDK-8248297 dpkg failures on Ubuntu
-
- Closed
-
-
JDK-8247644 RuntimePackageTest.java#id0 failed RuntimePackageTest.testUsrInstallDir2
-
- Closed
-
(1 duplicates)