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 7A1FCA034C; Thu, 24 Feb 2022 17:00:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61AB541156; Thu, 24 Feb 2022 17:00:57 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 4AC664114D for ; Thu, 24 Feb 2022 17:00:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645718456; x=1677254456; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=yNzw9NqW6IRSXhF9tUzsHqMLR+mfgZZTKp9PF9Q4pM8=; b=cCLvCs8f44MPlXDHECtlD1IYBXFTQfaCm4Na2Jm2xA34gcCTDbDdHWic u2bjMHBQbkHhtV/Lf9tVZiap2K0Z2hB7RTNvrxI1UpI+fKn7ocUSpfnYp VlhQxswx2kkG9t2uPjTTmIZk4Mb8pw37HokxEN4bpOoluMhWGIblTO8zs i/GaoakIfZzrbV5KP0cDHNcWeblRp83lENYGd4IauR1acuX4KjqUGtBhB 8i409EsLjlimj65O0iWFLKSGpIEJXC28poiV91ZIJyTFOtmgEYiA359Pg 77/aJ29hg96pHuzJBMtDM1yPKC+OfV0IvvH8Ky5bpIXJ7ZW3ShPR79CCh g==; X-IronPort-AV: E=McAfee;i="6200,9189,10268"; a="315488694" X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="315488694" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 08:00:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="592129796" Received: from silpixa00401183.ir.intel.com ([10.55.129.105]) by fmsmga008.fm.intel.com with ESMTP; 24 Feb 2022 08:00:51 -0800 From: Tadhg Kearney To: reshma.pattan@intel.com Cc: dts@dpdk.org, Tadhg Kearney Subject: [PATCH] tests/vm_power_manager: remove multimvs test case Date: Thu, 24 Feb 2022 16:00:47 +0000 Message-Id: <20220224160047.669996-1-tadhg.kearney@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Test "test_vm_power_multivms" removed due to: 1.Not being relevant to the power managment test suite. 2.Not a test that needs to be carried out regardless. Signed-off-by: Tadhg Kearney --- tests/TestSuite_vm_power_manager.py | 49 ----------------------------- 1 file changed, 49 deletions(-) diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py index ea104a38..06419de6 100644 --- a/tests/TestSuite_vm_power_manager.py +++ b/tests/TestSuite_vm_power_manager.py @@ -224,55 +224,6 @@ class TestVmPowerManager(TestCase): print((utils.GREEN("After frequency min, freq is %d\n" % min_freq))) self.vm_dut.send_expect("quit", "# ") - def test_vm_power_multivms(self): - """ - Check power management channel connected in multiple VMs - """ - vm_name = "vm1" - cpus = self.dut.get_core_list('1S/4C/1T', socket=1) - self.verify(len(cpus) == 4, "Can't allocate cores from numa 1") - - vm2 = LibvirtKvm(self.dut, vm_name, self.suite_name) - channels = [ - {'path': '/tmp/powermonitor/%s.0' % - vm_name, 'name': 'virtio.serial.port.poweragent.0'}, - {'path': '/tmp/powermonitor/%s.1' % - vm_name, 'name': 'virtio.serial.port.poweragent.1'}, - {'path': '/tmp/powermonitor/%s.2' % - vm_name, 'name': 'virtio.serial.port.poweragent.2'}, - {'path': '/tmp/powermonitor/%s.3' % - vm_name, 'name': 'virtio.serial.port.poweragent.3'} - ] - for channel in channels: - vm2.add_vm_virtio_serial_channel(**channel) - - # start vm2 with socket 1 cpus - cpupin = '' - for cpu in cpus: - cpupin += '%s ' % cpu - vm2_cpus = {'number': '4', 'cpupin': cpupin[:-1]} - vm2.set_vm_cpu(**vm2_cpus) - vm2_dut = vm2.start() - - self.dut.send_expect("add_vm %s" % vm_name, "vmpower>") - self.dut.send_expect("add_channels %s all" % vm_name, "vmpower>") - vm_info = self.dut.send_expect("show_vm %s" % vm_name, "vmpower>") - - # check host core has correct mapped - cpu_idx = 0 - for cpu in cpus: - cpu_map = '[%d]: Physical CPU %s' % (cpu_idx, cpu) - self.verify(cpu_map in vm_info, "Failed to map host cpu %s" % cpu) - cpu_idx += 1 - - out = vm2_dut.build_dpdk_apps("examples/vm_power_manager/guest_cli") - self.verify("Error" not in out, "Compilation error") - self.verify("No such" not in out, "Compilation error") - - out = vm2_dut.send_expect(self.guest_cmd, "vmpower\(guest\)>", 120) - vm2_dut.send_expect("quit", "# ") - vm2.stop() - def get_freq_in_transmission(self): self.cur_freq = self.get_cpu_frequency(self.vcpu_map[1]) print((utils.GREEN("Current cpu frequency %d" % self.cur_freq))) -- 2.25.1 -------------------------------------------------------------- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.