Created
December 3, 2018 08:56
-
-
Save hugoroussel/eebd16605d33717abb295283027bac0e to your computer and use it in GitHub Desktop.
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
go test -run Spawn -v | |
=== RUN TestEVMContract_Spawn | |
1!: ( byzcoin.TestEVMContract_Spawn: 25) - test: instance creation | |
1 : ( onet.(*Server).Start: 226) - Starting server at 2018-12-03 09:51:09 on address tcp://127.0.0.1:38621 with public key c48920af1c934f39112343632696ffb2ac6557ad35afc4398e0c28ef6efb2ec0 | |
2 : ( onet.(*WebSocket).start: 104) - Starting to listen on 0.0.0.0:38622 | |
1 : ( network.(*Router).Start: 102) - New router with address tcp://[::]:38621 and public key c48920af1c934f39112343632696ffb2ac6557ad35afc4398e0c28ef6efb2ec0 | |
1 : ( onet.(*Server).Start: 226) - Starting server at 2018-12-03 09:51:09 on address tcp://127.0.0.1:36473 with public key 644368d84aee2be76dcc5d730da000f0beed28eb04e3048d14cdba573bd51a69 | |
2 : ( onet.(*WebSocket).start: 104) - Starting to listen on 0.0.0.0:36474 | |
1 : ( network.(*Router).Start: 102) - New router with address tcp://[::]:36473 and public key 644368d84aee2be76dcc5d730da000f0beed28eb04e3048d14cdba573bd51a69 | |
1 : ( onet.(*Server).Start: 226) - Starting server at 2018-12-03 09:51:09 on address tcp://127.0.0.1:40269 with public key 1548b92e3f0fa7bf3ae82a6bde44a52a7ce59930f8d01ca9b600f561183040e7 | |
2 : ( onet.(*WebSocket).start: 104) - Starting to listen on 0.0.0.0:40270 | |
1 : ( network.(*Router).Start: 102) - New router with address tcp://[::]:40269 and public key 1548b92e3f0fa7bf3ae82a6bde44a52a7ce59930f8d01ca9b600f561183040e7 | |
2 : ( onet.wsHandler.ServeHTTP: 199) - ws request from 127.0.0.1:40722: ByzCoin/CreateGenesisBlock | |
2 : ( skipchain.(*Service).StoreSkipBlock: 189) - Creating new skipchain with roster [tcp://127.0.0.1:38621 tcp://127.0.0.1:36473 tcp://127.0.0.1:40269] | |
2 : (byzcoin.(*Service).updateCollectionCallback: 529) - tcp://127.0.0.1:38621 Updating transactions for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : (byzcoin.(*Service).updateCollectionCallback: 558) - tcp://127.0.0.1:38621 started heartbeat monitor for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : (byzcoin.(*Service).updateCollectionCallback: 589) - tcp://127.0.0.1:38621 genesis leader started polling for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : (byzcoin.(*Service).updateCollectionCallback: 529) - tcp://127.0.0.1:40269 Updating transactions for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : (byzcoin.(*Service).updateCollectionCallback: 529) - tcp://127.0.0.1:36473 Updating transactions for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : (byzcoin.(*Service).updateCollectionCallback: 558) - tcp://127.0.0.1:36473 started heartbeat monitor for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : (byzcoin.(*Service).updateCollectionCallback: 558) - tcp://127.0.0.1:40269 started heartbeat monitor for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : ( onet.wsHandler.ServeHTTP.func1: 163) - ws close 127.0.0.1:40722 n 1 rx 1235 tx 1931 | |
2 : ( onet.wsHandler.ServeHTTP: 199) - ws request from 127.0.0.1:40728: ByzCoin/AddTxRequest | |
2 : ( byzcoin.(*Service).AddTransaction: 247) - Instruction[0]: spawn:bvm | |
1!: ( byzcoin.contractBvm: 48) - evm was spawned correctly | |
2 : ( skipchain.(*Service).StoreSkipBlock: 223) - Preparing to add block with roster [tcp://127.0.0.1:38621 tcp://127.0.0.1:36473 tcp://127.0.0.1:40269] to c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : ( skipchain.(*Service).forwardLinkLevel0: 911) - tcp://127.0.0.1:38621 is adding forward-link level 0 to: 0->1 with roster [tcp://127.0.0.1:38621 tcp://127.0.0.1:36473 tcp://127.0.0.1:40269] | |
1!: ( byzcoin.contractBvm: 48) - evm was spawned correctly | |
1!: ( byzcoin.contractBvm: 48) - evm was spawned correctly | |
2 : (byzcoin.(*Service).updateCollectionCallback: 529) - tcp://127.0.0.1:38621 Updating transactions for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : ( onet.wsHandler.ServeHTTP.func1: 163) - ws close 127.0.0.1:40728 n 1 rx 229 tx 2 | |
2 : ( onet.wsHandler.ServeHTTP: 199) - ws request from 127.0.0.1:40732: ByzCoin/GetProof | |
2 : ( byzcoin.(*Service).GetProof: 316) - tcp://127.0.0.1:38621 Getting proof for key fbd974dfba29bd29e2edea73c08a77993685a37a9a61da918e3d062c0a33f22c on sc c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : ( onet.wsHandler.ServeHTTP.func1: 163) - ws close 127.0.0.1:40732 n 1 rx 70 tx 3802 | |
2 : (byzcoin.(*Service).updateCollectionCallback: 529) - tcp://127.0.0.1:36473 Updating transactions for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
2 : (byzcoin.(*Service).updateCollectionCallback: 529) - tcp://127.0.0.1:40269 Updating transactions for c7971d8e879072db3c057bd37a01856497dfadd6db6f8e4c10cb3ebfe6839b4f | |
1 : ( byzcoin.(*Service).cleanupGoroutines: 1188) - tcp://127.0.0.1:36473 closing go-routines | |
1 : ( byzcoin.(*Service).cleanupGoroutines: 1188) - tcp://127.0.0.1:40269 closing go-routines | |
2 : (byzcoin.(*Service).monitorLeaderFailure.func1: 1238) - tcp://127.0.0.1:40269 closing heartbeat timeout monitor | |
2 : (byzcoin.(*Service).monitorLeaderFailure.func1: 1238) - tcp://127.0.0.1:36473 closing heartbeat timeout monitor | |
1 : ( byzcoin.(*Service).cleanupGoroutines: 1188) - tcp://127.0.0.1:38621 closing go-routines | |
2 : ( byzcoin.(*Service).startPolling.func1: 747) - tcp://127.0.0.1:38621 stopping polling | |
2 : (byzcoin.(*Service).monitorLeaderFailure.func1: 1238) - tcp://127.0.0.1:38621 closing heartbeat timeout monitor | |
E : ( log.AfterTest: 72) - 4 instances of: | |
github.com/ethereum/go-ethereum/core.(*txSenderCacher).cache(0xc42009b5b0) | |
/usr/local/go/src/github.com/ethereum/go-ethereum/core/tx_cacher.go:63 +0x97 | |
created by github.com/ethereum/go-ethereum/core.newTxSenderCacher | |
/usr/local/go/src/github.com/ethereum/go-ethereum/core/tx_cacher.go:55 +0xa4 | |
I : ( log.AfterTest: 75) - Stack-trace of caller: goroutine 26 [running]: | |
runtime/debug.Stack(0x99f6a0, 0x789a48, 0xc42009e300) | |
/usr/local/go/src/runtime/debug/stack.go:24 +0xa7 | |
github.com/dedis/onet/log.Stack(0xc4203c7c38, 0x1) | |
/home/hugo/Projects/src/github.com/dedis/onet/log/testutil.go:86 +0x22 | |
github.com/dedis/onet/log.AfterTest(0x0) | |
/home/hugo/Projects/src/github.com/dedis/onet/log/testutil.go:75 +0x431 | |
github.com/dedis/onet.(*LocalTest).CloseAll(0xc4200d2300) | |
/home/hugo/Projects/src/github.com/dedis/onet/local.go:333 +0x3b5 | |
_/home/hugo/Projects/student_18_hugo_verex/byzcoin.(*bcTest).Close(0xc4200b6c60) | |
/home/hugo/Projects/student_18_hugo_verex/byzcoin/bvmContract_test.go:211 +0x2e | |
_/home/hugo/Projects/student_18_hugo_verex/byzcoin.TestEVMContract_Spawn(0xc42019e1e0) | |
/home/hugo/Projects/student_18_hugo_verex/byzcoin/bvmContract_test.go:45 +0x39a | |
testing.tRunner(0xc42019e1e0, 0xa81560) | |
/usr/local/go/src/testing/testing.go:777 +0xd0 | |
created by testing.(*T).Run | |
/usr/local/go/src/testing/testing.go:824 +0x2e0 | |
F : ( log.AfterTest: 79) - Test leaks 1 gorountines. | |
exit status 1 | |
FAIL _/home/hugo/Projects/student_18_hugo_verex/byzcoin 2.525s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment