Skip to content
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

syscall: TestGroupCleanupUserNamespace needs additional output value #16303

Closed
pto opened this issue Jul 8, 2016 · 1 comment
Closed

syscall: TestGroupCleanupUserNamespace needs additional output value #16303

pto opened this issue Jul 8, 2016 · 1 comment

Comments

@pto
Copy link

@pto pto commented Jul 8, 2016

Running the ARM version of ArchLinux, the id command is returning a slight variant of the strings listed in TestGroupCleanupUserNamespace in src/syscall/exec_linux_test.go lines 238-240. It lists "65534" but doesn't translate that to any group name.

  1. What version of Go are you using (go version)?
    go version go1.7rc1 linux/arm64

  2. What operating system and processor architecture are you using (go env)?
    ArchLinux ARM (kernel 3.14.65-14 on ODROID-C2)
    GOARCH="arm64"
    GOBIN=""
    GOEXE=""
    GOHOSTARCH="arm64"
    GOHOSTOS="linux"
    GOOS="linux"
    GOPATH="/home/pto/go"
    GORACE=""
    GOROOT="/usr/local/go"
    GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm64"
    CC="gcc"
    GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build205812448=/tmp/go-build -gno-record-gcc-switches"
    CXX="g++"
    CGO_ENABLED="1"

  3. What did you do?
    sudo go tool dist test -run syscall

  4. What did you expect to see?
    ALL TESTS PASSED

  5. What did you see instead?

    Testing packages.

    --- FAIL: TestGroupCleanupUserNamespace (0.00s)
    exec_linux_test.go:247: id command output: "uid=0(root) gid=0(root) groups=0(root),65534", expected one of ["uid=0(root) gid=0(root) groups=0(root)" "uid=0(root) gid=0(root) groups=0(root),65534(nobody)" "uid=0(root) gid=0(root) groups=0(root),65534(nogroup)"]
    FAIL
    FAIL syscall 0.157s
    2016/07/08 13:57:42 Failed: exit status 1

@gopherbot
Copy link

@gopherbot gopherbot commented Jul 8, 2016

CL https://golang.org/cl/24833 mentions this issue.

@gopherbot gopherbot closed this in 54b499e Jul 8, 2016
@golang golang locked and limited conversation to collaborators Jul 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.