Skip to content

syscall: TestUseCgroupFD fails if /sys/fs/cgroup mounted read-only #57262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pmur opened this issue Dec 12, 2022 · 1 comment
Closed

syscall: TestUseCgroupFD fails if /sys/fs/cgroup mounted read-only #57262

pmur opened this issue Dec 12, 2022 · 1 comment
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@pmur
Copy link
Contributor

pmur commented Dec 12, 2022

This is observed on the linux/ppc64le/p10 builder.

On some versions of docker, /sys/fs/cgroup is mounted read-only within an unprivileged container. The test fails with:

exec_linux_test.go:524: mkdir /sys/fs/cgroup/subcg-457236693: read-only file system

Note, on the linux-ppc64le-power10osu builder, the host is ubuntu 22.04 running under the unified cgroup hierarchy, unlike the other PPC64 builders.

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Dec 12, 2022
@pmur pmur self-assigned this Dec 12, 2022
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/456835 mentions this issue: syscall: skip TestUseCgroupFD if cgroupfs mounted RO

@bcmills bcmills added Testing An issue that has been verified to require only test changes, not just a test failure. NeedsFix The path to resolution is known, but the work has not been done. labels Dec 12, 2022
@bcmills bcmills added this to the Go1.20 milestone Dec 12, 2022
@golang golang locked and limited conversation to collaborators Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

3 participants