firewall icon indicating copy to clipboard operation
firewall copied to clipboard

ci: Avoid too large inline test logs in QEMU/KVM integration test

Open martinpitt opened this issue 8 months ago • 1 comments

Some roles produce ansible/test logs which are too large to sensibly/comfortably view in the main workflow log view. Show only the interesting failures there (the lines around fatal:) and upload the full logs as artifact.


See recent run for example. The primary PR for this is https://github.com/linux-system-roles/.github/pull/99 , this tests it against a real-life project with a failing F42 test.

martinpitt avatar Apr 14 '25 06:04 martinpitt

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.18%. Comparing base (2d7c4ba) to head (eac2499). Report is 52 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #260      +/-   ##
==========================================
+ Coverage   61.09%   61.18%   +0.08%     
==========================================
  Files           2        2              
  Lines         910      912       +2     
==========================================
+ Hits          556      558       +2     
  Misses        354      354              
Flag Coverage Δ
sanity ?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Apr 14 '25 06:04 codecov[bot]

https://github.com/linux-system-roles/.github/pull/99 landed -- @richm what should we do with this one? Land it, or wait for the next round of "apply github.git changes" to pick it up?

martinpitt avatar Apr 15 '25 17:04 martinpitt

linux-system-roles/.github#99 landed -- @richm what should we do with this one? Land it, or wait for the next round of "apply github.git changes" to pick it up?

Merging now because it helps with debugging

richm avatar Apr 15 '25 17:04 richm