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

[PATCH v5 6/9] automation: add ping test to static-mem test


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
  • Date: Wed, 5 Feb 2025 17:08:40 -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=r4LOFJZLS1G+f+v8efLRCIyxnltr60r2nDySmbsqwu4wQP9frLX0TSdUGWVoLBv9KJMndNkv/X5UBBVnAqpMmZxadpSYMfOSf2IvCvxk2AcdNjQyrMC0PWWchICEYWV8JmhRfR6xKXvOR2fghpZBzwXDyGg25+unkCHdi1YPpfEDE44ucryfV6mwtjjrEWUjY/NK/BXoQEs/FlwJmxlaTNw/bfnZOzNERPOp2GrZP4isMNQ8w2UxJX8a9GD8XniwgXPTn7LRb1pePmJskQteERz/jWay3YWMGJuTGeg/SbJtLV+1mvyA4Z9yr86T9JZCw4GT31qGBRgS52J9tTEa8w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=o0JNP5uJR989qAdgb/rle5qYNjf+PLw2FJXHYBbFwELndnthZTJYVLYV2BU8ekPuISQKRLRquICNCiVnpUNP1e5ofSp09QkKrP0k5gDc3jduIobVBKxtcHf39Vg6/xhTlqdHVK+TdxuYe5r4Tqr2rPV7lLIgVuMRJOqBVDFMBW4yaKcLFwN+nkp/guKbhnD5kNd0BhxVVmO8uW8r6adps8lVgn6e9LsZuLN9Pniun/wIxbSKJedq8PfxLLtKlwKn1eYfHcFg1KZQIyqNsBcy0GsRkq1afh9RGDPgtsI1E3puNRLl4CnGyy67BIR0xMmTMkg9+KpEl9a01/LjEWXJ3w==
  • Cc: <sstabellini@xxxxxxxxxx>, <bertrand.marquis@xxxxxxx>, <julien@xxxxxxx>, <michal.orzel@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxx>
  • Delivery-date: Thu, 06 Feb 2025 01:09:00 +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®.