Skip to content

Conversation

furszy
Copy link
Member

@furszy furszy commented Apr 16, 2023

CI test failure, in master: https://cirrus-ci.com/task/5975232842825728.
In #27469 https://cirrus-ci.com/task/6452468402356224

Most of the subtests in wallet_bumpfee.py expect to find spendable UTXOs of 0.001 btc in the rbf wallet. They use the spend_one_input() method which fails if none of them exist.

The sporadic failure comes from the recently added test_feerate_checks_replaced_outputs subtest that can spend all them. Leaving the next subtests with no 0.001 UTXOs to spend.

To solve it, this PR moves the recently added case into a "context independent subtests" section.
Which is placed at the end to not affect other cases.

Most of the subtests in wallet_bumpfee.py expect to
find spendable UTXOs of 0.001 btc in the rbf wallet
(they use the 'spend_one_input()' method that tries
to spend one of them and if it doesn't find any, it
throws an exception).

The sporadic failure comes from the recently added
'test_feerate_checks_replaced_outputs' subtest that
can spend all them. Leaving the next subtests with
no 0.001 UTXOs to spend.

To solve it, this PR moves the recently added case
into a "context independent subtests" section.
Which is placed at the end to not affect other cases.
@DrahtBot
Copy link
Contributor

DrahtBot commented Apr 16, 2023

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

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK achow101, pablomartin4btc

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

@DrahtBot DrahtBot added the Tests label Apr 16, 2023
@achow101 achow101 added this to the 25.0 milestone Apr 17, 2023
@achow101
Copy link
Member

ACK e07dd5f

@DrahtBot DrahtBot removed the request for review from achow101 April 17, 2023 13:48
@jonatack
Copy link
Member

Another failure just now. https://cirrus-ci.com/task/5307259153022976

@pablomartin4btc
Copy link
Member

ACK e07dd5f.

@fanquake fanquake merged commit 54e07a0 into bitcoin:master Apr 17, 2023
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 17, 2023
…ailure

e07dd5f test: fix bumpfee 'spend_one_input' occasional failure (furszy)

Pull request description:

  CI test failure, in master: https://cirrus-ci.com/task/5975232842825728.
  In bitcoin#27469 https://cirrus-ci.com/task/6452468402356224

  Most of the subtests in `wallet_bumpfee.py` expect to find spendable UTXOs of 0.001 btc in the rbf wallet. They use the `spend_one_input()` method which fails if none of them exist.

  The sporadic failure comes from the recently added `test_feerate_checks_replaced_outputs` subtest that can spend all them. Leaving the next subtests with no 0.001 UTXOs to spend.

  To solve it, this PR moves the recently added case into a "context independent subtests" section.
  Which is placed at the end to not affect other cases.

ACKs for top commit:
  achow101:
    ACK e07dd5f
  pablomartin4btc:
    ACK bitcoin@e07dd5f.

Tree-SHA512: c150ed6fcfbb6f1502eaf6370a57aae0da991c0fc48e8bb3d446805f4336abba5d80ff0de26094914da95432dd0255030fe527001af4510dfdcefbc7230f14d6
@furszy furszy deleted the 2023_fix_test_bumpfee_sporadic_failure branch May 27, 2023 01:44
@bitcoin bitcoin locked and limited conversation to collaborators May 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants