-
Notifications
You must be signed in to change notification settings - Fork 18k
syscall: GNU/Linux tests fail when run as root inside container #21379
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
Comments
If you run Have you tried |
Thanks for your response Daniel. Yes, they execute:
|
CC @LK4D4 |
There are definitely not enough permissions in simple docker container to create user or mount namespaces (I'm actually surprised that it was able to create network namespace). |
The network namespace tests already ignore permission errors. Perhaps ignoring permission errors should be logged as "OK - unable to test, no permission" ? |
Drive-by clarification:
Sounds like a case for |
Change https://golang.org/cl/58170 mentions this issue: |
@mdcnz would you mind trying with master? |
What version of Go are you using (
go version
)?1.9 and tip
What operating system and processor architecture are you using (
go env
)?host: ubuntu16 x86_64
docker: 17.06.0-ce
container: golang:1.9
What did you do?
Tried to compile and test golang tip using docker golang:1.9 image.
Dockerfile:
Tried to build with:
docker build --no-cache -t dogo-img .
What did you expect to see?
All tests pass
What did you see instead?
Might be related to
The text was updated successfully, but these errors were encountered: