From: Michal Orzel <michal.orzel@amd.com>
To: <xen-devel@lists.xenproject.org>
Cc: Michal Orzel <michal.orzel@amd.com>,
Doug Goldstein <cardoe@cardoe.com>,
Stefano Stabellini <sstabellini@kernel.org>
Subject: [for-4.17 2/3] automation: qemu-smoke-arm64: Silence ifconfig error messages
Date: Fri, 2 Sep 2022 09:09:04 +0200 [thread overview]
Message-ID: <20220902070905.1262-3-michal.orzel@amd.com> (raw)
In-Reply-To: <20220902070905.1262-1-michal.orzel@amd.com>
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@amd.com>
---
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
next prev parent reply other threads:[~2022-09-02 7:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-02 7:09 [for-4.17 0/3] GitLab CI cleanup and boot time cpupools test Michal Orzel
2022-09-02 7:09 ` [for-4.17 1/3] automation: qemu-alpine-arm64-gcc: Use kernel 5.19 Michal Orzel
2022-09-02 11:58 ` Luca Fancellu
2022-09-08 9:07 ` Ayan Kumar Halder
2022-09-08 9:18 ` Michal Orzel
2022-09-02 7:09 ` Michal Orzel [this message]
2022-09-02 11:58 ` [for-4.17 2/3] automation: qemu-smoke-arm64: Silence ifconfig error messages Luca Fancellu
2022-09-08 9:09 ` Ayan Kumar Halder
2022-09-02 7:09 ` [for-4.17 3/3] automation: Add a new job for testing boot time cpupools on arm64 Michal Orzel
2022-09-02 12:00 ` Luca Fancellu
2022-09-02 23:49 ` Stefano Stabellini
2022-09-05 8:44 ` Michal Orzel
2022-09-05 23:21 ` Stefano Stabellini
2022-09-06 9:16 ` Michal Orzel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220902070905.1262-3-michal.orzel@amd.com \
--to=michal.orzel@amd.com \
--cc=cardoe@cardoe.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.