qemu-devel
[Top][All Lists]
Advanced

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

Re: Problem with Avocado and QEMU console


From: Willian Rampazzo
Subject: Re: Problem with Avocado and QEMU console
Date: Mon, 3 May 2021 11:46:09 -0300

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]