Windows CI failure: restore wallet test case related to pruned blockchain in wallet_assumeutxo.py is failing. #34354

issue maflcko openend this issue on January 20, 2026
  1. maflcko commented at 3:07 pm on January 20, 2026: member

    ISTM that the Windows, ucrt, test cross-built CI failure is unrelated, a restore wallet test case related to pruned blockchain in wallet_assumeutxo.py is failing.

     02026-01-20T13:41:07.2385503Z 2026-01-20T13:41:04.152353Z TestFramework (INFO): Ensuring wallet can't be restored from a backup that was created before the pruneheight (pruned node)
     12026-01-20T13:41:07.2386535Z 
     22026-01-20T13:41:07.2386839Z 2026-01-20T13:41:06.479889Z TestFramework (ERROR): Unexpected exception
     32026-01-20T13:41:07.2387306Z 
     42026-01-20T13:41:07.2387503Z Traceback (most recent call last):
     52026-01-20T13:41:07.2387815Z 
     62026-01-20T13:41:07.2388269Z   File "D:\a\bitcoin\bitcoin\test\functional\test_framework\util.py", line 166, in try_rpc
     72026-01-20T13:41:07.2388901Z 
     82026-01-20T13:41:07.2389049Z     fun(*args, **kwds)
     92026-01-20T13:41:07.2389318Z 
    102026-01-20T13:41:07.2389432Z     ~~~^^^^^^^^^^^^^^^
    112026-01-20T13:41:07.2389660Z 
    122026-01-20T13:41:07.2390180Z   File "D:\a\bitcoin\bitcoin\test\functional\test_framework\coverage.py", line 50, in __call__
    132026-01-20T13:41:07.2390808Z 
    142026-01-20T13:41:07.2391156Z     return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
    152026-01-20T13:41:07.2391651Z 
    162026-01-20T13:41:07.2392093Z   File "D:\a\bitcoin\bitcoin\test\functional\test_framework\authproxy.py", line 156, in __call__
    172026-01-20T13:41:07.2392771Z 
    182026-01-20T13:41:07.2392996Z     raise JSONRPCException(response['error'], status)
    192026-01-20T13:41:07.2393424Z 
    202026-01-20T13:41:07.2395532Z test_framework.authproxy.JSONRPCException: filesystem error: cannot remove: The process cannot access the file because it is being used by another process [D:\a\_temp\test_runner_₿_🏃_20260120_132914\wallet_assumeutxo_56\node3\regtest\w2\wallet.dat] (-1)
    212026-01-20T13:41:07.2397271Z 
    222026-01-20T13:41:07.2397277Z 
    232026-01-20T13:41:07.2397281Z 
    242026-01-20T13:41:07.2397613Z During handling of the above exception, another exception occurred:
    252026-01-20T13:41:07.2398102Z 
    262026-01-20T13:41:07.2398107Z 
    272026-01-20T13:41:07.2398112Z 
    282026-01-20T13:41:07.2398334Z Traceback (most recent call last):
    292026-01-20T13:41:07.2398622Z 
    302026-01-20T13:41:07.2399135Z   File "D:\a\bitcoin\bitcoin\test\functional\test_framework\test_framework.py", line 142, in main
    312026-01-20T13:41:07.2399796Z 
    322026-01-20T13:41:07.2399922Z     self.run_test()
    332026-01-20T13:41:07.2400161Z 
    342026-01-20T13:41:07.2400286Z     ~~~~~~~~~~~~~^^
    352026-01-20T13:41:07.2400474Z 
    362026-01-20T13:41:07.2400948Z   File "D:\a\bitcoin\bitcoin/test/functional/wallet_assumeutxo.py", line 267, in run_test
    372026-01-20T13:41:07.2401587Z 
    382026-01-20T13:41:07.2401827Z     self.test_restore_wallet_pruneheight(n3)
    392026-01-20T13:41:07.2402338Z 
    402026-01-20T13:41:07.2402476Z     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
    412026-01-20T13:41:07.2402806Z 
    422026-01-20T13:41:07.2403384Z   File "D:\a\bitcoin\bitcoin/test/functional/wallet_assumeutxo.py", line 99, in test_restore_wallet_pruneheight
    432026-01-20T13:41:07.2404151Z 
    442026-01-20T13:41:07.2404691Z     assert_raises_rpc_error(-4, error_message, n3.restorewallet, "w2", "backup_w2.dat")
    452026-01-20T13:41:07.2405294Z 
    462026-01-20T13:41:07.2405553Z     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    472026-01-20T13:41:07.2405970Z 
    482026-01-20T13:41:07.2406496Z   File "D:\a\bitcoin\bitcoin\test\functional\test_framework\util.py", line 157, in assert_raises_rpc_error
    492026-01-20T13:41:07.2407238Z 
    502026-01-20T13:41:07.2407544Z     assert try_rpc(code, message, fun, *args, **kwds), "No exception raised"
    512026-01-20T13:41:07.2408097Z 
    522026-01-20T13:41:07.2408261Z            ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    532026-01-20T13:41:07.2408598Z 
    542026-01-20T13:41:07.2409048Z   File "D:\a\bitcoin\bitcoin\test\functional\test_framework\util.py", line 170, in try_rpc
    552026-01-20T13:41:07.2409645Z 
    562026-01-20T13:41:07.2410041Z     raise AssertionError("Unexpected JSONRPC error code %i" % e.error["code"])
    572026-01-20T13:41:07.2410583Z 
    582026-01-20T13:41:07.2410797Z AssertionError: Unexpected JSONRPC error code -1
    592026-01-20T13:41:07.2411215Z 
    602026-01-20T13:41:07.2411925Z 2026-01-20T13:41:06.484138Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later.
    612026-01-20T13:41:07.2412795Z 
    622026-01-20T13:41:07.2413676Z 2026-01-20T13:41:06.484270Z TestFramework (WARNING): Not cleaning up dir D:\a\_temp\test_runner_₿_🏃_20260120_132914\wallet_assumeutxo_56
    632026-01-20T13:41:07.2414525Z 
    642026-01-20T13:41:07.2415646Z 2026-01-20T13:41:06.484375Z TestFramework (ERROR): Test failed. Test logging available at D:\a\_temp\test_runner_₿_🏃_20260120_132914\wallet_assumeutxo_56/test_framework.log
    652026-01-20T13:41:07.2416737Z 
    66
    672026-01-20T13:42:33.3464929Z wallet_assumeutxo.py                                                             | ✖ Failed  | 8 s
    682026-01-20T13:42:33.3465209Z 
    692026-01-20T13:42:33.3465460Z ALL                                                                              | ✖ Failed  | 2893 s (accumulated) 
    702026-01-20T13:42:33.3465784Z Runtime: 796 s
    

    Originally posted by @rkrux in #33014 (comment)

  2. maflcko added the label Wallet on Jan 20, 2026
  3. maflcko added the label Windows on Jan 20, 2026
  4. maflcko added the label Tests on Jan 20, 2026
  5. maflcko added the label CI failed on Jan 20, 2026
  6. sedited referenced this in commit 5715748333 on Jan 21, 2026
  7. fjahr commented at 8:47 am on January 22, 2026: contributor
    I proposed a fix here: #34377

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

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