ci: Enable feature_init and wallet_reorgsrestore in valgrind task #32519

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2505-ci-valgrind changing 2 files +3 −6
  1. maflcko commented at 4:42 pm on May 15, 2025: member

    The fork() isn’t needed and in fact makes the forked process not react to signals (like kill or terminate), so just avoid it and run the valgrind process directly in the CI task.

    Can be tested with something like:

    env -i HOME="$HOME" PATH="$PATH" USER="$USER" MAKEJOBS="-j$(nproc)" FILE_ENV="./ci/test/00_setup_env_native_valgrind.sh" ./ci/test_run_all.sh

  2. ci: Enable feature_init and wallet_reorgsrestore in valgrind task fa2be605fe
  3. DrahtBot commented at 4:42 pm on May 15, 2025: 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/32519.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK fanquake

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

  4. DrahtBot added the label Tests on May 15, 2025
  5. maflcko commented at 8:24 am on May 16, 2025: member

    If someone wants to quickly test this outside the CI system a minimal reproducer would be:

     0───────┬────────────────────────────────────────────────────────────────────────
     1       │ File: /tmp/a.py
     2───────┼────────────────────────────────────────────────────────────────────────
     3   1   │ import subprocess
     4   2   │ import time
     5   3   │ 
     6   4   │ process = subprocess.Popen(["bash", "/tmp/a.sh"])
     7   5   │ print("Wait for the first print to happen ...")
     8   6   │ time.sleep(0.1)
     9   7   │ process.kill()
    10   8   │ print(f"Process ended with {process.wait()}. Should not print more!")
    11───────┴────────────────────────────────────────────────────────────────────────
    12───────┬────────────────────────────────────────────────────────────────────────
    13       │ File: /tmp/a.sh
    14───────┼────────────────────────────────────────────────────────────────────────
    15   1   │ exec bash -c 'echo hi1 && sleep 1 && echo hi2 && false'
    16───────┴────────────────────────────────────────────────────────────────────────
    

    Command: python3 /tmp/a.py

  6. fanquake approved
  7. fanquake commented at 5:00 pm on May 16, 2025: member
    ACK fa2be605fee42c1286de2ddefbec976dde2c35ba - x86_64, aarch64
  8. fanquake merged this on May 16, 2025
  9. fanquake closed this on May 16, 2025

  10. maflcko deleted the branch on May 16, 2025

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: 2025-05-25 21:12 UTC

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