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

[for-4.17 2/3] automation: qemu-smoke-arm64: Silence ifconfig error messages


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 2 Sep 2022 09:09:04 +0200
  • 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
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Fxl2Y+brzqdoCYlG8sYLKyyIqMeJuYiU3UbH1MYdaBk=; b=a8yCLZR3W0ETY20cIh20NeFxzBW12WfHiVIuz670FpWptgCu5RnZoBGKcPspZ3iovMChDKZ1C85j1fLXh7FD+C5IqMWd84v7MkizYsypKKMKravzAz86Gpk2zhrjn0amO2jketjz/XjJ2JFQI0UMXlEtYeEURG2SOoQuXD/qB7m9c6SGcEBh6rNCTwdzTaOKVGZwg7aVHF/Jx3tMYmmwCe6y5hAAeItBNPMPn1qLyNC5/aWl7rP2/3P4y3bQm2qLR+0NfGYkMmJEcOiQ2R+tHhLXLvYx2Cr1RXIn+b159cgLNKcrbcJhyihKxOZXc2n8VMQfXG+DAn4YtenDJsYl/w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P4NoOaLZdOzsjNzoOqWcANPuqoo9zoXqv0ElXRgZR2dnvLMTdJk5nzJT25ETpkPPyC3v8LDrF+AlM4iPPKuutSZdmTYCbuqQ64a4Jsg+QKwopDv3D47cVl2b66MLX2mMiIKlDCAA+bvx4V5mQzDyzW8rIfJg/2DkcLXeofxJvqSodU2lZsl9crpMiSouo/WcPxczi/A7BJzS/q3ZNcn2FBjrIIyxRtJc1gWEXOzfgS05OucvwgRF6WLkeMaEdvUTw61mOZ1c/B+mx1NPkFNCErF9qr4GyfL7fDWhYP7KDdYdfRianiSTc48epSJMQRC9UO0XSynmXd7gZQVMB8ayDw==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 02 Sep 2022 07:09:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

During the ping test, dom1 tries to assign an ip to eth0 in a loop.
Before setting up the network interface by dom0, this results in
printing the following error message several times:
(XEN) DOM1: ifconfig: SIOCSIFADDR: No such device

Silence this by redirecting stderr/stdout to /dev/null as we do not
care about the output and we should not pollute the log file.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
---
 automation/scripts/qemu-smoke-arm64.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/automation/scripts/qemu-smoke-arm64.sh 
b/automation/scripts/qemu-smoke-arm64.sh
index c80d9b2aee00..7ac96027760d 100755
--- a/automation/scripts/qemu-smoke-arm64.sh
+++ b/automation/scripts/qemu-smoke-arm64.sh
@@ -6,7 +6,7 @@ test_variant=$1
 
 passed="passed"
 check="
-until ifconfig eth0 192.168.0.2 && ping -c 10 192.168.0.1; do
+until ifconfig eth0 192.168.0.2 &> /dev/null && ping -c 10 192.168.0.1; do
     sleep 30
 done
 echo \"${passed}\"
-- 
2.25.1




 


Rackspace

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