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 openend 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:

     0[04:43:25.506]  test  2025-03-14T08:43:24.312000Z TestFramework.utils (DEBUG): Deleting leftover cookie file 
     1[04:43:25.506]  test  2025-03-14T08:43:24.315000Z TestFramework.node0 (DEBUG): bitcoind started, waiting for RPC to come up 
     2[04:43:25.506]  test  2025-03-14T08:43:24.576000Z TestFramework (ERROR): Unexpected exception caught during testing 
     3[04:43:25.506]                                    Traceback (most recent call last):
     4[04:43:25.506]                                      File "/ci_container_base/test/functional/test_framework/test_framework.py", line 135, in main
     5[04:43:25.506]                                        self.run_test()
     6[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
     7[04:43:25.506]                                        self.test_reorg_handling_during_unclean_shutdown()
     8[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
     9[04:43:25.506]                                        self.start_node(0)
    10[04:43:25.506]                                      File "/ci_container_base/test/functional/test_framework/test_framework.py", line 567, in start_node
    11[04:43:25.506]                                        node.wait_for_rpc_connection()
    12[04:43:25.506]                                      File "/ci_container_base/test/functional/test_framework/test_node.py", line 275, in wait_for_rpc_connection
    13[04:43:25.506]                                        raise FailedToStartError(self._node_msg(
    14[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.
    15[04:43:25.506]                                    ************************
    16[04:43:25.506]  test  2025-03-14T08:43:24.579000Z TestFramework (DEBUG): Closing down network thread 
    17[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. 
    18[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 
    19[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 
    20[04:43:25.506]  test  2025-03-14T08:43:24.663000Z TestFramework (ERROR): 
    21[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 
    22[04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): 
    23[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. 
    24[04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues 
    25[04:43:25.506]  test  2025-03-14T08:43:24.664000Z TestFramework (ERROR): 
    26[04:43:25.506] 
    27[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. 
    28[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


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: 2025-03-28 15:12 UTC

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