runEmbeddedCommands

Bug #1900619 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Heather Lanigan

Bug Description

https://jenkins.juju.canonical.com/job/RunUnittests-race-amd64/2833/console

19:11:17 WARNING: DATA RACE
19:11:17 Read at 0x00c000c70430 by goroutine 176:
19:11:17 github.com/mitchellh/go-linereader.(*Reader).Run()
19:11:17 /workspace/_build/src/github.com/juju/juju/vendor/github.com/mitchellh/go-linereader/linereader.go:88 +0x221
19:11:17
19:11:17 Previous write at 0x00c000c70430 by goroutine 50:
19:11:17 github.com/juju/juju/apiserver.(*embeddedCLIHandler).runEmbeddedCommands()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/embeddedcli.go:161 +0x2b0
19:11:17 github.com/juju/juju/apiserver.(*embeddedCLIHandler).ServeHTTP.func1()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/embeddedcli.go:86 +0x788
19:11:17 github.com/juju/juju/apiserver/websocket.Serve()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/websocket/websocket.go:55 +0x19a
19:11:17 github.com/juju/juju/apiserver.(*embeddedCLIHandler).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/embeddedcli.go:100 +0x86
19:11:17 github.com/juju/juju/apiserver.(*Server).trackRequests.func1()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/apiserver.go:916 +0x1a3
19:11:17 net/http.HandlerFunc.ServeHTTP()
19:11:17 /snap/go/6435/src/net/http/server.go:2041 +0x51
19:11:17 github.com/juju/juju/apiserver/httpcontext.(*QueryModelHandler).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/httpcontext/model.go:52 +0x114
19:11:17 github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/vendor/github.com/bmizerany/pat/mux.go:117 +0x254
19:11:17 github.com/juju/juju/apiserver/apiserverhttp.(*Mux).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/apiserverhttp/mux.go:67 +0x93
19:11:17 net/http.serverHandler.ServeHTTP()
19:11:17 /snap/go/6435/src/net/http/server.go:2836 +0xce
19:11:17 net/http.(*conn).serve()
19:11:17 /snap/go/6435/src/net/http/server.go:1924 +0x837
19:11:17
19:11:17 Goroutine 176 (running) created at:
19:11:17 github.com/mitchellh/go-linereader.New()
19:11:17 /workspace/_build/src/github.com/juju/juju/vendor/github.com/mitchellh/go-linereader/linereader.go:33 +0x12d
19:11:17 github.com/juju/juju/apiserver.(*embeddedCLIHandler).runEmbeddedCommands()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/embeddedcli.go:160 +0x294
19:11:17 github.com/juju/juju/apiserver.(*embeddedCLIHandler).ServeHTTP.func1()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/embeddedcli.go:86 +0x788
19:11:17 github.com/juju/juju/apiserver/websocket.Serve()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/websocket/websocket.go:55 +0x19a
19:11:17 github.com/juju/juju/apiserver.(*embeddedCLIHandler).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/embeddedcli.go:100 +0x86
19:11:17 github.com/juju/juju/apiserver.(*Server).trackRequests.func1()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/apiserver.go:916 +0x1a3
19:11:17 net/http.HandlerFunc.ServeHTTP()
19:11:17 /snap/go/6435/src/net/http/server.go:2041 +0x51
19:11:17 github.com/juju/juju/apiserver/httpcontext.(*QueryModelHandler).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/httpcontext/model.go:52 +0x114
19:11:17 github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/vendor/github.com/bmizerany/pat/mux.go:117 +0x254
19:11:17 github.com/juju/juju/apiserver/apiserverhttp.(*Mux).ServeHTTP()
19:11:17 /workspace/_build/src/github.com/juju/juju/apiserver/apiserverhttp/mux.go:67 +0x93
19:11:17 net/http.serverHandler.ServeHTTP()
19:11:17 /snap/go/6435/src/net/http/server.go:2836 +0xce
19:11:17 net/http.(*conn).serve()
19:11:17 /snap/go/6435/src/net/http/server.go:1924 +0x837
19:11:17
19:11:17 Goroutine 50 (running) created at:
19:11:17 net/http.(*Server).Serve()
19:11:17 /snap/go/6435/src/net/http/server.go:2962 +0x5b6
19:11:17 net/http/httptest.(*Server).goServe.func1()
19:11:17 /snap/go/6435/src/net/http/httptest/server.go:308 +0xd3
19:11:17 ==================
19:11:17 OK: 288 passed, 2 skipped
19:11:17 testing.go:969: race detected during execution of test
19:11:17 --- FAIL: TestPackage (884.62s)
19:11:17 === CONT
19:11:17 testing.go:969: race detected during execution of test
19:11:17 FAIL
19:11:17 FAIL github.com/juju/juju/apiserver 885.600s

Tags: unit-tests
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.