Intermittent error in sendheaders.py (test_null_locators) #11673

issue laanwj opened this issue on November 13, 2017
  1. laanwj commented at 7:46 AM on November 13, 2017: member

    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:
    
    
    
  2. laanwj added the label Tests on Nov 13, 2017
  3. laanwj renamed this:
    Intermittent error in sendheaders.py
    Intermittent error in sendheaders.py (test_null_locators)
    on Nov 13, 2017
  4. MarcoFalke closed this on Nov 18, 2017

  5. MarcoFalke referenced this in commit 0d89fa0877 on Nov 18, 2017
  6. PastaPastaPasta referenced this in commit 47f2e505bb on Feb 13, 2020
  7. PastaPastaPasta referenced this in commit 80ba10e695 on Feb 27, 2020
  8. PastaPastaPasta referenced this in commit b279687b66 on Mar 14, 2020
  9. PastaPastaPasta referenced this in commit f798771323 on Mar 19, 2020
  10. ckti referenced this in commit be476b430d on Mar 28, 2021
  11. gades referenced this in commit 310a76e230 on Jun 30, 2021
  12. DrahtBot locked this on Sep 8, 2021
  13. gades referenced this in commit 1b76523d24 on Feb 21, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me