=== RUN TestLeaderYield 2019-05-07 14:42:03.678 UTC [gossip.comm] func1 -> WARN 001 127.0.0.1:25737, PKIid:3132372e302e302e313a3235373337 isn't responsive: rpc error: code = Unavailable desc = transport is closing 2019-05-07 14:42:09.680 UTC [gossip.comm] func1 -> WARN 002 127.0.0.1:25737, PKIid:3132372e302e302e313a3235373337 isn't responsive: rpc error: code = Unavailable desc = transport is closing ================== WARNING: DATA RACE Write at 0x00c0002c24d0 by goroutine 178: sync.(*WaitGroup).Wait() /usr/local/go/src/internal/race/race.go:41 +0xef github.com/hyperledger/fabric/gossip/comm.(*connection).close() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/gossip/comm/conn.go:257 +0x1d1 github.com/hyperledger/fabric/gossip/comm.(*connectionStore).onConnected() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/gossip/comm/conn.go:174 +0x70c github.com/hyperledger/fabric/gossip/comm.(*commImpl).GossipStream() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/gossip/comm/comm_impl.go:557 +0x494 github.com/hyperledger/fabric/protos/gossip._Gossip_GossipStream_Handler() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/protos/gossip/message.pb.go:2758 +0xcd github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).processStreamingRPC() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1176 +0x1669 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).handleStream() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1256 +0x12e5 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:691 +0xac Previous read at 0x00c0002c24d0 by goroutine 174: sync.(*WaitGroup).Add() /usr/local/go/src/internal/race/race.go:37 +0x169 github.com/hyperledger/fabric/gossip/comm.(*connection).serviceConnection() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/gossip/comm/conn.go:308 +0x11f Goroutine 178 (running) created at: github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).serveStreams.func1() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:689 +0xb8 github.com/hyperledger/fabric/vendor/google.golang.org/grpc/internal/transport.(*http2Server).operateHeaders() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/internal/transport/http2_server.go:421 +0x1622 github.com/hyperledger/fabric/vendor/google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/internal/transport/http2_server.go:461 +0x37a github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).serveStreams() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:687 +0x170 github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).handleRawConn.func1() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:649 +0x50 Goroutine 174 (running) created at: github.com/hyperledger/fabric/gossip/comm.(*connectionStore).getConnection() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/gossip/comm/conn.go:125 +0x878 github.com/hyperledger/fabric/gossip/comm.(*commImpl).sendToEndpoint() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/gossip/comm/comm_impl.go:231 +0x2ce github.com/hyperledger/fabric/gossip/comm.(*commImpl).Send.func1() /gpfs/haifa/home/r/o/ronensch/m3/go/src/github.com/hyperledger/fabric/gossip/comm/comm_impl.go:218 +0x51 ================== 2019-05-07 14:42:21.679 UTC [gossip.comm] func1 -> WARN 003 127.0.0.1:30615, PKIid:3132372e302e302e313a3330363135 isn't responsive: rpc error: code = Unavailable desc = transport is closing 2019-05-07 14:42:21.692 UTC [gossip.service] func1 -> ERRO 004 Waited 30.05384494 seconds for full membership --- FAIL: TestLeaderYield (32.08s) gossip_service_test.go:559: Failed to establish full membership. Only 0 out of 2 peers have full membership testing.go:809: race detected during execution of test FAIL coverage: 2.5% of statements FAIL github.com/hyperledger/fabric/gossip/service 32.633s ? github.com/hyperledger/fabric/gossip/service/mocks [no test files] real 1m43.327s user 2m0.564s sys 0m13.981s