• 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

Bitcoin-Funded ‘Satoshi Scholarship’ Opens Lomond School Doors To Global Students

Bitcoin-Funded ‘Satoshi Scholarship’ Opens Lomond School Doors To Global Students

May 4, 2026
Blackrock IBIT Drives Inflows as Bitcoin ETFs Post $163M Weekly Gains

Blackrock IBIT Drives Inflows as Bitcoin ETFs Post $163M Weekly Gains

May 4, 2026
Share76Tweet47

Related Posts

Bitcoin-Funded ‘Satoshi Scholarship’ Opens Lomond School Doors To Global Students

Bitcoin-Funded ‘Satoshi Scholarship’ Opens Lomond School Doors To Global Students

by Moussa
May 4, 2026
0

Lomond School in Helensburgh, Scotland has launched a fully funded “Satoshi Scholarship,” extending its experiment with Bitcoin from the payments...

Blackrock IBIT Drives Inflows as Bitcoin ETFs Post $163M Weekly Gains

Blackrock IBIT Drives Inflows as Bitcoin ETFs Post $163M Weekly Gains

by Moussa
May 4, 2026
0

Key Takeaways: Bitcoin ETFs logged $162.8M inflows, boosted by Blackrock IBIT’s $136.6M. Ether ETFs saw $82M outflows, led by Blackrock...

Pavel Durov Announces TON Integration: What His Message Means for You

Pavel Durov Announces TON Integration: What His Message Means for You

by Moussa
May 4, 2026
0

Telegram CEO Pavel Durov announced on May 4, 2026, that Telegram will replace the TON Foundation as the driving force...

Ripple Execs Are Firing Back And XRP Investors Could Be In For A Good Time

Ripple Execs Are Firing Back And XRP Investors Could Be In For A Good Time

by Moussa
May 4, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure Ripple executives Brad Garlinghouse and David Schwartz...

Bitcoin Tests Crucial $80,000 Resistance: One Move Could Change Everything

Bitcoin Tests Crucial $80,000 Resistance: One Move Could Change Everything

by Moussa
May 4, 2026
0

Bitcoin is once again pressing against the pivotal $80,000 resistance, a level that has repeatedly capped upside attempts in recent...

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

© 2024 APPROX FOUNDATION - The Crypto Currency News