intermittent issue in wallet_assumeutxo.py, line 251, assert_equal(chainstates[0][‘blocks’], START_HEIGHT) , AssertionError: not(211 == 199) #34710

issue maflcko openend this issue on March 2, 2026
  1. maflcko commented at 3:24 pm on March 2, 2026: member

    Is the failure here related to this?

     0396/455 - wallet_assumeutxo.py failed, Duration: 2 s
     1
     2stdout:
     32026-02-28T16:12:48.637327Z TestFramework (INFO): PRNG seed is: 3704802399065086238
     42026-02-28T16:12:48.637849Z TestFramework (INFO): Initializing test directory /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/test_runner/test_runner__🏃_20260228_155759/wallet_assumeutxo_58
     52026-02-28T16:12:49.548117Z TestFramework (INFO): -- Testing assumeutxo
     62026-02-28T16:12:49.548768Z TestFramework (INFO): Creating a UTXO snapshot at height 299
     72026-02-28T16:12:49.895968Z TestFramework (INFO): Loading snapshot into second node from /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/test_runner/test_runner__🏃_20260228_155759/wallet_assumeutxo_58/node0/regtest/utxos.dat
     82026-02-28T16:12:49.911552Z TestFramework (INFO): Backup from the snapshot height can be loaded during background sync
     92026-02-28T16:12:49.915983Z TestFramework (INFO): Backup from before the snapshot height can't be loaded during background sync
    102026-02-28T16:12:49.919539Z TestFramework (INFO): Backup from the snapshot height can be loaded during background sync (pruned node)
    112026-02-28T16:12:49.940587Z TestFramework (INFO): Backup from before the snapshot height can't be loaded during background sync (pruned node)
    122026-02-28T16:12:49.944432Z TestFramework (INFO): Test loading descriptors during background sync
    132026-02-28T16:12:49.956406Z TestFramework (INFO): Test that rescanning blocks from before the snapshot fails when blocks are not available from the background sync yet
    142026-02-28T16:12:49.956860Z TestFramework (INFO): Restarting node to stop at height 359
    152026-02-28T16:12:50.947949Z TestFramework (INFO): Restarted node before snapshot validation completed, reloading...
    162026-02-28T16:12:51.316321Z TestFramework (INFO): Verify node state after restart during background sync
    172026-02-28T16:12:51.316847Z TestFramework (ERROR): Unexpected exception:
    18Traceback (most recent call last):
    19  File "/Users/runner/work/bitcoin/bitcoin/repo_archive/test/functional/test_framework/test_framework.py", line 142, in main
    20    self.run_test()
    21    ~~~~~~~~~~~~~^^
    22  File "/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0/test/functional/wallet_assumeutxo.py", line 251, in run_test
    23    assert_equal(chainstates[0]['blocks'], START_HEIGHT)
    24    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    25  File "/Users/runner/work/bitcoin/bitcoin/repo_archive/test/functional/test_framework/util.py", line 80, in assert_equal
    26    raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
    27AssertionError: not(211 == 199)
    282026-02-28T16:12:51.382295Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later.
    292026-02-28T16:12:51.382372Z TestFramework (WARNING): Not cleaning up dir /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/test_runner/test_runner__🏃_20260228_155759/wallet_assumeutxo_58
    302026-02-28T16:12:51.382410Z TestFramework (ERROR): Test failed. Test logging available at /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/test_runner/test_runner__🏃_20260228_155759/wallet_assumeutxo_58/test_framework.log
    312026-02-28T16:12:51.382488Z TestFramework (ERROR): 
    322026-02-28T16:12:51.382577Z TestFramework (ERROR): Hint: Call /Users/runner/work/bitcoin/bitcoin/repo_archive/test/functional/combine_logs.py '/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/test_runner/test_runner_₿_🏃_20260228_155759/wallet_assumeutxo_58' to consolidate all logs
    332026-02-28T16:12:51.382609Z TestFramework (ERROR): 
    342026-02-28T16:12:51.382634Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
    352026-02-28T16:12:51.382680Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues
    362026-02-28T16:12:51.382703Z TestFramework (ERROR): 
    37
    38
    39stderr:
    40[node 3] Cleaning up leftover process
    41[node 2] Cleaning up leftover process
    42[node 1] Cleaning up leftover process
    43[node 0] Cleaning up leftover process
    

    Originally posted by @sedited in #34354

  2. maflcko added the label CI failed on Mar 2, 2026
  3. maflcko commented at 3:51 pm on March 2, 2026: member

    Can be reproduced via:

     0diff --git a/src/node/kernel_notifications.cpp b/src/node/kernel_notifications.cpp
     1index ab0e5ccb69..49384c10b8 100644
     2--- a/src/node/kernel_notifications.cpp
     3+++ b/src/node/kernel_notifications.cpp
     4@@ -59,6 +59,7 @@ kernel::InterruptResult KernelNotifications::blockTip(SynchronizationState state
     5 
     6     uiInterface.NotifyBlockTip(state, index, verification_progress);
     7     if (m_stop_at_height && index.nHeight >= m_stop_at_height) {
     8+        LogInfo("Send shutdown signal after reaching stop height");
     9         if (!m_shutdown_request()) {
    10             LogError("Failed to send shutdown signal after reaching stop height\n");
    11         }
    12diff --git a/src/util/tokenpipe.cpp b/src/util/tokenpipe.cpp
    13index c982fa6fc4..8f96ac3124 100644
    14--- a/src/util/tokenpipe.cpp
    15+++ b/src/util/tokenpipe.cpp
    16@@ -2,6 +2,7 @@
    17 // Distributed under the MIT software license, see the accompanying
    18 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
    19 #include <util/tokenpipe.h>
    20+#include <util/time.h>
    21 
    22 #include <bitcoin-build-config.h> // IWYU pragma: keep
    23 
    24@@ -58,6 +59,7 @@ int TokenPipeEnd::TokenRead()
    25     uint8_t token;
    26     while (true) {
    27         ssize_t result = read(m_fd, &token, 1);
    28+        UninterruptibleSleep(10ms);
    29         if (result < 0) {
    30             // Failure. Check if the read was interrupted by a signal,
    31             // in that case retry.
    
  4. achow101 closed this on Mar 4, 2026

  5. achow101 referenced this in commit 4c40a923f0 on Mar 4, 2026


maflcko

Labels
CI failed


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-03-09 09:13 UTC

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