ci: Merge master in test-each-commit task #32203

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2504-ci changing 2 files +28 −2
  1. maflcko commented at 4:49 pm on April 2, 2025: member

    The test-each-commit task will often fail, when the CI config yaml is updated along with code changes.

    This is because, GitHub seems to be merging the CI config on a fresh pull with the current target branch (master). However, the code changes are not.

    A tedious workaround would be for every developer to rebase on every intermittent (https://github.com/bitcoin/bitcoin/issues/31946#issuecomment-2740911853) and non-intermittent CI issue.

    However, fix this instead by merging with master.

  2. DrahtBot commented at 4:49 pm on April 2, 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/32203.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK hebasto, laanwj

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

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #31802 (Add bitcoin-{node,gui} to release binaries for IPC by Sjors)
    • #30975 (ci: build multiprocess on most jobs by Sjors)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  3. maflcko renamed this:
    2504 ci
    ci: Merge master in test-each-commit task
    on Apr 2, 2025
  4. DrahtBot renamed this:
    ci: Merge master in test-each-commit task
    ci: Merge master in test-each-commit task
    on Apr 2, 2025
  5. DrahtBot added the label Tests on Apr 2, 2025
  6. maflcko force-pushed on Apr 2, 2025
  7. DrahtBot added the label CI failed on Apr 2, 2025
  8. DrahtBot commented at 5:01 pm on April 2, 2025: contributor

    🚧 At least one of the CI tasks failed. Debug: https://github.com/bitcoin/bitcoin/runs/39862623915

    Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example:

    • Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch.

    • A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test.

    • An intermittent issue.

    Leave a comment here, if you need help tracking down a confusing failure.

  9. maflcko force-pushed on Apr 2, 2025
  10. maflcko commented at 5:14 pm on April 2, 2025: member

    An example failure can be seen in https://github.com/bitcoin/bitcoin/actions/runs/14225501221/job/39863973090?pr=32203:

    0-- Could NOT find Qt5 (missing: Qt5_DIR)
    1CMake Error at /usr/local/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
    2  Could NOT find Qt (missing: Qt5_DIR) (Required is at least version
    3  "5.11.3")
    

    Hopefully, it will be fixed by the next commit.

  11. maflcko marked this as ready for review on Apr 2, 2025
  12. maflcko force-pushed on Apr 2, 2025
  13. maflcko force-pushed on Apr 2, 2025
  14. maflcko force-pushed on Apr 2, 2025
  15. maflcko force-pushed on Apr 2, 2025
  16. maflcko requested review from willcl-ark on Apr 2, 2025
  17. hebasto commented at 6:37 pm on April 2, 2025: member

    Concept and Approach ACK faa4fbc6c3f33e9642d41538577aae80abd18f21.

    The last commit can be dropped now as the “test each commit” CI job has succeed.

  18. ci: Merge master in test-each-commit task faa807bdf8
  19. maflcko force-pushed on Apr 2, 2025
  20. maflcko commented at 6:47 pm on April 2, 2025: member
  21. hebasto approved
  22. hebasto commented at 6:50 pm on April 2, 2025: member
    ACK faa807bdf8c3002a28005b4765604f518a6f2736.
  23. DrahtBot removed the label CI failed on Apr 2, 2025
  24. hebasto commented at 12:03 pm on April 3, 2025: member
  25. laanwj commented at 12:12 pm on April 3, 2025: member
    Concept ACK, i think “every intermediate commit should merge cleanly into master” might put some extra onus on contributors, but it’s better than forcing a rebase of everything every time there’s a significant change to the build system.
  26. maflcko commented at 12:23 pm on April 3, 2025: member

    i think “every intermediate commit should merge cleanly into master” might put some extra onus on contributors, but it’s better than forcing a rebase of everything every time there’s a significant change to the build system.

    This is true. I suspect the issue could only arise when something is removed/added in one commit and then reverted in another commit. Though, this should be avoided anyway, and real cases where this is an issue should hopefully be rare.

  27. laanwj commented at 5:33 am on April 4, 2025: member
    ACK faa807bdf8c3002a28005b4765604f518a6f2736 Tested by cherry picking into #32176.
  28. hebasto merged this on Apr 4, 2025
  29. hebasto closed this on Apr 4, 2025

  30. maflcko deleted the branch on Apr 4, 2025
  31. fanquake commented at 6:44 am on April 4, 2025: member
    Note that the code here didn’t actually work. See the failed run in https://github.com/bitcoin/bitcoin/actions/runs/14259358898/job/39967624081?pr=30756, and the followup: #32218.
  32. maflcko commented at 6:49 am on April 4, 2025: member

    Yeah, sorry for missing this. Effectively this only fixed the issue of merging into master (when it works). Though, when the CI previously failed with the QT6 error, it will still fail with a different “bash script missing” error.

    So this was an improvement, but it didn’t fix all issues. :(


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-04-16 15:12 UTC

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