Closed Jerick26 closed 5 years ago
22:45:02 jerrypeen:integration_tests&ci_test* $ ./integration_tests -nodes=true INFO[0004] prepare test workspace source="integration_tests/util.go:125" tag=integration_tests INFO[0004] clean ./.devconfig/ws1 database and logs source="integration_tests/util.go:135" tag=integration_tests INFO[0004] configure file ./.devconfig/.box-1.yaml and keyfile ./.devconfig/keyfile/key1.keystore exists source="integration_tests/util.go:157" tag=integration_tests INFO[0004] clean ./.devconfig/ws2 database and logs source="integration_tests/util.go:135" tag=integration_tests INFO[0004] configure file ./.devconfig/.box-2.yaml and keyfile ./.devconfig/keyfile/key2.keystore exists source="integration_tests/util.go:157" tag=integration_tests INFO[0004] clean ./.devconfig/ws3 database and logs source="integration_tests/util.go:135" tag=integration_tests INFO[0004] configure file ./.devconfig/.box-3.yaml and keyfile ./.devconfig/keyfile/key3.keystore exists source="integration_tests/util.go:157" tag=integration_tests INFO[0004] clean ./.devconfig/ws4 database and logs source="integration_tests/util.go:135" tag=integration_tests INFO[0004] configure file ./.devconfig/.box-4.yaml and keyfile ./.devconfig/keyfile/key4.keystore exists source="integration_tests/util.go:157" tag=integration_tests INFO[0004] clean ./.devconfig/ws5 database and logs source="integration_tests/util.go:135" tag=integration_tests INFO[0004] configure file ./.devconfig/.box-5.yaml and keyfile ./.devconfig/keyfile/key5.keystore exists source="integration_tests/util.go:157" tag=integration_tests INFO[0004] clean ./.devconfig/ws6 database and logs source="integration_tests/util.go:135" tag=integration_tests INFO[0004] configure file ./.devconfig/.box-6.yaml and keyfile ./.devconfig/keyfile/key6.keystore exists source="integration_tests/util.go:157" tag=integration_tests INFO[0004] startLocalNodes: [../box start --config=./.devconfig/.box-1.yaml &] source="integration_tests/util.go:63" tag=integration_tests INFO[0004] startLocalNodes: [../box start --config=./.devconfig/.box-2.yaml &] source="integration_tests/util.go:63" tag=integration_tests INFO[0004] startLocalNodes: [../box start --config=./.devconfig/.box-3.yaml &] source="integration_tests/util.go:63" tag=integration_tests INFO[0004] startLocalNodes: [../box start --config=./.devconfig/.box-4.yaml &] source="integration_tests/util.go:63" tag=integration_tests INFO[0004] startLocalNodes: [../box start --config=./.devconfig/.box-5.yaml &] source="integration_tests/util.go:63" tag=integration_tests INFO[0004] startLocalNodes: [../box start --config=./.devconfig/.box-6.yaml &] source="integration_tests/util.go:63" tag=integration_tests INFO[0004] start to gen 10 tests address source="integration_tests/collection.go:40" tag=integration_tests INFO[0004] start to create 10 accounts source="integration_tests/boxutil.go:258" tag=integration_tests INFO[0013] start to unlock all 10 tests accounts source="integration_tests/collection.go:44" tag=integration_tests INFO[0020] start to gen 10 address for circulation source="integration_tests/circulation.go:36" tag=integration_tests INFO[0020] start to create 10 accounts source="integration_tests/boxutil.go:258" tag=integration_tests INFO[0028] start to unlock all 10 tests accounts source="integration_tests/circulation.go:40" tag=integration_tests INFO[0036] start collection doTx 1 source="integration_tests/collection.go:93" tag=integration_tests INFO[0036] waiting for minersAddr has 1000000 at least on 127.0.0.1:19111 source="integration_tests/collection.go:106" tag=integration_tests INFO[0036] start collection doTx 0 source="integration_tests/collection.go:93" tag=integration_tests INFO[0036] waiting for minersAddr has 1000000 at least on 127.0.0.1:19111 source="integration_tests/collection.go:106" tag=integration_tests INFO[0036] start circulation doTx 1 source="integration_tests/circulation.go:89" tag=integration_tests INFO[0036] start circulation doTx 0 source="integration_tests/circulation.go:89" tag=integration_tests INFO[0036] start to launder some fund 1000000 on 127.0.0.1:19111 source="integration_tests/collection.go:120" tag=integration_tests INFO[0036] === RUN launderFunds source="integration_tests/collection.go:138" tag=integration_tests INFO[0036] wait for balance of b1Zh3Zt7EdTzcz35YsAo9hjvwG9DtRtHWCE more than 126513, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0037] start to launder some fund 1000000 on 127.0.0.1:19111 source="integration_tests/collection.go:120" tag=integration_tests INFO[0037] === RUN launderFunds source="integration_tests/collection.go:138" tag=integration_tests INFO[0037] wait for balance of b1XvxBgyNuyDdyTL1pDVm5XLqQdQCrJRxgX more than 178157, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] wait for balance of b1YWuaB8BMuH9TohEreiPhiX75JEpR3x2Xq more than 164089, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] wait for balance of b1hWX85L3bVCYgzu73H1eYmpksMLwZYcxrs more than 119813, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] wait for balance of b1poZXjwt1wCpyan2tFmt5GemUkZd11qRDj more than 129082, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] wait for balance of b1rE9gMXDeSQfgewDQPAqm1hAAeuM43H2Ge more than 143946, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] wait for balance of b1jnMxT4Z95Fqejjo7RDhEp2Y29jatHibZS more than 144801, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] wait for balance of b1eZPL1rUtmFbMrRao5BDhfhzSHnsaJwbPF more than 116428, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] start to send tx from each to each source="integration_tests/collection.go:169" tag=integration_tests INFO[0041] wait for balance of b1dTRGZMYEZF1T9SEY3dgpHeXxNHwd7trc3 more than 139890, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] wait for balance of b1qWYHg2BeVg8LpkHmLVSp33ZpbaRpRUSQT more than 172013, timeout 30s source="integration_tests/collection.go:156" tag=integration_tests INFO[0041] start to send tx from each to each source="integration_tests/collection.go:169" tag=integration_tests INFO[0041] complete to send tx from each to each source="integration_tests/collection.go:194" tag=integration_tests INFO[0041] wait for balance of b1Zh3Zt7EdTzcz35YsAo9hjvwG9DtRtHWCE reach 123224, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0041] wait for balance of b1YWuaB8BMuH9TohEreiPhiX75JEpR3x2Xq reach 113452, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0041] complete to send tx from each to each source="integration_tests/collection.go:194" tag=integration_tests INFO[0041] wait for balance of b1XvxBgyNuyDdyTL1pDVm5XLqQdQCrJRxgX reach 110865, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0041] wait for balance of b1hWX85L3bVCYgzu73H1eYmpksMLwZYcxrs reach 92264, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0041] wait for balance of b1rE9gMXDeSQfgewDQPAqm1hAAeuM43H2Ge reach 122146, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0041] wait for balance of b1poZXjwt1wCpyan2tFmt5GemUkZd11qRDj reach 137809, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0041] wait for balance of b1eZPL1rUtmFbMrRao5BDhfhzSHnsaJwbPF reach 104406, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0041] wait for b1TwFVhD17ww136rf97Hjj4mcCh7xc626vU balance reach 230606 timeout 5s source="integration_tests/collection.go:233" tag=integration_tests INFO[0046] --- DONE: launderFunds, result balance: 230606 source="integration_tests/collection.go:239" tag=integration_tests INFO[0046] start box circulation between accounts on 127.0.0.1:19111 source="integration_tests/circulation.go:104" tag=integration_tests INFO[0046] === RUN txRepeatTest source="integration_tests/circulation.go:120" tag=integration_tests INFO[0046] fromAddr[b1TwFVhD17ww136rf97Hjj4mcCh7xc626vU] balance: 230606, toAddr[b1WXy9M4Y1GAaHq9BysDxx6FwCka843M9XB] balance: 0 source="integration_tests/circulation.go:132" tag=integration_tests INFO[0046] start to send tx from b1TwFVhD17ww136rf97Hjj4mcCh7xc626vU to b1WXy9M4Y1GAaHq9BysDxx6FwCka843M9XB 100 times source="integration_tests/circulation.go:135" tag=integration_tests INFO[0046] wait for balance of b1jnMxT4Z95Fqejjo7RDhEp2Y29jatHibZS reach 135917, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0046] wait for balance of b1dTRGZMYEZF1T9SEY3dgpHeXxNHwd7trc3 reach 137794, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0046] wait for balance of b1qWYHg2BeVg8LpkHmLVSp33ZpbaRpRUSQT reach 94138, timeout 30s source="integration_tests/collection.go:198" tag=integration_tests INFO[0046] wait for b1fjBeExvPsVgXMkPxs18H7e9GBvgTyvAfs balance reach 294855 timeout 5s source="integration_tests/collection.go:233" tag=integration_tests INFO[0046] wait for balance of b1WXy9M4Y1GAaHq9BysDxx6FwCka843M9XB reach 140368, timeout 30s source="integration_tests/circulation.go:144" tag=integration_tests INFO[0051] fromAddr[b1TwFVhD17ww136rf97Hjj4mcCh7xc626vU] balance: 73849 toAddr[b1WXy9M4Y1GAaHq9BysDxx6FwCka843M9XB] balance: 140368 source="integration_tests/circulation.go:154" tag=integration_tests INFO[0051] --- DONE: txRepeatTest source="integration_tests/circulation.go:165" tag=integration_tests INFO[0051] done doTx source="integration_tests/circulation.go:74" tag=integration_tests INFO[0051] --- DONE: launderFunds, result balance: 294855 source="integration_tests/collection.go:239" tag=integration_tests INFO[0051] done collection source="integration_tests/main.go:141" tag=integration_tests INFO[0051] start box circulation between accounts on 127.0.0.1:19111 source="integration_tests/circulation.go:104" tag=integration_tests INFO[0051] === RUN txRepeatTest source="integration_tests/circulation.go:120" tag=integration_tests INFO[0051] fromAddr[b1fjBeExvPsVgXMkPxs18H7e9GBvgTyvAfs] balance: 294855, toAddr[b1Ymi72TXybJHBPTzpMoSNAA6tj99W5GdRT] balance: 0 source="integration_tests/circulation.go:132" tag=integration_tests INFO[0051] start to send tx from b1fjBeExvPsVgXMkPxs18H7e9GBvgTyvAfs to b1Ymi72TXybJHBPTzpMoSNAA6tj99W5GdRT 100 times source="integration_tests/circulation.go:135" tag=integration_tests INFO[0052] wait for balance of b1Ymi72TXybJHBPTzpMoSNAA6tj99W5GdRT reach 179151, timeout 30s source="integration_tests/circulation.go:144" tag=integration_tests INFO[0056] fromAddr[b1fjBeExvPsVgXMkPxs18H7e9GBvgTyvAfs] balance: 99516 toAddr[b1Ymi72TXybJHBPTzpMoSNAA6tj99W5GdRT] balance: 179151 source="integration_tests/circulation.go:154" tag=integration_tests INFO[0056] --- DONE: txRepeatTest source="integration_tests/circulation.go:165" tag=integration_tests INFO[0056] done doTx source="integration_tests/circulation.go:74" tag=integration_tests INFO[0056] done circulation source="integration_tests/main.go:148" tag=integration_tests INFO[0056] remove 10 keystore files source="integration_tests/util.go:207" tag=integration_tests INFO[0056] remove 10 keystore files source="integration_tests/util.go:207" tag=integration_tests ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p ERRO[0051] ReadMessage occurs error. Err: stream reset source="p2p/conn.go:92" tag=p2p panic: send on closed channel goroutine 130 [running]: github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg(...) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:110 github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg-fm(0xc020dc42f0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:86 +0x42 reflect.Value.call(0x48961c0, 0xc000497150, 0x13, 0x49f551b, 0x4, 0xc020dc6a20, 0x1, 0x1, 0xc020dc4300, 0x4868c80, ...) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:447 +0x449 reflect.Value.Call(0x48961c0, 0xc000497150, 0x13, 0xc020dc6a20, 0x1, 0x1, 0x1, 0xc0004c6501, 0x1) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:308 +0xa4 github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).doPublish(0xc0000abcb0, 0xc000451a40, 0xc020dc4300, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:203 +0x8e github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).Publish(0xc0000abcb0, 0x49fcf4f, 0xc, 0xc020dc4300, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:192 +0x28c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).notifyBlockConnectionUpdate(0xc0004ee000, 0xc000484dc0, 0x1, 0x0, 0xc5bdf3fe26e7c660) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:582 +0xd2 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).applyBlock(0xc0004ee000, 0xc000484dc0, 0xc000505f00, 0x9b, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:578 +0x264 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryConnectBlockToMainChain(0xc0004ee000, 0xc000484dc0, 0x20, 0x4948b01) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:460 +0x36c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryAcceptBlock(0xc0004ee000, 0xc000484dc0, 0xef0005425587e2a, 0xdc48889169dfab30) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:339 +0x849 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).ProcessBlock(0xc0004ee000, 0xc000484dc0, 0x100, 0xc0004e6480, 0x26, 0x0, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:267 +0x806 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).processBlockMsg(0xc0004ee000, 0x4c135a0, 0xc0108a1ac0, 0x0, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:217 +0x11e github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop(0xc0004ee000, 0x4c1c800, 0xc0004a0f00) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:179 +0x371 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop-fm(0x4c1c800, 0xc0004a0f00) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:143 +0x3e github.com/jbenet/goprocess.(*process).Go.func1(0xc000497100, 0xc0004a0f00, 0xc0004a0f60) /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:112 +0x3c created by github.com/jbenet/goprocess.(*process).Go /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:111 +0x1f5 panic: send on closed channel goroutine 90 [running]: github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg(...) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:110 github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg-fm(0xc010d87c30) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:86 +0x42 reflect.Value.call(0x48961c0, 0xc0004a7150, 0x13, 0x49f551b, 0x4, 0xc010da7820, 0x1, 0x1, 0xc010d87c40, 0x4868c80, ...) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:447 +0x449 reflect.Value.Call(0x48961c0, 0xc0004a7150, 0x13, 0xc010da7820, 0x1, 0x1, 0x1, 0xc0001e6401, 0x1) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:308 +0xa4 github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).doPublish(0xc00009dcb0, 0xc0004519e0, 0xc010d87c40, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:203 +0x8e github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).Publish(0xc00009dcb0, 0x49fcf4f, 0xc, 0xc010d87c40, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:192 +0x28c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).notifyBlockConnectionUpdate(0xc000510000, 0xc0107808c0, 0x1, 0x0, 0xc5bdf3fe26e7c660) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:582 +0xd2 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).applyBlock(0xc000510000, 0xc0107808c0, 0xc010805268, 0x9b, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:578 +0x264 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryConnectBlockToMainChain(0xc000510000, 0xc0107808c0, 0x20, 0x4948b01) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:460 +0x36c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryAcceptBlock(0xc000510000, 0xc0107808c0, 0xef0005425587e2a, 0xdc48889169dfab30) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:339 +0x849 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).ProcessBlock(0xc000510000, 0xc0107808c0, 0x100, 0xc000324480, 0x26, 0x0, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:267 +0x806 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).processBlockMsg(0xc000510000, 0x4c135a0, 0xc010bc7080, 0x0, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:217 +0x11e github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop(0xc000510000, 0x4c1c800, 0xc00046ae40) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:179 +0x371 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop-fm(0x4c1c800, 0xc00046ae40) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:143 +0x3e github.com/jbenet/goprocess.(*process).Go.func1(0xc0004a7100, 0xc00046ae40, 0xc00046af60) /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:112 +0x3c created by github.com/jbenet/goprocess.(*process).Go /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:111 +0x1f5 panic: send on closed channel goroutine 115 [running]: github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg(...) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:110 github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg-fm(0xc010daf220) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:86 +0x42 reflect.Value.call(0x48961c0, 0xc00047c750, 0x13, 0x49f551b, 0x4, 0xc010dbee80, 0x1, 0x1, 0xc010daf230, 0x4868c80, ...) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:447 +0x449 reflect.Value.Call(0x48961c0, 0xc00047c750, 0x13, 0xc010dbee80, 0x1, 0x1, 0x1, 0xc0004e0101, 0x1) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:308 +0xa4 github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).doPublish(0xc00047e480, 0xc00031e180, 0xc010daf230, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:203 +0x8e github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).Publish(0xc00047e480, 0x49fcf4f, 0xc, 0xc010daf230, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:192 +0x28c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).notifyBlockConnectionUpdate(0xc00019c000, 0xc010b5b4a0, 0x1, 0x0, 0xc5bdf3fe26e7c660) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:582 +0xd2 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).applyBlock(0xc00019c000, 0xc010b5b4a0, 0xc0004c4870, 0x9b, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:578 +0x264 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryConnectBlockToMainChain(0xc00019c000, 0xc010b5b4a0, 0x20, 0x4948b01) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:460 +0x36c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryAcceptBlock(0xc00019c000, 0xc010b5b4a0, 0xef0005425587e2a, 0xdc48889169dfab30) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:339 +0x849 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).ProcessBlock(0xc00019c000, 0xc010b5b4a0, 0x100, 0xc0000d09c0, 0x26, 0x0, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:267 +0x806 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).processBlockMsg(0xc00019c000, 0x4c135a0, 0xc010cc1f60, 0x0, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:217 +0x11e github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop(0xc00019c000, 0x4c1c800, 0xc0004beb40) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:179 +0x371 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop-fm(0x4c1c800, 0xc0004beb40) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:143 +0x3e panic: github.com/jbenet/goprocess.(*process).Go.func1(send on closed channel0xc00047c700 , 0xc0004beb40goroutine , 1180xc0004beba0 [) running ]: /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:112 +0x3c created by github.com/jbenet/goprocess.(*process).Gogithub.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg (...) /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go/Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go::111110 + 0x1f5github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg-fm (0xc020dfa250) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:86 +0x42 reflect.Value.call(0x48961c0, 0xc0001c0340, 0x13, 0x49f551b, 0x4, 0xc020df5fc0, 0x1, 0x1, 0xc020dfa260, 0x4868c80, ...) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:447 +0x449 reflect.Value.Call(0x48961c0, 0xc0001c0340, 0x13, 0xc020df5fc0, 0x1, 0x1, 0x1, 0xc00020c401, 0x1) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:308 +0xa4 github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).doPublish(0xc0000abcb0, 0xc0004b6f30, 0xc020dfa260, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:203 +0x8e github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).Publish(0xc0000abcb0, 0x49fcf4f, 0xc, 0xc020dfa260, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:192 +0x28c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).notifyBlockConnectionUpdate(0xc00032c0f0, 0xc010b86050, 0x1, 0x0, 0xc5bdf3fe26e7c660) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:582 +0xd2 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).applyBlock(0xc00032c0f0, 0xc010b86050, 0xc0001cefb8, 0x9b, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:578 +0x264 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryConnectBlockToMainChain(0xc00032c0f0, 0xc010b86050, 0x20, 0x4948b01) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:460 +0x36c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryAcceptBlock(0xc00032c0f0, 0xc010b86050, 0xef0005425587e2a, 0xdc48889169dfab30) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:339 +0x849 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).ProcessBlock(0xc00032c0f0, 0xc010b86050, 0x100, 0xc000526480, 0x26, 0x0, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:267 +0x806 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).processBlockMsg(0xc00032c0f0, 0x4c135a0, 0xc020be51e0, 0x0, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:217 +0x11e github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop(0xc00032c0f0, 0x4c1c800, 0xc0001f6a80) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:179 +0x371 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop-fm(0x4c1c800, 0xc0001f6a80) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:143 +0x3e github.com/jbenet/goprocess.(*process).Go.func1(0xc0001c02e0, 0xc0001f6a80, 0xc0001f6ae0) /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:112 +0x3c created by github.com/jbenet/goprocess.(*process).Go /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:111 +0x1f5 panic: send on closed channel goroutine 97 [running]: github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg(...) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:110 github.com/BOXFoundation/boxd/core/txpool.(*TransactionPool).receiveChainUpdateMsg-fm(0xc020d50210) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/txpool/transaction_pool.go:86 +0x42 reflect.Value.call(0x48961c0, 0xc000556360, 0x13, 0x49f551b, 0x4, 0xc020d4f300, 0x1, 0x1, 0xc020d50220, 0x4868c80, ...) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:447 +0x449 reflect.Value.Call(0x48961c0, 0xc000556360, 0x13, 0xc020d4f300, 0x1, 0x1, 0x1, 0xc0001d2401, 0x1) /usr/local/Cellar/go/1.11.1/libexec/src/reflect/value.go:308 +0xa4 github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).doPublish(0xc00009dcb0, 0xc000525a10, 0xc020d50220, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:203 +0x8e github.com/BOXFoundation/boxd/boxd/eventbus.(*EventBus).Publish(0xc00009dcb0, 0x49fcf4f, 0xc, 0xc020d50220, 0x1, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/boxd/eventbus/bus.go:192 +0x28c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).notifyBlockConnectionUpdate(0xc0001241e0, 0xc020cc2230, 0x1, 0x0, 0xc5bdf3fe26e7c660) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:582 +0xd2 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).applyBlock(0xc0001241e0, 0xc020cc2230, 0xc0004d1290, 0x9b, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:578 +0x264 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryConnectBlockToMainChain(0xc0001241e0, 0xc020cc2230, 0x20, 0x4948b01) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:460 +0x36c github.com/BOXFoundation/boxd/core/chain.(*BlockChain).tryAcceptBlock(0xc0001241e0, 0xc020cc2230, 0xef0005425587e2a, 0xdc48889169dfab30) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:339 +0x849 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).ProcessBlock(0xc0001241e0, 0xc020cc2230, 0x100, 0xc0001dc540, 0x26, 0x0, 0x0) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:267 +0x806 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).processBlockMsg(0xc0001241e0, 0x4c135a0, 0xc010bd8dc0, 0x0, 0x1) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:217 +0x11e github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop(0xc0001241e0, 0x4c1c800, 0xc00047b080) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:179 +0x371 github.com/BOXFoundation/boxd/core/chain.(*BlockChain).loop-fm(0x4c1c800, 0xc00047b080) /Users/jerrypeen/go/src/github.com/BOXFoundation/boxd/core/chain/blockchain.go:143 +0x3e github.com/jbenet/goprocess.(*process).Go.func1(0xc000556320, 0xc00047b080, 0xc00047b0e0) /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:112 +0x3c created by github.com/jbenet/goprocess.(*process).Go /Users/jerrypeen/go/pkg/mod/github.com/jbenet/goprocess@v0.0.0-20160826012719-b497e2f366b8/impl-mutex.go:111 +0x1f5 INFO[0056] process[37646] exit status 2 source="integration_tests/util.go:93" tag=integration_tests INFO[0056] process[37647] exit status 2 source="integration_tests/util.go:93" tag=integration_tests INFO[0056] process[37643] exit status 2 source="integration_tests/util.go:93" tag=integration_tests INFO[0056] process[37645] exit status 2 source="integration_tests/util.go:93" tag=integration_tests INFO[0056] process[37644] exit status 2 source="integration_tests/util.go:93" tag=integration_tests INFO[0057] process[37642] exit status 0 source="integration_tests/util.go:93" tag=integration_tests
@Jerick26 I can't reproduce this on develop branch. If it's gone, can we close this?
Duplicate of #181