RFR: 8374322: TestMemoryWithSubgroups.java fails Permission denied [v2]
SendaoYan
syan at openjdk.org
Tue Jan 6 07:33:12 UTC 2026
> 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.
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
Revert "8374322: TestMemoryWithSubgroups.java fails Permission denied"
This reverts commit be21ae5d78e63673cfaaa79be70d47f7331f5298.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28975/files
- new: https://git.openjdk.org/jdk/pull/28975/files/be21ae5d..0c8f3101
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28975&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28975&range=00-01
Stats: 11 lines in 1 file changed: 0 ins; 7 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/28975.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28975/head:pull/28975
PR: https://git.openjdk.org/jdk/pull/28975
More information about the hotspot-runtime-dev
mailing list