Page MenuHomePhabricator

Add a --descriptors option to various tests
AbandonedPublic

Authored by PiRK on Dec 13 2020, 15:58.

Details

Reviewers
deadalnix
majcosta
Group Reviewers
Restricted Project
Summary

Adds a --descriptors option globally to the test framework. This will
make the test create and use descriptor wallets. However some tests may
not work with this.

Some tests are modified to work with --descriptors and run with that
option in test_runer:

  • wallet_basic.py
  • wallet_encryption.py
  • wallet_keypool.py
  • wallet_keypool_topup.py
  • wallet_labels.py
  • wallet_avoidreuse.py

Backport of Core PR16528 part [43/43] : https://github.com/bitcoin/bitcoin/pull/16528/commits/223588b1bbc63dc57098bbd0baa48635e0cc0b82

Changes to key.py were already introduced in D8475

Test requires additional changes because transaction sizes are different in Bitcoin ABC when using descriptors. Without descriptors, `w2.walletcreatefundedpsbt generates p2pkh transactions, and with descriptors it generates p2sh transactions.

Test Plan
ninja all check-all

Diff Detail

Event Timeline

There are a few lint error, but most importantly, a couple of test are broken.

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2020-12-13T16:01:29.505000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_397
2020-12-13T16:01:31.362000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:01:31.413000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:01:31.716000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_397
2020-12-13T16:01:31.716000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_397/test_framework.log
2020-12-13T16:01:31.716000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_397' to consolidate all logs
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2020-12-13T16:04:22.498000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_541
2020-12-13T16:04:24.889000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:04:24.940000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:04:25.293000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_541
2020-12-13T16:04:25.293000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_541/test_framework.log
2020-12-13T16:04:25.293000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/rpc_psbt_541' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2020-12-13T16:04:22.906000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_basic_543
2020-12-13T16:04:23.774000Z TestFramework (INFO): Mining blocks...
2020-12-13T16:04:26.083000Z TestFramework (INFO): test gettxout
2020-12-13T16:04:26.143000Z TestFramework (INFO): test gettxout (second part)
2020-12-13T16:04:47.896000Z TestFramework (INFO): check -rescan
2020-12-13T16:04:50.571000Z TestFramework (INFO): check -reindex
2020-12-13T16:04:55.247000Z TestFramework (INFO): check -zapwallettxes=1
2020-12-13T16:04:57.709000Z TestFramework (INFO): check -zapwallettxes=2
2020-12-13T16:05:00.548000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2020-12-13T16:05:00.601000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:05:00.914000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_basic_543
2020-12-13T16:05:00.914000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_basic_543/test_framework.log
2020-12-13T16:05:00.915000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_basic_543' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2020-12-13T16:04:27.020000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_keypool_547
2020-12-13T16:04:28.124000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2020-12-13T16:04:28.175000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:04:28.326000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_keypool_547
2020-12-13T16:04:28.326000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_keypool_547/test_framework.log
2020-12-13T16:04:28.326000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160042/wallet_keypool_547' to consolidate all logs

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py --descriptors

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2020-12-13T16:02:22.850000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_18
2020-12-13T16:02:24.836000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:02:24.887000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:02:25.290000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_18
2020-12-13T16:02:25.290000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_18/test_framework.log
2020-12-13T16:02:25.290000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_18' to consolidate all logs
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2020-12-13T16:04:45.239000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_162
2020-12-13T16:04:47.738000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:04:47.789000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:04:48.394000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_162
2020-12-13T16:04:48.394000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_162/test_framework.log
2020-12-13T16:04:48.394000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/rpc_psbt_162' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2020-12-13T16:04:45.694000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_basic_164
2020-12-13T16:04:46.787000Z TestFramework (INFO): Mining blocks...
2020-12-13T16:04:49.655000Z TestFramework (INFO): test gettxout
2020-12-13T16:04:49.868000Z TestFramework (INFO): test gettxout (second part)
2020-12-13T16:05:02.349000Z TestFramework (INFO): check -rescan
2020-12-13T16:05:04.725000Z TestFramework (INFO): check -reindex
2020-12-13T16:05:07.301000Z TestFramework (INFO): check -zapwallettxes=1
2020-12-13T16:05:09.677000Z TestFramework (INFO): check -zapwallettxes=2
2020-12-13T16:05:11.896000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2020-12-13T16:05:11.948000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:05:12.309000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_basic_164
2020-12-13T16:05:12.309000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_basic_164/test_framework.log
2020-12-13T16:05:12.309000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_basic_164' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2020-12-13T16:04:49.873000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_keypool_168
2020-12-13T16:04:51.694000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2020-12-13T16:04:51.744000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:04:52.196000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_keypool_168
2020-12-13T16:04:52.196000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_keypool_168/test_framework.log
2020-12-13T16:04:52.196000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160142/wallet_keypool_168' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py ======

------- Stdout: -------
2020-12-13T16:05:54.206000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_65
2020-12-13T16:05:56.677000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:05:56.731000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:05:57.593000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_65
2020-12-13T16:05:57.594000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_65/test_framework.log
2020-12-13T16:05:57.594000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_65' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors ======

------- Stdout: -------
2020-12-13T16:08:14.522000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_209
2020-12-13T16:08:17.715000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:08:17.769000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:08:18.730000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_209
2020-12-13T16:08:18.730000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_209/test_framework.log
2020-12-13T16:08:18.731000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/rpc_psbt_209' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors ======

------- Stdout: -------
2020-12-13T16:08:14.675000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_basic_211
2020-12-13T16:08:15.816000Z TestFramework (INFO): Mining blocks...
2020-12-13T16:08:18.580000Z TestFramework (INFO): test gettxout
2020-12-13T16:08:18.763000Z TestFramework (INFO): test gettxout (second part)
2020-12-13T16:08:33.348000Z TestFramework (INFO): check -rescan
2020-12-13T16:08:36.228000Z TestFramework (INFO): check -reindex
2020-12-13T16:08:39.223000Z TestFramework (INFO): check -zapwallettxes=1
2020-12-13T16:08:42.146000Z TestFramework (INFO): check -zapwallettxes=2
2020-12-13T16:08:45.076000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2020-12-13T16:08:45.130000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:08:45.490000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_basic_211
2020-12-13T16:08:45.491000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_basic_211/test_framework.log
2020-12-13T16:08:45.491000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_basic_211' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors ======

------- Stdout: -------
2020-12-13T16:08:19.624000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_keypool_215
2020-12-13T16:08:20.732000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2020-12-13T16:08:20.784000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:08:21.189000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_keypool_215
2020-12-13T16:08:21.189000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_keypool_215/test_framework.log
2020-12-13T16:08:21.190000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160512/wallet_keypool_215' to consolidate all logs

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2020-12-13T16:08:07.455000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_446
2020-12-13T16:08:10.886000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:08:10.937000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:08:11.090000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_446
2020-12-13T16:08:11.090000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_446/test_framework.log
2020-12-13T16:08:11.090000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_446' to consolidate all logs
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2020-12-13T16:10:57.880000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_590
2020-12-13T16:11:00.176000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:11:00.227000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:11:00.430000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_590
2020-12-13T16:11:00.430000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_590/test_framework.log
2020-12-13T16:11:00.430000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/rpc_psbt_590' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2020-12-13T16:10:58.252000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_basic_592
2020-12-13T16:10:59.171000Z TestFramework (INFO): Mining blocks...
2020-12-13T16:11:01.479000Z TestFramework (INFO): test gettxout
2020-12-13T16:11:01.541000Z TestFramework (INFO): test gettxout (second part)
2020-12-13T16:11:21.079000Z TestFramework (INFO): check -rescan
2020-12-13T16:11:23.741000Z TestFramework (INFO): check -reindex
2020-12-13T16:11:27.296000Z TestFramework (INFO): check -zapwallettxes=1
2020-12-13T16:11:29.971000Z TestFramework (INFO): check -zapwallettxes=2
2020-12-13T16:11:32.470000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2020-12-13T16:11:32.521000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:11:32.783000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_basic_592
2020-12-13T16:11:32.784000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_basic_592/test_framework.log
2020-12-13T16:11:32.784000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_basic_592' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2020-12-13T16:11:02.296000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_keypool_596
2020-12-13T16:11:03.484000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2020-12-13T16:11:03.536000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:11:03.791000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_keypool_596
2020-12-13T16:11:03.791000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_keypool_596/test_framework.log
2020-12-13T16:11:03.792000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20201213_160720/wallet_keypool_596' to consolidate all logs

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py --descriptors

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2020-12-13T16:10:23.664000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_598
2020-12-13T16:10:27.808000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:10:27.859000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:10:28.463000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_598
2020-12-13T16:10:28.463000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_598/test_framework.log
2020-12-13T16:10:28.463000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_598' to consolidate all logs
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2020-12-13T16:12:38.313000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_742
2020-12-13T16:12:40.705000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:12:40.759000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:12:41.371000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_742
2020-12-13T16:12:41.371000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_742/test_framework.log
2020-12-13T16:12:41.371000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/rpc_psbt_742' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2020-12-13T16:12:38.855000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_basic_744
2020-12-13T16:12:39.934000Z TestFramework (INFO): Mining blocks...
2020-12-13T16:12:42.723000Z TestFramework (INFO): test gettxout
2020-12-13T16:12:42.867000Z TestFramework (INFO): test gettxout (second part)
2020-12-13T16:12:59.534000Z TestFramework (INFO): check -rescan
2020-12-13T16:13:01.100000Z TestFramework (INFO): check -reindex
2020-12-13T16:13:03.402000Z TestFramework (INFO): check -zapwallettxes=1
2020-12-13T16:13:05.568000Z TestFramework (INFO): check -zapwallettxes=2
2020-12-13T16:13:08.048000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2020-12-13T16:13:08.102000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:13:08.413000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_basic_744
2020-12-13T16:13:08.413000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_basic_744/test_framework.log
2020-12-13T16:13:08.414000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_basic_744' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2020-12-13T16:12:42.277000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_keypool_748
2020-12-13T16:12:43.518000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2020-12-13T16:12:43.569000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:12:43.920000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_keypool_748
2020-12-13T16:12:43.920000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_keypool_748/test_framework.log
2020-12-13T16:12:43.920000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_160941/wallet_keypool_748' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py ======

------- Stdout: -------
2020-12-13T16:13:48.495000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_578
2020-12-13T16:13:50.732000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:13:50.786000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:13:51.547000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_578
2020-12-13T16:13:51.548000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_578/test_framework.log
2020-12-13T16:13:51.548000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_578' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors ======

------- Stdout: -------
2020-12-13T16:15:48.664000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_722
2020-12-13T16:15:50.807000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2020-12-13T16:15:50.860000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:15:51.219000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_722
2020-12-13T16:15:51.219000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_722/test_framework.log
2020-12-13T16:15:51.219000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/rpc_psbt_722' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors ======

------- Stdout: -------
2020-12-13T16:15:48.937000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_basic_724
2020-12-13T16:15:49.968000Z TestFramework (INFO): Mining blocks...
2020-12-13T16:15:52.159000Z TestFramework (INFO): test gettxout
2020-12-13T16:15:52.201000Z TestFramework (INFO): test gettxout (second part)
2020-12-13T16:16:11.315000Z TestFramework (INFO): check -rescan
2020-12-13T16:16:12.776000Z TestFramework (INFO): check -reindex
2020-12-13T16:16:14.674000Z TestFramework (INFO): check -zapwallettxes=1
2020-12-13T16:16:16.239000Z TestFramework (INFO): check -zapwallettxes=2
2020-12-13T16:16:17.891000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2020-12-13T16:16:17.945000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:16:18.256000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_basic_724
2020-12-13T16:16:18.256000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_basic_724/test_framework.log
2020-12-13T16:16:18.256000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_basic_724' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors ======

------- Stdout: -------
2020-12-13T16:15:51.579000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_keypool_728
2020-12-13T16:15:52.458000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2020-12-13T16:15:52.509000Z TestFramework (INFO): Stopping nodes
2020-12-13T16:15:52.661000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_keypool_728
2020-12-13T16:15:52.661000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_keypool_728/test_framework.log
2020-12-13T16:15:52.662000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20201213_161308/wallet_keypool_728' to consolidate all logs

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors

Broken tests

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-01-26T16:38:07.579000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_259
2021-01-26T16:38:09.758000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-01-26T16:38:09.809000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:38:10.212000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_259
2021-01-26T16:38:10.212000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_259/test_framework.log
2021-01-26T16:38:10.212000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_259' to consolidate all logs
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-01-26T16:41:03.993000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_412
2021-01-26T16:41:06.437000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-01-26T16:41:06.488000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:41:06.791000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_412
2021-01-26T16:41:06.791000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_412/test_framework.log
2021-01-26T16:41:06.792000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/rpc_psbt_412' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-01-26T16:41:04.899000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_basic_414
2021-01-26T16:41:05.849000Z TestFramework (INFO): Mining blocks...
2021-01-26T16:41:08.184000Z TestFramework (INFO): test gettxout
2021-01-26T16:41:08.247000Z TestFramework (INFO): test gettxout (second part)
2021-01-26T16:41:27.744000Z TestFramework (INFO): check -rescan
2021-01-26T16:41:30.333000Z TestFramework (INFO): check -reindex
2021-01-26T16:41:35.000000Z TestFramework (INFO): check -zapwallettxes=1
2021-01-26T16:41:38.172000Z TestFramework (INFO): check -zapwallettxes=2
2021-01-26T16:41:41.196000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-01-26T16:41:41.251000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:41:41.564000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_basic_414
2021-01-26T16:41:41.564000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_basic_414/test_framework.log
2021-01-26T16:41:41.564000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_basic_414' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2021-01-26T16:41:11.231000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_keypool_417
2021-01-26T16:41:12.409000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2021-01-26T16:41:12.459000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:41:12.711000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_keypool_417
2021-01-26T16:41:12.711000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_keypool_417/test_framework.log
2021-01-26T16:41:12.711000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210126_163724/wallet_keypool_417' to consolidate all logs

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py --descriptors

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-01-26T16:39:34.639000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_453
2021-01-26T16:39:37.807000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-01-26T16:39:37.858000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:39:38.013000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_453
2021-01-26T16:39:38.013000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_453/test_framework.log
2021-01-26T16:39:38.014000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_453' to consolidate all logs
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-01-26T16:41:52.507000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_606
2021-01-26T16:41:55.063000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-01-26T16:41:55.116000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:41:56.373000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_606
2021-01-26T16:41:56.373000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_606/test_framework.log
2021-01-26T16:41:56.373000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/rpc_psbt_606' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-01-26T16:41:53.013000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_basic_608
2021-01-26T16:41:54.164000Z TestFramework (INFO): Mining blocks...
2021-01-26T16:41:57.933000Z TestFramework (INFO): test gettxout
2021-01-26T16:41:58.049000Z TestFramework (INFO): test gettxout (second part)
2021-01-26T16:42:17.465000Z TestFramework (INFO): check -rescan
2021-01-26T16:42:19.282000Z TestFramework (INFO): check -reindex
2021-01-26T16:42:21.948000Z TestFramework (INFO): check -zapwallettxes=1
2021-01-26T16:42:23.757000Z TestFramework (INFO): check -zapwallettxes=2
2021-01-26T16:42:25.437000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-01-26T16:42:25.488000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:42:25.795000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_basic_608
2021-01-26T16:42:25.795000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_basic_608/test_framework.log
2021-01-26T16:42:25.795000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_basic_608' to consolidate all logs
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2021-01-26T16:41:57.883000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_keypool_611
2021-01-26T16:41:59.543000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2021-01-26T16:41:59.595000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:42:00.049000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_keypool_611
2021-01-26T16:42:00.050000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_keypool_611/test_framework.log
2021-01-26T16:42:00.050000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_163900/wallet_keypool_611' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py ======

------- Stdout: -------
2021-01-26T16:42:58.039000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_278
2021-01-26T16:43:00.408000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-01-26T16:43:00.460000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:43:01.371000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_278
2021-01-26T16:43:01.371000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_278/test_framework.log
2021-01-26T16:43:01.372000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_278' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-01-26T16:45:05.191000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_431
2021-01-26T16:45:07.283000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 114, in run_test
    options={"feeRate": 0.1, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-01-26T16:45:07.335000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:45:07.538000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_431
2021-01-26T16:45:07.539000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_431/test_framework.log
2021-01-26T16:45:07.539000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/rpc_psbt_431' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-01-26T16:45:05.566000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_basic_433
2021-01-26T16:45:06.445000Z TestFramework (INFO): Mining blocks...
2021-01-26T16:45:08.666000Z TestFramework (INFO): test gettxout
2021-01-26T16:45:08.708000Z TestFramework (INFO): test gettxout (second part)
2021-01-26T16:45:26.707000Z TestFramework (INFO): check -rescan
2021-01-26T16:45:28.319000Z TestFramework (INFO): check -reindex
2021-01-26T16:45:30.373000Z TestFramework (INFO): check -zapwallettxes=1
2021-01-26T16:45:31.985000Z TestFramework (INFO): check -zapwallettxes=2
2021-01-26T16:45:33.706000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 520, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('0.01'), chain_addrs[1]: node0_balance / 2 - Decimal('0.01')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 159, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-01-26T16:45:33.757000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:45:34.067000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_basic_433
2021-01-26T16:45:34.067000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_basic_433/test_framework.log
2021-01-26T16:45:34.068000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_basic_433' to consolidate all logs
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors ======

------- Stdout: -------
2021-01-26T16:45:08.514000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_keypool_436
2021-01-26T16:45:09.395000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 122, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2021-01-26T16:45:09.446000Z TestFramework (INFO): Stopping nodes
2021-01-26T16:45:09.648000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_keypool_436
2021-01-26T16:45:09.648000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_keypool_436/test_framework.log
2021-01-26T16:45:09.648000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210126_164225/wallet_keypool_436' to consolidate all logs

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors

majcosta added a reviewer: deadalnix.
majcosta added a subscriber: majcosta.

giving this a whirl

PiRK added a reviewer: majcosta.
PiRK added a subscriber: PiRK.

Try to get this fixed. This is now blocking a couple of backports.

rebase onto master.

Most of the conflicts are related to the base unit change.

Indent the new tests added in wallet_hd.py in D9196 to make those tests only run without --descriptors (as intended in the original PR)

PiRK planned changes to this revision.Sep 14 2021, 09:07

3 more tests to fix: wallet_keypool (with and without --descriptors), wallet_basic (with --descriptors) and rpc_psbt (with and without --descriptors)

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T09:06:28.860000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_9
2021-09-14T09:06:31.210000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T09:06:31.261000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:06:31.815000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_9
2021-09-14T09:06:31.815000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_9/test_framework.log
2021-09-14T09:06:31.815000Z TestFramework (ERROR): 
2021-09-14T09:06:31.815000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_9' to consolidate all logs
2021-09-14T09:06:31.815000Z TestFramework (ERROR): 
2021-09-14T09:06:31.815000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:06:31.815000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:06:31.815000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T09:09:58.262000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_169
2021-09-14T09:10:00.787000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T09:10:00.838000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:10:01.091000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_169
2021-09-14T09:10:01.091000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_169/test_framework.log
2021-09-14T09:10:01.091000Z TestFramework (ERROR): 
2021-09-14T09:10:01.091000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/rpc_psbt_169' to consolidate all logs
2021-09-14T09:10:01.091000Z TestFramework (ERROR): 
2021-09-14T09:10:01.091000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:10:01.091000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:10:01.091000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-09-14T09:09:58.715000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_basic_171
2021-09-14T09:09:59.870000Z TestFramework (INFO): Mining blocks...
2021-09-14T09:10:02.244000Z TestFramework (INFO): test gettxout
2021-09-14T09:10:02.317000Z TestFramework (INFO): test gettxout (second part)
2021-09-14T09:10:30.641000Z TestFramework (INFO): check -rescan
2021-09-14T09:10:34.118000Z TestFramework (INFO): check -reindex
2021-09-14T09:10:40.316000Z TestFramework (INFO): check -zapwallettxes=1
2021-09-14T09:10:44.553000Z TestFramework (INFO): check -zapwallettxes=2
2021-09-14T09:10:48.612000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 529, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('10000'), chain_addrs[1]: node0_balance / 2 - Decimal('10000')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-09-14T09:10:48.666000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:10:49.030000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_basic_171
2021-09-14T09:10:49.030000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_basic_171/test_framework.log
2021-09-14T09:10:49.031000Z TestFramework (ERROR): 
2021-09-14T09:10:49.031000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_basic_171' to consolidate all logs
2021-09-14T09:10:49.031000Z TestFramework (ERROR): 
2021-09-14T09:10:49.032000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:10:49.032000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:10:49.032000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_keypool.py ======

------- Stdout: -------
2021-09-14T09:09:25.956000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_87
2021-09-14T09:09:28.694000Z TestFramework (INFO): pkh([fc3a5454/0'/0'/3']0351c27c12f0a43054c9c708e62ab16ae117a4008fcfd99107c5431a2467c2adff)#cn4c2he3
2021-09-14T09:09:28.857000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 209, in run_test
    options={"subtractFeeFromOutputs": [0], "feeRate": 494.90})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: The transaction amount is too small to send after the fee has been deducted (-4)
2021-09-14T09:09:28.908000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:09:29.109000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_87
2021-09-14T09:09:29.109000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_87/test_framework.log
2021-09-14T09:09:29.109000Z TestFramework (ERROR): 
2021-09-14T09:09:29.109000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_87' to consolidate all logs
2021-09-14T09:09:29.109000Z TestFramework (ERROR): 
2021-09-14T09:09:29.109000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:09:29.109000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:09:29.110000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2021-09-14T09:10:02.961000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_174
2021-09-14T09:10:04.378000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2021-09-14T09:10:04.428000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:10:04.680000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_174
2021-09-14T09:10:04.680000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_174/test_framework.log
2021-09-14T09:10:04.680000Z TestFramework (ERROR): 
2021-09-14T09:10:04.680000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_090531/wallet_keypool_174' to consolidate all logs
2021-09-14T09:10:04.680000Z TestFramework (ERROR): 
2021-09-14T09:10:04.680000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:10:04.680000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:10:04.680000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py
Bitcoin ABC functional tests: wallet_keypool.py --descriptors

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T09:10:42.419000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_9
2021-09-14T09:10:44.206000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T09:10:44.257000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:10:44.409000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_9
2021-09-14T09:10:44.409000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_9/test_framework.log
2021-09-14T09:10:44.409000Z TestFramework (ERROR): 
2021-09-14T09:10:44.409000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_9' to consolidate all logs
2021-09-14T09:10:44.410000Z TestFramework (ERROR): 
2021-09-14T09:10:44.410000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:10:44.410000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:10:44.410000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T09:13:03.870000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_169
2021-09-14T09:13:07.823000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T09:13:07.875000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:13:08.687000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_169
2021-09-14T09:13:08.687000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_169/test_framework.log
2021-09-14T09:13:08.688000Z TestFramework (ERROR): 
2021-09-14T09:13:08.688000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/rpc_psbt_169' to consolidate all logs
2021-09-14T09:13:08.688000Z TestFramework (ERROR): 
2021-09-14T09:13:08.689000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:13:08.689000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:13:08.689000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-09-14T09:13:05.201000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_basic_171
2021-09-14T09:13:06.577000Z TestFramework (INFO): Mining blocks...
2021-09-14T09:13:10.170000Z TestFramework (INFO): test gettxout
2021-09-14T09:13:10.295000Z TestFramework (INFO): test gettxout (second part)
2021-09-14T09:13:31.936000Z TestFramework (INFO): check -rescan
2021-09-14T09:13:33.755000Z TestFramework (INFO): check -reindex
2021-09-14T09:13:36.432000Z TestFramework (INFO): check -zapwallettxes=1
2021-09-14T09:13:39.261000Z TestFramework (INFO): check -zapwallettxes=2
2021-09-14T09:13:42.772000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 529, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('10000'), chain_addrs[1]: node0_balance / 2 - Decimal('10000')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-09-14T09:13:42.827000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:13:43.137000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_basic_171
2021-09-14T09:13:43.138000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_basic_171/test_framework.log
2021-09-14T09:13:43.138000Z TestFramework (ERROR): 
2021-09-14T09:13:43.138000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_basic_171' to consolidate all logs
2021-09-14T09:13:43.138000Z TestFramework (ERROR): 
2021-09-14T09:13:43.139000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:13:43.139000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:13:43.139000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_keypool.py ======

------- Stdout: -------
2021-09-14T09:12:40.576000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_87
2021-09-14T09:12:42.828000Z TestFramework (INFO): pkh([4d32efad/0'/0'/6']0263092f8948a11d2302a4eb47a4a6e7904fa27f192f748b4608eaf1e170ac9dc9)#rygtay5r
2021-09-14T09:12:42.951000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 209, in run_test
    options={"subtractFeeFromOutputs": [0], "feeRate": 494.90})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: The transaction amount is too small to send after the fee has been deducted (-4)
2021-09-14T09:12:43.002000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:12:43.254000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_87
2021-09-14T09:12:43.254000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_87/test_framework.log
2021-09-14T09:12:43.254000Z TestFramework (ERROR): 
2021-09-14T09:12:43.254000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_87' to consolidate all logs
2021-09-14T09:12:43.254000Z TestFramework (ERROR): 
2021-09-14T09:12:43.254000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:12:43.254000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:12:43.254000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_keypool.py --descriptors ======

------- Stdout: -------
2021-09-14T09:13:10.275000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_174
2021-09-14T09:13:11.486000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2021-09-14T09:13:11.536000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:13:11.838000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_174
2021-09-14T09:13:11.839000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_174/test_framework.log
2021-09-14T09:13:11.839000Z TestFramework (ERROR): 
2021-09-14T09:13:11.839000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091006/wallet_keypool_174' to consolidate all logs
2021-09-14T09:13:11.840000Z TestFramework (ERROR): 
2021-09-14T09:13:11.840000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:13:11.840000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:13:11.840000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T09:14:20.855000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_9
2021-09-14T09:14:24.094000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T09:14:24.148000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:14:25.411000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_9
2021-09-14T09:14:25.411000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_9/test_framework.log
2021-09-14T09:14:25.411000Z TestFramework (ERROR): 
2021-09-14T09:14:25.411000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_9' to consolidate all logs
2021-09-14T09:14:25.411000Z TestFramework (ERROR): 
2021-09-14T09:14:25.411000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:14:25.411000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:14:25.411000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T09:16:54.883000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_169
2021-09-14T09:16:57.023000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T09:16:57.075000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:16:57.279000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_169
2021-09-14T09:16:57.280000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_169/test_framework.log
2021-09-14T09:16:57.280000Z TestFramework (ERROR): 
2021-09-14T09:16:57.280000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/rpc_psbt_169' to consolidate all logs
2021-09-14T09:16:57.281000Z TestFramework (ERROR): 
2021-09-14T09:16:57.281000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:16:57.281000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:16:57.281000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-09-14T09:16:54.931000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_basic_171
2021-09-14T09:16:55.893000Z TestFramework (INFO): Mining blocks...
2021-09-14T09:16:58.175000Z TestFramework (INFO): test gettxout
2021-09-14T09:16:58.220000Z TestFramework (INFO): test gettxout (second part)
2021-09-14T09:17:16.653000Z TestFramework (INFO): check -rescan
2021-09-14T09:17:19.284000Z TestFramework (INFO): check -reindex
2021-09-14T09:17:21.483000Z TestFramework (INFO): check -zapwallettxes=1
2021-09-14T09:17:23.149000Z TestFramework (INFO): check -zapwallettxes=2
2021-09-14T09:17:24.882000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 529, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('10000'), chain_addrs[1]: node0_balance / 2 - Decimal('10000')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-09-14T09:17:24.933000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:17:25.290000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_basic_171
2021-09-14T09:17:25.290000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_basic_171/test_framework.log
2021-09-14T09:17:25.290000Z TestFramework (ERROR): 
2021-09-14T09:17:25.291000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_basic_171' to consolidate all logs
2021-09-14T09:17:25.291000Z TestFramework (ERROR): 
2021-09-14T09:17:25.291000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:17:25.292000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:17:25.292000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py ======

------- Stdout: -------
2021-09-14T09:16:33.323000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_87
2021-09-14T09:16:35.545000Z TestFramework (INFO): pkh([6e441c66/0'/0'/6']036179d22a83758b8022b006743fe5f5b81f6ea89dc13bd5ea7f2e16f04bd39065)#5l0d8wpc
2021-09-14T09:16:35.650000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 209, in run_test
    options={"subtractFeeFromOutputs": [0], "feeRate": 494.90})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: The transaction amount is too small to send after the fee has been deducted (-4)
2021-09-14T09:16:35.700000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:16:36.002000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_87
2021-09-14T09:16:36.002000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_87/test_framework.log
2021-09-14T09:16:36.002000Z TestFramework (ERROR): 
2021-09-14T09:16:36.002000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_87' to consolidate all logs
2021-09-14T09:16:36.002000Z TestFramework (ERROR): 
2021-09-14T09:16:36.002000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:16:36.002000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:16:36.003000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors ======

------- Stdout: -------
2021-09-14T09:16:57.497000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_174
2021-09-14T09:16:58.498000Z TestFramework (ERROR): Key error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_keypool.py", line 73, in run_test
    assert addr_before_encrypting_data['hdmasterfingerprint'] != addr_data['hdmasterfingerprint']
KeyError: 'hdmasterfingerprint'
2021-09-14T09:16:58.551000Z TestFramework (INFO): Stopping nodes
2021-09-14T09:16:58.753000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_174
2021-09-14T09:16:58.753000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_174/test_framework.log
2021-09-14T09:16:58.753000Z TestFramework (ERROR): 
2021-09-14T09:16:58.754000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_091343/wallet_keypool_174' to consolidate all logs
2021-09-14T09:16:58.754000Z TestFramework (ERROR): 
2021-09-14T09:16:58.754000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T09:16:58.754000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T09:16:58.754000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests: wallet_keypool.py
Bitcoin ABC functional tests: wallet_keypool.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py
Bitcoin ABC functional tests with the next upgrade activated: wallet_keypool.py --descriptors

partial fix for wallet_keypool, add some comments when our codebase diverges for a known reason.

I added a FIXME for the part of the test where creating psbt without change output is attempted. I don't know how to make these work with --descriptors. The option seems to change the way fees are computed.

PiRK planned changes to this revision.Sep 14 2021, 11:46

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T11:51:22.820000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_9
2021-09-14T11:51:25.960000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T11:51:26.011000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:51:26.315000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_9
2021-09-14T11:51:26.315000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_9/test_framework.log
2021-09-14T11:51:26.316000Z TestFramework (ERROR): 
2021-09-14T11:51:26.316000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_9' to consolidate all logs
2021-09-14T11:51:26.316000Z TestFramework (ERROR): 
2021-09-14T11:51:26.316000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:51:26.316000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:51:26.316000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T11:54:47.009000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_169
2021-09-14T11:54:49.526000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T11:54:49.577000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:54:49.881000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_169
2021-09-14T11:54:49.881000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_169/test_framework.log
2021-09-14T11:54:49.881000Z TestFramework (ERROR): 
2021-09-14T11:54:49.881000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/rpc_psbt_169' to consolidate all logs
2021-09-14T11:54:49.881000Z TestFramework (ERROR): 
2021-09-14T11:54:49.881000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:54:49.881000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:54:49.881000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-09-14T11:54:47.589000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/wallet_basic_171
2021-09-14T11:54:48.689000Z TestFramework (INFO): Mining blocks...
2021-09-14T11:54:51.159000Z TestFramework (INFO): test gettxout
2021-09-14T11:54:51.258000Z TestFramework (INFO): test gettxout (second part)
2021-09-14T11:55:13.477000Z TestFramework (INFO): check -rescan
2021-09-14T11:55:16.826000Z TestFramework (INFO): check -reindex
2021-09-14T11:55:22.161000Z TestFramework (INFO): check -zapwallettxes=1
2021-09-14T11:55:25.836000Z TestFramework (INFO): check -zapwallettxes=2
2021-09-14T11:55:29.724000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 529, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('10000'), chain_addrs[1]: node0_balance / 2 - Decimal('10000')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-09-14T11:55:29.776000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:55:30.089000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/wallet_basic_171
2021-09-14T11:55:30.090000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/wallet_basic_171/test_framework.log
2021-09-14T11:55:30.090000Z TestFramework (ERROR): 
2021-09-14T11:55:30.090000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_115029/wallet_basic_171' to consolidate all logs
2021-09-14T11:55:30.091000Z TestFramework (ERROR): 
2021-09-14T11:55:30.091000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:55:30.091000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:55:30.091000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T11:51:00.768000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_9
2021-09-14T11:51:03.050000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T11:51:03.101000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:51:03.455000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_9
2021-09-14T11:51:03.455000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_9/test_framework.log
2021-09-14T11:51:03.455000Z TestFramework (ERROR): 
2021-09-14T11:51:03.455000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_9' to consolidate all logs
2021-09-14T11:51:03.455000Z TestFramework (ERROR): 
2021-09-14T11:51:03.455000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:51:03.456000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:51:03.456000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T11:53:27.602000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_169
2021-09-14T11:53:29.924000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T11:53:29.978000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:53:30.537000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_169
2021-09-14T11:53:30.537000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_169/test_framework.log
2021-09-14T11:53:30.537000Z TestFramework (ERROR): 
2021-09-14T11:53:30.537000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/rpc_psbt_169' to consolidate all logs
2021-09-14T11:53:30.538000Z TestFramework (ERROR): 
2021-09-14T11:53:30.538000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:53:30.538000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:53:30.538000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-09-14T11:53:27.690000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/wallet_basic_171
2021-09-14T11:53:28.592000Z TestFramework (INFO): Mining blocks...
2021-09-14T11:53:31.525000Z TestFramework (INFO): test gettxout
2021-09-14T11:53:31.634000Z TestFramework (INFO): test gettxout (second part)
2021-09-14T11:53:47.533000Z TestFramework (INFO): check -rescan
2021-09-14T11:53:49.454000Z TestFramework (INFO): check -reindex
2021-09-14T11:53:52.139000Z TestFramework (INFO): check -zapwallettxes=1
2021-09-14T11:53:54.263000Z TestFramework (INFO): check -zapwallettxes=2
2021-09-14T11:53:56.180000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 529, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('10000'), chain_addrs[1]: node0_balance / 2 - Decimal('10000')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-09-14T11:53:56.231000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:53:56.592000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/wallet_basic_171
2021-09-14T11:53:56.592000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/wallet_basic_171/test_framework.log
2021-09-14T11:53:56.592000Z TestFramework (ERROR): 
2021-09-14T11:53:56.593000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115025/wallet_basic_171' to consolidate all logs
2021-09-14T11:53:56.593000Z TestFramework (ERROR): 
2021-09-14T11:53:56.593000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:53:56.593000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:53:56.594000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T11:54:31.509000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_9
2021-09-14T11:54:33.709000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T11:54:33.762000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:54:34.569000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_9
2021-09-14T11:54:34.569000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_9/test_framework.log
2021-09-14T11:54:34.569000Z TestFramework (ERROR): 
2021-09-14T11:54:34.570000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_9' to consolidate all logs
2021-09-14T11:54:34.570000Z TestFramework (ERROR): 
2021-09-14T11:54:34.570000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:54:34.571000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:54:34.571000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T11:56:56.454000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_169
2021-09-14T11:56:58.535000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T11:56:58.586000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:56:58.789000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_169
2021-09-14T11:56:58.789000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_169/test_framework.log
2021-09-14T11:56:58.789000Z TestFramework (ERROR): 
2021-09-14T11:56:58.789000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/rpc_psbt_169' to consolidate all logs
2021-09-14T11:56:58.789000Z TestFramework (ERROR): 
2021-09-14T11:56:58.789000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:56:58.790000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:56:58.790000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors ======

------- Stdout: -------
2021-09-14T11:56:56.618000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/wallet_basic_171
2021-09-14T11:56:57.527000Z TestFramework (INFO): Mining blocks...
2021-09-14T11:56:59.790000Z TestFramework (INFO): test gettxout
2021-09-14T11:56:59.847000Z TestFramework (INFO): test gettxout (second part)
2021-09-14T11:57:17.755000Z TestFramework (INFO): check -rescan
2021-09-14T11:57:19.371000Z TestFramework (INFO): check -reindex
2021-09-14T11:57:21.183000Z TestFramework (INFO): check -zapwallettxes=1
2021-09-14T11:57:22.842000Z TestFramework (INFO): check -zapwallettxes=2
2021-09-14T11:57:24.593000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/wallet_basic.py", line 529, in run_test
    chain_addrs[0]: node0_balance / 2 - Decimal('10000'), chain_addrs[1]: node0_balance / 2 - Decimal('10000')})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Invalid amount (-3)
2021-09-14T11:57:24.648000Z TestFramework (INFO): Stopping nodes
2021-09-14T11:57:24.958000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/wallet_basic_171
2021-09-14T11:57:24.958000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/wallet_basic_171/test_framework.log
2021-09-14T11:57:24.959000Z TestFramework (ERROR): 
2021-09-14T11:57:24.959000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_115356/wallet_basic_171' to consolidate all logs
2021-09-14T11:57:24.959000Z TestFramework (ERROR): 
2021-09-14T11:57:24.959000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T11:57:24.959000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T11:57:24.959000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests: wallet_basic.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: wallet_basic.py --descriptors

"fix" wallet_basic

Again, the issue is caused by --descriptors causing a different fee calculation, so the balance on node0 is not exactly the same.

PiRK planned changes to this revision.Sep 14 2021, 12:27

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T12:31:00.047000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_9
2021-09-14T12:31:02.845000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T12:31:02.897000Z TestFramework (INFO): Stopping nodes
2021-09-14T12:31:03.251000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_9
2021-09-14T12:31:03.251000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_9/test_framework.log
2021-09-14T12:31:03.251000Z TestFramework (ERROR): 
2021-09-14T12:31:03.251000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_9' to consolidate all logs
2021-09-14T12:31:03.251000Z TestFramework (ERROR): 
2021-09-14T12:31:03.251000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T12:31:03.251000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T12:31:03.251000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T12:34:35.621000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_169
2021-09-14T12:34:38.137000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T12:34:38.188000Z TestFramework (INFO): Stopping nodes
2021-09-14T12:34:38.501000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_169
2021-09-14T12:34:38.501000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_169/test_framework.log
2021-09-14T12:34:38.501000Z TestFramework (ERROR): 
2021-09-14T12:34:38.501000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20210914_123009/rpc_psbt_169' to consolidate all logs
2021-09-14T12:34:38.502000Z TestFramework (ERROR): 
2021-09-14T12:34:38.502000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T12:34:38.502000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T12:34:38.502000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T12:33:43.102000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_9
2021-09-14T12:33:45.065000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T12:33:45.116000Z TestFramework (INFO): Stopping nodes
2021-09-14T12:33:45.471000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_9
2021-09-14T12:33:45.471000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_9/test_framework.log
2021-09-14T12:33:45.471000Z TestFramework (ERROR): 
2021-09-14T12:33:45.471000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_9' to consolidate all logs
2021-09-14T12:33:45.471000Z TestFramework (ERROR): 
2021-09-14T12:33:45.471000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T12:33:45.471000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T12:33:45.472000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T12:36:04.731000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_169
2021-09-14T12:36:07.259000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T12:36:07.311000Z TestFramework (INFO): Stopping nodes
2021-09-14T12:36:08.317000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_169
2021-09-14T12:36:08.317000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_169/test_framework.log
2021-09-14T12:36:08.317000Z TestFramework (ERROR): 
2021-09-14T12:36:08.317000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123256/rpc_psbt_169' to consolidate all logs
2021-09-14T12:36:08.317000Z TestFramework (ERROR): 
2021-09-14T12:36:08.317000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T12:36:08.318000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T12:36:08.318000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py ======

------- Stdout: -------
2021-09-14T12:37:16.232000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_9
2021-09-14T12:37:19.290000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T12:37:19.343000Z TestFramework (INFO): Stopping nodes
2021-09-14T12:37:20.356000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_9
2021-09-14T12:37:20.357000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_9/test_framework.log
2021-09-14T12:37:20.357000Z TestFramework (ERROR): 
2021-09-14T12:37:20.358000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_9' to consolidate all logs
2021-09-14T12:37:20.358000Z TestFramework (ERROR): 
2021-09-14T12:37:20.358000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T12:37:20.359000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T12:37:20.359000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-14T12:39:49.572000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_169
2021-09-14T12:39:51.629000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-14T12:39:51.680000Z TestFramework (INFO): Stopping nodes
2021-09-14T12:39:51.983000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_169
2021-09-14T12:39:51.984000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_169/test_framework.log
2021-09-14T12:39:51.984000Z TestFramework (ERROR): 
2021-09-14T12:39:51.984000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210914_123638/rpc_psbt_169' to consolidate all logs
2021-09-14T12:39:51.985000Z TestFramework (ERROR): 
2021-09-14T12:39:51.985000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-14T12:39:51.985000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-14T12:39:51.985000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors

PiRK edited the summary of this revision. (Show Details)

better fix for wallet_keypool: adjust the fees more precisely to get transactions with exact fees to avoid using a change address or to spend the largest possible fee before the remaining amount is dust; add more comments about divergences from core,

PiRK planned changes to this revision.Sep 22 2021, 08:02

Still need to fix rpc_psbt.py

Failed tests logs:

====== Bitcoin ABC functional tests: rpc_psbt.py ======

------- Stdout: -------
2021-09-22T08:17:22.940000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_9
2021-09-22T08:17:25.152000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-22T08:17:25.204000Z TestFramework (INFO): Stopping nodes
2021-09-22T08:17:25.958000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_9
2021-09-22T08:17:25.958000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_9/test_framework.log
2021-09-22T08:17:25.958000Z TestFramework (ERROR): 
2021-09-22T08:17:25.958000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_9' to consolidate all logs
2021-09-22T08:17:25.958000Z TestFramework (ERROR): 
2021-09-22T08:17:25.958000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-22T08:17:25.958000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-22T08:17:25.958000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-22T08:19:56.778000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_169
2021-09-22T08:19:59.143000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-22T08:19:59.195000Z TestFramework (INFO): Stopping nodes
2021-09-22T08:19:59.450000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_169
2021-09-22T08:19:59.450000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_169/test_framework.log
2021-09-22T08:19:59.450000Z TestFramework (ERROR): 
2021-09-22T08:19:59.451000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_081646/rpc_psbt_169' to consolidate all logs
2021-09-22T08:19:59.451000Z TestFramework (ERROR): 
2021-09-22T08:19:59.451000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-22T08:19:59.451000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-22T08:19:59.451000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py ======

------- Stdout: -------
2021-09-22T08:21:08.599000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_9
2021-09-22T08:21:11.296000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-22T08:21:11.349000Z TestFramework (INFO): Stopping nodes
2021-09-22T08:21:12.663000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_9
2021-09-22T08:21:12.664000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_9/test_framework.log
2021-09-22T08:21:12.664000Z TestFramework (ERROR): 
2021-09-22T08:21:12.664000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_9' to consolidate all logs
2021-09-22T08:21:12.665000Z TestFramework (ERROR): 
2021-09-22T08:21:12.665000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-22T08:21:12.665000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-22T08:21:12.665000Z TestFramework (ERROR):
====== Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors ======

------- Stdout: -------
2021-09-22T08:23:35.978000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_169
2021-09-22T08:23:38.085000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 128, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 119, in run_test
    options={"feeRate": 100000, "add_inputs": True})
  File "/work/test/functional/test_framework/coverage.py", line 48, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/work/test/functional/test_framework/authproxy.py", line 163, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: Insufficient funds (-4)
2021-09-22T08:23:38.137000Z TestFramework (INFO): Stopping nodes
2021-09-22T08:23:38.295000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_169
2021-09-22T08:23:38.295000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_169/test_framework.log
2021-09-22T08:23:38.296000Z TestFramework (ERROR): 
2021-09-22T08:23:38.296000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-diff/test/tmp/test_runner_₿₵_  _20210922_082031/rpc_psbt_169' to consolidate all logs
2021-09-22T08:23:38.296000Z TestFramework (ERROR): 
2021-09-22T08:23:38.296000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2021-09-22T08:23:38.296000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2021-09-22T08:23:38.296000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: rpc_psbt.py
Bitcoin ABC functional tests: rpc_psbt.py --descriptors
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py
Bitcoin ABC functional tests with the next upgrade activated: rpc_psbt.py --descriptors

replaced by D10213, D10220
It was easier to split the commit to land the "easy" changes faster and isolate the remaining issues in smaller units.