On Tue, 14 Jul 2026 01:27:37 GMT, Shiv Shah <[email protected]> wrote:

> Adds  :z to the shared /tmp volume mounts in these container tests so the 
> SELinux relabel happens automatically. Without it, under SELinux enforcing 
> the container can't write to the bind-mounted dir and the tests fail with 
> "/tmp/started Permission denied" on cgroups-v2 hosts.
> 
> :z matches the existing pattern in TestJcmd.java. Verified on OL9 aarch64 and 
> OL9 x64 cgroups-v2 and all 3 tests pass.
> 
> Note: there's also a separate host-side cpu cgroup delegation issue on some 
> aarch64 hosts that affects TestLimitsUpdating; that's a setup/infra fix, 
> tracked separately from this test change
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 7a6258be
Author:    Shiv Shah <[email protected]>
Committer: Leonid Mesnik <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/7a6258be5e96f97df75fb73da1dd95ec7dc255c8
Stats:     3 lines in 3 files changed: 0 ins; 0 del; 3 mod

8324871: Several container tests fail with java.io.tmpdir directory does not 
exist on linux-aarch64 cgroups-v2

Reviewed-by: lmesnik, sspitsyn

-------------

PR: https://git.openjdk.org/jdk/pull/31890

Reply via email to