ci: bump timeout factor to 40 #263

pull Sjors wants to merge 1 commits into bitcoin-core:master from Sjors:2026/03/timeout-factor changing 1 files +3 −3
  1. Sjors commented at 7:06 pm on March 25, 2026: member

    Matches the default TEST_RUNNER_TIMEOUT_FACTOR on Bitcoin Core CI.

    Should prevent false positives like #256 (comment)

    That test relies on a timeout:

    0disconnected_log_check.enter_context(node.assert_debug_log(expected_msgs=["IPC server: socket disconnected", "canceled while executing"], timeout=2))
    
  2. ci: bump timeout factor to 40
    Matches the default TEST_RUNNER_TIMEOUT_FACTOR on Bitcoin Core CI.
    09f10e5a59
  3. DrahtBot commented at 7:06 pm on March 25, 2026: none

    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 ryanofsky

    If your review is incorrectly listed, please copy-paste <!–meta-tag:bot-skip–> into the comment that the bot should ignore.

  4. Sjors marked this as ready for review on Mar 25, 2026
  5. Sjors commented at 7:17 pm on March 25, 2026: member

    I suggest running this PR a few times, optionally after #256 is merged, to see if the timeout is long enough.

    Error: Process completed with exit code 143.

    https://github.com/bitcoin-core/libmultiprocess/actions/runs/23559105412/job/68593864277?pr=263

    Resource exhaustion?

  6. ryanofsky commented at 9:36 pm on March 25, 2026: collaborator

    Code review ACK 09f10e5a59845e2285f47f12134e78eabc8bd6c6. Obviously good to match bitcoin core timeouts when running bitcoin core tests.

    Tests exiting with SIGTERM (https://github.com/bitcoin-core/libmultiprocess/actions/runs/23559105412/job/68593864277?pr=263) obviously is concerning, but I don’t think there is a way they could be caused by this change, unless I am missing something. So I think I will merge this to unblock other PRs.

  7. ryanofsky merged this on Mar 25, 2026
  8. ryanofsky closed this on Mar 25, 2026

  9. Sjors deleted the branch on Mar 26, 2026
  10. ryanofsky commented at 10:38 am on March 26, 2026: collaborator

    Tests exiting with SIGTERM (https://github.com/bitcoin-core/libmultiprocess/actions/runs/23559105412/job/68593864277?pr=263) obviously is concerning, but I don’t think there is a way they could be caused by this change

    It turns out this PR reliably causes SIGTERM/143 exit code errors. More cases are:

    https://github.com/bitcoin-core/libmultiprocess/actions/runs/23559105412/job/68593864277?pr=240 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23559105412/job/68593864283?pr=240 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23567207693/job/68621529932 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23567207693/job/68621529938 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23583136495/job/68670044896?pr=256 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23583136495/job/68670044932?pr=256 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23587830246/job/68685257102?pr=249 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23587830246/job/68685257218?pr=249 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23588317635/job/68686883462 https://github.com/bitcoin-core/libmultiprocess/actions/runs/23588317635/job/68686883494

    I was thinking these errors might be caused by this tests now waiting longer after this PR for “canceled while executing” log messages, and some other bug like #249 prevents the log messages from showing up, so the job is eventually killed by sigterm.

    By the CI runs above show the SIGTERMS happening pretty consistently after the “Run IPC functional tests” step runs for around 2 minutes, after it is running around 40 jobs in parallel, so the resource exhaustion theory makes some more sense now and maybe decreasing the test_runner --jobs 40 argument could fix this. I’m still not sure what would actually be sending the sigterm signals in this case though.

  11. Sjors commented at 10:46 am on March 26, 2026: member

    I’m going to try to reduce --jobs.

    See #264

  12. Sjors referenced this in commit 31a4b41ac1 on Mar 26, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-03-29 21:30 UTC

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