From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 5/5] qemurunner: Show both the login console log and all logging upon failure
Date: Thu, 5 Oct 2023 18:27:50 +0300 [thread overview]
Message-ID: <ZR7V9ogs9aV7Pqux@nuoska> (raw)
In-Reply-To: <d8836f8a7338be3a8653be54319e21133cb125d3.camel@linuxfoundation.org>
Hi,
On Wed, Oct 04, 2023 at 09:35:20PM +0100, Richard Purdie wrote:
> On Wed, 2023-10-04 at 22:34 +0300, Mikko Rapeli wrote:
> > Hi,
> >
> > On Wed, Oct 04, 2023 at 02:29:40PM +0100, Richard Purdie wrote:
> > > On Wed, 2023-10-04 at 16:07 +0300, Mikko Rapeli wrote:
> > > > Hi,
> > > >
> > > > Acked-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> > > >
> > > > for the full series. I hope our discussion over #yocto irc channel
> > > > helped resolve these and the test failures seen with master-next.
> > >
> > > Yes, thanks! It was useful to have someone to talk the issues through
> > > with and much appreciated.
> > >
> > > Sadly I don't think we've found all the issues yet.
> > >
> > > On the build N-1 we have a selftest failure on debian12-ty-1:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/5803/steps/14/logs/stdio
> >
> > Can I get from this test run stdio to the more detailed task, qemurunner or qemu boot logs somehow?
> > Or do you have to dig into the system manually to capture them, like in the example below?
> >
> > I would like to check into the detailed logs from both passing and failing test runs.
> > Of course kernel dmesg would need to be there so maybe after your patch to the runqemu
> > side at least.
> >
> > If there is a regression in kernel to the serial device detection and numbering,
> > then we need some way to see e.g. 8250 uart/tty0/ttyAMA0 related dmesg messages.
>
> I can't capture everything in time in each case but I did grab:
>
> https://autobuilder.yocto.io/pub/failed-builds-data/6.5%20kernel/e/
>
> which is from
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/7863/steps/21/logs/stdio
>
> which has this threads patches applied.
>
> I've put two sets of logs there from the same builds, one success, one
> is missing the getty on one log.
>
>
> I also have the logs from:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5848/steps/14/logs/stdio
>
> which I've saved here:
>
> https://autobuilder.yocto.io/pub/failed-builds-data/6.5%20kernel/f/
>
> noting that:�
>
> https://autobuilder.yocto.io/pub/failed-builds-data/6.5%20kernel/f/qemu_boot_log.20231004134427
>
> is 3 bytes in size.
All this is very confusing indeed. I sent another version of the detect login prompt without
utf-8 conversion, with some luck that could help. At least on some of the logs the login prompt
is there but with lots of garbage around it. Serial port core got refactored in 6.5 and diff to
6.4 is quite large so there could be bugs there, and those could be triggering new
errors visible to userspace too.
Cheers,
-Mikko
next prev parent reply other threads:[~2023-10-05 15:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-04 12:38 [PATCH 1/5] wic: Add console parameters to qemux86 canned-wks Richard Purdie
2023-10-04 12:38 ` [PATCH 2/5] qemurunner: Skip conversion from/to binary data for logfile Richard Purdie
2023-10-04 12:38 ` [PATCH 3/5] qemurunner: Use backslashreplace with utf8 to make invalid characters clear Richard Purdie
2023-10-04 12:38 ` [PATCH 4/5] qemurunner: Log the second serial console as well as the first Richard Purdie
2023-10-04 12:38 ` [PATCH 5/5] qemurunner: Show both the login console log and all logging upon failure Richard Purdie
2023-10-04 13:07 ` [OE-core] " Mikko Rapeli
2023-10-04 13:29 ` Richard Purdie
2023-10-04 19:34 ` Mikko Rapeli
2023-10-04 20:35 ` Richard Purdie
2023-10-05 15:27 ` Mikko Rapeli [this message]
2023-10-05 15:47 ` Richard Purdie
2023-10-06 7:51 ` Mikko Rapeli
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=ZR7V9ogs9aV7Pqux@nuoska \
--to=mikko.rapeli@linaro.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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