From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X31qL-0007tK-M9 for qemu-devel@nongnu.org; Fri, 04 Jul 2014 07:40:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X31qF-0006VO-3v for qemu-devel@nongnu.org; Fri, 04 Jul 2014 07:39:53 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:50106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X31qE-0006VD-Tf for qemu-devel@nongnu.org; Fri, 04 Jul 2014 07:39:47 -0400 Received: by mail-la0-f41.google.com with SMTP id hz20so1098881lab.28 for ; Fri, 04 Jul 2014 04:39:45 -0700 (PDT) From: Maria Kustova Date: Fri, 4 Jul 2014 15:39:27 +0400 Message-Id: Subject: [Qemu-devel] [PATCH V2 0/6] tests: Add the image fuzzer with qcow2 support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, Maria Kustova , stefanha@redhat.com 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. v1 -> v2: * refactored qcow2/layout module * added support of external fuzzer configurations * fixed wrong string truncation in qcow2/fuzz module * fixed documentation typos and ambiguities (based on Eric Blake comments) * updated documentation with the fuzzer configuration * add LICENSE file (based on Eric Blake comments) Maria Kustova (6): 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 image-fuzzer: GPLv2 license file tests/image-fuzzer/LICENSE | 339 +++++++++++++++++++++++++++++++ tests/image-fuzzer/docs/fuzzer.conf | 37 ++++ tests/image-fuzzer/docs/image-fuzzer.txt | 216 ++++++++++++++++++++ tests/image-fuzzer/qcow2/__init__.py | 1 + tests/image-fuzzer/qcow2/fuzz.py | 328 ++++++++++++++++++++++++++++++ tests/image-fuzzer/qcow2/layout.py | 319 +++++++++++++++++++++++++++++ tests/image-fuzzer/runner/runner.py | 290 ++++++++++++++++++++++++++ 7 files changed, 1530 insertions(+) create mode 100644 tests/image-fuzzer/LICENSE create mode 100644 tests/image-fuzzer/docs/fuzzer.conf 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