Sporadic example_test.py failure #15636

issue promag opened this issue on March 21, 2019
  1. promag commented at 6:56 PM on March 21, 2019: member

    I've seen this error in appveyor on #15629:

    68/118 - example_test.py failed, Duration: 12 s
    stdout:
    2019-03-21T18:12:43.380000Z TestFramework (INFO): Initializing test directory C:\Users\appveyor\AppData\Local\Temp\1\test_runner_₿_🏃_20190321_180343\example_test_50
    2019-03-21T18:12:48.510000Z TestFramework (INFO): Starting test!
    2019-03-21T18:12:48.511000Z TestFramework (INFO): Calling a custom function
    2019-03-21T18:12:48.511000Z TestFramework (INFO): Calling a custom method
    2019-03-21T18:12:48.511000Z TestFramework (INFO): Running custom_method
    2019-03-21T18:12:48.511000Z TestFramework (INFO): Create some blocks
    2019-03-21T18:12:48.528000Z TestFramework (INFO): Wait for node1 to reach current tip (height 11) using RPC
    2019-03-21T18:12:48.582000Z TestFramework (INFO): Connect node2 and node1
    2019-03-21T18:12:48.792000Z TestFramework (INFO): Add P2P connection to node2
    2019-03-21T18:12:48.847000Z TestFramework (INFO): Wait for node2 reach current tip. Test that it has propagated all the blocks to us
    2019-03-21T18:12:53.987000Z TestFramework.utils (ERROR): wait_until() failed. Predicate: (['        wait_until(lambda: sorted(blocks) == sorted(list(self.nodes[2].p2p.block_receive_map.keys())), timeout=5, lock=mininode_lock)\n'], 203)
    2019-03-21T18:12:53.988000Z TestFramework (ERROR): Assertion failed
    Traceback (most recent call last):
      File "C:\projects\bitcoin\test\functional\test_framework\test_framework.py", line 175, in main
        self.run_test()
      File "C:\projects\bitcoin/test/functional/example_test.py", line 203, in run_test
        wait_until(lambda: sorted(blocks) == sorted(list(self.nodes[2].p2p.block_receive_map.keys())), timeout=5, lock=mininode_lock)
      File "C:\projects\bitcoin\test\functional\test_framework\util.py", line 224, in wait_until
        raise AssertionError("Predicate {} not true after {} seconds".format(predicate_source, timeout))
    AssertionError: Predicate (['        wait_until(lambda: sorted(blocks) == sorted(list(self.nodes[2].p2p.block_receive_map.keys())), timeout=5, lock=mininode_lock)\n'], 203) not true after 5 seconds
    2019-03-21T18:12:54.174000Z TestFramework (INFO): Stopping nodes
    2019-03-21T18:12:55.024000Z TestFramework (WARNING): Not cleaning up dir C:\Users\appveyor\AppData\Local\Temp\1\test_runner_₿_🏃_20190321_180343\example_test_50
    2019-03-21T18:12:55.101000Z TestFramework (ERROR): Test failed. Test logging available at C:\Users\appveyor\AppData\Local\Temp\1\test_runner_₿_🏃_20190321_180343\example_test_50/test_framework.log
    2019-03-21T18:12:55.101000Z TestFramework (ERROR): Hint: Call C:\projects\bitcoin\test\functional\combine_logs.py 'C:\Users\appveyor\AppData\Local\Temp\1\test_runner_₿_🏃_20190321_180343\example_test_50' to consolidate all logs
    
  2. fanquake added the label Tests on Mar 21, 2019
  3. MarcoFalke commented at 8:18 PM on March 21, 2019: member

    I think there are still some sporadic block sync failures on appveyor (and travis). Haven't looked into them, but we should start collecting the dumped debug logs.

  4. MarcoFalke closed this on Apr 26, 2020

  5. MarcoFalke locked this on Feb 15, 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-22 00:14 UTC

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