Questions tagged [functional-test]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
44 views

When should Bitcoin Core functional tests be run?

When should functional tests be run? Or is it always a good time to run functional tests?
Eoin's user avatar
  • 325
0 votes
1 answer
20 views

What does this functional test include?

Does the test test/functional/test_runner.py include all possible functional tests, or is it just a dummy initial test run?
Eoin's user avatar
  • 325
0 votes
0 answers
25 views

Running bitcoin core functional tests [duplicate]

How do you run the test at test/functional/test_runner.py in Bitcoin core downloaded and installed from the Ubuntu snap store?
Eoin's user avatar
  • 325
3 votes
1 answer
74 views

How to run the Bitcoin Core functional tests

How do you run the functional tests from the Bitcoin Core Github repository?
Eoin's user avatar
  • 325
1 vote
0 answers
51 views

FAIL: qt/test/test_bitcoin-qt.exe when running 'make' after building Bitcoin Core 26.99.0

I'm building Bitcoin Core 26.99 following this: https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md I'm using this option for building Bitcoin Core on Windows: Windows Subsystem for ...
amaluenda's user avatar
3 votes
1 answer
194 views

How can I run the skipped Bitcoin Functional Tests?

I am trying to run the functional tests. Everything is a pass but I have some tests skipped. Here are some: 260/288 - feature_unsupported_utxo_db.py skipped (previous releases not available or ...
Robert Nakamoto's user avatar
0 votes
0 answers
45 views

Is it possible to make functional tests use my `bitcoind` running node as node?

I'm trying to fix some tests that are broken due to my own changes in the code base, and need to simultaneously run functional tests and bitconid in regtest mode and make functional tests to use my ...
Amir reza Riahi's user avatar
1 vote
1 answer
206 views

How can I tweak a private key in bitcoin core

I'm wondering what the workflow is for building tapscripts. I can generate a new address, but how do I tweak it with the tap script? I've done the bitcoin taproot workshop a couple times now and ...
Kaizen's user avatar
  • 331
0 votes
0 answers
23 views

A Failed bitcoin transaction [duplicate]

I made a bitcoin transaction of $570 it failed and it's been over 24 hours I haven't gotten my bitcoin back please what do I do?.... The transaction does even have a TXID..... Please help.
Funds's user avatar
  • 1
2 votes
1 answer
32 views

Where is an example of a feature test testing bitcoin-cli?

Looking for an example so I can run some functional tests against bitcoin-cli.
Kaizen's user avatar
  • 331
2 votes
2 answers
96 views

Error from launching single functional tests on macos

I'm getting acquainted with the functional testing suite in an attempt to become a bitcoin core developer. I'm attempting to run a single test with this command. python feature_shutdown.py I receive ...
Kaizen's user avatar
  • 331
1 vote
0 answers
378 views

How to ignore ResourceWarnings during running tests?

I was trying to run python tests in order to test a PR. I used this command to run p2p tests: [amirreza@localhost bitcoin]$ ./test/functional/test_runner.py test/functional/p2p* It produces lots of ...
Amir reza Riahi's user avatar
1 vote
1 answer
225 views

"Error: no RPC connection" when trying to run Bitcoin Core functional tests

I'm using WSL on Windows 10. I'm able to build from source and run the unit tests. Integration tests are failing for me when I run test/functional/test_runner.py --extended with error AssertionError: [...
fon's user avatar
  • 77
2 votes
0 answers
156 views

How to compile and conduct functional tests of Bitcoin core for CPU (32 bit) and memory constrained system?

I wanted to use my old laptop to run a bitcoin full node. Specifications: Processor: Intel Core2Duo @2.2 GHz i686 OS: Lubuntu 18.04.6 LTS (I have tried first on Lubuntu 16.04, but it failed due to ...
Manapy's user avatar
  • 21
1 vote
1 answer
54 views

What is -vbparams argument and what its the difference with -testactivationheight on Bitcoin functional tests?

Taproot test use the argument -vbparams , but other test like SegwWit use -testactivationheight, what is the use of each one and the difference for using one or the other? class WalletTaprootTest(...
Bitcoin_1o1's user avatar
4 votes
0 answers
295 views

Creating a P2SH-P2WPKH using Bitcoin Functional Test Framework

I'm using the Bitcoin Functional Test framework to understand how SegWit works by analyzing and building a P2SH-P2WPKH transaction. When I run my code the transaction gets created, but when I inspect ...
Bitcoin_1o1's user avatar
2 votes
2 answers
99 views

How can I keep my disk usage under control when regularly running the Bitcoin Core functional tests?

What directories should I delete regularly to keep my disk usage under control when regularly running Bitcoin Core and the unit/functional tests?
Michael Folkson's user avatar
0 votes
0 answers
37 views

send_and_ping() in bitcoin core tests

Is there any downside if send_and_ping() was a hidden RPC instead of just a function in python test framework? def send_and_ping(self, message, timeout=60): self.send_message(message) ...
user avatar
1 vote
1 answer
511 views

Get node 1 to mine another block, send it to node 2, and check that node 2 received it

I am trying to write a test with the bitcoin/test/functional/example_test.py to get node 1 to mine another block, send it to node 2, and check that node 2 received it. Any idea on how to go about/get ...
spraveenitpro's user avatar
0 votes
1 answer
75 views

Does python-bitcoinlib and the Bitcoin Core functional test framework share code? Were changes ever pushed down/upstream?

Does python-bitcoinlib and the Bitcoin Core functional test framework share code? Were changes ever pushed down/upstream?
Michael Folkson's user avatar
1 vote
1 answer
107 views

What backward compatibility testing is done on Bitcoin Core?

The unit and functional tests of the latest release of Bitcoin Core obviously test the codebase of that release. What backward compatibility testing is done to ensure the latest release passes ...
Michael Folkson's user avatar
1 vote
1 answer
92 views

What does the MiniWallet class currently do and need to do in the Bitcoin Core functional test framework?

I tried to run the Taproot functional tests after building Bitcoin Core with the wallet disabled (as I knew there was no Taproot code in the Core wallet at the time of writing, December 2020). However,...
Michael Folkson's user avatar
1 vote
1 answer
95 views

Can I speed up the running of functional tests?

I am running the Bitcoin Core functional tests using the test runner and it is taking a long time to get through all the tests. Is there a way to speed it up? test/functional/test_runner.py --extended
Michael Folkson's user avatar
0 votes
1 answer
106 views

How do I tweak the bip340_test_vectors to check that signature verification fails for other test vectors?

I now understand why some of the bip340_test_vectors fail signature verification. I would like to tweak these test vectors to check that signature verification fails for other test vectors. How do I ...
Michael Folkson's user avatar
1 vote
1 answer
248 views

I'm digging further into the open Taproot PR. Can you explain the BIP340 test vectors?

I'm digging further into the open Taproot PR. I found these BIP340 test vectors. They have secret keys, public keys, aux_rand (auxiliary randomness), message, signature and whether the signature ...
Michael Folkson's user avatar
0 votes
1 answer
107 views

How do I debug Taproot functional tests using pdb?

I am looking at the some of the Taproot functional tests such as feature_taproot.py to review the open Taproot PR. I would like to use pdb to debug these tests. Can you provide some guidance on how to ...
Michael Folkson's user avatar
4 votes
1 answer
364 views

I would like to dig into the open Taproot PR to understand it, test it and possibly even review it. Any advice or recommendations?

I would like to dig into the open Taproot PR (PR #19953) to understand it, test it and possibly even review it. Any advice or recommendations?
Michael Folkson's user avatar
2 votes
1 answer
48 views

What are some examples of previous first contributions improving Bitcoin Core tests?

I have heard that improving the Bitcoin Core tests is a good way to start contributing to Bitcoin Core. What are some good examples of previous first contributions to the tests to take some ...
Michael Folkson's user avatar
3 votes
2 answers
130 views

How can I analyze the test coverage of the Bitcoin Core codebase?

I have heard writing tests is a good starting point for contributing to Bitcoin Core. How do I work out which parts or specific lines of the codebase need additional test coverage?
Michael Folkson's user avatar
2 votes
1 answer
204 views

What is Valgrind? When should I use it for debugging Bitcoin Core over using gdb, lldb, pdb etc?

I was watching Fabian Jahr's presentation on debugging Bitcoin Core at Bitcoin Edge Dev++ 2019. He mentioned Valgrind briefly at the end. What is it and when should I use it over gdb, lldb, pdb etc?
Michael Folkson's user avatar
0 votes
1 answer
69 views

What is the difference between node, peer and mininode in the functional test framework in Bitcoin Core?

I am learning about the functional test framework in Bitcoin Core. I am seeing the terms "node", "peer" and "mininode" being used. How are these defined and how are they ...
Michael Folkson's user avatar
7 votes
2 answers
655 views

How do I get started debugging Bitcoin Core functional tests?

I would like to get started with debugging Bitcoin Core code. I have heard debugging Bitcoin Core functional tests is a good place to start as they are in Python rather than C++ and they are easier to ...
Michael Folkson's user avatar
1 vote
0 answers
83 views

I am getting this error when I try to run example_test.py. Is there anything I am doing wrong?

I am getting this error when I try to run example_test.py. Is there anything I am doing wrong?
Sishir Giri's user avatar
7 votes
1 answer
788 views

How does bitcoin functional test framework work?

Could someone explain how and where in the code the bitcoin test framework calls map to C++ bitcoin core code or RPC calls such that regression suite tests the bitcoin core functionality? Background ...
Happy ITWala's user avatar