Skip to content

Instantly share code, notes, and snippets.

@titanous
Created June 28, 2013 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save titanous/5887208 to your computer and use it in GitHub Desktop.
Save titanous/5887208 to your computer and use it in GitHub Desktop.
$ go test -race ./...
? github.com/mitchellh/packer [no test files]
ok github.com/mitchellh/packer/builder/amazonebs 1.065s
ok github.com/mitchellh/packer/builder/common 1.044s
ok github.com/mitchellh/packer/builder/digitalocean 1.065s
ok github.com/mitchellh/packer/builder/virtualbox 1.083s
ok github.com/mitchellh/packer/builder/vmware 1.061s
ok github.com/mitchellh/packer/command/build 1.036s
? github.com/mitchellh/packer/command/validate [no test files]
==================
WARNING: DATA RACE
Write by goroutine 8:
code.google.com/p/go.crypto/ssh.(*clientChan).waitForChannelOpenResponse()
$GOPATH/src/code.google.com/p/go.crypto/ssh/channel.go:482 +0x250
code.google.com/p/go.crypto/ssh.(*ClientConn).NewSession()
$GOPATH/src/code.google.com/p/go.crypto/ssh/session.go:538 +0x1f5
github.com/mitchellh/packer/communicator/ssh.(*comm).Start()
$GOPATH/src/github.com/mitchellh/packer/communicator/ssh/communicator.go:27 +0xa8
github.com/mitchellh/packer/communicator/ssh.TestStart()
$GOPATH/src/github.com/mitchellh/packer/communicator/ssh/communicator_test.go:152 +0x5eb
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 11:
code.google.com/p/go.crypto/ssh.(*channel).sendClose()
$GOPATH/src/code.google.com/p/go.crypto/ssh/channel.go:105 +0x3f
code.google.com/p/go.crypto/ssh.(*clientChan).Close()
$GOPATH/src/code.google.com/p/go.crypto/ssh/channel.go:499 +0x16d
code.google.com/p/go.crypto/ssh.(*ClientConn).mainLoop()
$GOPATH/src/code.google.com/p/go.crypto/ssh/client.go:273 +0x14ff
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 8 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/communicator/ssh/_test/_testmain.go:55 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
Goroutine 11 (finished) created at:
code.google.com/p/go.crypto/ssh.Client()
$GOPATH/src/code.google.com/p/go.crypto/ssh/client.go:47 +0x3b9
github.com/mitchellh/packer/communicator/ssh.New()
$GOPATH/src/github.com/mitchellh/packer/communicator/ssh/communicator.go:21 +0x58
github.com/mitchellh/packer/communicator/ssh.TestStart()
$GOPATH/src/github.com/mitchellh/packer/communicator/ssh/communicator_test.go:142 +0x3b0
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
PASS
Found 1 data race(s)
FAIL github.com/mitchellh/packer/communicator/ssh 3.368s
==================
WARNING: DATA RACE
Read by goroutine 16:
github.com/mitchellh/packer/packer.(*RemoteCmd).Wait()
$GOPATH/src/github.com/mitchellh/packer/packer/communicator.go:62 +0x38
github.com/mitchellh/packer/packer.func·009()
$GOPATH/src/github.com/mitchellh/packer/packer/communicator_test.go:13 +0x3a
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 15:
github.com/mitchellh/packer/packer.TestRemoteCmd_Wait()
$GOPATH/src/github.com/mitchellh/packer/packer/communicator_test.go:18 +0x188
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 16 (running) created at:
github.com/mitchellh/packer/packer.TestRemoteCmd_Wait()
$GOPATH/src/github.com/mitchellh/packer/packer/communicator_test.go:15 +0x158
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 15 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/_test/_testmain.go:177 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
usage: packer [--version] [--help] <command> [<args>]
Available commands are:
PASS
Found 1 data race(s)
FAIL github.com/mitchellh/packer/packer 1.059s
==================
WARNING: DATA RACE
Write by goroutine 8:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 7:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 8 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 7 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 8:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:153 +0x8b
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 7:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:379 +0x20c
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 8 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 7 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 8:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 7:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 8 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 7 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 11:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadString()
$GOROOT/src/pkg/bytes/buffer.go:391 +0x60
github.com/mitchellh/packer/packer/plugin.(*Client).logStderr()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:296 +0xbe
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 9:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 11 (running) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:247 +0xaa8
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 9 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
==================
WARNING: DATA RACE
Read by goroutine 11:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0xa7
bytes.(*Buffer).ReadString()
$GOROOT/src/pkg/bytes/buffer.go:391 +0x60
github.com/mitchellh/packer/packer/plugin.(*Client).logStderr()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:296 +0xbe
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 9:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:68 +0xac
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 11 (running) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:247 +0xaa8
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 9 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
==================
WARNING: DATA RACE
Write by goroutine 11:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadString()
$GOROOT/src/pkg/bytes/buffer.go:391 +0x60
github.com/mitchellh/packer/packer/plugin.(*Client).logStderr()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:296 +0xbe
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 9:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 11 (running) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:247 +0xaa8
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 9 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
==================
WARNING: DATA RACE
Read by goroutine 11:
runtime.slicebytetostring()
$GOROOT/src/pkg/runtime/zstring_darwin_amd64.c:281 +0x0
bytes.(*Buffer).ReadString()
$GOROOT/src/pkg/bytes/buffer.go:392 +0x96
github.com/mitchellh/packer/packer/plugin.(*Client).logStderr()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:296 +0xbe
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 9:
runtime.copy()
$GOROOT/src/pkg/runtime/slice.c:219 +0x0
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:165 +0x2a1
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 11 (running) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:247 +0xaa8
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 9 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
==================
WARNING: DATA RACE
Read by goroutine 7:
runtime.appendslice()
$GOROOT/src/pkg/runtime/slice.c:59 +0x0
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:366 +0xd7
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 8:
runtime.copy()
$GOROOT/src/pkg/runtime/slice.c:219 +0x0
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:165 +0x2a1
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 7 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
Goroutine 8 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Preparing to serve a builder plugin...
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin minimum port: 10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin maximum port: 25000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin address: :10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Waiting for connection...
2013/06/28 15:03:38 rpc: client protocol error: unexpected EOF
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: plugin process exited
==================
WARNING: DATA RACE
Read by goroutine 11:
github.com/mitchellh/packer/packer/plugin.(*Client).logStderr()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:289 +0x5b
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 10:
github.com/mitchellh/packer/packer/plugin.func·007()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:243 +0x13f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 11 (running) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:247 +0xaa8
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 10 (finished) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:244 +0xa6d
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Serving a plugin connection...
==================
WARNING: DATA RACE
Write by goroutine 11:
github.com/mitchellh/packer/packer/plugin.(*Client).logStderr()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:306 +0x2c5
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 14:
github.com/mitchellh/packer/packer/plugin.func·005()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:183 +0x56
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 11 (running) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:247 +0xaa8
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Builder()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:113 +0x32
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:35 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 14 (running) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Kill()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:188 +0x18e
github.com/mitchellh/packer/packer/plugin.TestBuilder_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/builder_test.go:37 +0x28b
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
==================
WARNING: DATA RACE
Write by goroutine 16:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 15:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 16 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 15 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 16:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:153 +0x8b
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 15:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:379 +0x20c
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 16 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 15 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 16:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 15:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 16 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 15 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 15:
runtime.appendslice()
$GOROOT/src/pkg/runtime/slice.c:59 +0x0
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:366 +0xd7
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 16:
runtime.copy()
$GOROOT/src/pkg/runtime/slice.c:219 +0x0
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:165 +0x2a1
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 15 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
Goroutine 16 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: plugin process exited
==================
WARNING: DATA RACE
Read by goroutine 15:
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:26 +0x32d
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 18:
os/exec.(*Cmd).Wait()
$GOROOT/src/pkg/os/exec/exec.go:311 +0x261
github.com/mitchellh/packer/packer/plugin.func·007()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:241 +0x50
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 15 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
Goroutine 18 (finished) created at:
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:244 +0xa6d
github.com/mitchellh/packer/packer/plugin.TestClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:14 +0x1be
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
==================
WARNING: DATA RACE
Write by goroutine 23:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 22:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.TestClient_Start_Timeout()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:45 +0x1c7
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 23 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.TestClient_Start_Timeout()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:45 +0x1c7
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 22 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 23:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:153 +0x8b
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 22:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:379 +0x20c
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.TestClient_Start_Timeout()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:45 +0x1c7
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 23 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.TestClient_Start_Timeout()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:45 +0x1c7
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 22 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 23:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 22:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.TestClient_Start_Timeout()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:45 +0x1c7
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 23 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.TestClient_Start_Timeout()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client_test.go:45 +0x1c7
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 22 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: plugin process exited
==================
WARNING: DATA RACE
Write by goroutine 30:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 29:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Command()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:124 +0x32
github.com/mitchellh/packer/packer/plugin.TestCommand_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/command_test.go:37 +0x1b8
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 30 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Command()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:124 +0x32
github.com/mitchellh/packer/packer/plugin.TestCommand_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/command_test.go:37 +0x1b8
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 29 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 30:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:153 +0x8b
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 29:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:379 +0x20c
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Command()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:124 +0x32
github.com/mitchellh/packer/packer/plugin.TestCommand_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/command_test.go:37 +0x1b8
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 30 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Command()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:124 +0x32
github.com/mitchellh/packer/packer/plugin.TestCommand_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/command_test.go:37 +0x1b8
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 29 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 30:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 29:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Command()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:124 +0x32
github.com/mitchellh/packer/packer/plugin.TestCommand_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/command_test.go:37 +0x1b8
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 30 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Command()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:124 +0x32
github.com/mitchellh/packer/packer/plugin.TestCommand_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/command_test.go:37 +0x1b8
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 29 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Preparing to serve a command plugin...
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin minimum port: 10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin maximum port: 25000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin address: :10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Waiting for connection...
2013/06/28 15:03:38 rpc: client protocol error: unexpected EOF
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: plugin process exited
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Serving a plugin connection...
==================
WARNING: DATA RACE
Write by goroutine 38:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 37:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Hook()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:135 +0x32
github.com/mitchellh/packer/packer/plugin.TestHook_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/hook_test.go:29 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 38 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Hook()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:135 +0x32
github.com/mitchellh/packer/packer/plugin.TestHook_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/hook_test.go:29 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 37 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 38:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:153 +0x8b
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 37:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:379 +0x20c
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Hook()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:135 +0x32
github.com/mitchellh/packer/packer/plugin.TestHook_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/hook_test.go:29 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 38 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Hook()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:135 +0x32
github.com/mitchellh/packer/packer/plugin.TestHook_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/hook_test.go:29 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 37 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 38:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 37:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Hook()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:135 +0x32
github.com/mitchellh/packer/packer/plugin.TestHook_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/hook_test.go:29 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 38 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Hook()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:135 +0x32
github.com/mitchellh/packer/packer/plugin.TestHook_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/hook_test.go:29 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 37 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Preparing to serve a hook plugin...
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin minimum port: 10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin maximum port: 25000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin address: :10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Waiting for connection...
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: plugin process exited
2013/06/28 15:03:38 rpc: client protocol error: unexpected EOF
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Serving a plugin connection...
==================
WARNING: DATA RACE
Write by goroutine 47:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 46:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 47 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 46 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 47:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:153 +0x8b
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 46:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:379 +0x20c
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 47 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 46 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 47:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 46:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 47 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 46 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Preparing to serve a post-processor plugin...
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin minimum port: 10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin maximum port: 25000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin address: :10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Waiting for connection...
==================
WARNING: DATA RACE
Read by goroutine 46:
runtime.appendslice()
$GOROOT/src/pkg/runtime/slice.c:59 +0x0
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:366 +0xd7
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 47:
runtime.copy()
$GOROOT/src/pkg/runtime/slice.c:219 +0x0
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:165 +0x2a1
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 46 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
Goroutine 47 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).PostProcessor()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:146 +0x32
github.com/mitchellh/packer/packer/plugin.TestPostProcessor_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/post_processor_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
2013/06/28 15:03:38 rpc: client protocol error: unexpected EOF
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: plugin process exited
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Serving a plugin connection...
==================
WARNING: DATA RACE
Write by goroutine 55:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:151 +0x6d
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 54:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:380 +0x228
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Provisioner()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:157 +0x32
github.com/mitchellh/packer/packer/plugin.TestProvisioner_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/provisioner_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 55 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Provisioner()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:157 +0x32
github.com/mitchellh/packer/packer/plugin.TestProvisioner_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/provisioner_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 54 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 55:
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:153 +0x8b
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 54:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:379 +0x20c
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Provisioner()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:157 +0x32
github.com/mitchellh/packer/packer/plugin.TestProvisioner_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/provisioner_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 55 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Provisioner()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:157 +0x32
github.com/mitchellh/packer/packer/plugin.TestProvisioner_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/provisioner_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 54 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 55:
bytes.(*Buffer).Truncate()
$GOROOT/src/pkg/bytes/buffer.go:70 +0x118
bytes.(*Buffer).ReadFrom()
$GOROOT/src/pkg/bytes/buffer.go:154 +0xd2
io.Copy()
$GOROOT/src/pkg/io/io.go:340 +0xb3
os/exec.func·003()
$GOROOT/src/pkg/os/exec/exec.go:207 +0x93
os/exec.func·004()
$GOROOT/src/pkg/os/exec/exec.go:276 +0x37
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 54:
bytes.(*Buffer).readSlice()
$GOROOT/src/pkg/bytes/buffer.go:372 +0x74
bytes.(*Buffer).ReadBytes()
$GOROOT/src/pkg/bytes/buffer.go:363 +0x74
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:266 +0xce6
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Provisioner()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:157 +0x32
github.com/mitchellh/packer/packer/plugin.TestProvisioner_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/provisioner_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 55 (running) created at:
os/exec.(*Cmd).Start()
$GOROOT/src/pkg/os/exec/exec.go:277 +0xdac
github.com/mitchellh/packer/packer/plugin.(*Client).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:221 +0x91a
github.com/mitchellh/packer/packer/plugin.(*Client).rpcClient()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:310 +0x32
github.com/mitchellh/packer/packer/plugin.(*Client).Provisioner()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/client.go:157 +0x32
github.com/mitchellh/packer/packer/plugin.TestProvisioner_Good()
$GOPATH/src/github.com/mitchellh/packer/packer/plugin/provisioner_test.go:33 +0x1a9
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 54 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/plugin/_test/_testmain.go:67 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Preparing to serve a provisioner plugin...
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin minimum port: 10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin maximum port: 25000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Plugin address: :10000
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Waiting for connection...
2013/06/28 15:03:38 rpc: client protocol error: unexpected EOF
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: plugin process exited
2013/06/28 15:03:38 /var/folders/gs/mznx8_ps7299rqztvxhggq7c0000gn/T/go-build766578565/github.com/mitchellh/packer/packer/plugin/_test/plugin.test: 2013/06/28 15:03:38 Serving a plugin connection...
PASS
Found 31 data race(s)
FAIL github.com/mitchellh/packer/packer/plugin 1.496s
==================
WARNING: DATA RACE
Write by goroutine 82:
github.com/mitchellh/packer/packer/rpc.TestCommunicatorRPC()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator_test.go:100 +0xf27
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 90:
github.com/mitchellh/packer/packer/rpc.func·004()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:200 +0x86
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 82 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/rpc/_test/_testmain.go:89 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
Goroutine 90 (running) created at:
github.com/mitchellh/packer/packer/rpc.(*CommunicatorServer).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:205 +0x615
github.com/mitchellh/packer/packer/rpc.(*CommunicatorServer).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:207 +0x2f
reflect.Value.Call()
$GOROOT/src/pkg/reflect/value.go:345 +0xa8
net/rpc.(*service).call()
$GOROOT/src/pkg/net/rpc/server.go:379 +0x2ea
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
==================
WARNING: DATA RACE
Read by goroutine 90:
github.com/mitchellh/packer/packer/rpc.func·004()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:204 +0xe4
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 82:
github.com/mitchellh/packer/packer/rpc.TestCommunicatorRPC()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator_test.go:99 +0xeeb
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 90 (running) created at:
github.com/mitchellh/packer/packer/rpc.(*CommunicatorServer).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:205 +0x615
github.com/mitchellh/packer/packer/rpc.(*CommunicatorServer).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:207 +0x2f
reflect.Value.Call()
$GOROOT/src/pkg/reflect/value.go:345 +0xa8
net/rpc.(*service).call()
$GOROOT/src/pkg/net/rpc/server.go:379 +0x2ea
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 82 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/rpc/_test/_testmain.go:89 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Write by goroutine 88:
github.com/mitchellh/packer/packer/rpc.func·003()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:95 +0x359
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous read by goroutine 82:
github.com/mitchellh/packer/packer/rpc.TestCommunicatorRPC()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator_test.go:103 +0xf69
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 88 (running) created at:
github.com/mitchellh/packer/packer/rpc.(*communicator).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:96 +0x71f
github.com/mitchellh/packer/packer/rpc.TestCommunicatorRPC()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator_test.go:74 +0x565
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 82 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/rpc/_test/_testmain.go:89 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
==================
==================
WARNING: DATA RACE
Read by goroutine 82:
github.com/mitchellh/packer/packer/rpc.TestCommunicatorRPC()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator_test.go:104 +0xfa6
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Previous write by goroutine 88:
github.com/mitchellh/packer/packer/rpc.func·003()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:94 +0x30c
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
Goroutine 82 (running) created at:
testing.RunTests()
$GOROOT/src/pkg/testing/testing.go:433 +0xaef
testing.Main()
$GOROOT/src/pkg/testing/testing.go:365 +0xab
main.main()
github.com/mitchellh/packer/packer/rpc/_test/_testmain.go:89 +0xda
runtime.main()
$GOROOT/src/pkg/runtime/proc.c:182 +0x91
Goroutine 88 (finished) created at:
github.com/mitchellh/packer/packer/rpc.(*communicator).Start()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator.go:96 +0x71f
github.com/mitchellh/packer/packer/rpc.TestCommunicatorRPC()
$GOPATH/src/github.com/mitchellh/packer/packer/rpc/communicator_test.go:74 +0x565
testing.tRunner()
$GOROOT/src/pkg/testing/testing.go:353 +0x12f
gosched0()
$GOROOT/src/pkg/runtime/proc.c:1218 +0x9f
==================
2013/06/28 15:03:38 9 bytes written for 'downloadWriter'
PASS
Found 4 data race(s)
FAIL github.com/mitchellh/packer/packer/rpc 1.202s
? github.com/mitchellh/packer/plugin/builder-amazon-ebs [no test files]
? github.com/mitchellh/packer/plugin/builder-digitalocean [no test files]
? github.com/mitchellh/packer/plugin/builder-virtualbox [no test files]
? github.com/mitchellh/packer/plugin/builder-vmware [no test files]
? github.com/mitchellh/packer/plugin/command-build [no test files]
? github.com/mitchellh/packer/plugin/command-validate [no test files]
? github.com/mitchellh/packer/plugin/post-processor-vagrant [no test files]
? github.com/mitchellh/packer/plugin/provisioner-shell [no test files]
ok github.com/mitchellh/packer/post-processor/vagrant 1.032s
ok github.com/mitchellh/packer/provisioner/shell 1.034s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment