ci: Make `test_bitcoin-qt.exe` output visible #36024

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:260819-ci-gui-tests changing 2 files +2 −0
  1. hebasto commented at 3:15 PM on August 19, 2026: member

    When run in the GHA environment, there is no console attached, so Qt's stderrHasConsoleAttached() returns false and the entire test report is lost. Set QT_ASSUME_STDERR_HAS_CONSOLE=1 to override the detection, as documented in Qt's qlogging.cpp:

            if (qEnvironmentVariableIntValue("QT_ASSUME_STDERR_HAS_CONSOLE"))
                return true;
    
  2. hebasto added the label Windows on Aug 19, 2026
  3. hebasto added the label Tests on Aug 19, 2026
  4. DrahtBot commented at 3:15 PM on August 19, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

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

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK davidgumberg, maflcko

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. ci: Make `test_bitcoin-qt.exe` output visible
    When run in the GHA environment, there is no console attached, so Qt's
    `stderrHasConsoleAttached()` returns false and the entire test report is
    lost. Set `QT_ASSUME_STDERR_HAS_CONSOLE=1` to override the detection, as
    documented in Qt's `qlogging.cpp`.
    70701de7c5
  6. hebasto force-pushed on Aug 19, 2026
  7. DrahtBot added the label CI failed on Aug 19, 2026
  8. DrahtBot removed the label CI failed on Aug 19, 2026
  9. davidgumberg commented at 11:13 PM on September 24, 2026: contributor

    utACK https://github.com/bitcoin/bitcoin/pull/36024/commits/70701de7c55512b4c8dbc3eaca91659980bf5300

    I'm a bit surprised to learn test_bitcoin-qt.exe is only run on the windows CI job.

  10. maflcko commented at 9:37 AM on September 25, 2026: member

    I'm a bit surprised to learn test_bitcoin-qt.exe is only run on the windows CI job.

    It is also run on a bunch of Linux jobs. E.g. https://github.com/bitcoin/bitcoin/actions/runs/36113519701/job/108002133147#step:10:2715

    229/378 Test [#221](/bitcoin-bitcoin/221/): test_bitcoin-qt ............................................................   Passed    3.40 sec
    
  11. davidgumberg commented at 5:45 PM on September 25, 2026: contributor

    I'm a bit surprised to learn test_bitcoin-qt.exe is only run on the windows CI job.

    It is also run on a bunch of Linux jobs. E.g. https://github.com/bitcoin/bitcoin/actions/runs/36113519701/job/108002133147#step:10:2715

    229/378 Test [#221](/bitcoin-bitcoin/221/): test_bitcoin-qt ............................................................   Passed    3.40 sec
    

    Gah, I grepped for test_bitcoin-qt.exe, at least i was technically correct in my comment :)

    I guess this is only an issue for Windows then, all the other reports about it i've found are windows jobs, e.g.:

    https://github.com/Mudlet/Mudlet/issues/9747 https://github.com/actions/runner-images/issues/1679

  12. maflcko commented at 8:25 AM on September 28, 2026: member

    lgtm ACK 70701de7c55512b4c8dbc3eaca91659980bf5300

  13. hebasto merged this on Sep 28, 2026
  14. hebasto closed this on Sep 28, 2026

  15. hebasto deleted the branch on Sep 28, 2026

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-10-02 07:51 UTC

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