From: Lucas Meneghel Rodrigues Subject: [PATCH 0/3] Introduce blkdebug support to KVM autotest + migration test Date: Thu, 8 Sep 2011 14:06:47 -0300 Message-ID: <1315501610-29762-1-git-send-email-lmr@redhat.com> Cc: kvm@vger.kernel.org, kwolf@redhat.com, Lucas Meneghel Rodrigues To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:35291 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755918Ab1IHXds (ORCPT ); Thu, 8 Sep 2011 19:33:48 -0400 Sender: kvm-owner@vger.kernel.org List-ID: In order to solve task: http://autotest.kernel.org/ticket/50 Implemented support to providing blkdebug files to arbitrary guest images in autotest. Also, modified a bit the migrate test and introduced the variant migrate.with_blkdebug variant, that tries to mimic as much as possible the testcase described in ticket 50. Kevin, sorry that I took too long to work on this, let me know if you see any obvious problems on the implementation. With this we can have people reproducing the test case mentioned with a stock autotest clone. Indeed we see state migration mismatch problems running the testcase: Test Status Seconds Info ---- ------ ------- ---- (Result file: ../../results/default/status) Fedora.15.64.migrate.with_blkdebug.tcp.smp2 FAIL 35 Unhandled VMMigrateStateMismatchError: Mismatch of VM state before and after migration (cd739e82e72179821b0599169432729c != 39920fecc39325cca5deab4e0c54792d) [context: migrating 'vm1' --> after migration] Fedora.15.64.migrate.with_blkdebug.unix.smp2 FAIL 46 Unhandled VMMigrateStateMismatchError: Mismatch of VM state before and after migration (9482fb1523f15e708b0e46058b22196c != 60f7757c88e8a3a656f701fa97501a97) [context: migrating 'vm1' --> after migration] Fedora.15.64.migrate.with_blkdebug.exec.smp2 FAIL 44 Unhandled VMMigrateStateMismatchError: Mismatch of VM state before and after migration (7f5d1cce87383c001a83d0d3a6529c68 != 76549ae93fc0b3d270dbf51e8cb49dd6) [context: migrating 'vm1' --> after migration] Fedora.15.64.migrate.with_blkdebug.mig_cancel.smp2 FAIL 101 Unhandled VMMigrateCancelError: Cannot cancel migration [context: migrating 'vm1'] ---- GOOD 261 Cheers! Lucas Meneghel Rodrigues (3): KVM test: Introduce blkdebug param to images KVM test: migration subtest - Introduce migration_living_guest param KVM test: Introduce migrate.with_blkdebug variant client/tests/kvm/base.cfg.sample | 9 ++++ client/tests/kvm/blkdebug/default.conf | 16 +++++++ client/tests/kvm/subtests.cfg.sample | 6 +++ client/tests/kvm/tests/migration.py | 78 ++++++++++++++++++------------- client/virt/kvm_vm.py | 14 +++++- client/virt/virt_vm.py | 21 +++++++++ 6 files changed, 108 insertions(+), 36 deletions(-) create mode 100644 client/tests/kvm/blkdebug/default.conf -- 1.7.6