qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V3 0/5] tests: Add the image fuzzer with qcow2 support
@ 2014-07-16 19:49 Maria Kustova
  2014-07-16 19:49 ` [Qemu-devel] [PATCH V3 1/5] docs: Specification for the image fuzzer Maria Kustova
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Maria Kustova @ 2014-07-16 19:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, famz, Maria Kustova, stefanha

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.

v2 -> v3:
* the runner.py takes binaries under test from environment variables only
* the runner.py accepts JSON with a list of commands under test
* the runner.py has default list of commands under test
* *.ini files for fuzzer configuration were replaced by JSON
* the runner creates backing files of different formats
* the image generator supports backing file name
* the header extensions are generated dependently on available free space
* the specification reflects changes mentioned above
* the specification has the copyright header (based on Eric Blake comments)

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

 tests/image-fuzzer/docs/image-fuzzer.txt | 239 ++++++++++++++++++++
 tests/image-fuzzer/qcow2/__init__.py     |   1 +
 tests/image-fuzzer/qcow2/fuzz.py         | 336 ++++++++++++++++++++++++++++
 tests/image-fuzzer/qcow2/layout.py       | 359 ++++++++++++++++++++++++++++++
 tests/image-fuzzer/runner/runner.py      | 370 +++++++++++++++++++++++++++++++
 5 files changed, 1305 insertions(+)
 create mode 100644 tests/image-fuzzer/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/runner.py

-- 
1.9.3

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-07-18 12:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 19:49 [Qemu-devel] [PATCH V3 0/5] tests: Add the image fuzzer with qcow2 support Maria Kustova
2014-07-16 19:49 ` [Qemu-devel] [PATCH V3 1/5] docs: Specification for the image fuzzer Maria Kustova
2014-07-16 19:49 ` [Qemu-devel] [PATCH V3 2/5] runner: Tool for fuzz tests execution Maria Kustova
2014-07-18  8:44   ` Stefan Hajnoczi
2014-07-16 19:49 ` [Qemu-devel] [PATCH V3 3/5] fuzz: Fuzzing functions for qcow2 images Maria Kustova
2014-07-18  9:26   ` Stefan Hajnoczi
2014-07-16 19:49 ` [Qemu-devel] [PATCH V3 4/5] layout: Generator of fuzzed " Maria Kustova
2014-07-18 12:11   ` Stefan Hajnoczi
2014-07-16 19:49 ` [Qemu-devel] [PATCH V3 5/5] package: Public API for image-fuzzer/runner/runner.py Maria Kustova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).