ci: Increase --timeout-factor in the native Windows CI task #23463

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:211107-timeout changing 1 files +1 −1
  1. hebasto commented at 8:53 PM on November 7, 2021: member

    This PR should mitigate timeouts for wait_until() in the p2p_feefilter.py functional test.

    Such failures are only observable recently, since the native Windows task was improved:

    The value 12 is just my guess.

  2. ci: Increase --timeout-factor in the native Windows CI task
    This change should mitigate timeouts for `wait_until()` in the
    `p2p_feefilter.py` functional test.
    e72096fa5b
  3. hebasto added the label Windows on Nov 7, 2021
  4. hebasto added the label Tests on Nov 7, 2021
  5. hebasto commented at 5:06 AM on November 8, 2021: member

    A similar failure has just happened in p2p_compactblocks.py.

  6. lsilva01 approved
  7. lsilva01 commented at 5:32 AM on November 8, 2021: contributor

    utACK e72096f

  8. MarcoFalke commented at 8:37 AM on November 8, 2021: member

    Why do the timeout failures give the impression that increasing the timeout will fix them?

  9. hebasto commented at 10:41 AM on November 8, 2021: member

    Why do the timeout failures give the impression that increasing the timeout will fix them?

    No, I don't think that this PR fixes timeout failures. It mitigates them by tuning of a parameter which is used already.

    Btw, the default value in CI: https://github.com/bitcoin/bitcoin/blob/c86f546f98ed1019c76c14ca4f8b69a4ee62f27c/ci/test/00_setup_env.sh#L44

  10. MarcoFalke commented at 11:11 AM on November 8, 2021: member

    Increasing the timeout this far should only be needed when running on slow environments (such as valgrind on a raspberry pi).

    The underlying issue here is a missing sync_all. There is a patch fixing this available for more than a year (#23300), but review interest seems low.

    To explain:

    test_feefilter generates blocks and txs on node1 (without syncing with node0). Then node1 won't accept/request the txs (because it is still busy syncing the blocks). Thus the test fails (times out).

    https://cirrus-ci.com/task/6483187195969536?logs=functional_tests#L1202

     node0 2021-11-07T19:20:39.512760Z [C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\net_processing.cpp:3405]
    [ProcessMessage] f131ea1bb61a094f7d4a4d16298c321212a7c8dd40a6645db59b3e25e623dc75 from peer=0 was not accepted: bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 64 
    
  11. MarcoFalke commented at 11:13 AM on November 8, 2021: member

    Just checked, #20362 was opened on Nov 10th, so it is a year short 2 days, not more than a year, but still.

  12. MarcoFalke commented at 11:31 AM on November 8, 2021: member

    So yeah.

    NACK on this pull unless there is a reason to do this.

  13. hebasto commented at 1:21 PM on November 8, 2021: member

    Closing in favor of #23300.

  14. hebasto closed this on Nov 8, 2021

  15. DrahtBot locked this on Nov 8, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 03:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me