[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v6 4/7] automation: add ping test to static-mem test


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
  • Date: Thu, 6 Feb 2025 17:53:38 -0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DdNnZPT/EWWNxVMQKl2mVk9CKJViJCGFeX7uqj/5yiU=; b=K8Nj9EHfniP8aatN3jWblCWPSLjgfFyX8EG2at2bEbn5UO6hIBCsFbqO5vJtMXWpJ6EVgc6bry404Dii2HVbeHwhgc8GsPBE9Av3qHxgE4Or1bnE+lJtX4Ohf/yRjyJBJe5C9wce0aj/QtSIckWT2WBQjGeyIoJ8rWKVZ4WWNnTj/BI/XwI8WfUD0EzknI5kCDxdTedIpiMSIKFR73H6QQl+Z/q/ZnzbkLwfx/RMPEedZR3eHso/EQ61GOYjVRMOa74r5oqRpMcYROm4u51O+xtA2SJw8VhbsB/jgnHi/BZWVvb+4K7Up2svXrHBW4rcwMxWmYfdB9kZFm6KFHxH1w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xwh5qN1XChZy8uTrGnB0z2wZ5a3hwaJ5sTeDq6LHGX8HkMVG55P9+mm4ccwP8kE7tx+G8MtZkmAjH4aPzy4t7nfTxndwIX1lAJgEs4ll67oCPu+rW1H3DTJqB1Ryta2r0x1dABpYg4HAL7PL6j8404QVW8/nQHPfSxxHMAIN1yPOmRSEws2xO6ZK1IHtCxr8H1zhB5gkb+HWGzwSWclSO/HOcJWflcawta7erAEDe8qJLJL/TzG3pge+FLpZbbl7wNuOABNMJJNCY61TvEjfQ0Zq/vYXhK13CBUdKZK893eWVoLXTXTTrjxXgCGJFBXU+Gy6S1vPd9Jj1euHHxM0jA==
  • Cc: <sstabellini@xxxxxxxxxx>, <bertrand.marquis@xxxxxxx>, <julien@xxxxxxx>, <michal.orzel@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxx>
  • Delivery-date: Fri, 07 Feb 2025 01:53:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

With the recent fixes, Dom0less direct mapped domains can use PV
drivers. Extend the existing PV network ping tests to direct mapped
guests.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
---
 automation/scripts/qemu-smoke-dom0less-arm64.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/automation/scripts/qemu-smoke-dom0less-arm64.sh 
b/automation/scripts/qemu-smoke-dom0less-arm64.sh
index 83e1866ca6..f72d209361 100755
--- a/automation/scripts/qemu-smoke-dom0less-arm64.sh
+++ b/automation/scripts/qemu-smoke-dom0less-arm64.sh
@@ -25,6 +25,9 @@ if [[ "${test_variant}" == "static-mem" ]]; then
     domU_check="
 mem_range=$(printf \"%08x-%08x\" ${domu_base} $(( ${domu_base} + ${domu_size} 
- 1 )))
 if grep -q -x \"\${mem_range} : System RAM\" /proc/iomem; then
+    until ifconfig eth0 192.168.0.2 &> /dev/null && ping -c 10 192.168.0.1; do
+        sleep 30
+    done
     echo \"${passed}\"
 fi
 "
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.