Page MenuHomePhabricator

[lint] replace autopep8 with black (test/functional/wallet_*)
ClosedPublic

Authored by PiRK on May 11 2023, 07:22.

Details

Summary

See D13876 for the description.

Depends on D13886

Test Plan
arc lint -- test/functional/*.py
test/functional/test_runner.py wallet_*

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Failed tests logs:

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

------- Stdout: -------
2023-05-11T08:03:00.775000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20230511_080054/rpc_psbt_23
2023-05-11T08:03:03.045000Z TestFramework (INFO): Test walletcreatefundedpsbt feeRate of 100,000 XEC/kB produces a total fee at or slightly below -maxtxfee
2023-05-11T08:03:03.075000Z TestFramework (INFO): Test walletcreatefundedpsbt feeRate of 10,000,000 XEC/kB  produces a total fee well above -maxtxfee and raises RPC error
2023-05-11T08:03:03.092000Z TestFramework (INFO): Test various PSBT operations
2023-05-11T08:04:09.982000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 137, in main
    self.run_test()
  File "/work/test/functional/rpc_psbt.py", line 364, in run_test
    self.sync_all()
  File "/work/test/functional/test_framework/test_framework.py", line 705, in sync_all
    self.sync_mempools(nodes)
  File "/work/test/functional/test_framework/test_framework.py", line 677, in sync_mempools
    raise AssertionError(f"Mempool sync timed out after {timeout}s:{pool_str}")
AssertionError: Mempool sync timed out after 60s:
  {'4ea1b6569e51bbf74f4e0459d37a5f0cb1f7c89aa2602a9f4f0c2385b51c9568', 'af95272e6de1b67bbda272c1beaaf1c62b7ad2e51e262e0a8a6ecfc861058706', '4f752a0e0d7cc069f9d04a61972e689d2012af7602253c7a7fc08ac408b1c875'}
  {'4ea1b6569e51bbf74f4e0459d37a5f0cb1f7c89aa2602a9f4f0c2385b51c9568', 'af95272e6de1b67bbda272c1beaaf1c62b7ad2e51e262e0a8a6ecfc861058706', '4f752a0e0d7cc069f9d04a61972e689d2012af7602253c7a7fc08ac408b1c875'}
  set()
2023-05-11T08:04:10.033000Z TestFramework (INFO): Stopping nodes
2023-05-11T08:04:10.186000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20230511_080054/rpc_psbt_23
2023-05-11T08:04:10.186000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20230511_080054/rpc_psbt_23/test_framework.log
2023-05-11T08:04:10.186000Z TestFramework (ERROR): 
2023-05-11T08:04:10.186000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_  _20230511_080054/rpc_psbt_23' to consolidate all logs
2023-05-11T08:04:10.186000Z TestFramework (ERROR): 
2023-05-11T08:04:10.186000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2023-05-11T08:04:10.186000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2023-05-11T08:04:10.186000Z TestFramework (ERROR):

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

This revision is now accepted and ready to land.May 12 2023, 08:18