From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: Willian Rampazzo <wrampazz@redhat.com>,
Wainer dos Santos Moschetta <wainersm@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>, Cleber Rosa <crosa@redhat.com>
Subject: Re: Problem with Avocado and QEMU console
Date: Fri, 2 Jul 2021 16:48:38 +0200 [thread overview]
Message-ID: <225d9dd2-bb78-7399-e2b5-30a43d90a61d@amsat.org> (raw)
In-Reply-To: <41a3f762-1fbb-c9f8-73b5-6d1d6654d4c5@amsat.org>
On 6/1/21 5:40 AM, Philippe Mathieu-Daudé wrote:
> On 5/3/21 4:46 PM, Willian Rampazzo wrote:
>> On Mon, May 3, 2021 at 10:36 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>>>
>>> On 5/3/21 3:12 PM, Willian Rampazzo wrote:
>>>> Hi Philippe,
>>>>
>>>> On Mon, May 3, 2021 at 9:59 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>>>>>
>>>>> Hi Cleber, Willian,
>>>>>
>>>>> Avocado marked the test_mips64el_fuloong2e as failed while
>>>>> it succeeded:
>>>>> https://gitlab.com/qemu-project/qemu/-/jobs/1231363571
>>>>>
>>>>> Apparently the first part of the console output is missing.
>>>>> (Normal console output attached).
>>>>>
>>>>> Any idea what could be the cause?
>>>>>
>>>>
>>>> The log shows the following:
>>>>
>>>> 12:00:37 ERROR| avocado.core.exceptions.TestFail: Failure message
>>>> found in console: "Kernel panic - not syncing". Expected: "Kernel
>>>> command line: printk.time=0 console=ttyS0"
>>>>
>>>> Does your comment about "console output missing" means the expected
>>>> message was supposed to be on this missing part?
>>>
>>> Yes, "the first part is missing" so Avocado didn't see the expected
>>> message pass, but the messages emitted *after* it are logged.
>>>
>>
>> Okay, got it.
>>
>> The reason for it to fail is here:
>> https://gitlab.com/qemu-project/qemu/-/blob/master/tests/acceptance/boot_linux_console.py#L53.
>> The way the `wait_for_console_pattern` method is defined tells the
>> test to fail if that `failure_message` is found.
>>
>> I'm still checking why the test missed the first part.
>
> Could this be related to the recent failures in N8x0Machine.test_n810?
>
> https://gitlab.com/qemu-project/qemu/-/jobs/1280746618#L128
Yet another one:
https://gitlab.com/qemu-project/qemu/-/jobs/1390365314#L129
next prev parent reply other threads:[~2021-07-02 14:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-03 12:59 Problem with Avocado and QEMU console Philippe Mathieu-Daudé
2021-05-03 13:12 ` Willian Rampazzo
2021-05-03 13:36 ` Philippe Mathieu-Daudé
2021-05-03 14:46 ` Willian Rampazzo
2021-06-01 3:40 ` Philippe Mathieu-Daudé
2021-07-02 14:48 ` Philippe Mathieu-Daudé [this message]
2021-07-03 18:24 ` Willian Rampazzo
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=225d9dd2-bb78-7399-e2b5-30a43d90a61d@amsat.org \
--to=f4bug@amsat.org \
--cc=crosa@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wainersm@redhat.com \
--cc=wrampazz@redhat.com \
/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).