From patchwork Tue Jun 29 12:21:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 108590 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5TDIm4N012137 for ; Tue, 29 Jun 2010 13:21:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754367Ab0F2MWO (ORCPT ); Tue, 29 Jun 2010 08:22:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59749 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751472Ab0F2MWL (ORCPT ); Tue, 29 Jun 2010 08:22:11 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5TCMAkx022401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Jun 2010 08:22:10 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5TCM9Y3022610; Tue, 29 Jun 2010 08:22:10 -0400 Received: from localhost.localdomain (dhcp-1-188.tlv.redhat.com [10.35.1.188]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o5TCM5xv005238; Tue, 29 Jun 2010 08:22:08 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH] KVM test: kvm.py: add exception class name to failure message Date: Tue, 29 Jun 2010 15:21:44 +0300 Message-Id: <1277814104-13599-3-git-send-email-mgoldish@redhat.com> In-Reply-To: <1277814104-13599-2-git-send-email-mgoldish@redhat.com> References: <1277814104-13599-1-git-send-email-mgoldish@redhat.com> <1277814104-13599-2-git-send-email-mgoldish@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 29 Jun 2010 13:21:14 +0000 (UTC) diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py index 0799cff..9da4c33 100644 --- a/client/tests/kvm/kvm.py +++ b/client/tests/kvm/kvm.py @@ -75,7 +75,8 @@ class kvm(test.test): test_passed = True except Exception, e: - logging.error("Test failed: %s", e) + logging.error("Test failed: %s: %s", + e.__class__.__name__, e) try: kvm_preprocessing.postprocess_on_error( self, params, env)