-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Closed
Description
Short log:
p2p_invalid_block.py failed, Duration: 1 s
stdout:
2018-11-05T15:27:36.459000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20181105_152228/p2p_invalid_block_46
2018-11-05T15:27:36.778000Z TestFramework (INFO): Create a new block with an anyone-can-spend coinbase
2018-11-05T15:27:36.890000Z TestFramework (INFO): Mature the block.
2018-11-05T15:27:37.238000Z TestFramework (INFO): Test merkle root malleability.
2018-11-05T15:27:37.301000Z TestFramework (INFO): Test duplicate input block.
2018-11-05T15:27:37.354000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/test_framework.py", line 171, in main
self.run_test()
File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/p2p_invalid_block.py", line 92, in run_test
node.p2p.send_blocks_and_test([block2_orig], node, success=False, request_block=False, reject_reason='bad-txns-inputs-duplicate')
File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/mininode.py", line 543, in send_blocks_and_test
assert node.getbestblockhash() != blocks[-1].hash
File "/usr/lib/python3.5/contextlib.py", line 66, in __exit__
next(self.gen)
File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/test_node.py", line 272, in assert_debug_log
self._raise_assertion_error('Expected message "{}" does not partially match log:\n\n{}\n\n'.format(expected_msg, print_log))
File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/test_node.py", line 124, in _raise_assertion_error
raise AssertionError(self._node_msg(msg))
AssertionError: [node 0] Expected message "bad-txns-inputs-duplicate" does not partially match log:
- 2018-11-05T15:27:37.312967Z received: headers (82 bytes) peer=0
- 2018-11-05T15:27:37.313141Z Requesting block 0b1e6087126df7c86349cec8019ee7134f485c79ad89e9ed180325c5b73cd878 from peer=0
- 2018-11-05T15:27:37.313156Z sending getdata (37 bytes) peer=0
- 2018-11-05T15:27:37.316649Z received: ping (8 bytes) peer=0
- 2018-11-05T15:27:37.316675Z sending pong (8 bytes) peer=0
- 2018-11-05T15:27:37.318279Z received: block (327 bytes) peer=0
- 2018-11-05T15:27:37.318321Z received block 0b4699cec0641f2d47013551446930cf165dfbcde6ff4440695e0678dd417068 peer=0
- 2018-11-05T15:27:37.318358Z Misbehaving: 127.0.0.1:51816 peer=0 (3100 -> 3200)
- 2018-11-05T15:27:37.318372Z ERROR: ProcessNewBlock: AcceptBlock FAILED (bad-txns-duplicate, duplicate transaction (code 16))
- 2018-11-05T15:27:37.353006Z Received a POST request for / from 127.0.0.1:34964
- 2018-11-05T15:27:37.353084Z ThreadRPCServer method=getbestblockhash user=__cookie__
Full log: https://travis-ci.org/bitcoin/bitcoin/jobs/450901528
lucash-dev