{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/15354","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/15354/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/15354/comments","events_url":"https://api.github.com/repos/golang/go/issues/15354/events","html_url":"https://github.com/golang/go/issues/15354","id":149283892,"number":15354,"title":"runtime: Go 1.6.1 TestGDBPython is failing on linux amd64","user":{"login":"williamh","id":64355,"avatar_url":"https://avatars.githubusercontent.com/u/64355?v=3","gravatar_id":"","url":"https://api.github.com/users/williamh","html_url":"https://github.com/williamh","followers_url":"https://api.github.com/users/williamh/followers","following_url":"https://api.github.com/users/williamh/following{/other_user}","gists_url":"https://api.github.com/users/williamh/gists{/gist_id}","starred_url":"https://api.github.com/users/williamh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamh/subscriptions","organizations_url":"https://api.github.com/users/williamh/orgs","repos_url":"https://api.github.com/users/williamh/repos","events_url":"https://api.github.com/users/williamh/events{/privacy}","received_events_url":"https://api.github.com/users/williamh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/31","html_url":"https://github.com/golang/go/milestones/Go1.7","labels_url":"https://api.github.com/repos/golang/go/milestones/31/labels","id":1414133,"number":31,"title":"Go1.7","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":242,"closed_issues":364,"state":"open","created_at":"2015-11-16T16:57:07Z","updated_at":"2016-05-17T05:07:56Z","due_on":"2016-07-31T07:00:00Z","closed_at":null},"comments":8,"created_at":"2016-04-18T22:01:00Z","updated_at":"2016-05-17T09:17:27Z","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\r\n2. What operating system and processor architecture are you using (`go env`)?\r\n\r\n\r\n3. What did you do?\r\nIf possible, provide a recipe for reproducing the error.\r\nA complete runnable program is good.\r\nA link on play.golang.org is best.\r\n\r\n\r\n4. What did you expect to see?\r\n\r\n\r\n5. What did you see instead?\r\n\r\n\r\nI am the maintainer of Go on Gentoo Linux, and I have gotten a couple of reports of this test failing. I checked on my system, and it fails like this:\r\n\r\n--- FAIL: TestGdbPython (0.65s)\r\n\truntime-gdb_test.go:42: gdb version 7.10\r\n\truntime-gdb_test.go:148: info goroutines failed: END\r\n\t\tBEGIN print mapvar\r\n\t\tNo symbol \"mapvar\" in current context.\r\nFAIL\r\nFAIL\truntime\t13.576s\r\n\r\nAny help would be appreciated."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/219663356","html_url":"https://github.com/golang/go/issues/15354#issuecomment-219663356","issue_url":"https://api.github.com/repos/golang/go/issues/15354","id":219663356,"user":{"login":"cuihtlauac","id":1917592,"avatar_url":"https://avatars.githubusercontent.com/u/1917592?v=3","gravatar_id":"","url":"https://api.github.com/users/cuihtlauac","html_url":"https://github.com/cuihtlauac","followers_url":"https://api.github.com/users/cuihtlauac/followers","following_url":"https://api.github.com/users/cuihtlauac/following{/other_user}","gists_url":"https://api.github.com/users/cuihtlauac/gists{/gist_id}","starred_url":"https://api.github.com/users/cuihtlauac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuihtlauac/subscriptions","organizations_url":"https://api.github.com/users/cuihtlauac/orgs","repos_url":"https://api.github.com/users/cuihtlauac/repos","events_url":"https://api.github.com/users/cuihtlauac/events{/privacy}","received_events_url":"https://api.github.com/users/cuihtlauac/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T09:17:27Z","updated_at":"2016-05-17T09:17:27Z","body":"Actually, I had to add the same line twice to pass all the tests:--- a/src/runtime/runtime-gdb_test.go\r\n\r\n    +++ b/src/runtime/runtime-gdb_test.go\r\n    @@ -98,6 +98,7 @@ func TestGdbPython(t *testing.T) {\r\n     \r\n            args := []string{\"-nx\", \"-q\", \"--batch\", \"-iex\",\r\n                    fmt.Sprintf(\"add-auto-load-safe-path %s/src/runtime\", runtime.GO\r\n    +               \"-ex\", \"set startup-with-shell off\",\r\n                    \"-ex\", \"info auto-load python-scripts\",\r\n                    \"-ex\", \"br main.go:10\",\r\n                    \"-ex\", \"run\",\r\n    @@ -226,6 +227,7 @@ func TestGdbBacktrace(t *testing.T) {\r\n     \r\n            // Execute gdb commands.\r\n            args := []string{\"-nx\", \"-batch\",\r\n    +               \"-ex\", \"set startup-with-shell off\",\r\n                    \"-ex\", \"break main.eee\",\r\n                    \"-ex\", \"run\",\r\n                    \"-ex\", \"backtrace\",\r\n"}}