Openembedded Core Discussions
 help / color / mirror / Atom feed
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: Wed, 4 Oct 2023 22:34:17 +0300	[thread overview]
Message-ID: <ZR2+Of26qhx9vRnv@nuoska> (raw)
In-Reply-To: <61c00ad09a90ebc9886e2ddee069f0817b0069e9.camel@linuxfoundation.org>

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.

Cheers,

-Mikko

> with these logs saved:
> 
> https://autobuilder.yocto.io/pub/failed-builds-data/6.5%20kernel/d/qemurunner_log.20231004022851
> https://autobuilder.yocto.io/pub/failed-builds-data/6.5%20kernel/d/qemu_boot_log.20231004022851
> 
> which suggest that ttyS1 never got any output but a getty did appear on
> ttyS0. I confirmed there were only two serial devices in that
> configuration. The exact image downloaded off that worker and run
> locally worked so it isn't the image, it has to be some kind of race.
> The image does have gettys configured for both serial ports. The kernel
> boot log isn't present which a patch in this series attempts to fix.
> 
> There was also:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5528/steps/13/logs/stdio
> 
> which looks again like a getty didn't show up on a serial port. We
> don't have more logs for that one but "Running postinst /etc/rpm-
> postinsts/100-sysvinit-inittab" worries Ross and I a bit. It may or may
> not be related.
> 
> That brings me to:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2199
> 
> which has two failures, I think both in commands run over the serial
> interface. These ones appear to be more reproducible on ARM.
> 
> I'm trying a new build run with this series applied to see if that
> helps shed any light on what is going on.
> 
> Cheers,
> 
> Richard
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


  reply	other threads:[~2023-10-04 19:34 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 [this message]
2023-10-04 20:35         ` Richard Purdie
2023-10-05 15:27           ` Mikko Rapeli
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=ZR2+Of26qhx9vRnv@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