Skip to content

iotests: Make some tests less flaky

Max Reitz qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Spelling fixes [Eric]
- Contract grep | sed to a single sed in 083 [Eric]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iotests: Make 030 less flakytests/qemu-iotests/030+6 -20 replies
2/5iotests: Add missing 'blkdebug::' in 040tests/qemu-iotests/040+1 -10 replies
3/5iotests: Make 055 less flakytests/qemu-iotests/055+16 -90 replies
4/5iotests: Make 083 less flakytests/qemu-iotests/083+3 -17 replies
5/5iotests: Make 136 less flakytests/qemu-iotests/136+13 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchEric BlakeStefan Hajnoczi
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] iotests: Make some tests less flaky

There are a couple of tests that fail (on my machine) from time to time (and by that I mean that recently I've rarely ever had a test run with both 083 and 136 working on first try).
This series should fix most (at least the issues I am aware of).

Notes:
- 083 might have another issue, but if so it occurs extremely rarely and so I was unable to debug it.

- 129 is flaky, too, because it tries to use block jobs with BB throttling -- however, block jobs ignore that these days. Making it use a throttle filter node will require quite a bit of work. See
http://lists.nongnu.org/archive/html/qemu-block/2017-11/msg00111.html
for more.

- 194 sometimes hangs because the source VM fails to drain its drive. This is probably not an issue with the test, but actually an issue in qemu. See
http://lists.nongnu.org/archive/html/qemu-block/2017-11/msg00256.html
for more.

v2:
- Spelling fixes [Eric]
- Contract grep | sed to a single sed in 083 [Eric]

git-backport-diff against v1:

Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/5:[----] [--] 'iotests: Make 030 less flaky' 002/5:[----] [--] 'iotests: Add missing 'blkdebug::' in 040' 003/5:[----] [--] 'iotests: Make 055 less flaky' 004/5:[0003] [FC] 'iotests: Make 083 less flaky' 005/5:[----] [--] 'iotests: Make 136 less flaky'

Max Reitz (5):
iotests: Make 030 less flaky
iotests: Add missing 'blkdebug::' in 040
iotests: Make 055 less flaky
iotests: Make 083 less flaky
iotests: Make 136 less flaky

 tests/qemu-iotests/030 |  8 ++++++--
 tests/qemu-iotests/040 |  2 +-
 tests/qemu-iotests/055 | 25 ++++++++++++++++---------
 tests/qemu-iotests/083 |  4 +++-
 tests/qemu-iotests/136 | 14 +++++++++++++-
 5 files changed, 39 insertions(+), 14 deletions(-)
Signature · 1 line
2.13.6