Skip to content

Instantly share code, notes, and snippets.

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 chelseakomlo/acd05298e4023edd28a2e5053274a156 to your computer and use it in GitHub Desktop.
Save chelseakomlo/acd05298e4023edd28a2e5053274a156 to your computer and use it in GitHub Desktop.
==================
WARNING: DATA RACE
Read at 0x00c420308a60 by goroutine 100:
reflect.typedmemmove()
/usr/local/go/src/runtime/mbarrier.go:259 +0x0
reflect.packEface()
/usr/local/go/src/reflect/value.go:112 +0x10b
reflect.valueInterface()
/usr/local/go/src/reflect/value.go:961 +0x170
reflect.Value.Interface()
/usr/local/go/src/reflect/value.go:931 +0x51
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*encFnInfo).binaryMarshal()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:308 +0x90
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*Encoder).encodeValue()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:899 +0x2c9
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*encFnInfo).kStruct()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:502 +0x998
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*Encoder).encodeValue()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:899 +0x2c9
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*encFnInfo).kMap()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:578 +0x6d5
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*Encoder).encodeValue()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:899 +0x2c9
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*encFnInfo).kStruct()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:502 +0x998
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*Encoder).encodeValue()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:899 +0x2c9
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*encFnInfo).kStruct()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:502 +0x998
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*Encoder).encodeValue()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:899 +0x2c9
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*Encoder).encode()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:814 +0x150
github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec.(*Encoder).Encode()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:698 +0x88
github.com/hashicorp/nomad/vendor/github.com/hashicorp/net-rpc-msgpackrpc.(*MsgpackCodec).write()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/net-rpc-msgpackrpc/codec.go:102 +0xd1
github.com/hashicorp/nomad/vendor/github.com/hashicorp/net-rpc-msgpackrpc.(*MsgpackCodec).WriteRequest()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/net-rpc-msgpackrpc/codec.go:84 +0xb7
github.com/hashicorp/nomad/vendor/github.com/hashicorp/net-rpc-msgpackrpc.CallWithCodec()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/hashicorp/net-rpc-msgpackrpc/client.go:25 +0x117
github.com/hashicorp/nomad/helper/pool.(*ConnPool).RPC()
/opt/gopath/src/github.com/hashicorp/nomad/helper/pool/pool.go:422 +0x21c
github.com/hashicorp/nomad/client.(*Client).RPC()
/opt/gopath/src/github.com/hashicorp/nomad/client/rpc.go:68 +0x208
github.com/hashicorp/nomad/client.(*Client).registerNode()
/opt/gopath/src/github.com/hashicorp/nomad/client/client.go:1402 +0x217
github.com/hashicorp/nomad/client.(*Client).retryRegisterNode()
/opt/gopath/src/github.com/hashicorp/nomad/client/client.go:1373 +0x53
github.com/hashicorp/nomad/client.(*Client).watchNodeUpdates()
Previous write at 0x00c420308a60 by goroutine 70:
github.com/hashicorp/nomad/client.(*Client).updateNodeFromDriver()
/opt/gopath/src/github.com/hashicorp/nomad/client/client.go:1088 +0x9ea
github.com/hashicorp/nomad/client.(*Client).(github.com/hashicorp/nomad/client.updateNodeFromDriver)-fm()
/opt/gopath/src/github.com/hashicorp/nomad/client/client.go:270 +0x69
github.com/hashicorp/nomad/client.(*FingerprintManager).fingerprintDriver()
/opt/gopath/src/github.com/hashicorp/nomad/client/fingerprint_manager.go:379 +0x845
github.com/hashicorp/nomad/client.(*FingerprintManager).watchDriver()
/opt/gopath/src/github.com/hashicorp/nomad/client/fingerprint_manager.go:295 +0x47f
Goroutine 100 (running) created at:
github.com/hashicorp/nomad/client.(*Client).registerAndHeartbeat()
/opt/gopath/src/github.com/hashicorp/nomad/client/client.go:1166 +0x78
Goroutine 70 (running) created at:
github.com/hashicorp/nomad/client.(*FingerprintManager).setupDrivers()
/opt/gopath/src/github.com/hashicorp/nomad/client/fingerprint_manager.go:192 +0x3c7
github.com/hashicorp/nomad/client.(*FingerprintManager).Run()
/opt/gopath/src/github.com/hashicorp/nomad/client/fingerprint_manager.go:123 +0xd15
github.com/hashicorp/nomad/client.NewClient()
/opt/gopath/src/github.com/hashicorp/nomad/client/client.go:274 +0x128a
github.com/hashicorp/nomad/command/agent.(*Agent).setupClient()
/opt/gopath/src/github.com/hashicorp/nomad/command/agent/agent.go:633 +0x25c
github.com/hashicorp/nomad/command/agent.NewAgent()
/opt/gopath/src/github.com/hashicorp/nomad/command/agent/agent.go:90 +0x448
github.com/hashicorp/nomad/command/agent.(*Command).setupAgent()
/opt/gopath/src/github.com/hashicorp/nomad/command/agent/command.go:382 +0xc9
github.com/hashicorp/nomad/command/agent.(*Command).Run()
/opt/gopath/src/github.com/hashicorp/nomad/command/agent/command.go:494 +0x64a
github.com/hashicorp/nomad/vendor/github.com/mitchellh/cli.(*CLI).Run()
/opt/gopath/src/github.com/hashicorp/nomad/vendor/github.com/mitchellh/cli/cli.go:255 +0x277
main.RunCustom()
/opt/gopath/src/github.com/hashicorp/nomad/main.go:127 +0x8af
main.Run()
/opt/gopath/src/github.com/hashicorp/nomad/main.go:72 +0x4c
main.main()
/opt/gopath/src/github.com/hashicorp/nomad/main.go:68 +0x84
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment