Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unittest flake: Data race in TestEventfNoNamespace #23647

Closed
bprashanth opened this issue Mar 30, 2016 · 1 comment
Closed

Unittest flake: Data race in TestEventfNoNamespace #23647

bprashanth opened this issue Mar 30, 2016 · 1 comment
Labels
kind/flake Categorizes issue or PR as related to a flaky test.

Comments

@bprashanth
Copy link
Contributor

https://pantheon.corp.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/23646/kubernetes-pull-test-unit-integration/19746/artifacts/

=== RUN   TestEventfNoNamespace
--- PASS: TestEventfNoNamespace (0.00s)
    events_cache_test.go:97: � - expectedEvent.Count is 1
==================
WARNING: DATA RACE
Write by goroutine 58:
  testing.(*common).log()
      /usr/local/go/src/testing/testing.go:353 +0x1e6
  testing.(*common).Logf()
      /usr/local/go/src/testing/testing.go:366 +0x82
  testing.(*common).Logf-fm()
      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event_test.go:351 +0x5f
  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartLogging.func1()
      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:216 +0x2a7
  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartEventWatcher.func1()
      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:237 +0x14e

Previous read by main goroutine:
  runtime.convT2E()
      /usr/local/go/src/runtime/iface.go:128 +0x0
  testing.(*T).report()
      /usr/local/go/src/testing/testing.go:538 +0xa18
  testing.RunTests()
      /usr/local/go/src/testing/testing.go:591 +0xbdf
  testing.(*M).Run()
      /usr/local/go/src/testing/testing.go:515 +0x11d
  main.main()
      k8s.io/kubernetes/pkg/client/record/_test/_testmain.go:70 +0x210

Goroutine 58 (running) created at:
  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartEventWatcher()
      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:239 +0x8f
  k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartLogging()
      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:217 +0xa5
  k8s.io/kubernetes/pkg/client/record.TestEventfNoNamespace()
      /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event_test.go:563 +0xfb4
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:473 +0xdc
==================
=== RUN   TestMultiSinkCache
@bprashanth bprashanth added team/control-plane kind/flake Categorizes issue or PR as related to a flaky test. labels Mar 30, 2016
@caesarxuchao
Copy link
Member

Closed in favor to #23533

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/flake Categorizes issue or PR as related to a flaky test.
Projects
None yet
Development

No branches or pull requests

2 participants