-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 24, 25
-
b22
There are more variants of "podman version string" than we initially thought.
For example, TestJcmd.java fail to parse "podman version 4.9.4-rhel".
This leads to the test being skipped.
```
podman --version returning: podman version 4.9.4-rhel
Failed to parse podman version: podman version 4.9.4-rhel
----------System.err:(12/725)----------
jtreg.SkippedException: Podman version too old for this test. Expected >= 3.3.1
at TestJcmd.main(TestJcmd.java:68)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:842)
```
For example, TestJcmd.java fail to parse "podman version 4.9.4-rhel".
This leads to the test being skipped.
```
podman --version returning: podman version 4.9.4-rhel
Failed to parse podman version: podman version 4.9.4-rhel
----------System.err:(12/725)----------
jtreg.SkippedException: Podman version too old for this test. Expected >= 3.3.1
at TestJcmd.main(TestJcmd.java:68)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:842)
```
- relates to
-
JDK-8273216 JCMD does not work across container boundaries with Podman
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/328715d8
-
Review(master) openjdk/jdk/25041