Skip to content

Conversation

fanquake
Copy link
Member

Fixes #26819. Related too #26873, which adds the missing documentation.

@fanquake fanquake added the Tests label Jan 12, 2023
@DrahtBot
Copy link
Contributor

DrahtBot commented Jan 12, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK brunoerg

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@fanquake fanquake force-pushed the func_tests_check_import_sqlite branch from 2deb6ac to eea73d4 Compare January 12, 2023 13:37
Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK eea73d4

Removed sqlite3 and ran the test:

2023-01-13T12:48:05.992000Z TestFramework (WARNING): Test Skipped: sqlite3 module not available.
2023-01-13T12:48:06.047000Z TestFramework (INFO): Stopping nodes
2023-01-13T12:48:06.047000Z TestFramework (INFO): Cleaning up /var/folders/7j/m0yjzmhj4ys9jgl353v2mqph0000gn/T/bitcoin_func_test_bb6sbr9w on exit
2023-01-13T12:48:06.047000Z TestFramework (INFO): Test skipped

With sqlite3:

2023-01-13T12:47:35.815000Z TestFramework (INFO): Initializing test directory /var/folders/7j/m0yjzmhj4ys9jgl353v2mqph0000gn/T/bitcoin_func_test_lfqi98qf
2023-01-13T12:47:36.295000Z TestFramework (INFO): Making a descriptor wallet
2023-01-13T12:47:36.335000Z TestFramework (INFO): Checking wallet info
2023-01-13T12:47:36.335000Z TestFramework (INFO): Test that getnewaddress and getrawchangeaddress work
2023-01-13T12:47:36.420000Z TestFramework (INFO): Test sending and receiving
2023-01-13T12:47:36.422000Z TestFramework (INFO): Test disabled RPCs
2023-01-13T12:47:36.427000Z TestFramework (INFO): Test encryption
2023-01-13T12:47:36.886000Z TestFramework (INFO): Test that getnewaddress still works after keypool is exhausted in an encrypted wallet
2023-01-13T12:47:37.107000Z TestFramework (INFO): Test that unlock is needed when deriving only hardened keys in an encrypted wallet
2023-01-13T12:47:37.286000Z TestFramework (INFO): Test born encrypted wallets
2023-01-13T12:47:37.699000Z TestFramework (INFO): Test blank descriptor wallets
2023-01-13T12:47:37.701000Z TestFramework (INFO): Test descriptor wallet with disabled private keys
2023-01-13T12:47:37.703000Z TestFramework (INFO): Test descriptor exports
2023-01-13T12:47:37.740000Z TestFramework (INFO): Testing descriptor address type for legacy external
2023-01-13T12:47:37.741000Z TestFramework (INFO): Testing the same descriptor is returned for address type legacy external
2023-01-13T12:47:37.749000Z TestFramework (INFO): Testing import of exported legacy descriptor
2023-01-13T12:47:37.764000Z TestFramework (INFO): Testing descriptor address type for p2sh-segwit external
2023-01-13T12:47:37.765000Z TestFramework (INFO): Testing the same descriptor is returned for address type p2sh-segwit external
2023-01-13T12:47:37.774000Z TestFramework (INFO): Testing import of exported p2sh-segwit descriptor
2023-01-13T12:47:37.789000Z TestFramework (INFO): Testing descriptor address type for bech32 external
2023-01-13T12:47:37.790000Z TestFramework (INFO): Testing the same descriptor is returned for address type bech32 external
2023-01-13T12:47:37.798000Z TestFramework (INFO): Testing import of exported bech32 descriptor
2023-01-13T12:47:37.814000Z TestFramework (INFO): Testing descriptor address type for bech32m external
2023-01-13T12:47:37.814000Z TestFramework (INFO): Testing the same descriptor is returned for address type bech32m external
2023-01-13T12:47:37.824000Z TestFramework (INFO): Testing import of exported bech32m descriptor
2023-01-13T12:47:37.844000Z TestFramework (INFO): Testing descriptor address type for legacy internal
2023-01-13T12:47:37.845000Z TestFramework (INFO): Testing the same descriptor is returned for address type legacy internal
2023-01-13T12:47:37.852000Z TestFramework (INFO): Testing import of exported legacy descriptor
2023-01-13T12:47:37.867000Z TestFramework (INFO): Testing descriptor address type for p2sh-segwit internal
2023-01-13T12:47:37.868000Z TestFramework (INFO): Testing the same descriptor is returned for address type p2sh-segwit internal
2023-01-13T12:47:37.876000Z TestFramework (INFO): Testing import of exported p2sh-segwit descriptor
2023-01-13T12:47:37.891000Z TestFramework (INFO): Testing descriptor address type for bech32 internal
2023-01-13T12:47:37.892000Z TestFramework (INFO): Testing the same descriptor is returned for address type bech32 internal
2023-01-13T12:47:37.899000Z TestFramework (INFO): Testing import of exported bech32 descriptor
2023-01-13T12:47:37.914000Z TestFramework (INFO): Testing descriptor address type for bech32m internal
2023-01-13T12:47:37.915000Z TestFramework (INFO): Testing the same descriptor is returned for address type bech32m internal
2023-01-13T12:47:37.924000Z TestFramework (INFO): Testing import of exported bech32m descriptor
2023-01-13T12:47:37.944000Z TestFramework (INFO): Test that loading descriptor wallet containing legacy key types throws error
2023-01-13T12:47:38.041000Z TestFramework (INFO): Stopping nodes
2023-01-13T12:47:38.152000Z TestFramework (INFO): Cleaning up /var/folders/7j/m0yjzmhj4ys9jgl353v2mqph0000gn/T/bitcoin_func_test_lfqi98qf on exit
2023-01-13T12:47:38.152000Z TestFramework (INFO): Tests successful

@maflcko maflcko merged commit 3283403 into bitcoin:master Jan 13, 2023
@fanquake fanquake deleted the func_tests_check_import_sqlite branch January 13, 2023 12:55
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jan 13, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Jan 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: sqlite tests on freebsd fail with ModuleNotFoundError: No module named '_sqlite3'
4 participants