The integration test is supposed to be not thread safe, but there is intermittent unexpected concurrent map access there.
Should do further check about this, make sure it is not from bcache
$ export GO111MODULE="auto"
travis_time:end:05ebcc60:start=1555427327851098711,finish=1555427327932732509,duration=81633798
�[0K$ gimme version
v1.5.3
$ go version
go version go1.11.9 linux/amd64
travis_fold:start:go.env
�[0K$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/travis/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/travis/gopath"
GOPROXY=""
GORACE=""
GOROOT="/home/travis/.gimme/versions/go1.11.9.linux.amd64"
GOTMPDIR=""
GOTOOLDIR="/home/travis/.gimme/versions/go1.11.9.linux.amd64/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build023390760=/tmp/go-build -gno-record-gcc-switches"
travis_fold:end:go.env
�[0Ktravis_fold:start:install
�[0Ktravis_time:start:2d70d67c
�[0K$ go get -v -t
github.com/hashicorp/golang-lru (download)
github.com/json-iterator/go (download)
github.com/modern-go/concurrent (download)
github.com/modern-go/reflect2 (download)
github.com/weaveworks/mesh (download)
Fetching https://golang.org/x/crypto/nacl/box?go-get=1
Parsing meta tags from https://golang.org/x/crypto/nacl/box?go-get=1 (status code 200)
get "golang.org/x/crypto/nacl/box": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/nacl/box?go-get=1
get "golang.org/x/crypto/nacl/box": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
Fetching https://golang.org/x/crypto/nacl/secretbox?go-get=1
Parsing meta tags from https://golang.org/x/crypto/nacl/secretbox?go-get=1 (status code 200)
get "golang.org/x/crypto/nacl/secretbox": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/nacl/secretbox?go-get=1
get "golang.org/x/crypto/nacl/secretbox": verifying non-authoritative meta tag
Fetching https://golang.org/x/sync/singleflight?go-get=1
Parsing meta tags from https://golang.org/x/sync/singleflight?go-get=1 (status code 200)
get "golang.org/x/sync/singleflight": found meta tag get.metaImport{Prefix:"golang.org/x/sync", VCS:"git", RepoRoot:"https://go.googlesource.com/sync"} at https://golang.org/x/sync/singleflight?go-get=1
get "golang.org/x/sync/singleflight": verifying non-authoritative meta tag
Fetching https://golang.org/x/sync?go-get=1
Parsing meta tags from https://golang.org/x/sync?go-get=1 (status code 200)
golang.org/x/sync (download)
github.com/sirupsen/logrus (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/stretchr/testify (download)
github.com/hashicorp/golang-lru/simplelru
github.com/hashicorp/golang-lru
github.com/modern-go/concurrent
github.com/modern-go/reflect2
golang.org/x/crypto/curve25519
golang.org/x/crypto/internal/subtle
golang.org/x/crypto/poly1305
golang.org/x/crypto/salsa20/salsa
golang.org/x/crypto/nacl/secretbox
golang.org/x/crypto/nacl/box
github.com/weaveworks/mesh
github.com/json-iterator/go
golang.org/x/sync/singleflight
github.com/iwanbk/bcache
travis_time:end:2d70d67c:start=1555427328004585270,finish=1555427336379863770,duration=8375278500
�[0Ktravis_fold:end:install
�[0Ktravis_time:start:091201e1
�[0K$ go build
travis_time:end:091201e1:start=1555427336384722777,finish=1555427336502743696,duration=118020919
�[0K�[32;1mThe command "go build" exited with 0.�[0m
travis_time:start:01f7757e
�[0K$ go test -race -coverprofile=coverage.txt -covermode=atomic
PASS
coverage: 49.5% of statements
ok github.com/iwanbk/bcache 1.031s
travis_time:end:01f7757e:start=1555427336508045718,finish=1555427346309279719,duration=9801234001
�[0K�[32;1mThe command "go test -race -coverprofile=coverage.txt -covermode=atomic" exited with 0.�[0m
travis_time:start:00be5070
�[0K$ go test -tags integration -coverprofile=coverage.txt -covermode=atomic
fatal error: concurrent map iteration and map write
goroutine 29 [running]:
runtime.throw(0x884cd0, 0x26)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/panic.go:608 +0x72 fp=0xc00018f918 sp=0xc00018f8e8 pc=0x42db62
runtime.mapiternext(0xc000272b40)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/map.go:790 +0x525 fp=0xc00018f9a0 sp=0xc00018f918 pc=0x410555
reflect.mapiternext(0xc000272b40)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/map.go:1277 +0x2b fp=0xc00018f9b8 sp=0xc00018f9a0 pc=0x4113fb
github.com/modern-go/reflect2.(*UnsafeMapIterator).UnsafeNext(0xc0002c7340, 0x0, 0x40)
/home/travis/gopath/src/github.com/modern-go/reflect2/unsafe_map.go:136 +0x41 fp=0xc00018f9e0 sp=0xc00018f9b8 pc=0x60e441
github.com/json-iterator/go.(*sortKeysMapEncoder).Encode(0xc0001bec30, 0xc000155550, 0xc00012f320)
/home/travis/gopath/src/github.com/json-iterator/go/reflect_map.go:293 +0x1b2 fp=0xc00018fb40 sp=0xc00018f9e0 pc=0x6594b2
github.com/json-iterator/go.(*structFieldEncoder).Encode(0xc0001becf0, 0xc000155530, 0xc00012f320)
/home/travis/gopath/src/github.com/json-iterator/go/reflect_struct_encoder.go:110 +0x7b fp=0xc00018fbc8 sp=0xc00018fb40 pc=0x667bcb
github.com/json-iterator/go.(*structEncoder).Encode(0xc0001bed50, 0xc000155530, 0xc00012f320)
/home/travis/gopath/src/github.com/json-iterator/go/reflect_struct_encoder.go:158 +0x2c9 fp=0xc00018fc78 sp=0xc00018fbc8 pc=0x668179
github.com/json-iterator/go.(*OptionalEncoder).Encode(0xc000139830, 0xc00027e348, 0xc00012f320)
/home/travis/gopath/src/github.com/json-iterator/go/reflect_optional.go:74 +0xe9 fp=0xc00018fcc8 sp=0xc00018fc78 pc=0x65ea59
github.com/json-iterator/go.(*onePtrEncoder).Encode(0xc000139840, 0xc000155530, 0xc00012f320)
/home/travis/gopath/src/github.com/json-iterator/go/reflect.go:214 +0x68 fp=0xc00018fcf0 sp=0xc00018fcc8 pc=0x650b48
github.com/json-iterator/go.(*Stream).WriteVal(0xc00012f320, 0x8165a0, 0xc000155530)
/home/travis/gopath/src/github.com/json-iterator/go/reflect.go:93 +0x118 fp=0xc00018fd50 sp=0xc00018fcf0 pc=0x64faf8
github.com/json-iterator/go.(*frozenConfig).Marshal(0xc0000ae1e0, 0x8165a0, 0xc000155530, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/json-iterator/go/config.go:299 +0xac fp=0xc00018fdc0 sp=0xc00018fd50 pc=0x6461fc
github.com/json-iterator/go.API.Marshal-fm(0x8165a0, 0xc000155530, 0xc000155530, 0xc000144cf0, 0xc0000dd380, 0xc0000dd380, 0x0)
/home/travis/gopath/src/github.com/iwanbk/bcache/json.go:7 +0x43 fp=0xc00018fe10 sp=0xc00018fdc0 pc=0x7927e3
github.com/iwanbk/bcache.(*message).Encode(0xc000155530, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/iwanbk/bcache/message.go:67 +0xa0 fp=0xc00018fe80 sp=0xc00018fe10 pc=0x788790
github.com/weaveworks/mesh.(*gossipSender).deliver(0xc000132320, 0xc000158060, 0x3, 0x1, 0x1)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:144 +0x88 fp=0xc00018fef0 sp=0xc00018fe80 pc=0x5ed778
github.com/weaveworks/mesh.(*gossipSender).run(0xc000132320, 0xc000158060, 0xc000158240, 0xc0001582a0)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:105 +0x1c5 fp=0xc00018ffc0 sp=0xc00018fef0 pc=0x5ed6a5
runtime.goexit()
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc00018ffc8 sp=0xc00018ffc0 pc=0x45ce71
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 1 [chan receive]:
testing.(*T).Run(0xc0000d4200, 0x87ac92, 0xf, 0x890528, 0x47c7b6)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/testing/testing.go:879 +0x383
testing.runTests.func1(0xc0000d4100)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/testing/testing.go:1119 +0x78
testing.tRunner(0xc0000d4100, 0xc0000a1da0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/testing/testing.go:827 +0xbf
testing.runTests(0xc00000d240, 0xbd1ae0, 0xb, 0xb, 0x40d55f)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/testing/testing.go:1117 +0x2aa
testing.(*M).Run(0xc000122000, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/testing/testing.go:1034 +0x165
main.main()
_testmain.go:124 +0x205
goroutine 5 [chan receive]:
github.com/iwanbk/bcache.(*peer).Delete(0xc000075fc0, 0xc000026c80, 0x5, 0x1595fcf156964cf2, 0xbf2599e7ef77d6f2)
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:142 +0xf9
github.com/iwanbk/bcache.(*Bcache).Delete(0xc00012c040, 0xc000026c80, 0x5)
/home/travis/gopath/src/github.com/iwanbk/bcache/bcache.go:128 +0xbb
github.com/iwanbk/bcache.TestIntegration(0xc0000d4200)
/home/travis/gopath/src/github.com/iwanbk/bcache/bcache_test.go:108 +0xbd1
testing.tRunner(0xc0000d4200, 0x890528)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/testing/testing.go:827 +0xbf
created by testing.(*T).Run
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/testing/testing.go:878 +0x35c
goroutine 6 [select]:
github.com/weaveworks/mesh.(*localPeer).actorLoop(0xc0000e6990, 0xc000076480)
/home/travis/gopath/src/github.com/weaveworks/mesh/local_peer.go:141 +0xcf
created by github.com/weaveworks/mesh.newLocalPeer
/home/travis/gopath/src/github.com/weaveworks/mesh/local_peer.go:31 +0x105
goroutine 7 [select]:
github.com/weaveworks/mesh.(*routes).run(0xc000122100, 0xc0000765a0, 0xc000030600, 0xc000030660)
/home/travis/gopath/src/github.com/weaveworks/mesh/routes.go:177 +0xfb
created by github.com/weaveworks/mesh.newRoutes
/home/travis/gopath/src/github.com/weaveworks/mesh/routes.go:44 +0x2e9
goroutine 8 [select]:
github.com/weaveworks/mesh.(*connectionMaker).queryLoop(0xc0000c49a0, 0xc000076600)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection_maker.go:226 +0x107
created by github.com/weaveworks/mesh.newConnectionMaker
/home/travis/gopath/src/github.com/weaveworks/mesh/connection_maker.go:75 +0x148
goroutine 9 [runnable]:
github.com/iwanbk/bcache.(*message).mergeComplete(0xc0001558f0, 0xc000155980, 0x0, 0x0)
/home/travis/gopath/src/github.com/iwanbk/bcache/message.go:90 +0x27a
github.com/iwanbk/bcache.(*message).Merge(0xc0001558f0, 0x8e3c60, 0xc000155980, 0xc00027a458, 0xc000132601)
/home/travis/gopath/src/github.com/iwanbk/bcache/message.go:76 +0x5a
github.com/weaveworks/mesh.(*gossipSender).Broadcast(0xc0001326e0, 0x1, 0x8e3c60, 0xc000155980)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:199 +0xd0
github.com/weaveworks/mesh.(*gossipChannel).relayBroadcast(0xc00012c000, 0x1, 0x8e3c60, 0xc000155980)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip_channel.go:110 +0x162
github.com/weaveworks/mesh.(*gossipChannel).GossipBroadcast(0xc00012c000, 0x8e3c60, 0xc000155980)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip_channel.go:83 +0x4f
github.com/iwanbk/bcache.(*peer).broadcast(0xc000075fc0, 0xc000155980)
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:165 +0x75
github.com/iwanbk/bcache.(*peer).Delete.func1()
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:139 +0x207
github.com/iwanbk/bcache.(*peer).loop(0xc000075fc0)
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:154 +0x5b
created by github.com/iwanbk/bcache.newPeer
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:30 +0x151
goroutine 10 [IO wait]:
internal/poll.runtime_pollWait(0x7f9111d08f00, 0x72, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc000122298, 0x72, 0xc000142000, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc000122298, 0xffffffffffffff00, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc000122280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_unix.go:384 +0x1a0
net.(*netFD).accept(0xc000122280, 0x35a4e900, 0xed447e70e, 0xbd75a0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc00000e730, 0xbd75a0, 0x29b92700, 0xed447e70e)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/tcpsock_posix.go:139 +0x2e
net.(*TCPListener).AcceptTCP(0xc00000e730, 0xc000134e18, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/tcpsock.go:247 +0x47
github.com/weaveworks/mesh.(*Router).listenTCP.func1(0xc00000e730, 0xc0000dca90)
/home/travis/gopath/src/github.com/weaveworks/mesh/router.go:113 +0x59
created by github.com/weaveworks/mesh.(*Router).listenTCP
/home/travis/gopath/src/github.com/weaveworks/mesh/router.go:110 +0x152
goroutine 11 [select]:
github.com/weaveworks/mesh.(*localPeer).actorLoop(0xc0000e6db0, 0xc000076780)
/home/travis/gopath/src/github.com/weaveworks/mesh/local_peer.go:141 +0xcf
created by github.com/weaveworks/mesh.newLocalPeer
/home/travis/gopath/src/github.com/weaveworks/mesh/local_peer.go:31 +0x105
goroutine 12 [select]:
github.com/weaveworks/mesh.(*routes).run(0xc000122380, 0xc0000768a0, 0xc000030780, 0xc0000307e0)
/home/travis/gopath/src/github.com/weaveworks/mesh/routes.go:177 +0xfb
created by github.com/weaveworks/mesh.newRoutes
/home/travis/gopath/src/github.com/weaveworks/mesh/routes.go:44 +0x2e9
goroutine 13 [select]:
github.com/weaveworks/mesh.(*connectionMaker).queryLoop(0xc0000c4a10, 0xc000076900)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection_maker.go:226 +0x107
created by github.com/weaveworks/mesh.newConnectionMaker
/home/travis/gopath/src/github.com/weaveworks/mesh/connection_maker.go:75 +0x148
goroutine 14 [select]:
github.com/iwanbk/bcache.(*peer).loop(0xc00012c0c0)
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:152 +0xef
created by github.com/iwanbk/bcache.newPeer
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:30 +0x151
goroutine 15 [IO wait]:
internal/poll.runtime_pollWait(0x7f9111d08e30, 0x72, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc000122498, 0x72, 0xc000142000, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc000122498, 0xffffffffffffff00, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc000122480, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_unix.go:384 +0x1a0
net.(*netFD).accept(0xc000122480, 0x2faf0800, 0xed447e70e, 0xbd75a0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc00000e748, 0xbd75a0, 0x29b92700, 0xed447e70e)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/tcpsock_posix.go:139 +0x2e
net.(*TCPListener).AcceptTCP(0xc00000e748, 0xc000135ab8, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/tcpsock.go:247 +0x47
github.com/weaveworks/mesh.(*Router).listenTCP.func1(0xc00000e748, 0xc0000dcc30)
/home/travis/gopath/src/github.com/weaveworks/mesh/router.go:113 +0x59
created by github.com/weaveworks/mesh.(*Router).listenTCP
/home/travis/gopath/src/github.com/weaveworks/mesh/router.go:110 +0x152
goroutine 16 [select]:
github.com/weaveworks/mesh.(*localPeer).actorLoop(0xc0000e7200, 0xc000076a20)
/home/travis/gopath/src/github.com/weaveworks/mesh/local_peer.go:141 +0xcf
created by github.com/weaveworks/mesh.newLocalPeer
/home/travis/gopath/src/github.com/weaveworks/mesh/local_peer.go:31 +0x105
goroutine 34 [select]:
github.com/weaveworks/mesh.(*routes).run(0xc000122580, 0xc000076b40, 0xc000030900, 0xc000030960)
/home/travis/gopath/src/github.com/weaveworks/mesh/routes.go:177 +0xfb
created by github.com/weaveworks/mesh.newRoutes
/home/travis/gopath/src/github.com/weaveworks/mesh/routes.go:44 +0x2e9
goroutine 35 [select]:
github.com/weaveworks/mesh.(*connectionMaker).queryLoop(0xc0000c4a80, 0xc000076ba0)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection_maker.go:226 +0x107
created by github.com/weaveworks/mesh.newConnectionMaker
/home/travis/gopath/src/github.com/weaveworks/mesh/connection_maker.go:75 +0x148
goroutine 36 [select]:
github.com/iwanbk/bcache.(*peer).loop(0xc00012c1c0)
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:152 +0xef
created by github.com/iwanbk/bcache.newPeer
/home/travis/gopath/src/github.com/iwanbk/bcache/peer.go:30 +0x151
goroutine 37 [IO wait]:
internal/poll.runtime_pollWait(0x7f9111d08d60, 0x72, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc000122698, 0x72, 0xc0001f5300, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc000122698, 0xffffffffffffff00, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc000122680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_unix.go:384 +0x1a0
net.(*netFD).accept(0xc000122680, 0x2faf0800, 0xed447e70e, 0xbd75a0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc00000e760, 0xbd75a0, 0x29b92700, 0xed447e70e)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/tcpsock_posix.go:139 +0x2e
net.(*TCPListener).AcceptTCP(0xc00000e760, 0xc00027e088, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/tcpsock.go:247 +0x47
github.com/weaveworks/mesh.(*Router).listenTCP.func1(0xc00000e760, 0xc0000dcea0)
/home/travis/gopath/src/github.com/weaveworks/mesh/router.go:113 +0x59
created by github.com/weaveworks/mesh.(*Router).listenTCP
/home/travis/gopath/src/github.com/weaveworks/mesh/router.go:110 +0x152
goroutine 22 [select]:
github.com/weaveworks/mesh.(*LocalConnection).actorLoop(0xc00015e0a0, 0xc00012e780, 0xc00015e0a0, 0x8e2060)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:354 +0x292
github.com/weaveworks/mesh.(*LocalConnection).run(0xc00015e0a0, 0xc00012e780, 0xc000158060, 0xc000051f01)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:256 +0x752
created by github.com/weaveworks/mesh.startLocalConnection
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:99 +0x1fe
goroutine 20 [select]:
github.com/weaveworks/mesh.(*LocalConnection).actorLoop(0xc00015e000, 0xc00012e6c0, 0xc00015e000, 0x8e2060)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:354 +0x292
github.com/weaveworks/mesh.(*LocalConnection).run(0xc00015e000, 0xc00012e6c0, 0xc000158000, 0x1)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:256 +0x752
created by github.com/weaveworks/mesh.startLocalConnection
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:99 +0x1fe
goroutine 28 [select]:
github.com/weaveworks/mesh.(*gossipSender).run(0xc0001322d0, 0xc000158060, 0xc000158180, 0xc0001581e0)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:101 +0xeb
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 30 [IO wait]:
internal/poll.runtime_pollWait(0x7f9111d08bc0, 0x72, 0xc000217d10)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc00014c098, 0x72, 0xffffffffffffff00, 0x8e2da0, 0xb9d4f0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc00014c098, 0xc0002c4100, 0x4, 0x4)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc00014c080, 0xc0002c4180, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_unix.go:169 +0x179
net.(*netFD).Read(0xc00014c080, 0xc0002c4180, 0x4, 0x4, 0xc000132200, 0xc000217e10, 0xc000217e50)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000134010, 0xc0002c4180, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/net.go:177 +0x68
io.ReadAtLeast(0x8e2220, 0xc000134010, 0xc0002c4180, 0x4, 0x4, 0x4, 0x7d73e0, 0x1, 0xc0002c4180)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:310 +0x88
io.ReadFull(0x8e2220, 0xc000134010, 0xc0002c4180, 0x4, 0x4, 0x4, 0xc000217f38, 0x3c)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:329 +0x58
github.com/weaveworks/mesh.(*lengthPrefixTCPReceiver).Receive(0xc000138310, 0x0, 0x0, 0xfec, 0xfec, 0x0)
/home/travis/gopath/src/github.com/weaveworks/mesh/protocol_crypto.go:168 +0x96
github.com/weaveworks/mesh.(*LocalConnection).receiveTCP(0xc00015e0a0, 0x8e2060, 0xc000138310)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:420 +0x56
created by github.com/weaveworks/mesh.(*LocalConnection).run
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:247 +0x734
goroutine 31 [select]:
github.com/weaveworks/mesh.(*gossipSender).run(0xc0001324b0, 0xc000158000, 0xc000158540, 0xc0001585a0)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:101 +0xeb
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 32 [select]:
github.com/weaveworks/mesh.(*gossipSender).run(0xc000132500, 0xc000158000, 0xc000158600, 0xc000158660)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:101 +0xeb
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 33 [IO wait]:
internal/poll.runtime_pollWait(0x7f9111d08c90, 0x72, 0xc0001e3d10)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc00014c018, 0x72, 0xffffffffffffff00, 0x8e2da0, 0xb9d4f0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc00014c018, 0xc000250f00, 0x4, 0x4)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc00014c000, 0xc000250f5c, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_unix.go:169 +0x179
net.(*netFD).Read(0xc00014c000, 0xc000250f5c, 0x4, 0x4, 0xc000132100, 0xc0001e3e10, 0xc0001e3e50)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000134008, 0xc000250f5c, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/net.go:177 +0x68
io.ReadAtLeast(0x8e2220, 0xc000134008, 0xc000250f5c, 0x4, 0x4, 0x4, 0x7d73e0, 0x1, 0xc000250f5c)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:310 +0x88
io.ReadFull(0x8e2220, 0xc000134008, 0xc000250f5c, 0x4, 0x4, 0x4, 0xc0001e3f38, 0x3c)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:329 +0x58
github.com/weaveworks/mesh.(*lengthPrefixTCPReceiver).Receive(0xc000138100, 0x0, 0x0, 0x1a3, 0x1a3, 0x0)
/home/travis/gopath/src/github.com/weaveworks/mesh/protocol_crypto.go:168 +0x96
github.com/weaveworks/mesh.(*LocalConnection).receiveTCP(0xc00015e000, 0x8e2060, 0xc000138100)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:420 +0x56
created by github.com/weaveworks/mesh.(*LocalConnection).run
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:247 +0x734
goroutine 53 [select]:
github.com/weaveworks/mesh.(*LocalConnection).actorLoop(0xc00015ea00, 0xc00021a420, 0xc00015ea00, 0x8e2060)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:354 +0x292
github.com/weaveworks/mesh.(*LocalConnection).run(0xc00015ea00, 0xc00021a420, 0xc000158b40, 0xc00005ff01)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:256 +0x752
created by github.com/weaveworks/mesh.startLocalConnection
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:99 +0x1fe
goroutine 51 [select]:
github.com/weaveworks/mesh.(*LocalConnection).actorLoop(0xc00015e960, 0xc00021a360, 0xc00015e960, 0x8e2060)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:354 +0x292
github.com/weaveworks/mesh.(*LocalConnection).run(0xc00015e960, 0xc00021a360, 0xc000158ae0, 0x1)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:256 +0x752
created by github.com/weaveworks/mesh.startLocalConnection
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:99 +0x1fe
goroutine 59 [runnable]:
github.com/weaveworks/mesh.(*gossipSender).run(0xc0001326e0, 0xc000158b40, 0xc000158c60, 0xc000158cc0)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:101 +0xeb
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 60 [select]:
github.com/weaveworks/mesh.(*gossipSender).run(0xc000132730, 0xc000158b40, 0xc000158d20, 0xc000158d80)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:101 +0xeb
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 61 [IO wait]:
internal/poll.runtime_pollWait(0x7f9111d08a20, 0x72, 0xc000267d10)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc000205a98, 0x72, 0xffffffffffffff00, 0x8e2da0, 0xb9d4f0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc000205a98, 0xc000250800, 0x4, 0x4)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc000205a80, 0xc0002508c0, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_unix.go:169 +0x179
net.(*netFD).Read(0xc000205a80, 0xc0002508c0, 0x4, 0x4, 0xc000132100, 0xc000267e10, 0xc000267e50)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000134e18, 0xc0002508c0, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/net.go:177 +0x68
io.ReadAtLeast(0x8e2220, 0xc000134e18, 0xc0002508c0, 0x4, 0x4, 0x4, 0x7d73e0, 0x1, 0xc0002508c0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:310 +0x88
io.ReadFull(0x8e2220, 0xc000134e18, 0xc0002508c0, 0x4, 0x4, 0x4, 0xc000267f38, 0x3c)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:329 +0x58
github.com/weaveworks/mesh.(*lengthPrefixTCPReceiver).Receive(0xc0001fdd20, 0x0, 0x0, 0x2b, 0x2b, 0x0)
/home/travis/gopath/src/github.com/weaveworks/mesh/protocol_crypto.go:168 +0x96
github.com/weaveworks/mesh.(*LocalConnection).receiveTCP(0xc00015ea00, 0x8e2060, 0xc0001fdd20)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:420 +0x56
created by github.com/weaveworks/mesh.(*LocalConnection).run
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:247 +0x734
goroutine 63 [select]:
github.com/weaveworks/mesh.(*gossipSender).run(0xc000132870, 0xc000158ae0, 0xc0001590e0, 0xc000159140)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:101 +0xeb
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 64 [select]:
github.com/weaveworks/mesh.(*gossipSender).run(0xc0001328c0, 0xc000158ae0, 0xc0001591a0, 0xc000159200)
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:101 +0xeb
created by github.com/weaveworks/mesh.newGossipSender
/home/travis/gopath/src/github.com/weaveworks/mesh/gossip.go:94 +0x118
goroutine 65 [IO wait]:
internal/poll.runtime_pollWait(0x7f9111d08af0, 0x72, 0xc000237d10)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc000205a18, 0x72, 0xffffffffffffff00, 0x8e2da0, 0xb9d4f0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc000205a18, 0xc0002c4c00, 0x4, 0x4)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc000205a00, 0xc0002c4c58, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/internal/poll/fd_unix.go:169 +0x179
net.(*netFD).Read(0xc000205a00, 0xc0002c4c58, 0x4, 0x4, 0xc000132200, 0xc000237e10, 0xc000237e50)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000134e10, 0xc0002c4c58, 0x4, 0x4, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/net/net.go:177 +0x68
io.ReadAtLeast(0x8e2220, 0xc000134e10, 0xc0002c4c58, 0x4, 0x4, 0x4, 0x7d73e0, 0x1, 0xc0002c4c58)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:310 +0x88
io.ReadFull(0x8e2220, 0xc000134e10, 0xc0002c4c58, 0x4, 0x4, 0x4, 0xc000237f38, 0x3c)
/home/travis/.gimme/versions/go1.11.9.linux.amd64/src/io/io.go:329 +0x58
github.com/weaveworks/mesh.(*lengthPrefixTCPReceiver).Receive(0xc0001fdc10, 0x0, 0x0, 0xfec, 0xfec, 0x0)
/home/travis/gopath/src/github.com/weaveworks/mesh/protocol_crypto.go:168 +0x96
github.com/weaveworks/mesh.(*LocalConnection).receiveTCP(0xc00015e960, 0x8e2060, 0xc0001fdc10)
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:420 +0x56
created by github.com/weaveworks/mesh.(*LocalConnection).run
/home/travis/gopath/src/github.com/weaveworks/mesh/connection.go:247 +0x734
exit status 2
FAIL github.com/iwanbk/bcache 6.019s
travis_time:end:00be5070:start=1555427346315028359,finish=1555427358937196900,duration=12622168541
�[0K�[31;1mThe command "go test -tags integration -coverprofile=coverage.txt -covermode=atomic" exited with 1.�[0m
Done. Your build exited with 1.