Skip to content

Conversation

@d-e-s-o
Copy link
Collaborator

@d-e-s-o d-e-s-o commented Jan 22, 2026

For longer running benchmarks we download an xz compressed archive containing debug data for a certain kernel version. In recent times the decompression has started failing in CI, for no apparent reason. Local reproduction has failed.
Looking at the code, it seems possible that we experienced short write during download and then discarded the unwritten rest. Switch from using std::io::Write::write() to std::io::Write::write_all() in an attempt to fix this issues.

For longer running benchmarks we download an xz compressed archive
containing debug data for a certain kernel version. In recent times the
decompression has started failing in CI, for no apparent reason. Local
reproduction has failed.
Looking at the code, it seems possible that we experienced short write
during download and then discarded the unwritten rest. Switch from using
std::io::Write::write() to std::io::Write::write_all() in an attempt to
fix this issues.

Signed-off-by: Daniel Müller <deso@posteo.net>
@d-e-s-o d-e-s-o enabled auto-merge (rebase) January 22, 2026 18:48
@d-e-s-o d-e-s-o merged commit 96156f7 into libbpf:main Jan 22, 2026
41 checks passed
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.80%. Comparing base (e650f41) to head (c65a058).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1442   +/-   ##
=======================================
  Coverage   95.80%   95.80%           
=======================================
  Files          61       61           
  Lines       11114    11114           
=======================================
  Hits        10648    10648           
  Misses        466      466           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@d-e-s-o d-e-s-o deleted the topic/fix-ci branch January 22, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant