Skip to content

Failed building 1.6 from source on docker #14693

@waghanza

Description

@waghanza

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?

go version 1.4 in order to build go 1.6

  1. What operating system and processor architecture are you using (go env)?
  • GOOS linux
  • GOARCH amd64
  1. What did you do?
    (Use play.golang.org to provide a runnable example, if possible.)
  2. What did you expect to see?
--- FAIL: TestHostname (0.00s)
    os_test.go:1287: fork/exec /bin/hostname: no such file or directory
--- FAIL: TestCloneNEWUSERAndRemapRootDisableSetgroups (0.00s)
    exec_linux_test.go:34: Failed to stat /proc/self/ns/user: stat /proc/self/ns/user: permission denied
--- FAIL: TestCloneNEWUSERAndRemapRootEnableSetgroups (0.00s)
    exec_linux_test.go:34: Failed to stat /proc/self/ns/user: stat /proc/self/ns/user: permission denied
--- FAIL: TestEmptyCredGroupsDisableSetgroups (0.00s)
    exec_linux_test.go:34: Failed to stat /proc/self/ns/user: stat /proc/self/ns/user: permission denied
  1. What did you see instead?

I expect those test run

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions