-
Bug
-
Resolution: Fixed
-
P4
-
17, 21, 22
-
b15
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8316205 | 21.0.2 | Matthias Baesken | P4 | Resolved | Fixed | b02 |
JDK-8323218 | 17.0.11-oracle | Alexey Semenyuk | P4 | Resolved | Fixed | b01 |
JDK-8317239 | 17.0.10 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
It looks like these errors occur when running the jtreg tests with higher concurrency, I did not see them when running just the single test.
When adding some test output , we see the 2 top install dirs below (1 is expected, not 2) :
./test/unpacked-rpm/opt
./test/unpacked-rpm/usr
error output :
java.lang.AssertionError: Expected [1]. Actual [2]: Check the package has 1 top installation directories
at jdk.jpackage.test.TKit.error(TKit.java:273)
at jdk.jpackage.test.TKit.assertEquals(TKit.java:576)
at jdk.jpackage.test.PackageTest$Handler.verifyRootCountInUnpackedPackage(PackageTest.java:705)
at jdk.jpackage.test.PackageTest$Handler.lambda$verifyPackageInstalled$3(PackageTest.java:635)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:633)
at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:592)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:504)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:411)
at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at jdk.jpackage.test.PackageTest.lambda$runActions$24(PackageTest.java:381)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at jdk.jpackage.test.PackageTest.lambda$runActions$25(PackageTest.java:380)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:379)
at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58)
at RuntimePackageTest.test(RuntimePackageTest.java:83)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
at jdk.jpackage.test.TestInstance.run(TestInstance.java:230)
at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:141)
at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:126)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:123)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109)
at jdk.jpackage.test.TKit.runTests(TKit.java:122)
at jdk.jpackage.test.Main.runTests(Main.java:79)
at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109)
at jdk.jpackage.test.Main.main(Main.java:75)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
java.lang.AssertionError: Expected [1]. Actual [2]: Check the package has 1 top installation directories
at jdk.jpackage.test.TKit.error(TKit.java:273)
at jdk.jpackage.test.TKit.assertEquals(TKit.java:576)
at jdk.jpackage.test.PackageTest$Handler.verifyRootCountInUnpackedPackage(PackageTest.java:705)
at jdk.jpackage.test.PackageTest$Handler.lambda$verifyPackageInstalled$3(PackageTest.java:635)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:633)
at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:592)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:504)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:411)
at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at jdk.jpackage.test.PackageTest.lambda$runActions$24(PackageTest.java:381)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at jdk.jpackage.test.PackageTest.lambda$runActions$25(PackageTest.java:380)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:379)
at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58)
at RuntimePackageTest.testUsrInstallDir(RuntimePackageTest.java:90)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
at jdk.jpackage.test.TestInstance.run(TestInstance.java:230)
at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:141)
at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:126)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:123)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109)
at jdk.jpackage.test.TKit.runTests(TKit.java:122)
at jdk.jpackage.test.Main.runTests(Main.java:79)
at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109)
at jdk.jpackage.test.Main.main(Main.java:75)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
- backported by
-
JDK-8316205 test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
- Resolved
-
JDK-8317239 test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
- Resolved
-
JDK-8323218 test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
- Resolved
- relates to
-
JDK-8311631 When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
- Resolved
-
JDK-8316563 test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/9404b2b1
-
Commit openjdk/jdk21u/42e5cd80
-
Commit openjdk/jdk/8107eab3
-
Review openjdk/jdk17u-dev/1799
-
Review openjdk/jdk21u/154
-
Review openjdk/jdk/15528