Closed
Description
The failure is the following:
WARNING: DATA RACE
Write by goroutine 95:
sync.raceWrite()
/tmp/workdir/go/src/sync/race.go:41 +0x2e
sync.(*WaitGroup).Wait()
/tmp/workdir/go/src/sync/waitgroup.go:124 +0xf9
net/http/httptest.(*Server).Close()
/tmp/workdir/go/src/net/http/httptest/server.go:168 +0x80
k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/oidc.TestOIDCAuthentication()
/workspace/kubernetes/_output/local/go/src/k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/oidc/oidc_test.go:395 +0x1fc1
testing.tRunner()
/tmp/workdir/go/src/testing/testing.go:456 +0xdc
Previous read by goroutine 142:
sync.raceRead()
/tmp/workdir/go/src/sync/race.go:37 +0x2e
sync.(*WaitGroup).Add()
/tmp/workdir/go/src/sync/waitgroup.go:66 +0xfa
net/http/httptest.(*waitGroupHandler).ServeHTTP()
/tmp/workdir/go/src/net/http/httptest/server.go:198 +0x5c
net/http.serverHandler.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1862 +0x206
net/http.(*conn).serve()
/tmp/workdir/go/src/net/http/server.go:1361 +0x117c
@timothysc @kubernetes/goog-testing @yifan-gu