This is regarding jdk17.0.11 b07 BASELINE_Ubuntu_24.04_x64 task.
tools/jpackage tests are failing on Ubuntu 24.04 machine with
----------System.err:(61/4212)----------
java.lang.AssertionError: Failed: Check [libc] package is in the list of required packages [] of [simplepackagetest] package
at jdk.jpackage.test.TKit.error(TKit.java:264)
at jdk.jpackage.test.TKit.assertTrue(TKit.java:644)
at jdk.jpackage.test.TKit.assertTrue(TKit.java:631)
at jdk.jpackage.test.LinuxHelper.verifyPackageBundleEssential(LinuxHelper.java:292)
at jdk.jpackage.test.PackageTest$Handler.verifyPackageBundle(PackageTest.java:545)
at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:524)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:447)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:396)
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$20(PackageTest.java:360)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:359)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:358)
at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:51)
at SimplePackageTest.test(SimplePackageTest.java:58)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
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:139)
at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:124)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:121)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
at jdk.jpackage.test.TKit.runTests(TKit.java:120)
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:107)
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:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:842)
java.lang.RuntimeException: 1 FAILED TEST
at jdk.jpackage.test.Main.reportSummary(Main.java:130)
at jdk.jpackage.test.Main.runTests(Main.java:90)
at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
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:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:842)
JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST
JavaTest Message: shutting down test
Pls check comments section for more details.
Affected Test Cases:
================
tools/jpackage/share/SimplePackageTest.java
tools/jpackage/share/RuntimePackageTest.java#id0
tools/jpackage/share/MultiNameTwoPhaseTest.java
tools/jpackage/share/MultiLauncherTwoPhaseTest.java
tools/jpackage/share/LicenseTest.java#id1
tools/jpackage/share/LicenseTest.java#id0
tools/jpackage/share/InstallDirTest.java#id0
tools/jpackage/share/IconTest.java
tools/jpackage/share/FileAssociationsTest.java#id0
tools/jpackage/share/EmptyFolderPackageTest.java
tools/jpackage/share/AppImagePackageTest.java
tools/jpackage/share/AddLauncherTest.java#id1
tools/jpackage/share/jdk/jpackage/tests/VendorTest.java#id1
tools/jpackage/share/jdk/jpackage/tests/BasicTest.java
tools/jpackage/linux/ShortcutHintTest.java#id0
tools/jpackage/linux/ReleaseTest.java
tools/jpackage/linux/PackageDepsTest.java
tools/jpackage/linux/MaintainerTest.java
tools/jpackage/linux/LinuxResourceTest.java
tools/jpackage/linux/LinuxBundleNameTest.java
tools/jpackage/linux/AppCategoryTest.java
tools/jpackage/linux/AppAboutUrlTest.java#id0
tools/jpackage/linux/jdk/jpackage/tests/UsrTreeTest.java
tools/jpackage tests are failing on Ubuntu 24.04 machine with
----------System.err:(61/4212)----------
java.lang.AssertionError: Failed: Check [libc] package is in the list of required packages [] of [simplepackagetest] package
at jdk.jpackage.test.TKit.error(TKit.java:264)
at jdk.jpackage.test.TKit.assertTrue(TKit.java:644)
at jdk.jpackage.test.TKit.assertTrue(TKit.java:631)
at jdk.jpackage.test.LinuxHelper.verifyPackageBundleEssential(LinuxHelper.java:292)
at jdk.jpackage.test.PackageTest$Handler.verifyPackageBundle(PackageTest.java:545)
at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:524)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:447)
at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:396)
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$20(PackageTest.java:360)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:359)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:358)
at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:51)
at SimplePackageTest.test(SimplePackageTest.java:58)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
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:139)
at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:124)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:121)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
at jdk.jpackage.test.TKit.runTests(TKit.java:120)
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:107)
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:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:842)
java.lang.RuntimeException: 1 FAILED TEST
at jdk.jpackage.test.Main.reportSummary(Main.java:130)
at jdk.jpackage.test.Main.runTests(Main.java:90)
at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
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:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:842)
JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST
JavaTest Message: shutting down test
Pls check comments section for more details.
Affected Test Cases:
================
tools/jpackage/share/SimplePackageTest.java
tools/jpackage/share/RuntimePackageTest.java#id0
tools/jpackage/share/MultiNameTwoPhaseTest.java
tools/jpackage/share/MultiLauncherTwoPhaseTest.java
tools/jpackage/share/LicenseTest.java#id1
tools/jpackage/share/LicenseTest.java#id0
tools/jpackage/share/InstallDirTest.java#id0
tools/jpackage/share/IconTest.java
tools/jpackage/share/FileAssociationsTest.java#id0
tools/jpackage/share/EmptyFolderPackageTest.java
tools/jpackage/share/AppImagePackageTest.java
tools/jpackage/share/AddLauncherTest.java#id1
tools/jpackage/share/jdk/jpackage/tests/VendorTest.java#id1
tools/jpackage/share/jdk/jpackage/tests/BasicTest.java
tools/jpackage/linux/ShortcutHintTest.java#id0
tools/jpackage/linux/ReleaseTest.java
tools/jpackage/linux/PackageDepsTest.java
tools/jpackage/linux/MaintainerTest.java
tools/jpackage/linux/LinuxResourceTest.java
tools/jpackage/linux/LinuxBundleNameTest.java
tools/jpackage/linux/AppCategoryTest.java
tools/jpackage/linux/AppAboutUrlTest.java#id0
tools/jpackage/linux/jdk/jpackage/tests/UsrTreeTest.java
- duplicates
-
JDK-8295111 dpkg appears to have problems resolving symbolically linked native libraries
- Closed