From: Stefan Hajnoczi <stefanha@redhat.com>
To: Cleber Rosa <crosa@redhat.com>
Cc: qemu-devel@nongnu.org, "Eduardo Habkost" <ehabkost@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Fam Zheng" <famz@redhat.com>, "Amador Pahim" <amador@pahim.org>
Subject: Re: [Qemu-devel] [PATCH v4 5/5] Acceptance tests: add Linux kernel boot and console checking test
Date: Thu, 31 May 2018 11:56:13 +0100 [thread overview]
Message-ID: <20180531105613.GF27838@stefanha-x1.localdomain> (raw)
In-Reply-To: <20180530184156.15634-6-crosa@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]
On Wed, May 30, 2018 at 02:41:56PM -0400, Cleber Rosa wrote:
> This test boots a Linux kernel, and checks that the given command
> line was effective in two ways:
>
> * It makes the kernel use the set "console device" as a console
> * The kernel records the command line as expected in the console
>
> Given that way too many error conditions may occur, and detecting the
> kernel boot progress status may not be trivial, this test relies on a
> timeout to handle unexpected situations. Also, it's *not* tagged as a
> quick test for obvious reasons.
>
> It may be useful, while interactively running/debugging this test, or
> tests similar to this one, to show some of the logging channels.
> Example:
>
> $ avocado --show=QMP,console run boot_linux_console.py
>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
> tests/acceptance/boot_linux_console.py | 47 ++++++++++++++++++++++++++
> 1 file changed, 47 insertions(+)
> create mode 100644 tests/acceptance/boot_linux_console.py
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
next prev parent reply other threads:[~2018-05-31 10:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-30 18:41 [Qemu-devel] [PATCH v4 0/5] Acceptance/functional tests Cleber Rosa
2018-05-30 18:41 ` [Qemu-devel] [PATCH v4 1/5] Add functional/acceptance tests infrastructure Cleber Rosa
2018-05-30 21:19 ` Philippe Mathieu-Daudé
2018-05-31 10:55 ` Stefan Hajnoczi
2018-05-30 18:41 ` [Qemu-devel] [PATCH v4 2/5] scripts/qemu.py: allow adding to the list of extra arguments Cleber Rosa
2018-05-30 21:20 ` Philippe Mathieu-Daudé
2018-05-30 18:41 ` [Qemu-devel] [PATCH v4 3/5] Acceptance tests: add quick VNC tests Cleber Rosa
2018-05-30 21:21 ` Philippe Mathieu-Daudé
2018-05-30 18:41 ` [Qemu-devel] [PATCH v4 4/5] scripts/qemu.py: introduce set_console() method Cleber Rosa
2018-05-30 21:22 ` Philippe Mathieu-Daudé
2018-05-31 10:55 ` Stefan Hajnoczi
2018-05-30 18:41 ` [Qemu-devel] [PATCH v4 5/5] Acceptance tests: add Linux kernel boot and console checking test Cleber Rosa
2018-05-30 20:57 ` Philippe Mathieu-Daudé
2018-06-13 18:30 ` Eduardo Habkost
2018-06-13 18:41 ` Philippe Mathieu-Daudé
2018-05-31 10:56 ` Stefan Hajnoczi [this message]
2018-06-05 14:49 ` [Qemu-devel] [PATCH v4 0/5] Acceptance/functional tests Philippe Mathieu-Daudé
2018-06-06 19:26 ` Eduardo Habkost
2018-06-13 18:29 ` Eduardo Habkost
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=20180531105613.GF27838@stefanha-x1.localdomain \
--to=stefanha@redhat.com \
--cc=amador@pahim.org \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=f4bug@amsat.org \
--cc=famz@redhat.com \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).