{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23533","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23533/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23533/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23533/events","html_url":"https://github.com/kubernetes/kubernetes/issues/23533","id":143951288,"number":23533,"title":"unit flake: TestEventf is racy","user":{"login":"wojtek-t","id":10743879,"avatar_url":"https://avatars.githubusercontent.com/u/10743879?v=3","gravatar_id":"","url":"https://api.github.com/users/wojtek-t","html_url":"https://github.com/wojtek-t","followers_url":"https://api.github.com/users/wojtek-t/followers","following_url":"https://api.github.com/users/wojtek-t/following{/other_user}","gists_url":"https://api.github.com/users/wojtek-t/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtek-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtek-t/subscriptions","organizations_url":"https://api.github.com/users/wojtek-t/orgs","repos_url":"https://api.github.com/users/wojtek-t/repos","events_url":"https://api.github.com/users/wojtek-t/events{/privacy}","received_events_url":"https://api.github.com/users/wojtek-t/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/test","name":"area/test","color":"fad8c7"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/flake","name":"kind/flake","color":"f7c6c7"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/CSI-API%20Machinery%20SIG","name":"team/CSI-API Machinery SIG","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-28T11:03:43Z","updated_at":"2016-03-29T13:52:10Z","closed_at":null,"body":"WARNING: DATA RACE\r\nWrite by goroutine 32:\r\n  testing.(*common).log()\r\n      /usr/local/go/src/testing/testing.go:353 +0x1e6\r\n  testing.(*common).Logf()\r\n      /usr/local/go/src/testing/testing.go:366 +0x82\r\n  testing.(*common).Logf-fm()\r\n      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event_test.go:351 +0x5f\r\n  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartLogging.func1()\r\n      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:216 +0x2a7\r\n  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartEventWatcher.func1()\r\n      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:237 +0x14e\r\n\r\nPrevious read by main goroutine:\r\n  runtime.convT2E()\r\n      /usr/local/go/src/runtime/iface.go:128 +0x0\r\n  testing.(*T).report()\r\n      /usr/local/go/src/testing/testing.go:538 +0xa18\r\n  testing.RunTests()\r\n      /usr/local/go/src/testing/testing.go:591 +0xbdf\r\n  testing.(*M).Run()\r\n      /usr/local/go/src/testing/testing.go:515 +0x11d\r\n  main.main()\r\n      k8s.io/kubernetes/pkg/client/record/_test/_testmain.go:70 +0x210\r\n\r\nGoroutine 32 (running) created at:\r\n  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartEventWatcher()\r\n      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:239 +0x8f\r\n  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartLogging()\r\n      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:217 +0xa5\r\n  k8s.io/kubernetes/pkg/client/record.TestEventf()\r\n      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event_test.go:351 +0x3034\r\n  testing.tRunner()\r\n      /usr/local/go/src/testing/testing.go:473 +0xdc\r\n\r\nhttps://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/23527/kubernetes-pull-test-unit-integration/19502/build-log.txt"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/202902596","html_url":"https://github.com/kubernetes/kubernetes/issues/23533#issuecomment-202902596","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23533","id":202902596,"user":{"login":"ncdc","id":354,"avatar_url":"https://avatars.githubusercontent.com/u/354?v=3","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T13:52:10Z","updated_at":"2016-03-29T13:52:10Z","body":"I think this is an issue with go 1.6. `testing.(T).report()` doesn't grab the lock for `output` like it should so it doesn't race with `testing.(common).log()`. It looks like this has maybe been fixed in go by https://go-review.googlesource.com/#/c/18893/."}}