Skip to content

[blk-threaded - 12/12] tests: add unit tests and threaded coverage - #6134

Open
PierreBertholom wants to merge 2 commits into
pbertho/blk-threaded-11from
pbertho/blk-threaded-12
Open

[blk-threaded - 12/12] tests: add unit tests and threaded coverage#6134
PierreBertholom wants to merge 2 commits into
pbertho/blk-threaded-11from
pbertho/blk-threaded-12

Conversation

@PierreBertholom

@PierreBertholom PierreBertholom commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

[12/12] part of the PR stack starting with #6123

Changes

This pull request adds integration and unit test coverage for threaded
virtio-block.

tests: add threaded virtio-block coverage

Cover both block device threading modes across I/O engines, reset,
patching, rate limiting, snapshots and hotplug.
Update seccomp tests for the block worker thread category.

tests: add unit tests for threaded virtio-block

Cover worker failures, runtime updates, reset, snapshot persistence,
queue dirtying and resume behavior.

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.40%. Comparing base (1e4d9dc) to head (c07af14).

Additional details and impacted files
@@                     Coverage Diff                     @@
##           pbertho/blk-threaded-11    #6134      +/-   ##
===========================================================
+ Coverage                    81.84%   82.40%   +0.56%     
===========================================================
  Files                          278      278              
  Lines                        31669    31669              
===========================================================
+ Hits                         25920    26098     +178     
+ Misses                        5749     5571     -178     
Flag Coverage Δ
5.10-m5n.metal 82.61% <ø> (+0.61%) ⬆️
5.10-m6a.metal 81.97% <ø> (+0.64%) ⬆️
5.10-m6g.metal 79.48% <ø> (+0.64%) ⬆️
5.10-m6i.metal 82.61% <ø> (+0.61%) ⬆️
5.10-m7a.metal-48xl 81.96% <ø> (+0.64%) ⬆️
5.10-m7g.metal 79.48% <ø> (+0.63%) ⬆️
5.10-m7i.metal-24xl 82.58% <ø> (+0.61%) ⬆️
5.10-m7i.metal-48xl 82.58% <ø> (+0.61%) ⬆️
5.10-m8g.metal-24xl 79.48% <ø> (+0.63%) ⬆️
5.10-m8g.metal-48xl 79.48% <ø> (+0.63%) ⬆️
5.10-m8i.metal-48xl 82.58% <ø> (+0.61%) ⬆️
5.10-m8i.metal-96xl 82.58% <ø> (+0.61%) ⬆️
6.1-m5n.metal 82.63% <ø> (+0.61%) ⬆️
6.1-m6a.metal 82.00% <ø> (+0.64%) ⬆️
6.1-m6g.metal 79.48% <ø> (+0.63%) ⬆️
6.1-m6i.metal 82.63% <ø> (+0.61%) ⬆️
6.1-m7a.metal-48xl 81.98% <ø> (+0.63%) ⬆️
6.1-m7g.metal 79.48% <ø> (+0.63%) ⬆️
6.1-m7i.metal-24xl 82.64% <ø> (+0.61%) ⬆️
6.1-m7i.metal-48xl 82.64% <ø> (+0.62%) ⬆️
6.1-m8g.metal-24xl 79.48% <ø> (+0.63%) ⬆️
6.1-m8g.metal-48xl 79.48% <ø> (+0.63%) ⬆️
6.1-m8i.metal-48xl 82.65% <ø> (+0.61%) ⬆️
6.1-m8i.metal-96xl 82.64% <ø> (+0.61%) ⬆️
6.18-m5n.metal 82.63% <ø> (+0.61%) ⬆️
6.18-m6a.metal 81.99% <ø> (+0.64%) ⬆️
6.18-m6g.metal 79.48% <ø> (+0.63%) ⬆️
6.18-m6i.metal 82.63% <ø> (+0.61%) ⬆️
6.18-m7a.metal-48xl 81.98% <ø> (+0.64%) ⬆️
6.18-m7g.metal 79.48% <ø> (+0.64%) ⬆️
6.18-m7i.metal-24xl 82.64% <ø> (+0.61%) ⬆️
6.18-m7i.metal-48xl 82.64% <ø> (+0.61%) ⬆️
6.18-m8g.metal-24xl 79.48% <ø> (+0.63%) ⬆️
6.18-m8g.metal-48xl 79.48% <ø> (+0.63%) ⬆️
6.18-m8i.metal-48xl 82.65% <ø> (+0.61%) ⬆️
6.18-m8i.metal-96xl 82.65% <ø> (+0.62%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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.

Cover both block device threading modes across I/O engines, reset,
patching, rate limiting, snapshots and hotplug.
Update seccomp tests for the block worker thread category.

Signed-off-by: Pierre Bertholom <pbertho@amazon.com>
Cover worker failures, runtime updates, reset, snapshot persistence,
queue dirtying and resume behavior.

Signed-off-by: Pierre Bertholom <pbertho@amazon.com>
@PierreBertholom
PierreBertholom force-pushed the pbertho/blk-threaded-12 branch from 6c1ef7e to c07af14 Compare August 19, 2026 00:39
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