intermittent issue in wallet_reorgsrestore.py in test_reorg_handling_during_unclean_shutdown: FailedToStartError: [node 0] bitcoind exited with status 1 during initialization. Error: Cannot obtain a lock on directory #32066

issue maflcko opened this issue on March 14, 2025
  1. maflcko commented at 8:51 AM on March 14, 2025: member

    https://cirrus-ci.com/task/4809537674280960?logs=ci#L2287:

    [04:43:25.506]  test  2025-03-14T08:43:24.312000Z TestFramework.utils (DEBUG): Deleting leftover cookie file 
    [04:43:25.506]  test  2025-03-14T08:43:24.315000Z TestFramework.node0 (DEBUG): bitcoind started, waiting for RPC to come up 
    [04:43:25.506]  test  2025-03-14T08:43:24.576000Z TestFramework (ERROR): Unexpected exception caught during testing 
    [04:43:25.506]                                    Traceback (most recent call last):
    [04:43:25.506]                                      File "/ci_container_base/test/functional/test_framework/test_framework.py", line 135, in main
    [04:43:25.506]                                        self.run_test()
    [04:43:25.506]                                      File "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/test/functional/wallet_reorgsrestore.py", line 216, in run_test
    [04:43:25.506]                                        self.test_reorg_handling_during_unclean_shutdown()
    [04:43:25.506]                                      File "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/test/functional/wallet_reorgsrestore.py", line 121, in test_reorg_handling_during_unclean_shutdown
    [04:43:25.506]                                        self.start_node(0)
    [04:43:25.506]                                      File "/ci_container_base/test/functional/test_framework/test_framework.py", line 567, in start_node
    [04:43:25.506]                                        node.wait_for_rpc_connection()
    [04:43:25.506]                                      File "/ci_container_base/test/functional/test_framework/test_node.py", line 275, in wait_for_rpc_connection
    [04:43:25.506]                                        raise FailedToStartError(self._node_msg(
    [04:43:25.506]                                    test_framework.test_node.FailedToStartError: [node 0] bitcoind exited with status 1 during initialization. Error: Cannot obtain a lock on directory /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250314_083240/wallet_reorgsrestore_195/node0/regtest. Bitcoin Core is probably already running.
    [04:43:25.506]                                    ************************
    [04:43:25.506]  test  2025-03-14T08:43:24.579000Z TestFramework (DEBUG): Closing down network thread 
    [04:43:25.506]  test  2025-03-14T08:43:24.663000Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later. 
    [04:43:25.506]  test  2025-03-14T08:43:24.663000Z TestFramework (WARNING): Not cleaning up dir /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250314_083240/wallet_reorgsrestore_195 
    [04:43:25.506]  test  2025-03-14T08:43:24.663000Z TestFramework (ERROR): Test failed. Test logging available at /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250314_083240/wallet_reorgsrestore_195/test_framework.log 
    [04:43:25.506]  test  2025-03-14T08:43:24.663000Z TestFramework (ERROR): 
    [04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): Hint: Call /ci_container_base/test/functional/combine_logs.py '/ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250314_083240/wallet_reorgsrestore_195' to consolidate all logs 
    [04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): 
    [04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. 
    [04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues 
    [04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): 
    [04:43:25.506] 
    [04:43:25.506]  node0 stderr Error: Cannot obtain a lock on directory /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250314_083240/wallet_reorgsrestore_195/node0/regtest. Bitcoin Core is probably already running. 
    [04:43:25.518] 
    
  2. maflcko added the label CI failed on Mar 14, 2025
  3. maflcko commented at 11:40 AM on March 14, 2025: member
  4. furszy commented at 2:36 PM on March 14, 2025: member

    #32069 attempts to fix it.

  5. fanquake referenced this in commit cd8089c20b on Mar 16, 2025
  6. maflcko closed this on Mar 16, 2025

  7. bitcoin locked this on Jul 30, 2026

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-08-11 11:51 UTC

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