{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/14693","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/14693/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/14693/comments","events_url":"https://api.github.com/repos/golang/go/issues/14693/events","html_url":"https://github.com/golang/go/issues/14693","id":139102859,"number":14693,"title":"Failed building 1.6 from source on docker","user":{"login":"waghanza","id":1440729,"avatar_url":"https://avatars.githubusercontent.com/u/1440729?v=3","gravatar_id":"","url":"https://api.github.com/users/waghanza","html_url":"https://github.com/waghanza","followers_url":"https://api.github.com/users/waghanza/followers","following_url":"https://api.github.com/users/waghanza/following{/other_user}","gists_url":"https://api.github.com/users/waghanza/gists{/gist_id}","starred_url":"https://api.github.com/users/waghanza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waghanza/subscriptions","organizations_url":"https://api.github.com/users/waghanza/orgs","repos_url":"https://api.github.com/users/waghanza/repos","events_url":"https://api.github.com/users/waghanza/events{/privacy}","received_events_url":"https://api.github.com/users/waghanza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-07T21:38:54Z","updated_at":"2016-03-07T21:46:03Z","closed_at":null,"body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n1. What version of Go are you using (`go version`)?\r\n\r\n**go** version `1.4` in order to build **go** `1.6`\r\n\r\n2. What operating system and processor architecture are you using (`go env`)?\r\n\r\n+ **GOOS** `linux`\r\n+ **GOARCH** `amd64`\r\n\r\n3. What did you do?\r\n(Use play.golang.org to provide a runnable example, if possible.)\r\n\r\n\r\n4. What did you expect to see?\r\n\r\n~~~sh\r\n--- FAIL: TestHostname (0.00s)\r\n\tos_test.go:1287: fork/exec /bin/hostname: no such file or directory\r\n--- FAIL: TestCloneNEWUSERAndRemapRootDisableSetgroups (0.00s)\r\n\texec_linux_test.go:34: Failed to stat /proc/self/ns/user: stat /proc/self/ns/user: permission denied\r\n--- FAIL: TestCloneNEWUSERAndRemapRootEnableSetgroups (0.00s)\r\n\texec_linux_test.go:34: Failed to stat /proc/self/ns/user: stat /proc/self/ns/user: permission denied\r\n--- FAIL: TestEmptyCredGroupsDisableSetgroups (0.00s)\r\n\texec_linux_test.go:34: Failed to stat /proc/self/ns/user: stat /proc/self/ns/user: permission denied\r\n~~~\r\n\r\n5. What did you see instead?\r\n\r\nI expect those test run\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/193468085","html_url":"https://github.com/golang/go/issues/14693#issuecomment-193468085","issue_url":"https://api.github.com/repos/golang/go/issues/14693","id":193468085,"user":{"login":"waghanza","id":1440729,"avatar_url":"https://avatars.githubusercontent.com/u/1440729?v=3","gravatar_id":"","url":"https://api.github.com/users/waghanza","html_url":"https://github.com/waghanza","followers_url":"https://api.github.com/users/waghanza/followers","following_url":"https://api.github.com/users/waghanza/following{/other_user}","gists_url":"https://api.github.com/users/waghanza/gists{/gist_id}","starred_url":"https://api.github.com/users/waghanza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waghanza/subscriptions","organizations_url":"https://api.github.com/users/waghanza/orgs","repos_url":"https://api.github.com/users/waghanza/repos","events_url":"https://api.github.com/users/waghanza/events{/privacy}","received_events_url":"https://api.github.com/users/waghanza/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T21:46:03Z","updated_at":"2016-03-07T21:46:03Z","body":"sorry, there is my dockerfile\r\nmy purpose is to build from a clean env (could be a **Vagrant** on a **VirtualBox**)\r\n~~~dockerfile\r\nFROM fedora:latest\r\nMAINTAINER waghanza@gmail.com\r\n\r\nRUN dnf -y update\r\nRUN dnf -y install @development-tools @rpm-development-tools git golang\r\n\r\nRUN dnf -y install wget\r\nRUN wget -O /tmp/go.tgz https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz\r\nRUN mkdir /root/go1.4\r\nRUN tar -xvzf /tmp/go.tgz -C /root/go1.4\r\nENV GOROOT_BOOTSTRAP /root/go1.4/go\r\nRUN echo localhost > /etc/hostname\r\n\r\nRUN git clone https://go.googlesource.com/go /opt/go\r\n\r\nRUN cd /opt/go && git tag | sort -V | grep -v -E 'weekly|release|beta|rc' | tail -n1 | xargs git checkout\r\n~~~"}}