-
Bug
-
Resolution: Fixed
-
P4
-
17, 18
-
b18
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8280036 | 17.0.3-oracle | Dukebot | P4 | Resolved | Fixed | b03 |
JDK-8280014 | 17.0.3 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8289200 | 11.0.17 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
[COMMAND]
podman run --tty=true --rm --volume /disk/openjdk/upstream-sources/git/jdk-jdk/JTwork/hotspot_jtreg/classes/containers/docker/TestPids.d:/test-classes/ --pids-limit=-1 jdk-internal:test-pids /jdk/bin/java -Xlog:os+container=trace -cp /test-classes/ -Xbootclasspath/a:/test-classes/whitebox.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=34 -Djdk.test.container.command=podman PrintContainerInfo
----------System.err:(24/1172)----------
stdout: [];
stderr: [Error: OCI runtime error: writing file `pids.max`: Invalid argument
]
exitValue = 126
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at jdk.test.lib.containers.docker.Common.run(Common.java:85)
at TestPids.testPids(TestPids.java:134)
at TestPids.testPids(TestPids.java:71)
at TestPids.main(TestPids.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 com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
[COMMAND]
podman run --tty=true --rm --pids-limit=-1 jdk-internal:test-pids /jdk/bin/java -XshowSettings:system -Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=34 -Djdk.test.container.command=podman -version
----------System.err:(22/1095)----------
stdout: [];
stderr: [Error: OCI runtime error: writing file `pids.max`: Invalid argument
]
exitValue = 126
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at TestPidsLimit.testPidsLimit(TestPidsLimit.java:116)
at TestPidsLimit.main(TestPidsLimit.java:56)
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$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
- backported by
-
JDK-8280014 TestPids.java and TestPidsLimit.java fail with podman run as root
-
- Resolved
-
-
JDK-8280036 TestPids.java and TestPidsLimit.java fail with podman run as root
-
- Resolved
-
-
JDK-8289200 TestPids.java and TestPidsLimit.java fail with podman run as root
-
- Resolved
-
- relates to
-
JDK-8266490 Extend the OSContainer API to support the pids controller of cgroups
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/d7b6f7f6
-
Commit openjdk/jdk17u-dev/78e21539
-
Commit openjdk/jdk/94e31e5c
-
Review openjdk/jdk11u-dev/1186
-
Review openjdk/jdk17u-dev/95
-
Review openjdk/jdk/5750