Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move bitcoin compatibility tests back to regtest #532

Closed
instagibbs opened this issue Mar 22, 2019 · 2 comments · Fixed by #620
Closed

move bitcoin compatibility tests back to regtest #532

instagibbs opened this issue Mar 22, 2019 · 2 comments · Fixed by #620

Comments

@instagibbs
Copy link
Collaborator

Instead of regtest2, which is a custom chain in test/bitcoin_functional/functional tests.

This would make syncing upstream less painful for these tests, but would also mean less exercising of our various bitcoin compatibility flags.

@instagibbs
Copy link
Collaborator Author

I appear to have noted this before here: #499 (comment)

Well, if past-me and current-me thought it was a good idea...

@instagibbs
Copy link
Collaborator Author

Let's do it during the next merge upstream, since we have to blow away the tests each time anyways.

stevenroose added a commit that referenced this issue May 16, 2019
693f206 fill checkqueue_tests vector for completion checking (Gregory Sanders)
3cc7205 Assert that queued checks are non-null (Gregory Sanders)
d21e056 Address some linter complaints (Steven Roose)
ad3d496 Add extra lock check for OSX build (Steven Roose)
872d39f Prevent Travis from failing when tests are disabled (Steven Roose)
4ed0bb3 Fix dead-code linter issues (Steven Roose)
bf4f1d0 MERGE-FIX: Disable p2p_invalid_messages tests to fix later (Steven Roose)
ee0e510 MERGE-FIX: Fix other functional tests (Steven Roose)
5492cef MERGE-FIX: Fix fedpeg and pak tests for 0.18.0 (Steven Roose)
1a2a93a MERGE-FIX: General fixes for functional tests (Steven Roose)
3a83980 MERGE-FIX: Fix upstream functional tests (Steven Roose)
71723f7 MERGE-FIX: Adapt bitcoin_functional (Steven Roose)
449ac89 MERGE-FIX: Copy bitcoin_functional from upstream (Steven Roose)
9f4f2e7 MERGE-FIX: Fix compilation errors (Steven Roose)
7256637 MERGE-FIX: Makefile fix (Steven Roose)
7afddfa importmulti: Don't add internal addresses to address book (Gregory Sanders)
fa483e1 rpc: Add RPCHelpMan for machine-generated help (MarcoFalke)
fa0d36f rpc: Include rpc/util.h where needed for RPCHelpMan (MarcoFalke)
fa5a6ce qa: Raise ci test_runner timeout to 40 mins (MarcoFalke)
fa3df02 travis: Avoid timeout on verify-commits check (MarcoFalke)
fa21568 qa: Avoid race in p2p_invalid_block by waiting for the block request (MarcoFalke)
6c787d3 tests: Make feature_block pass on centos (MarcoFalke)
27154ce util.h: explicitly include required QString header (1Il1)
4e4de10 Throw error if CPubKey is invalid during PSBT keypath serialization (Gregory Sanders)
a16f44c qt: Remove "Pay only required fee" checkbox (Hennadii Stepanov)
8711cc0 qt: Improve BitcoinAmountField class (Hennadii Stepanov)
a6b5ec1 rpc: creates possibility to preserve labels on importprivkey (marcoagner)
88a79cb fix converttopsbt permitsigdata arg, add basic test (Gregory Sanders)
0385109 Add test for rpcpassword hash error (MeshCollider)
13fe258 Error if rpcpassword in conf contains a hash character (MeshCollider)
ec1201a Don't use systray icon on inappropriate systems (Hennadii Stepanov)
fa9ed38 test_node: get_mem_rss fixups (MarcoFalke)
0a656f8 qt: All tray menu actions call showNormalIfMinimized (João Barbosa)
6fc21ac qt: Use GUIUtil::bringToFront where possible (João Barbosa)
5796671 qt: Add GUIUtil::bringToFront (João Barbosa)
6b1d297 Remove obj_c for macOS Dock icon menu (Hennadii Stepanov)
2464925 Use Qt signal for macOS Dock icon click event (Hennadii Stepanov)
53bb6be Remove obj_c for macOS Dock icon setting (Hennadii Stepanov)
76e13b5 warnings: Compiler warning on memset usage for non-trivial type (Lenny Maiorani)
1e0f3c4 macOS: disable AppNap during sync (Alexey Ivanov)
6b8d86d Require a public key to be retrieved when signing a P2PKH input (Andrew Chow)
e13fea9 Add regression test for PSBT signing bug #14473 (Glenn Willen)
5655005 Refactor PSBTInput signing to enforce invariant (Glenn Willen)
0f5bda2 Simplify arguments to SignPSBTInput (Glenn Willen)
53e6fff Add bool PSBTInputSigned (Glenn Willen)
65166d4 New PartiallySignedTransaction constructor from CTransction (Glenn Willen)
4f3f5cb Remove redundant txConst parameter to FillPSBT (Glenn Willen)
fe5d22b More concise conversion of CDataStream to string (Glenn Willen)
081accb Pass chain locked variables where needed (Russell Yanofsky)
79d579f Remove uses of cs_main in wallet code (Russell Yanofsky)
ea961c3 Remove direct node->wallet calls in init.cpp (Russell Yanofsky)
8db11dd Pass chain and client variables where needed (Russell Yanofsky)
7e2e62c Add skeleton chain and client classes (Russell Yanofsky)
fa4da3c [doc] conf: Remove deprecated options from docs, Other cleanup (MarcoFalke)
7a90b1b build: Fix windows build error if `--disable-bip70` (Chun Kuan Lee)
b191c7d doc: add comment explaining recentRejects-DoS behavior (James O'Beirne)
c82190c tests: Add Python dead code linter (vulture) (practicalswift)
590a57f tests: Remove unused testing code (practicalswift)
5352030 Avoid using numeric_limits for sequence numbers and lock times (Russell Yanofsky)
bafb921 Remove duplicated code (Hennadii Stepanov)
e4dc39b Replace platform dependent type with proper const (Hennadii Stepanov)
053b6f4 align items in contrib init (Harry Moreno)
99d33a6 appveyor: Script improvement part II (Chun Kuan Lee)
4773fa8 Add llvm-symbolizer directory to PATH. Needed to get symbolized stack traces from the sanitizers. (practicalswift)
5c292da Add UBSan suppressions needed to pass test suite (practicalswift)
fced6b5 Add UBSan options: print_stacktrace + halt_on_error (practicalswift)
3d305e3 Send fewer spam messages in p2p_invalid_messages (James O'Beirne)
5a05aa2 Add metavar to match var name in help text + Change wording for better readability (Martin Erlandsson)
fef5adc blockfilter: Use unordered_set instead of set in blockfilter. (Jim Posen)
4fb789e Extract CSipHasher to it's own file in crypto/ directory. (Jim Posen)
bbbbb3f qa: Add test to ensure node can generate all help texts at runtime (MarcoFalke)
d20a9fa tests: add tests for invalid P2P messages (James O'Beirne)
62f94d3 tests: add P2PConnection.send_raw_message (James O'Beirne)
5aa31f6 tests: add utility to assert node memory usage hasn't increased (James O'Beirne)
825f779 doc: Add historical release notes for 0.17.0.1 (Wladimir J. van der Laan)
9f49db7 Enable functional tests in UBSAN job. Enable -fsanitize=integer (part of UBSAN). Merge UBSAN Travis job with no depends. (practicalswift)
6c5355e example_test.py: fixup coinbase height argument, derive number clearly (Gregory Sanders)
b602214 trivial: Don't translate in help text (ken2812221)
086fc83 Tests: Fix a comment (fridokus)
dfef0df tests: Dry run bench_bitcoin (-evals=1 -scaling=0: <1 second running time) as part "make check" to allow for quick identification of assertion/sanitizer failures in benchmarking code (practicalswift)
00c6306 Remove RUN_BENCH logic (practicalswift)
a4edb16 ZMQ: add options to configure outbound message high water mark, aka SNDHWM (mruddy)
ab8c6f2 Add SAFE_CHARS[SAFE_CHARS_URI]: Chars allowed in URIs (RFC 3986) (practicalswift)
9912486 rpc: Make HTTP RPC debug logging more informative (practicalswift)
33ae985 doc: Update OpenBSD build guide for 6.4 (fanquake)
6d247b1 gitignore contents of db4 folder (Marty Jones)
4ed7308 scripted-diff: Rename misleading 'defaultPort' to 'http_port' (Murray Nesbitt)
65f3672 wallet: Refactor to use WalletLocation (João Barbosa)
01a4c09 wallet: Add WalletLocation utility class (João Barbosa)
04972fe Remove unused `adjustedTime` parameter (Hennadii Stepanov)
63c74d2 build: Remove illegal spacing in darwin.mk (Jon Layton)
2068f08 scripted-diff: Move util files to separate directory. (Jim Posen)
14a0652 tests: add test for 'getaddressinfo' RPC result 'ischange' field (whythat)
93d1aa9 rpcwallet: add 'ischange' field to 'getaddressinfo' response (whythat)
fa4bcaf travis: Compile once on xenial (MarcoFalke)
fa43626 test_runner: Remove travis specific code (MarcoFalke)
3fd7e76 [tests] Move deterministic address import to setup_nodes (John Newbery)
4fb3388 check that a separator is found for psbt inputs, outputs, and global map (Andrew Chow)
9605bbd Make clear function argument case in dev notes (Carl Dong)
fa77aaa doc: Add external interface consistency guarantees (MarcoFalke)
862d159 Add test for conversion from non-witness to witness UTXO (Pieter Wuille)
f8c1714 Convert non-witness UTXOs to witness if witness sig created (Andrew Chow)
0a04667 FreeBSD: Document Python 3 requirement for 'gmake check' (Murray Nesbitt)
4bd125f tests: Print dots by default (Chun Kuan Lee)
cf2f430 gui: explicitly disable "Dark Mode" appearance on macOS (fanquake)
0e6de3a added details about commit messages (Martin Erlandsson)
c11875c Add segwit address tests for importmulti (MeshCollider)
201451b Make getaddressinfo return solvability (MeshCollider)
1753d21 Add release notes for importmulti segwit change (MeshCollider)
353c064 Fix typo in test_framework/blocktools (MeshCollider)
f6ed748 Add SegWit support to importmulti with some ProcessImport cleanup (MeshCollider)
d8bf107 Bugfix: RPC: Add address_type named param for createmultisig (Luke Dashjr)
15db77f Don't rely on locale dependent functions in base_blob<BITS>::SetHex(...) (uint256), DecodeBase58(...), ParseMoney(...) and ParseHex(...) (practicalswift)
36c8e68 Various textual improvements in build docs (Martin Erlandsson)
fa511e8 Pass tx pool reference into CheckSequenceLocks (MarcoFalke)
fa78a2f [tests] Test that nodes respond to getdata with notfound (MarcoFalke)
3387bb0 travis: avoid timeout without saving caches, also enable all qt (Chun Kuan Lee)
fbaccbf build: Fix Qt link order for Windows build (Chun Kuan Lee)
ed2e183 Remove fs::relative call and fix listwalletdir tests (João Barbosa)
3be209d rpc: Always throw in getblockstats if -txindex is required (João Barbosa)
43719e0 [macOS] Remove DS_Store WindowBounds bytes object (Jonas Schnelli)
4dca7d0 appveyor: Enable multiwallet test (Chun Kuan Lee)
4ea7732 tests: add test case for loading copied wallet twice (Chun Kuan Lee)
2d796fa wallet: Fix duplicate fileid (Chun Kuan Lee)
96c509e show the progress of functional test (Isidoro Ghezzi)
8907df9 qa: Ensure wallet unload during walletpassphrase timeout (João Barbosa)
321decf rpc: Fix wallet unload during walletpassphrase timeout (João Barbosa)
48439b3 Don't link SSL_LIBS with GUI unless BIP70 is enabled (James Hilliard)
fbb643d Add BIP70 deprecation warning (James Hilliard)
38b9850 qt: cleanup: Move BIP70 functions together in paymentserver (Wladimir J. van der Laan)
9dcf6c0 build: Add --disable-bip70 configure option (Wladimir J. van der Laan)
585b47c rpc: Prevent concurrent savemempool (João Barbosa)
2b91e42 [docs] Add release note for removing getwitnessaddress (John Newbery)
ebec90a [wallet] Remove deprecated addwitnessaddress RPC method (John Newbery)
07e3f58 [test] Remove deprecated addwitnessaddress from feature_segwit.py (John Newbery)
82f2fa0 [test] Remove deprecated addwitnessaddress from wallet_bumpfee.py (John Newbery)
9d7ee18 [test] Remove deprecated addwitnessaddress from p2p_compactblocks.py (John Newbery)
3cf77f0 [tests] Remove deprecated addwitnessaddress call from wallet_dump.py (John Newbery)
bdefc97 [tests] Remove deprecated addwitnessaddress call from feature_nulldummy (John Newbery)
67d7d67 [test] Fix flake8 warnings in tests (John Newbery)
69e7ee2 Add GUARDED_BY(cs_wallet) for setExternalKeyPool, mapKeyMetadata, m_script_metadata and setLockedCoins (practicalswift)
37b2538 Add GUARDED_BY(cs_wallet) for encrypted_batch, nWalletMaxVersion, m_max_keypool_index and nOrderPosNext (practicalswift)
dee4292 wallet: Add Clang thread safety analysis annotations (practicalswift)
1c7e25d wallet: Add missing locks (practicalswift)
0089905 Add compile time checking for cs_main locks which we assert at run time (practicalswift)
d4d70ed Fix listreceivedbyaddress not taking address as a string (Eric Scrivner)
ab9aca2 [rpc] add 'getnewaddress' hint to 'generatetoaddress' help text. (John Newbery)
c9f0295 [wallet] Deprecate the generate RPC method (John Newbery)
aab8172 [tests] Add generate method to TestNode (John Newbery)
c269209 [tests] Small fixups before deprecating generate (John Newbery)
5918204 Removed explicit mention of storage requirement (squashed) (Martin Erlandsson)
8afb166 Update documentation to incude origin information (Pieter Wuille)
ff37459 Add tests for key origin support (Pieter Wuille)
2c6281f Add key origin support to descriptors (Pieter Wuille)
eeeaa29 descriptors.md: Refer to descriptors as describing instead of matching (Russell Yanofsky)
eb49412 doc/descriptors.md tweaks (Russell Yanofsky)
8640631 docs: Document lint tests (Mason Simon)
97ddc60 validation: Pass chainparams in AcceptToMemoryPoolWorker(...) (practicalswift)
fadffae Revert "Make qt wallet test compatible with qt4" (MarcoFalke)
1fb3c16 Add `doc/bitcoin-conf.md` (Hennadii Stepanov)
94e21c1 test: forward timeouts properly in send_blocks_and_test (James O'Beirne)
b6b9915 Textual improvements (Martin Erlandsson)
29ed2d6 Improve CAmount tests (Hennadii Stepanov)
a3197c5 Disable wallet and address book Qt tests on macOS minimal platform (Russell Yanofsky)
1f01fe0 bitcoin-tx: Use constant for n pubkeys check (Antoine Le Calvez)
369244f utils: Fix broken Windows filelock (Chun Kuan Lee)
bc60c61 Avoid 1 << 31 (UB) in calculation of SEQUENCE_LOCKTIME_DISABLE_FLAG (practicalswift)
7e18673 Fix typo (Kristaps Kaupe)
ca6d86c tests: Stop node before removing the notification file (Chun Kuan Lee)
d56a068 docs: Add release notes for listwalletdir RPC (João Barbosa)
0cb3cad qa: Add tests for listwalletdir RPC (João Barbosa)
cc33773 rpc: Add listwalletdir RPC (João Barbosa)
d1b03b8 interfaces: Add getWalletDir and listWalletDir to Node (João Barbosa)
fc4db35 wallet: Add ListWalletDir utility (João Barbosa)
96f6dc9 Avoid triggering undefined behaviour in base_uint<BITS>::bits() (practicalswift)
2ab9140 Add tooltips for both datadir and blocksdir (Hennadii Stepanov)
3045704 Add "Blocksdir" to Debug window (Hennadii Stepanov)
b0510d7 Set C locale for amountWidget (Hennadii Stepanov)
2d47163 wallet: Remove trailing separators from -walletdir arg (Pierre Rochard)
ea3009e wallet: Add walletdir arg unit tests (Pierre Rochard)
43c7fbb Make MSVC compiler read the source code using utf-8 (Chun Kuan Lee)
f86a571 tests: Add test case for std::ios_base::ate (Chun Kuan Lee)
a554cc9 Move boost/std fstream to fsbridge (Chun Kuan Lee)
86eb3b3 utils: Add fsbridge fstream function wrapper (Chun Kuan Lee)
d562027 [doc] getblocktemplate: use SegWit in example (Sjors Provoost)
081cc02 Fix QCompleter popup regression (Hennadii Stepanov)
ee0b7c4 build: Pin to specific versions of Python packages we install from PyPI in Travis (practicalswift)
c32cf6a Add ignored word: mut (practicalswift)
4ae50da Revert "qa: Fix codespell error and have lint-spelling error instead of warn" (practicalswift)
032488e Move SocketHandler logic to private method. (Patrick Strateman)
2af9cff Move InactivityCheck logic to private method. (Patrick Strateman)
7479b63 Move DisconnectNodes logic to private method. (Patrick Strateman)
edb5350 Move NotifyNumConnectionsChanged logic to private method. (Patrick Strateman)
7d173c4 qt: Revert "Force TLS1.0+ for SSL connections" (Tim Ruffing)
36323e2 Clean systray icon menu for -disablewallet mode (Hennadii Stepanov)
2f6b466 Stop requiring imported pubkey to sign non-PKH schemes (Pieter Wuille)
b8edb98 [rpc] Descriptions: Textual consistency fixes (Jon Layton)
a48e44b Fix CLEAN_BITCOIN_TEST to remove .log files for all BITCOIN_TESTS files (James O'Beirne)
3e9f6c8 Add missing locks and locking annotations for CAddrMan (practicalswift)
f149e31 depends: qt: avoid system harfbuzz and bz2 (Cory Fields)
854c85a test: allow arguments to be forwarded to flake8 in lint-python.sh (James O'Beirne)
3f5ac27 Include some files currently missed by 'make distclean'. (murrayn)
3b70621 doc: RPC documentation (Karel Bílek)
0bd64dc Fix macOS files description (Hennadii Stepanov)
faa4043 qa: Run more tests with wallet disabled (MarcoFalke)
62c304e tests: Allow closed http server in assert_start_raises_init_error (Chun Kuan Lee)
59a50c2 appveyor: trivial build cache modifications (Chun Kuan Lee)
42a995a [tests] Remove rpc_zmq.py (John Newbery)
b09c814 Don't access out of bounds array entry array[sizeof(array)] (Ben Woosley)
64937fd [docs] path to descriptors.md fixed (Damian Mee)
380c843 utils: Convert Windows args to utf-8 string (Chun Kuan Lee)
4a9f064 Fix typos (Dimitris Apostolou)
86eddd4 doc: miss install (poiuty)
d10f2cd travis: set codespell version to avoid breakage (MarcoFalke)
fad95e8 doc: Split build linux dependencies (MarcoFalke)
0000009 doc: Split depends installation instructions per arch (MarcoFalke)
ff94da7 tests: Make appveyor run with --usecli (practicalswift)
db01839 test: Add missing call to skip_if_no_cli() (practicalswift)
1f59c6f doc: Remove "temporary file" notice from 0.17.0 release notes (Wladimir J. van der Laan)
5aaf1a0 doc: Add historical release notes for 0.17.0 (Wladimir J. van der Laan)
d813266 [gitian] use versioned unsigned tarballs instead of generically named ones (Andrew Chow)
fa69ac7 doxygen: Fix member comments (MarcoFalke)
430bf6c depends: fix bitcoin-qt back-compat with older freetype versions at runtime (Cory Fields)
0809e68 doc: Add historical release notes for 0.14.3 and 0.15.2 (Wladimir J. van der Laan)
fae9e84 doc: Add GitHub pr template (MarcoFalke)
c7b3e48 tests: exclude all tests with difference parameters (Chun Kuan Lee)
fa84723 amount: Move CAmount CENT to unit test header (MarcoFalke)
9c5af58 Consolidate redundant implementations of ParseHashStr (Ben Woosley)
66b3fc5 Skip stale tip checking if outbound connections are off or if reindexing. (Gregory Maxwell)
a2a04a5 Bugfix: Only run bitcoin-tx tests when bitcoin-tx is enabled (Luke Dashjr)
92af71c configure: Make it possible to build only one of bitcoin-cli or bitcoin-tx (Luke Dashjr)
e460232 Document fixed attribute behavior in critical test framework classes. (Justin Turner Arthur)
17b42f4 Check for specific tx acceptance failures based on script signature (Justin Turner Arthur)
3a4449e Strictly enforce instance attrs in critical functional test classes. (Justin Turner Arthur)
1d0ce94 Fix for incorrect version attr set on functional test segwit block. (Justin Turner Arthur)
ba923e3 test: Fix broken segwit test (practicalswift)
7ac911a [docs] Add release notes for removing `-usehd` (John Newbery)
25548b2 [wallet] Remove -usehd (John Newbery)
20442f6 [wallet] remove redundand restart node (gustavonalle)
db15805 [wallet] Ensure wallet is unlocked before signing (gustavonalle)
2c3eade Make fs::path::string() always return utf-8 string (Chun Kuan Lee)
fa6b30c lcov: filter /usr/lib/ from coverage reports (MarcoFalke)
ff40357 AppVeyor: Move AppVeyor YAML to dot-file-style YAML (Mitchell Cash)
67654b6 tests: write the notification to different files to avoid race condition (Chun Kuan Lee)
6fa901f Don't edit Chainparams after initialization (Jorge Timón)
980b38f MOVEONLY: Move versionbits info out of versionbits.o (Jorge Timón)
661ac15 appveyor: Run functional tests on appveyor (Chun Kuan Lee)
2148c36 tests: Make it possible to run functional tests on Windows (Chun Kuan Lee)
5eb20f8 Consistently use ParseHashV to validate hash inputs in rpc (Ben Woosley)
1eb9a9b [RPC] Remove warning for removed estimatefee RPC (John Newbery)
30973e9 [REST] improve performance for JSON calls (Antoine Le Calvez)
a23a7f6 wallet: Avoid potential use of unitialized value bnb_used in CWallet::CreateTransaction(...) (practicalswift)
b6718e3 tests: Use MakeUnique to construct objects owned by unique_ptrs (practicalswift)
3ccfa34 convert C-style (void) parameter lists to C++ style () (Arvid Norberg)
fa910e4 init: Remove deprecated args from hidden args (MarcoFalke)
52beb9e Add autogen.sh in ARM Cross-compilation (Walter)
a2eb6f5 [rpc] Add getnodeaddresses RPC command (chris-belcher)
fd5c95c doc: Add historical release notes for 0.16.3 (Wladimir J. van der Laan)
9b4a36e [qa] Test for duplicate inputs within a transaction (Suhas Daftuar)
b8f8019 Fix crash bug with duplicate inputs within a transaction (Suhas Daftuar)
0ca4c8b Changed functional tests which do not require wallets to run without (sanket1729)
f1bd03e [depends, zmq, doc] upgrade zeromq to 4.2.5 and avoid deprecated zeromq api functions (mruddy)
be54f42 use integer division instead of double conversion and multiplication for computing amounts (Arvid Norberg)

Pull request description:

  Currently this catches up until Core commit f617e05 and has everything working except the `p2p_invalid_messages` unit test that gets some updates in later upstream commits.

  I'm planning to continue to catch up to 519b0bc next, which is the merge-base between upstream master and upstream v0.18.0.

  Fixes #532.

Tree-SHA512: a8da8fe1c03d3317fc42d610b2203b7b84ac403ecdff88cf54be525c7a94b0b366ae8741b2652274152f9da657631c221bf2540b79c9c121b5b1e74facd197c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant