Created
January 22, 2015 23:08
-
-
Save smarterclayton/79562b1ebccc007b3587 to your computer and use it in GitHub Desktop.
Data race
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================== | |
WARNING: DATA RACE | |
Read by goroutine 282: | |
sync.raceRead() | |
/usr/lib/golang/src/pkg/sync/race.go:37 +0x35 | |
sync.(*WaitGroup).Add() | |
/usr/lib/golang/src/pkg/sync/waitgroup.go:60 +0xbe | |
net/http/httptest.(*waitGroupHandler).ServeHTTP() | |
/usr/lib/golang/src/pkg/net/http/httptest/server.go:198 +0x5e | |
net/http.serverHandler.ServeHTTP() | |
/usr/lib/golang/src/pkg/net/http/server.go:1673 +0x1fc | |
net/http.(*conn).serve() | |
/usr/lib/golang/src/pkg/net/http/server.go:1174 +0xf9e | |
Previous write by goroutine 257: | |
sync.raceWrite() | |
/usr/lib/golang/src/pkg/sync/race.go:41 +0x35 | |
sync.(*WaitGroup).Wait() | |
/usr/lib/golang/src/pkg/sync/waitgroup.go:122 +0x176 | |
net/http/httptest.(*Server).Close() | |
/usr/lib/golang/src/pkg/net/http/httptest/server.go:168 +0x7e | |
github.com/openshift/origin/test/integration.(*testBuildOpenshift).Close() | |
/data/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/integration/buildclient_test.go:227 +0xe0 | |
github.com/openshift/origin/test/integration.TestWatchBuilds() | |
/data/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/integration/buildclient_test.go:111 +0x675 | |
testing.tRunner() | |
/usr/lib/golang/src/pkg/testing/testing.go:422 +0x10f | |
Goroutine 282 (running) created at: | |
net/http.(*Server).Serve() | |
/usr/lib/golang/src/pkg/net/http/server.go:1721 +0x35d | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment