-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b21
-
linux_alpine
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8286905 | 18u-cpu | Matthias Baesken | P4 | Resolved | Fixed | master |
JDK-8286801 | 18.0.2 | Matthias Baesken | P4 | Resolved | Fixed | b07 |
JDK-8286485 | 17.0.4 | Matthias Baesken | P4 | Resolved | Fixed | b03 |
JDK-8295326 | 11.0.18 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
However, muslc does not implement dlclose().
https://wiki.musl-libc.org/functional-differences-from-glibc.html
"musl’s dynamic loader loads libraries permanently for the lifetime of the process, until it exits or calls exec. dlclose is a no-op. "
Test should be modified for Alpine.
-----------------------------------
error is like this (on Alpine 3.15) :
at AttachReturnError.run(AttachReturnError.java:47)
at AttachFailedTestBase.cli(AttachFailedTestBase.java:63)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
Caused by: java.lang.RuntimeException: '/home/build/linux-x86_64-server-release/images/test/hotspot/jtreg/native/libReturnError.so' found in stdout
at jdk.test.lib.process.OutputAnalyzer.shouldNotContain(OutputAnalyzer.java:267)
at AttachReturnError.run(AttachReturnError.java:45)
... 29 more
===============================================
serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java
Total tests run: 2, Passes: 0, Failures: 2, Skips: 0
===============================================
- backported by
-
JDK-8286485 serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine
-
- Resolved
-
-
JDK-8286801 serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine
-
- Resolved
-
-
JDK-8286905 serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine
-
- Resolved
-
-
JDK-8295326 serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/fb364dbe
-
Commit openjdk/jdk17u-dev/c735f555
-
Commit openjdk/jdk18u/2e9dda4a
-
Commit openjdk/jdk/0f62cb6f
-
Review openjdk/jdk11u-dev/1449
-
Review openjdk/jdk17u-dev/382
-
Review openjdk/jdk18u/125
-
Review openjdk/jdk/8515