RFR: 8374322: TestMemoryWithSubgroups.java fails Permission denied
David Holmes
dholmes at openjdk.org
Tue Jan 6 02:11:14 UTC 2026
On Wed, 24 Dec 2025 03:34:05 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> Test containers/docker/TestMemoryWithSubgroups.java fails on some docker images. If the default user inside docker is non root user, test will report fails "mkdir: cannot create directory '/sys/fs/cgroup/memory': Permission denied". I think it's better to throw SkippedException rather than report failure when it's do not have root permission inside docker.
>
> Change has been verified locally on ubuntu22(cgroup v2). Test-fix only, no risk.
I think this has been discussed in the past and it was considered a test environment configuration error and so should be reported rather than being silently ignored.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28975#issuecomment-3712817189
More information about the hotspot-runtime-dev
mailing list