test: Check that interrupt results in EXIT_SUCCESS #34241

pull maflcko wants to merge 3 commits into bitcoin:master from maflcko:2601-init-zero changing 2 files +29 −23
  1. maflcko commented at 4:30 pm on January 9, 2026: member

    This is a test for #34224.

    Also, includes a small test cleanup/refactor.

  2. test: Split large init_stress_test into two smaller functions
    This refactor can be reviewed with:
    --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
    
    This split makes the code easier to read, modify, and understand.
    9ab0e4979c
  3. test: Check that interrupt results in EXIT_SUCCESS 28f4e4f797
  4. fixup 1ed0c4ed0c
  5. DrahtBot renamed this:
    test: Check that interrupt results in EXIT_SUCCESS
    test: Check that interrupt results in EXIT_SUCCESS
    on Jan 9, 2026
  6. DrahtBot added the label Tests on Jan 9, 2026
  7. DrahtBot commented at 4:30 pm on January 9, 2026: contributor

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

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34241.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  8. DrahtBot added the label CI failed on Jan 9, 2026
  9. fanquake commented at 5:57 pm on January 9, 2026: member

    https://github.com/bitcoin/bitcoin/actions/runs/20858499232/job/59931634182?pr=34241#step:8:4476:

     0 test  2026-01-09T17:12:46.225024Z TestFramework (ERROR): Unexpected exception 
     1                                   Traceback (most recent call last):
     2                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 142, in main
     3                                       self.run_test()
     4                                     File "/home/runner/work/bitcoin/bitcoin/ci_build/test/functional/feature_init.py", line 300, in run_test
     5                                       self.init_stress_test_interrupt()
     6                                     File "/home/runner/work/bitcoin/bitcoin/ci_build/test/functional/feature_init.py", line 93, in init_stress_test_interrupt
     7                                       sigterm_node()
     8                                     File "/home/runner/work/bitcoin/bitcoin/ci_build/test/functional/feature_init.py", line 56, in sigterm_node
     9                                       assert_equal(0, node.process.wait())
    10                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/util.py", line 80, in assert_equal
    11                                       raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
    12                                   AssertionError: not(0 == 1)
    13 test  2026-01-09T17:12:46.226511Z TestFramework (DEBUG): Closing down network thread 
    
  10. maflcko commented at 11:54 am on January 10, 2026: member

    Nice. Everything works as expected:

    • Test-each-commit CI fails before the fix is applied.
    • Windows CI passes.

    I’ll rebase once the fix is merged.


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-01-12 00:13 UTC

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