Skip to content

tests: Add the image fuzzer with qcow2 support

Maria Kustova qemu-devel 6 versions – Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 1 replyApplied
  2. v55 patches 10 repliesSuperseded
  3. v45 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches3 repliesSuperseded
v26 patches3 repliesSuperseded
v15 patches1 replySuperseded

Changes in v6 from the cover letter

* Moved the image fuzzer specification to the QEMU docs directory
* Moved the runner.py to the image fuzzer root directory

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/5docs: Specification for the image fuzzerdocs/image-fuzzer.txt+239 -00 replies
2/5runner: Tool for fuzz tests executiontests/image-fuzzer/runner.py+405 -00 replies
3/5fuzz: Fuzzing functions for qcow2 imagestests/image-fuzzer/qcow2/fuzz.py+327 -00 replies
4/5layout: Generator of fuzzed qcow2 imagestests/image-fuzzer/qcow2/layout.py+369 -00 replies
5/5package: Public API for image-fuzzer/runner/runner.pytests/image-fuzzer/qcow2/__init__.py+1 -00 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchStefan Hajnoczi
1/5
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v6 thread

Cover letter [Qemu-devel] [PATCH V6 0/5] tests: Add the image fuzzer with qcow2 support

This patch series introduces the image fuzzer, a tool for stability and reliability testing.
Its approach is to run large amount of tests in background. During every test a program (e.g. qemu-img) is called to read or modify an invalid test image. A test image has valid inner structure defined by its format specification with some fields having random invalid values.

Patch 1 contains documentation for the image fuzzer, patch 2 is the test runner and remaining ones relate to the image generator for qcow2 format.

This patch series was created for the 'block-next' branch.

v5 -> v6:
* Moved the image fuzzer specification to the QEMU docs directory
* Moved the runner.py to the image fuzzer root directory

Maria Kustova (5):
docs: Specification for the image fuzzer
runner: Tool for fuzz tests execution
fuzz: Fuzzing functions for qcow2 images
layout: Generator of fuzzed qcow2 images
package: Public API for image-fuzzer/runner/runner.py

 docs/image-fuzzer.txt                | 239 +++++++++++++++++++++
 tests/image-fuzzer/qcow2/__init__.py |   1 +
 tests/image-fuzzer/qcow2/fuzz.py     | 327 ++++++++++++++++++++++++++++
 tests/image-fuzzer/qcow2/layout.py   | 369 +++++++++++++++++++++++++++++++
 tests/image-fuzzer/runner.py         | 405 +++++++++++++++++++++++++++++++++++
 5 files changed, 1341 insertions(+)
 create mode 100644 docs/image-fuzzer.txt
 create mode 100644 tests/image-fuzzer/qcow2/__init__.py
 create mode 100644 tests/image-fuzzer/qcow2/fuzz.py
 create mode 100644 tests/image-fuzzer/qcow2/layout.py
 create mode 100755 tests/image-fuzzer/runner.py
Signature · 1 line
1.9.3