Skip to content

Intermittent failure in p2p_sendheaders.py #12453

@maflcko

Description

@maflcko
2018-02-16 16:58:36.053000 TestFramework (INFO): Part 3: headers announcements can stop after large reorg, and resume after headers/inv from peer...
2018-02-16 16:58:36.383000 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 125, in main
    self.run_test()
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/p2p_sendheaders.py", line 252, in run_test
    self.test_nonnull_locators(test_node, inv_node)
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/p2p_sendheaders.py", line 387, in test_nonnull_locators
    test_node.check_last_announcement(headers=new_block_hashes)
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/p2p_sendheaders.py", line 196, in check_last_announcement
    assert_equal(compare_headers, headers)
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/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([21996415391081472062925727093529950876648340163913973761807899188192373614365, 41087947805771153884720332894251939979522257909888350875092853482798204675635] == [16237156767898240983525953690400156058678883005511936018860737579404778220035, 52699452485172000627859704077175013870302840830899826234420564427296397739460, 8519428926351639140311625787007920542736574897071276305831407777234052406367, 57324758378539415772482471735703168948565957536613087108978545814103544260628, 17741061529019103742087627933030541919852753851779831896193550282518560975078, 31950561969150049741325853992819463170317169225272047858397904578844384461849, 21996415391081472062925727093529950876648340163913973761807899188192373614365, 41087947805771153884720332894251939979522257909888350875092853482798204675635])
2018-02-16 16:58:36.384000 TestFramework (INFO): Stopping nodes

Full log: https://travis-ci.org/bitcoin/bitcoin/jobs/342424828

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions