Saturday, November 16, 2024
HomeBitcoinbitcoin core - Practical Take a look at execution fails with FailedtoStartError

bitcoin core – Practical Take a look at execution fails with FailedtoStartError


I’m attempting to run the bitcoin testframework, a selected take a look at as an example this case is feature_rbf.py

Env: Ubuntu -windows 
Bitcoin model: 27.x - constructed from supply.

Once I run the daemon independently, all of it works high-quality, nonetheless when the testframework tries to start out it fails. Within the activity supervisor I do see a daemon seem nevertheless it’s comparatively short-lived.

Any concepts can be vastly appreciated please?

The error I get is proven beneath

2024-09-03T11:12:21.831000Z TestFramework (INFO): PRNG seed is: 7814762433087298742
2024-09-03T11:12:21.832000Z TestFramework (INFO): Initializing take a look at listing /tmp/bitcoin_func_test_xamnzyvx

2024-09-03T11:12:41.635000Z TestFramework (ERROR): Sudden exception caught throughout testing
Traceback (most up-to-date name final):
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 130, in most important
    self.setup()
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 296, in setup
    self.setup_chain()
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 387, in setup_chain
    self._initialize_chain()
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 827, in _initialize_chain
    self.start_node(CACHE_NODE_ID)
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 541, in start_node
    node.wait_for_rpc_connection()
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_node.py", line 257, in wait_for_rpc_connection
    increase FailedToStartError(self._node_msg(
test_framework.test_node.FailedToStartError: [node 0] bitcoind exited with standing 3 throughout initialization. Assertion failed: base.is_absolute(), file util/fs.cpp, line 38
************************

2024-09-03T11:12:41.686000Z TestFramework (INFO): Stopping nodes
Traceback (most up-to-date name final):
  File "/usr/src/bitcoin/take a look at/practical/feature_rbf.py", line 731, in 
    ReplaceByFeeTest().most important()
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 154, in most important
    exit_code = self.shutdown()
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 313, in shutdown
    self.stop_nodes()
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_framework.py", line 574, in stop_nodes
    node.stop_node(wait=wait, wait_until_stopped=False)
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_node.py", line 377, in stop_node
    self.cease(wait=wait)
  File "/usr/src/bitcoin/take a look at/practical/test_framework/test_node.py", line 207, in __getattr__
    assert self.rpc_connected and self.rpc isn't None, self._node_msg("Error: no RPC connection")
AssertionError: [node 0] Error: no RPC connection
[node 0] Cleansing up leftover course of

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments