Monday, December 23, 2024
HomeBitcoinbitcoind - Three useful assessments in`test_runner.py` fail with `JSONRPCException: Methodology not discovered...

bitcoind – Three useful assessments in`test_runner.py` fail with `JSONRPCException: Methodology not discovered (-32601)`


I am constructing bitcoind on MacOS 14.7.1 and operating the useful take a look at test_runner.py. bitcoind was constructed minimally with:

cmake -B construct 
    -DBUILD_GUI=OFF 
    -DWITH_BDB=OFF  
    -DBUILD_BENCH=OFF  
    -DBUILD_FOR_FUZZING=OFF 
    -DBUILD_KERNEL_LIB=OFF 
    -DBUILD_SHARED_LIBS=OFF 
    -DBUILD_TESTS=OFF 
    -DBUILD_TX=OFF 
    -DBUILD_UTIL=OFF 
    -DBUILD_WALLET_TOOL=OFF

The codebase was ready for the Chaincode Labs BOSS-2025 program, cloned from v28.0. The construct completes with out errors. Nevertheless when operating the useful assessments from test_runner.py, three of the assessments fail: mempool_persist.py, interface_bitcoin_cli.py and feature_rbf.py. All three assessments fail with an analogous error:

2024-12-03T11:09:18.858000Z TestFramework (ERROR): JSONRPC error
Traceback (most up-to-date name final):
  File "/Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/take a look at/useful/test_framework/test_framework.py", line 132, in principal
    self.run_test()
    ~~~~~~~~~~~~~^^
  File "/Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/construct/take a look at/useful/feature_rbf.py", line 76, in run_test
    self.test_rpc()
    ~~~~~~~~~~~~~^^
  File "/Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/construct/take a look at/useful/feature_rbf.py", line 622, in test_rpc
    self.init_wallet(node=0)
    ~~~~~~~~~~~~~~~~^^^^^^^^
  File "/Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/take a look at/useful/test_framework/test_framework.py", line 444, in init_wallet
    n.createwallet(wallet_name=wallet_name, descriptors=self.choices.descriptors, load_on_startup=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/take a look at/useful/test_framework/test_node.py", line 936, in createwallet
    return self.__getattr__('createwallet')(wallet_name, disable_private_keys, clean, passphrase, avoid_reuse, descriptors, load_on_startup, external_signer)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/take a look at/useful/test_framework/protection.py", line 50, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/take a look at/useful/test_framework/authproxy.py", line 146, in __call__
    elevate JSONRPCException(response['error'], standing)
test_framework.authproxy.JSONRPCException: Methodology not discovered (-32601)
2024-12-03T11:09:18.918000Z TestFramework (INFO): Stopping nodes
2024-12-03T11:09:19.327000Z TestFramework (WARNING): Not cleansing up dir /var/folders/zh/y9jqq2qd6v5brxd0vdx6_rxh0000gq/T/test_runner_₿_🏃_20241203_060247/feature_rbf_125
2024-12-03T11:09:19.327000Z TestFramework (ERROR): Take a look at failed. Take a look at logging obtainable at /var/folders/zh/y9jqq2qd6v5brxd0vdx6_rxh0000gq/T/test_runner_₿_🏃_20241203_060247/feature_rbf_125/test_framework.log
2024-12-03T11:09:19.328000Z TestFramework (ERROR): 
2024-12-03T11:09:19.365000Z TestFramework (ERROR): Trace: Name /Customers/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/take a look at/useful/combine_logs.py '/var/folders/zh/y9jqq2qd6v5brxd0vdx6_rxh0000gq/T/test_runner_₿_🏃_20241203_060247/feature_rbf_125' to consolidate all logs
2024-12-03T11:09:19.365000Z TestFramework (ERROR): 
2024-12-03T11:09:19.386000Z TestFramework (ERROR): If this failure occurred unexpectedly or intermittently, please file a bug and supply a hyperlink or add of the mixed log.
2024-12-03T11:09:19.386000Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/points
2024-12-03T11:09:19.386000Z TestFramework (ERROR): 

I am a beginner to constructing and testing bitcoind, any strategies appreciated!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments