From https://github.com/bitcoin/bitcoin/actions/runs/13355177559/job/37296904714:
244/317 - wallet_importdescriptors.py --descriptors failed, Duration: 13 s
stdout:
2025-02-16T12:59:56.602000Z TestFramework (INFO): PRNG seed is: 3316204795374696824
2025-02-16T12:59:56.602000Z TestFramework (INFO): Initializing test directory /Users/runner/work/bitcoin/bitcoin/ci/scratch/test_runner/test_runner_₿_🏃_20250216_125556/wallet_importdescriptors_99
2025-02-16T12:59:57.273000Z TestFramework (INFO): Setting up wallets
2025-02-16T12:59:57.317000Z TestFramework (INFO): Mining coins
2025-02-16T12:59:58.510000Z TestFramework (INFO): Import should fail if a descriptor is not provided
2025-02-16T12:59:58.519000Z TestFramework (INFO): Should import a p2pkh descriptor
2025-02-16T12:59:58.537000Z TestFramework (INFO): Test can import same descriptor with public key twice
2025-02-16T12:59:58.543000Z TestFramework (INFO): Test can update descriptor label
2025-02-16T12:59:58.550000Z TestFramework (INFO): Internal addresses cannot have labels
2025-02-16T12:59:58.552000Z TestFramework (INFO): Internal addresses should be detected as such
2025-02-16T12:59:58.564000Z TestFramework (INFO): Should not import a p2sh-p2wpkh descriptor without checksum
2025-02-16T12:59:58.564000Z TestFramework (INFO): Should not import a p2sh-p2wpkh descriptor that has range specified
2025-02-16T12:59:58.565000Z TestFramework (INFO): Should not import a p2sh-p2wpkh descriptor and have it set to active
2025-02-16T12:59:58.566000Z TestFramework (INFO): Should import a (non-active) p2sh-p2wpkh descriptor
2025-02-16T12:59:58.582000Z TestFramework (INFO): Should import a 1-of-2 bare multisig from descriptor
2025-02-16T12:59:58.584000Z TestFramework (INFO): Should not treat individual keys from the imported bare multisig as watchonly
2025-02-16T12:59:58.585000Z TestFramework (INFO): Ranged descriptors cannot have labels
2025-02-16T12:59:58.586000Z TestFramework (INFO): Private keys required for private keys enabled wallet
2025-02-16T12:59:58.586000Z TestFramework (INFO): Ranged descriptor import should warn without a specified range
2025-02-16T12:59:58.590000Z TestFramework (INFO): Should not import a ranged descriptor that includes xpriv into a watch-only wallet
2025-02-16T12:59:58.590000Z TestFramework (INFO): Should not import a descriptor with hardened derivations when private keys are disabled
2025-02-16T12:59:58.595000Z TestFramework (INFO): Verify we can only extend descriptor's range
2025-02-16T12:59:58.619000Z TestFramework (INFO): Check we can change descriptor internal flag
2025-02-16T12:59:58.633000Z TestFramework (INFO): Key ranges should be imported in order
2025-02-16T12:59:58.665000Z TestFramework (INFO): Check we can change next_index
2025-02-16T12:59:58.678000Z TestFramework (INFO): Check imported descriptors are not active by default
2025-02-16T12:59:58.680000Z TestFramework (INFO): Check can activate inactive descriptor
2025-02-16T12:59:58.683000Z TestFramework (INFO): Check can deactivate active descriptor
2025-02-16T12:59:58.687000Z TestFramework (INFO): Verify activation state is persistent
2025-02-16T12:59:58.693000Z TestFramework (INFO): Should import a descriptor with a WIF private key as spendable
2025-02-16T12:59:58.696000Z TestFramework (INFO): Test can import same descriptor with private key twice
2025-02-16T12:59:58.713000Z TestFramework (INFO): Test that multisigs can be imported, signed for, and getnewaddress'd
2025-02-16T13:00:02.944000Z TestFramework (INFO): Multisig with distributed keys
2025-02-16T13:00:03.441000Z TestFramework (INFO): We can create and use a huge multisig under P2WSH
2025-02-16T13:00:04.656000Z TestFramework (INFO): Under P2SH, multisig are standard with up to 15 compressed keys
2025-02-16T13:00:05.714000Z TestFramework (INFO): Amending multisig with new private keys
2025-02-16T13:00:05.897000Z TestFramework (INFO): Combo descriptors cannot be active
2025-02-16T13:00:05.897000Z TestFramework (INFO): Descriptors with no type cannot be active
2025-02-16T13:00:05.900000Z TestFramework (INFO): Test importing a descriptor to an encrypted wallet
2025-02-16T13:00:09.233000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64-apple-darwin23.6.0/test/functional/wallet_importdescriptors.py", line 711, in run_test
duration = wallet_info["scanning"]["duration"]
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'bool' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 135, in main
self.run_test()
~~~~~~~~~~~~~^^
File "/Users/runner/work/bitcoin/bitcoin/ci/scratch/build-aarch64-apple-darwin23.6.0/test/functional/wallet_importdescriptors.py", line 714, in run_test
assert "scanning" not in wallet_info
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
2025-02-16T13:00:09.381000Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later.
2025-02-16T13:00:09.381000Z TestFramework (WARNING): Not cleaning up dir /Users/runner/work/bitcoin/bitcoin/ci/scratch/test_runner/test_runner_₿_🏃_20250216_125556/wallet_importdescriptors_99
2025-02-16T13:00:09.381000Z TestFramework (ERROR): Test failed. Test logging available at /Users/runner/work/bitcoin/bitcoin/ci/scratch/test_runner/test_runner_₿_🏃_20250216_125556/wallet_importdescriptors_99/test_framework.log