On Mon, 25 Nov 2024 09:44:33 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:

> ```
> "echo '+memory' > /sys/fs/cgroup/memory/cgroup.subtree_control ; "
> ```
> 
> ... relies on the user in the container image to be `root`. So depending on 
> which base image is being used - by means of 
> `-Djdk.test.docker.image.name=XXX -Djdk.test.docker.image.version=XX` - it 
> might fail unexpectedly with permission errors.

The default base image in the test library is "ubuntu:latest" with `root` as 
the default user. `--privileged` ensures the cgroup files are mounted 
read-write.

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

PR Comment: https://git.openjdk.org/jdk/pull/21808#issuecomment-2503316548

Reply via email to