Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-16271

Intermittent test failure - orderer/common/server.TestBroadcastNoPanic panics

    Details

    • Steps to Reproduce:
      (Please add steps to reproduce)

      Description

      15:44:43 2019-08-09 19:42:26.550 UTC [orderer.common.server] func1 -> ERRO 055 Broadcast client triggered panic: runtime error: invalid memory address or nil pointer dereference
      15:44:43 goroutine 97 [running]:
      15:44:43 runtime/debug.Stack(0x2cfebd0, 0x1, 0x1)
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/runtime/debug/stack.go:24 +0xab
      15:44:43 github.com/hyperledger/fabric/orderer/common/server.(*server).Broadcast.func1()
      15:44:43 	/w/workspace/fabric-verify-unit-tests-x86_64/gopath/src/github.com/hyperledger/fabric/orderer/common/server/server.go:152 +0x15f
      15:44:43 panic(0x1be16e0, 0x2c055b0)
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/runtime/panic.go:522 +0x1b5
      15:44:43 github.com/hyperledger/fabric/orderer/common/server.(*broadcastMsgTracer).Context(0xc00023de60, 0xc0004bc000, 0xc000b8ce08)
      15:44:43 	<autogenerated>:1 +0x59
      15:44:43 github.com/hyperledger/fabric/orderer/common/broadcast.(*Handler).Handle(0x0, 0x1fb3e20, 0xc00023de60, 0x1e, 0x0)
      15:44:43 	/w/workspace/fabric-verify-unit-tests-x86_64/gopath/src/github.com/hyperledger/fabric/orderer/common/broadcast/broadcast.go:67 +0x5d
      15:44:43 github.com/hyperledger/fabric/orderer/common/server.(*server).Broadcast(0xc000b8cf40, 0x0, 0x0, 0x0, 0x0)
      15:44:43 	/w/workspace/fabric-verify-unit-tests-x86_64/gopath/src/github.com/hyperledger/fabric/orderer/common/server/server.go:156 +0x217
      15:44:43 github.com/hyperledger/fabric/orderer/common/server.TestBroadcastNoPanic(0xc00043eb00)
      15:44:43 	/w/workspace/fabric-verify-unit-tests-x86_64/gopath/src/github.com/hyperledger/fabric/orderer/common/server/server_test.go:30 +0x55
      15:44:43 testing.tRunner(0xc00043eb00, 0x1dbd3b0)
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/testing/testing.go:865 +0x164
      15:44:43 created by testing.(*T).Run
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/testing/testing.go:916 +0x65b
      15:44:43 2019-08-09 19:42:26.551 UTC [orderer.common.server] func1 -> ERRO 056 Deliver client triggered panic: runtime error: invalid memory address or nil pointer dereference
      15:44:43 goroutine 139 [running]:
      15:44:43 runtime/debug.Stack(0x2cfebd0, 0x1, 0x1)
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/runtime/debug/stack.go:24 +0xab
      15:44:43 github.com/hyperledger/fabric/orderer/common/server.(*server).Deliver.func1()
      15:44:43 	/w/workspace/fabric-verify-unit-tests-x86_64/gopath/src/github.com/hyperledger/fabric/orderer/common/server/server.go:170 +0x15f
      15:44:43 panic(0x1be16e0, 0x2c055b0)
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/runtime/panic.go:522 +0x1b5
      15:44:43 github.com/hyperledger/fabric/orderer/common/server.(*server).Deliver(0xc0004813e0, 0x0, 0x0, 0x0, 0x0)
      15:44:43 	/w/workspace/fabric-verify-unit-tests-x86_64/gopath/src/github.com/hyperledger/fabric/orderer/common/server/server.go:198 +0x382
      15:44:43 github.com/hyperledger/fabric/orderer/common/server.TestDeliverNoPanic(0xc00010c100)
      15:44:43 	/w/workspace/fabric-verify-unit-tests-x86_64/gopath/src/github.com/hyperledger/fabric/orderer/common/server/server_test.go:35 +0x84
      15:44:43 testing.tRunner(0xc00010c100, 0x1dbd440)
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/testing/testing.go:865 +0x164
      15:44:43 created by testing.(*T).Run
      15:44:43 	/opt/go/go1.12.5.linux.amd64/src/testing/testing.go:916 +0x65b
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sykesm Matthew Sykes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code