Skip to content

runner: Control test duration

Maria Kustova qemu-devel 2 versions – Applied

Status from this message: Thanks, applied all to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* Trivial fixes based on the review of Fam Zheng
* Increased time-out (in some cases 5 minutes interval returned false negatives)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2runner: Add an argument for test durationtests/image-fuzzer/runner.py+17 -40 replies
2/2runner: Kill a program under test by time-outtests/image-fuzzer/runner.py+25 -40 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFam ZhengStefan Hajnoczi
SeriesR-b
1/2R-b
2/2

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/2] runner: Control test duration

The first patch adds the '--duration SECONDS' argument. After the specified duration the runner allows to end the current test and then exits.

The second patch adds forced termination of a program under test, if the test execution takes more than 10 minutes to indicate program freezes.

If a program under test hangs, then the specified test duration can be overrun up to 10 minutes.

The patch series is based on https://github.com/stefanha/qemu/commits/block,
commit 07a45925fa88376f8583a333e74f7eeb0f455685

v1 -> v2:
* Trivial fixes based on the review of Fam Zheng
* Increased time-out (in some cases 5 minutes interval returned false negatives)

Maria Kustova (2):
runner: Add an argument for test duration
runner: Kill a program under test by time-out

 tests/image-fuzzer/runner.py | 50 +++++++++++++++++++++++++++++++++++++-------
 1 file changed, 42 insertions(+), 8 deletions(-)
Signature · 1 line
1.9.3