test: intermittent issue in interface_rest.py - AssertionError: self.wait_until(lambda: self.nodes[0].getindexinfo() == expected_filter) #29863

issue brunoerg openend this issue on April 12, 2024
  1. brunoerg commented at 4:44 pm on April 12, 2024: contributor

    Logs: https://github.com/bitcoin/bitcoin/actions/runs/8659881706/job/23746656188?pr=29833#step:7:44796

     0 test  2024-04-12T10:25:31.001000Z TestFramework.utils (ERROR): wait_until() failed. Predicate: '''' 
     1                                           self.wait_until(lambda: self.nodes[0].getindexinfo() == expected_filter)
     2                                   '''
     3 test  2024-04-12T10:25:31.002000Z TestFramework (ERROR): Assertion failed 
     4                                   Traceback (most recent call last):
     5                                     File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-apple-darwin/test/functional/test_framework/test_framework.py", line 132, in main
     6                                       self.run_test()
     7                                     File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-apple-darwin/test/functional/interface_rest.py", line 295, in run_test
     8                                       self.wait_until(lambda: self.nodes[0].getindexinfo() == expected_filter)
     9                                     File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-apple-darwin/test/functional/test_framework/test_framework.py", line 780, in wait_until
    10                                       return wait_until_helper_internal(test_function, timeout=timeout, timeout_factor=self.options.timeout_factor)
    11                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    12                                     File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-apple-darwin/test/functional/test_framework/util.py", line 293, in wait_until_helper_internal
    13                                       raise AssertionError("Predicate {} not true after {} seconds".format(predicate_source, timeout))
    14                                   AssertionError: Predicate ''''
    15                                           self.wait_until(lambda: self.nodes[0].getindexinfo() == expected_filter)
    16                                   ''' not true after 2400.0 seconds
    
  2. furszy commented at 6:51 am on April 14, 2024: member

    Same issue as #29831 (specifically #29831 (comment)), logs:

    0node0 2024-04-12T09:45:29.827143Z [scheduler] [validationinterface.cpp:212] [operator()] [validation] BlockConnected: block hash=54586dbb0de750d4bcd83326f04f6619d8e00dd5815981030ace95125f1eef87 block height=208 
    1...
    2node0 2024-04-12T09:45:29.827159Z [scheduler] [index/base.cpp:293] [BlockConnected] BlockConnected: WARNING: Block 54586dbb0de750d4bcd83326f04f6619d8e00dd5815981030ace95125f1eef87 does not connect to an ancestor of known best chain (tip=39455d83324a3dbbb15712ab63dd2f96b45a30f271617aa16c12483a561f721c); not updating index 
    

    Fix is #29867.

  3. fanquake closed this on Apr 14, 2024


brunoerg furszy


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-11-23 09:12 UTC

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