From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44952A0093; Fri, 29 Apr 2022 07:34:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3614C410E3; Fri, 29 Apr 2022 07:34:55 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 06FC640E50 for ; Fri, 29 Apr 2022 07:34:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651210494; x=1682746494; h=from:to:cc:subject:date:message-id; bh=kE02lfCoEABT1RPf/hxoiR+b126b7EdVaY9xF/Gapuw=; b=T5WnM5+6fdh1jRWXuMv/vOog9zX1WvjDpEUEU2XEkoi7JGbb5YRc7no0 JzraVpdrDJAjPj54N8g+0BYmliik5C0unPpb6d2QLNCbnPWKTIS6W9nbN CK3T0U92clQ3/EjdLuK3cEOh8GbrNAp+aJ5WcsNaOlLztqyJz8eL9XCnJ xEBpIPTT8PqKDFo8zwb9M2lKaP3B8n4rSaA5FECEQ7BC7x77TElMJG3BA 9BhBqWmMjF2oB3EXL/Im/Lu0tI55YQTcgnPh8ItMDtVv7cPbLeiBuL2N8 8FXk7rKWGtyML5EE44tQIbHmh10peR/aefzFzYjbx96ZIPc9xJpfUOkZe Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10331"; a="265386788" X-IronPort-AV: E=Sophos;i="5.91,297,1647327600"; d="scan'208";a="265386788" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 22:34:49 -0700 X-IronPort-AV: E=Sophos;i="5.91,297,1647327600"; d="scan'208";a="581894502" Received: from unknown (HELO localhost.localdomain) ([10.239.251.94]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 22:34:48 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/vm_power_manager: fix script Date: Fri, 29 Apr 2022 13:59:13 +0000 Message-Id: <20220429135913.1862-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org restart libvirtd service before instantiating libvirtkvm. otherwise, the instantiation of libvirtkvm will fail, resulting in suite block. Signed-off-by: Jiale Song --- tests/TestSuite_vm_power_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py index 917a60f3..cc535436 100644 --- a/tests/TestSuite_vm_power_manager.py +++ b/tests/TestSuite_vm_power_manager.py @@ -60,6 +60,8 @@ class TestVmPowerManager(TestCase): # map between host vcpu and guest vcpu self.vcpu_map = [] + # restart libvirtd service + self.dut.send_expect("service libvirtd restart", "# ") # start vm self.vm_name = "vm0" self.vm = LibvirtKvm(self.dut, self.vm_name, self.suite_name) -- 2.17.1