{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/5155","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/5155/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/5155/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/5155/events","html_url":"https://github.com/coreos/etcd/issues/5155","id":150260636,"number":5155,"title":"race in test: TestIssue2746","user":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/etcd/labels/area/testing","name":"area/testing","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-22T04:10:01Z","updated_at":"2016-04-22T04:31:05Z","closed_at":null,"body":"TestIssue2746\r\n```\r\nWARNING: DATA RACE\r\nRead by goroutine 171:\r\n  github.com/coreos/etcd/raft.(*node).step()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/raft/node.go:415 +0x7b\r\n  github.com/coreos/etcd/raft.(*node).Propose()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/raft/node.go:390 +0x152\r\n  github.com/coreos/etcd/etcdserver.(*EtcdServer).sync.func1()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/server.go:860 +0x98\r\n\r\nPrevious write by goroutine 7:\r\n  github.com/coreos/etcd/raft.(*node).run()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/raft/node.go:328 +0xf66\r\n\r\nGoroutine 171 (running) created at:\r\n  github.com/coreos/etcd/etcdserver.(*EtcdServer).sync()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/server.go:862 +0x2a5\r\n  github.com/coreos/etcd/etcdserver.(*raftNode).start.func1()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/raft.go:229 +0x1296\r\n\r\nGoroutine 7 (running) created at:\r\n  github.com/coreos/etcd/raft.StartNode()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/raft/node.go:203 +0x827\r\n  github.com/coreos/etcd/etcdserver.startNode()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/raft.go:315 +0xbb5\r\n  github.com/coreos/etcd/etcdserver.NewServer()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/server.go:320 +0x4318\r\n  github.com/coreos/etcd/integration.(*member).Launch()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/integration/cluster.go:543 +0x72\r\n  github.com/coreos/etcd/integration.(*cluster).Launch.func1()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/integration/cluster.go:141 +0x2e\r\n```"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/213247160","html_url":"https://github.com/coreos/etcd/issues/5155#issuecomment-213247160","issue_url":"https://api.github.com/repos/coreos/etcd/issues/5155","id":213247160,"user":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T04:31:05Z","updated_at":"2016-04-22T04:31:05Z","body":"```\r\nWARNING: DATA RACE\r\nRead by goroutine 465:\r\n  github.com/coreos/etcd/etcdserver/stats.(*ServerStats).BecomeLeader()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/stats/server.go:145 +0x37\r\n  github.com/coreos/etcd/etcdserver.(*raftNode).start.func1()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/raft.go:173 +0x684\r\n\r\nPrevious write by goroutine 347:\r\n  github.com/coreos/etcd/etcdserver/stats.(*ServerStats).RecvAppendReq()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/stats/server.go:105 +0xb8\r\n  github.com/coreos/etcd/etcdserver.(*EtcdServer).Process()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/server.go:503 +0x3c7\r\n  github.com/coreos/etcd/rafthttp.startPeer.func1()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/rafthttp/peer.go:144 +0x169\r\n\r\nGoroutine 465 (running) created at:\r\n  github.com/coreos/etcd/etcdserver.(*raftNode).start()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/raft.go:234 +0x329\r\n  github.com/coreos/etcd/etcdserver.(*EtcdServer).run()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/server.go:529 +0x1f5\r\n\r\nGoroutine 347 (finished) created at:\r\n  github.com/coreos/etcd/rafthttp.startPeer()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/rafthttp/peer.go:151 +0xa8d\r\n  github.com/coreos/etcd/rafthttp.(*Transport).AddPeer()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/rafthttp/transport.go:234 +0x4f2\r\n  github.com/coreos/etcd/etcdserver.NewServer()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/etcdserver/server.go:431 +0x317a\r\n  github.com/coreos/etcd/integration.(*member).Launch()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/integration/cluster.go:543 +0x72\r\n  github.com/coreos/etcd/integration.(*cluster).Launch.func1()\r\n      /Users/xiangli/go/src/github.com/coreos/etcd/integration/cluster.go:141 +0x2e\r\n```\r\nanother one"}}