p2p-fullblocktest.py fails when using ./configure –enable-debug #11876

issue Sjors openend this issue on December 12, 2017
  1. Sjors commented at 1:22 pm on December 12, 2017: member

    Tested with master ad1820cb (but the issue is older):

    Test passes:

    0./configure --with-incompatible-bdb --disable-wallet --without-gui
    1make
    2test/functional/p2p-fullblocktest.py
    

    Test fails:

     0make clean
     1./configure --enable-debug --with-incompatible-bdb --without-gui --disable-qt
     2make
     3test/functional/p2p-fullblocktest.py
     4
     52017-12-12 12:46:23.112000 TestFramework.comptool (INFO): Running test 99: test/functional/p2p-fullblocktest.py line 1283
     62017-12-12 12:47:25.092000 TestFramework (ERROR): Assertion failed
     7Traceback (most recent call last):
     8  File ".../test/functional/test_framework/test_framework.py", line 118, in main
     9    self.run_test()
    10  File "test/functional/p2p-fullblocktest.py", line 73, in run_test
    11    self.test.run()
    12  File ".../test/functional/test_framework/comptool.py", line 341, in run
    13    self.sync_blocks(block.sha256, 1)
    14  File "..../test/functional/test_framework/comptool.py", line 211, in sync_blocks
    15    self.wait_for_pings(self.ping_counter)
    16  File ".../test/functional/test_framework/comptool.py", line 191, in wait_for_pings
    17    wait_until(received_pongs, lock=mininode_lock)
    18  File ".../test/functional/test_framework/util.py", line 222, in wait_until
    19    assert_greater_than(timeout, time.time())
    20  File ".../test/functional/test_framework/util.py", line 42, in assert_greater_than
    21    raise AssertionError("%s <= %s" % (str(thing1), str(thing2)))
    22AssertionError: 1513082845.0654101 <= 1513082845.092903
    

    Added --disable-wallet --without-gui to create a simpler scenario to reproduce, but it happens without those flags too.

  2. fanquake added the label Tests on Dec 12, 2017
  3. fanquake commented at 4:30 am on December 13, 2017: member
    Can you please combine this with #11632, as we don’t need multiple issues open for the same failing test.
  4. fanquake closed this on Dec 13, 2017

  5. MarcoFalke locked this on Sep 8, 2021


Sjors fanquake

Labels
Tests


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: 2024-12-18 09:13 UTC

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