After integration of JDK-8327114 the following failure in containers/docker/TestJcmdWithSideCar.java has been observed:
----------System.err:(11/638)----------
java.lang.RuntimeException: ACCESS_TMP_VIA_PROC_ROOT: Could not find specified process
at TestJcmdWithSideCar.testCase01(TestJcmdWithSideCar.java:138)
at TestJcmdWithSideCar.main(TestJcmdWithSideCar.java:111)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1576)
----------System.err:(11/638)----------
java.lang.RuntimeException: ACCESS_TMP_VIA_PROC_ROOT: Could not find specified process
at TestJcmdWithSideCar.testCase01(TestJcmdWithSideCar.java:138)
at TestJcmdWithSideCar.main(TestJcmdWithSideCar.java:111)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1576)
- relates to
-
JDK-8341349 [Linux] jcmd -l doesn't work with elevated privileges and shared pid namespace only
- Open
-
JDK-8327114 Attach in Linux may have wrong behaviour when pid == ns_pid (Kubernetes debug container)
- Resolved
- links to
-
Commit(master) openjdk/jdk/21f8ccf4
-
Review(master) openjdk/jdk/21289