I'm locally experiencing an intermittent error in sendheaders.py. @MeshCollider mentioned on IRC he also encountered it.
- function: test_null_locators
- line: assert_equal(test_node.check_last_announcement(headers=[tip_hash]), True)
Output:
sendheaders.py failed, Duration: 1 s
stdout:
2017-11-13 07:21:38.682000 TestFramework (INFO): Initializing test directory /tmp/bitcoin_test_runner_20171113_082031/sendheaders_254
2017-11-13 07:21:39.168000 TestFramework.mininode (INFO): Connecting to Bitcoin Node: 127.0.0.1:13032
2017-11-13 07:21:39.168000 TestFramework.mininode (INFO): Connecting to Bitcoin Node: 127.0.0.1:13032
2017-11-13 07:21:39.326000 TestFramework (INFO): Verify getheaders with null locator and valid hashstop returns headers.
2017-11-13 07:21:39.377000 TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/data/src/bitcoin/test/functional/test_framework/test_framework.py", line 120, in main
self.run_test()
File "/home/user/src/bitcoin/test/functional/sendheaders.py", line 235, in run_test
self.test_null_locators(test_node)
File "/home/user/src/bitcoin/test/functional/sendheaders.py", line 245, in test_null_locators
assert_equal(test_node.check_last_announcement(headers=[tip_hash]), True)
File "/data/src/bitcoin/test/functional/test_framework/util.py", line 38, in assert_equal
raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
AssertionError: not(False == True)
2017-11-13 07:21:39.405000 TestFramework (INFO): Stopping nodes
2017-11-13 07:21:39.659000 TestFramework (WARNING): Not cleaning up dir /tmp/bitcoin_test_runner_20171113_082031/sendheaders_254
2017-11-13 07:21:39.659000 TestFramework (ERROR): Test failed. Test logging available at /tmp/bitcoin_test_runner_20171113_082031/sendheaders_254/test_framework.log
stderr: