• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

json rpc – 3 bitcoind functional tests in`test_runner.py` fail with `JSONRPCException: Method not found (-32601)`

Moussa by Moussa
December 3, 2024
in Bitcoin
0
peer discovery – how to obtain the IP addresses of nodes for mining pools?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I’m building bitcoind on MacOS 14.7.1 and running the functional test test_runner.py. bitcoind was built minimally with:

    -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 prepared for the Chaincode Labs BOSS-2025 program, cloned from v28.0. The build completes without errors. However when running the functional tests from test_runner.py, 3 of the tests fail: mempool_persist.py, interface_bitcoin_cli.py and feature_rbf.py. All three tests fail with a similar error:

Traceback (most recent call last):
  File "/Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/test/functional/test_framework/test_framework.py", line 132, in main
    self.run_test()
    ~~~~~~~~~~~~~^^
  File "/Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/build/test/functional/feature_rbf.py", line 76, in run_test
    self.test_rpc()
    ~~~~~~~~~~~~~^^
  File "/Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/build/test/functional/feature_rbf.py", line 622, in test_rpc
    self.init_wallet(node=0)
    ~~~~~~~~~~~~~~~~^^^^^^^^
  File "/Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/test/functional/test_framework/test_framework.py", line 444, in init_wallet
    n.createwallet(wallet_name=wallet_name, descriptors=self.options.descriptors, load_on_startup=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/test/functional/test_framework/test_node.py", line 936, in createwallet
    return self.__getattr__('createwallet')(wallet_name, disable_private_keys, blank, passphrase, avoid_reuse, descriptors, load_on_startup, external_signer)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/test/functional/test_framework/coverage.py", line 50, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/test/functional/test_framework/authproxy.py", line 146, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Method not found (-32601)
2024-12-03T11:09:18.918000Z TestFramework (INFO): Stopping nodes
2024-12-03T11:09:19.327000Z TestFramework (WARNING): Not cleaning up dir /var/folders/zh/y9jqq2qd6v5brxd0vdx6_rxh0000gq/T/test_runner_₿_🏃_20241203_060247/feature_rbf_125
2024-12-03T11:09:19.327000Z TestFramework (ERROR): Test failed. Test logging available 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): Hint: Call /Users/maestrovt/workspace/github.com/chaincode/bitcoin-core-test-the-test-maestrovt/bitcoin/test/functional/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 happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2024-12-03T11:09:19.386000Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues
2024-12-03T11:09:19.386000Z TestFramework (ERROR): 
```. I'm a newbie to building and testing bitcoind, any suggestions appreciated!
Thanks,
Edward



Source link

Related articles

SEC Sets 24-Hour Trading Roundtable As Markets Move Toward Always-On Finance

Grayscale Says SEC Reg Crypto Plan Could Reopen Token Fundraising Path

August 21, 2026
After 100 Hours of 3D Printing, a Student Built a Modular Arm for His Sister

After 100 Hours of 3D Printing, a Student Built a Modular Arm for His Sister

August 21, 2026
Share76Tweet47

Related Posts

SEC Sets 24-Hour Trading Roundtable As Markets Move Toward Always-On Finance

Grayscale Says SEC Reg Crypto Plan Could Reopen Token Fundraising Path

by Moussa
August 21, 2026
0

Grayscale Research has weighed in on the SEC’s proposed “Regulation Crypto Assets” framework, arguing that clearer rules could reopen a...

After 100 Hours of 3D Printing, a Student Built a Modular Arm for His Sister

After 100 Hours of 3D Printing, a Student Built a Modular Arm for His Sister

by Moussa
August 21, 2026
0

Key TakeawaysBondarchuk spent 100+ hours 3D printing Bella’s modular prosthetic arm.Bella, 7, uses the device daily, highlighting cheaper pediatric options.GE...

SEC Market Structure Proposal Draws Tokenized Stock Attention

Garlinghouse Says 67M US Crypto Owners Show Industry Has Gone Mainstream

by Moussa
August 21, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure Ripple CEO Brad Garlinghouse has pointed to...

Bitcoin ETF Inflows Hit $517M As Institutional Demand Returns

Bitcoin ETF Inflows Hit $517M As Institutional Demand Returns

by Moussa
August 21, 2026
0

US spot Bitcoin ETFs recorded $517.2 million in net inflows for the August 19 session, giving the market its strongest...

What The Coldcard Failure Teaches About Bitcoin Software Incentives

What The Coldcard Failure Teaches About Bitcoin Software Incentives

by Moussa
August 21, 2026
0

Closed versus Open Source code has divided the Bitcoin and broader crypto industry for well over a decade. Bitcoin advocates...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][vc_column width="1/4"]

Newsletter

[vc_raw_html]JTNDcCUzRSUzQ2RpdiUyMGNsYXNzJTNEJTIydG5wJTIwdG5wLXN1YnNjcmlwdGlvbiUyMiUzRSUwQSUzQ2Zvcm0lMjBtZXRob2QlM0QlMjJwb3N0JTIyJTIwYWN0aW9uJTNEJTIyaHR0cHMlM0ElMkYlMkZhcHByb3gub3JnJTJGJTNGbmElM0RzJTIyJTNFJTBBJTBBJTNDaW5wdXQlMjB0eXBlJTNEJTIyaGlkZGVuJTIyJTIwbmFtZSUzRCUyMm5sYW5nJTIyJTIwdmFsdWUlM0QlMjIlMjIlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1maXJzdG5hbWUlMjIlM0UlM0NsYWJlbCUyMGZvciUzRCUyMnRucC0xJTIyJTNFRmlyc3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YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News