Created
April 26, 2018 12:20
-
-
Save christo4ferris/69c3474eaa85356741f1120edc058eb5 to your computer and use it in GitHub Desktop.
core/endorser failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Creating couchdb ... done | |
Creating unittest_unit-tests_1 ... done | |
Attaching to couchdb, unittest_unit-tests_1 | |
couchdb | WARNING: no logs are available with the 'none' log driver | |
unit-tests_1 | experimental | |
unit-tests_1 | 2018-04-26 12:07:33.040 UTC [msp] DeserializeIdentity -> INFO 001 Obtaining identity | |
unit-tests_1 | 2018-04-26 12:07:33.040 UTC [endorser] preProcess -> ERRO 002 Error: an attempt was made by []byte{0xa, 0x9, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4f, 0x72, 0x67, 0x12, 0xba, 0x6, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x42, 0x45, 0x47, 0x49, 0x4e, 0x20, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0xa, 0x4d, 0x49, 0x49, 0x43, 0x4e, 0x6a, 0x43, 0x43, 0x41, 0x64, 0x32, 0x67, 0x41, 0x77, 0x49, 0x42, 0x41, 0x67, 0x49, 0x52, 0x41, 0x4d, 0x6e, 0x66, 0x39, 0x2f, 0x64, 0x6d, 0x56, 0x39, 0x52, 0x76, 0x43, 0x43, 0x56, 0x77, 0x39, 0x70, 0x5a, 0x51, 0x55, 0x66, 0x55, 0x77, 0x43, 0x67, 0x59, 0x49, 0x4b, 0x6f, 0x5a, 0x49, 0x7a, 0x6a, 0x30, 0x45, 0x41, 0x77, 0x49, 0x77, 0x67, 0x59, 0x45, 0x78, 0xa, 0x43, 0x7a, 0x41, 0x4a, 0x42, 0x67, 0x4e, 0x56, 0x42, 0x41, 0x59, 0x54, 0x41, 0x6c, 0x56, 0x54, 0x4d, 0x52, 0x4d, 0x77, 0x45, 0x51, 0x59, 0x44, 0x56, 0x51, 0x51, 0x49, 0x45, 0x77, 0x70, 0x44, 0x59, 0x57, 0x78, 0x70, 0x5a, 0x6d, 0x39, 0x79, 0x62, 0x6d, 0x6c, 0x68, 0x4d, 0x52, 0x59, 0x77, 0x46, 0x41, 0x59, 0x44, 0x56, 0x51, 0x51, 0x48, 0x45, 0x77, 0x31, 0x54, 0x59, 0x57, 0x34, 0x67, 0xa, 0x52, 0x6e, 0x4a, 0x68, 0x62, 0x6d, 0x4e, 0x70, 0x63, 0x32, 0x4e, 0x76, 0x4d, 0x52, 0x6b, 0x77, 0x46, 0x77, 0x59, 0x44, 0x56, 0x51, 0x51, 0x4b, 0x45, 0x78, 0x42, 0x76, 0x63, 0x6d, 0x63, 0x78, 0x4c, 0x6d, 0x56, 0x34, 0x59, 0x57, 0x31, 0x77, 0x62, 0x47, 0x55, 0x75, 0x59, 0x32, 0x39, 0x74, 0x4d, 0x51, 0x77, 0x77, 0x43, 0x67, 0x59, 0x44, 0x56, 0x51, 0x51, 0x4c, 0x45, 0x77, 0x4e, 0x44, 0xa, 0x54, 0x31, 0x41, 0x78, 0x48, 0x44, 0x41, 0x61, 0x42, 0x67, 0x4e, 0x56, 0x42, 0x41, 0x4d, 0x54, 0x45, 0x32, 0x4e, 0x68, 0x4c, 0x6d, 0x39, 0x79, 0x5a, 0x7a, 0x45, 0x75, 0x5a, 0x58, 0x68, 0x68, 0x62, 0x58, 0x42, 0x73, 0x5a, 0x53, 0x35, 0x6a, 0x62, 0x32, 0x30, 0x77, 0x48, 0x68, 0x63, 0x4e, 0x4d, 0x54, 0x63, 0x78, 0x4d, 0x54, 0x45, 0x79, 0x4d, 0x54, 0x4d, 0x30, 0x4d, 0x54, 0x45, 0x78, 0xa, 0x57, 0x68, 0x63, 0x4e, 0x4d, 0x6a, 0x63, 0x78, 0x4d, 0x54, 0x45, 0x77, 0x4d, 0x54, 0x4d, 0x30, 0x4d, 0x54, 0x45, 0x78, 0x57, 0x6a, 0x42, 0x70, 0x4d, 0x51, 0x73, 0x77, 0x43, 0x51, 0x59, 0x44, 0x56, 0x51, 0x51, 0x47, 0x45, 0x77, 0x4a, 0x56, 0x55, 0x7a, 0x45, 0x54, 0x4d, 0x42, 0x45, 0x47, 0x41, 0x31, 0x55, 0x45, 0x43, 0x42, 0x4d, 0x4b, 0x51, 0x32, 0x46, 0x73, 0x61, 0x57, 0x5a, 0x76, 0xa, 0x63, 0x6d, 0x35, 0x70, 0x59, 0x54, 0x45, 0x57, 0x4d, 0x42, 0x51, 0x47, 0x41, 0x31, 0x55, 0x45, 0x42, 0x78, 0x4d, 0x4e, 0x55, 0x32, 0x46, 0x75, 0x49, 0x45, 0x5a, 0x79, 0x59, 0x57, 0x35, 0x6a, 0x61, 0x58, 0x4e, 0x6a, 0x62, 0x7a, 0x45, 0x4d, 0x4d, 0x41, 0x6f, 0x47, 0x41, 0x31, 0x55, 0x45, 0x43, 0x78, 0x4d, 0x44, 0x51, 0x30, 0x39, 0x51, 0x4d, 0x52, 0x38, 0x77, 0x48, 0x51, 0x59, 0x44, 0xa, 0x56, 0x51, 0x51, 0x44, 0x45, 0x78, 0x5a, 0x77, 0x5a, 0x57, 0x56, 0x79, 0x4d, 0x43, 0x35, 0x76, 0x63, 0x6d, 0x63, 0x78, 0x4c, 0x6d, 0x56, 0x34, 0x59, 0x57, 0x31, 0x77, 0x62, 0x47, 0x55, 0x75, 0x59, 0x32, 0x39, 0x74, 0x4d, 0x46, 0x6b, 0x77, 0x45, 0x77, 0x59, 0x48, 0x4b, 0x6f, 0x5a, 0x49, 0x7a, 0x6a, 0x30, 0x43, 0x41, 0x51, 0x59, 0x49, 0x4b, 0x6f, 0x5a, 0x49, 0x7a, 0x6a, 0x30, 0x44, 0xa, 0x41, 0x51, 0x63, 0x44, 0x51, 0x67, 0x41, 0x45, 0x5a, 0x38, 0x53, 0x34, 0x56, 0x37, 0x31, 0x4f, 0x42, 0x4a, 0x70, 0x79, 0x4d, 0x49, 0x56, 0x5a, 0x64, 0x77, 0x59, 0x64, 0x46, 0x58, 0x41, 0x63, 0x6b, 0x49, 0x74, 0x72, 0x70, 0x76, 0x53, 0x72, 0x43, 0x66, 0x30, 0x48, 0x51, 0x67, 0x34, 0x30, 0x57, 0x57, 0x39, 0x58, 0x53, 0x6f, 0x4f, 0x4f, 0x4f, 0x37, 0x36, 0x49, 0x2b, 0x55, 0x6d, 0x66, 0xa, 0x45, 0x6b, 0x6d, 0x54, 0x6c, 0x49, 0x4a, 0x58, 0x50, 0x37, 0x2f, 0x41, 0x79, 0x52, 0x52, 0x53, 0x52, 0x55, 0x33, 0x38, 0x6f, 0x49, 0x38, 0x49, 0x76, 0x74, 0x75, 0x34, 0x4d, 0x36, 0x4e, 0x4e, 0x4d, 0x45, 0x73, 0x77, 0x44, 0x67, 0x59, 0x44, 0x56, 0x52, 0x30, 0x50, 0x41, 0x51, 0x48, 0x2f, 0x42, 0x41, 0x51, 0x44, 0x41, 0x67, 0x65, 0x41, 0x4d, 0x41, 0x77, 0x47, 0x41, 0x31, 0x55, 0x64, 0xa, 0x45, 0x77, 0x45, 0x42, 0x2f, 0x77, 0x51, 0x43, 0x4d, 0x41, 0x41, 0x77, 0x4b, 0x77, 0x59, 0x44, 0x56, 0x52, 0x30, 0x6a, 0x42, 0x43, 0x51, 0x77, 0x49, 0x6f, 0x41, 0x67, 0x69, 0x6e, 0x4f, 0x52, 0x49, 0x68, 0x6e, 0x50, 0x45, 0x46, 0x5a, 0x55, 0x68, 0x58, 0x6d, 0x36, 0x65, 0x57, 0x42, 0x6b, 0x6d, 0x37, 0x4b, 0x37, 0x5a, 0x63, 0x38, 0x52, 0x34, 0x2f, 0x7a, 0x37, 0x4c, 0x57, 0x34, 0x48, 0xa, 0x6f, 0x73, 0x73, 0x44, 0x6c, 0x43, 0x73, 0x77, 0x43, 0x67, 0x59, 0x49, 0x4b, 0x6f, 0x5a, 0x49, 0x7a, 0x6a, 0x30, 0x45, 0x41, 0x77, 0x49, 0x44, 0x52, 0x77, 0x41, 0x77, 0x52, 0x41, 0x49, 0x67, 0x56, 0x69, 0x6b, 0x49, 0x55, 0x5a, 0x7a, 0x67, 0x66, 0x75, 0x46, 0x73, 0x47, 0x4c, 0x51, 0x48, 0x57, 0x4a, 0x55, 0x56, 0x4a, 0x43, 0x55, 0x37, 0x70, 0x44, 0x61, 0x45, 0x54, 0x6b, 0x61, 0x7a, 0xa, 0x50, 0x7a, 0x46, 0x67, 0x73, 0x43, 0x69, 0x4c, 0x78, 0x55, 0x41, 0x43, 0x49, 0x43, 0x67, 0x7a, 0x4a, 0x59, 0x6c, 0x57, 0x37, 0x6e, 0x76, 0x5a, 0x78, 0x50, 0x37, 0x62, 0x36, 0x74, 0x62, 0x65, 0x75, 0x33, 0x74, 0x38, 0x6d, 0x72, 0x68, 0x4d, 0x58, 0x51, 0x73, 0x39, 0x35, 0x36, 0x6d, 0x44, 0x34, 0x2b, 0x42, 0x6f, 0x4b, 0x75, 0x4e, 0x49, 0xa, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x45, 0x4e, 0x44, 0x20, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0xa} to invoke system chaincode ccid | |
unit-tests_1 | 2018-04-26 12:07:33.041 UTC [endorser] ProcessProposal -> ERRO 003 [testchainid][aeae8d33] simulateProposal() resulted in chaincode name:"ccid" version:"0" response status 1000 for txid: aeae8d33d6e783da7b3d97b22e9ae6219c66683ee900e7257138af8753304571 | |
unit-tests_1 | 2018-04-26 12:07:33.042 UTC [endorser] SimulateProposal -> ERRO 004 [testchainid][f56fee1d] failed to invoke chaincode name:"ccid" version:"0" , error: | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser_test.TestEndorserCCInvocationError | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser_test.go:173 | |
unit-tests_1 | testing.tRunner | |
unit-tests_1 | /opt/go/src/testing/testing.go:777 | |
unit-tests_1 | runtime.goexit | |
unit-tests_1 | /opt/go/src/runtime/asm_amd64.s:2361 | |
unit-tests_1 | 2018-04-26 12:07:33.042 UTC [endorser] SimulateProposal -> ERRO 005 [testchainid][787ee31e] failed to invoke chaincode name:"lscc" version:"0" , error: Unknown chaincodeType: UNDEFINED | |
unit-tests_1 | 2018-04-26 12:07:33.044 UTC [endorser] SimulateProposal -> ERRO 006 [testchainid][ddc5fe0e] failed to invoke chaincode name:"lscc" version:"0" , error: | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser_test.TestEndorserLSCCInitFails | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser_test.go:274 | |
unit-tests_1 | testing.tRunner | |
unit-tests_1 | /opt/go/src/testing/testing.go:777 | |
unit-tests_1 | runtime.goexit | |
unit-tests_1 | /opt/go/src/runtime/asm_amd64.s:2361 | |
unit-tests_1 | 2018-04-26 12:07:33.044 UTC [endorser] SimulateProposal -> ERRO 007 [testchainid][a8ca0e3d] failed to invoke chaincode name:"lscc" version:"0" , error: attempting to deploy a system chaincode barf/testchainid | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:174 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser.(*Endorser).SimulateProposal | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:278 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:520 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser_test.TestEndorserLSCCDeploySysCC | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser_test.go:317 | |
unit-tests_1 | testing.tRunner | |
unit-tests_1 | /opt/go/src/testing/testing.go:777 | |
unit-tests_1 | runtime.goexit | |
unit-tests_1 | /opt/go/src/runtime/asm_amd64.s:2361 | |
unit-tests_1 | 2018-04-26 12:07:33.045 UTC [protoutils] ValidateProposalMessage -> WARN 008 channel [barfchain]: MSP error: channel doesn't exist | |
unit-tests_1 | --- FAIL: TestEndorseWithPlugin (0.00s) | |
Error Trace: endorser_test.go:501 | |
unit-tesError: Expected nil, but got: &peer.ProposalResponse{Version:0, Timestamp:(*timestamp.Timestamp)(nil), Response:(*peer.Response)(0xc4203978c0), Payload:[]uint8(nil), Endorsement:(*peer.Endorsement)(nil)} | |
unit-tesTest: TestEndorseWithPlugin | |
unit-tests_1 | 2018-04-26 12:07:33.046 UTC [endorser] EndorseWithPlugin -> INFO 009 Entering endorsement for %!v(PANIC=runtime error: invalid memory address or nil pointer dereference) | |
unit-tests_1 | 2018-04-26 12:07:33.046 UTC [endorser] EndorseWithPlugin -> WARN 00a Endorsement with plugin for %!v(PANIC=runtime error: invalid memory address or nil pointer dereference) failed: plugin with name notfound wasn't found | |
unit-tests_1 | 2018-04-26 12:07:33.046 UTC [endorser] EndorseWithPlugin -> INFO 00b Entering endorsement for {plugin: plugin, channel: mychannel, tx: , chaincode: mycc} | |
unit-tests_1 | --- FAIL: TestPluginEndorserGreenPath (0.00s) | |
unit-tests_1 | panic: | |
unit-tests_1 | | |
unit-tests_1 | mock: Unexpected Method Call | |
unit-tests_1 | ----------------------------- | |
unit-tests_1 | | |
unit-tests_1 | Init(*mocks.State,*mocks.SigningIdentityFetcher) | |
unit-tests_1 | 0: &mocks.State{Mock:mock.Mock{ExpectedCalls:[]*mock.Call(nil), Calls:[]mock.Call(nil), testData:objx.Map(nil), mutex:sync.Mutex{state:0, sema:0x0}}} | |
unit-tests_1 | 1: &mocks.SigningIdentityFetcher{Mock:mock.Mock{ExpectedCalls:[]*mock.Call(nil), Calls:[]mock.Call(nil), testData:objx.Map(nil), mutex:sync.Mutex{state:0, sema:0x0}}} | |
unit-tests_1 | | |
unit-tests_1 | The closest call I have is: | |
unit-tests_1 | | |
unit-tests_1 | Init(string) | |
unit-tests_1 | 0: "mock.Anything" | |
unit-tests_1 | | |
unit-tests_1 | Provided 1 arguments, mocked for 2 arguments | |
unit-tests_1 | [recovered] | |
unit-tests_1 | panic: | |
unit-tests_1 | | |
unit-tests_1 | mock: Unexpected Method Call | |
unit-tests_1 | ----------------------------- | |
unit-tests_1 | | |
unit-tests_1 | Init(*mocks.State,*mocks.SigningIdentityFetcher) | |
unit-tests_1 | 0: &mocks.State{Mock:mock.Mock{ExpectedCalls:[]*mock.Call(nil), Calls:[]mock.Call(nil), testData:objx.Map(nil), mutex:sync.Mutex{state:0, sema:0x0}}} | |
unit-tests_1 | 1: &mocks.SigningIdentityFetcher{Mock:mock.Mock{ExpectedCalls:[]*mock.Call(nil), Calls:[]mock.Call(nil), testData:objx.Map(nil), mutex:sync.Mutex{state:0, sema:0x0}}} | |
unit-tests_1 | | |
unit-tests_1 | The closest call I have is: | |
unit-tests_1 | | |
unit-tests_1 | Init(string) | |
unit-tests_1 | 0: "mock.Anything" | |
unit-tests_1 | | |
unit-tests_1 | Provided 1 arguments, mocked for 2 arguments | |
unit-tests_1 | | |
unit-tests_1 | | |
unit-tests_1 | goroutine 46 [running]: | |
unit-tests_1 | testing.tRunner.func1(0xc42038eff0) | |
unit-tests_1 | /opt/go/src/testing/testing.go:742 +0x29d | |
unit-tests_1 | panic(0xff6b80, 0xc4203f83c0) | |
unit-tests_1 | /opt/go/src/runtime/panic.go:505 +0x229 | |
unit-tests_1 | github.com/hyperledger/fabric/vendor/github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc4203ac7c0, 0x1653094, 0x4, 0xc4203b69c0, 0x2, 0x2, 0x4, 0x2, 0x0) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/stretchr/testify/mock/mock.go:329 +0x8bb | |
unit-tests_1 | github.com/hyperledger/fabric/vendor/github.com/stretchr/testify/mock.(*Mock).Called(0xc4203ac7c0, 0xc4203b69c0, 0x2, 0x2, 0xc4203b69a0, 0x2, 0x2) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/stretchr/testify/mock/mock.go:306 +0x145 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser/mocks.(*Plugin).Init(0xc4203ac7c0, 0xc4203b6980, 0x2, 0x2, 0x2, 0xc4203b6980) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/mocks/plugin.go:59 +0x14a | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser.(*pluginsByChannel).initPlugin(0xc4203ac940, 0x7ff5e03c05d8, 0xc4203ac7c0, 0x119681a, 0x9, 0xc420397c00, 0x1193506) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/plugin_endorser.go:118 +0xb2 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser.(*pluginsByChannel).createPluginIfAbsent(0xc4203ac940, 0x119681a, 0x9, 0x0, 0x0, 0x0, 0x0) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/plugin_endorser.go:98 +0x1a7 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser.(*PluginEndorser).getOrCreatePlugin(0xc4203ac8c0, 0x1193506, 0x6, 0x119681a, 0x9, 0x0, 0x0, 0x0, 0x8) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/plugin_endorser.go:175 +0xc7 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser.(*PluginEndorser).EndorseWithPlugin(0xc4203ac8c0, 0x1193506, 0x6, 0x119681a, 0x9, 0x0, 0x0, 0xc42036acd0, 0x0, 0x0, ...) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/plugin_endorser.go:139 +0x168 | |
unit-tests_1 | github.com/hyperledger/fabric/core/endorser_test.TestPluginEndorserGreenPath(0xc42038eff0) | |
unit-tests_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/plugin_endorser_test.go:75 +0x9b3 | |
unit-tests_1 | testing.tRunner(0xc42038eff0, 0x11d1ad0) | |
unit-tests_1 | /opt/go/src/testing/testing.go:777 +0xd0 | |
unit-tests_1 | created by testing.(*T).Run | |
unit-tests_1 | /opt/go/src/testing/testing.go:824 +0x2e0 | |
unit-tests_1 | FAIL github.com/hyperledger/fabric/core/endorser 0.075s | |
unit-tests_1 | ? github.com/hyperledger/fabric/core/endorser/mocks [no test files] | |
unittest_unit-tests_1 exited with code 1 | |
Aborting on container exit... | |
Stopping couchdb ... done | |
make: *** [unit-test] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment