oeqa runtime parselogs: BeaglePlay and KV260 genericarm64 workarounds
v2 cover oeqa runtime parselogs: BeaglePlay and KV260 genericarm64 workarounds
These two have not been merged so sending again.
Mikko Rapeli (2):
oeqa runtime parselogs: workaround current TI BeaglePlay warnings oeqa runtime parselogs: ignore KV260 USB error on genericarm64
.../cases/parselogs-ignores-genericarm64.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Signature · 1 line
2.34.1
PATCH v2 1/2 oeqa runtime parselogs: workaround current TI BeaglePlay warnings
On genericarm64 machine, parselogs test is currently failing due to these error messages. They don't seem to affect functionality so ignore them for now.
--- .../cases/parselogs-ignores-genericarm64.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+)
v2: no changes
v1: https://lists.yoctoproject.org/g/poky/message/13828
meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt +13 -0
@@ -33,6 +33,19 @@ deferred probe pending: xilinx-psgtr: Failed to get ref clock # small issue in devicetree OPP table can't be empty +# TI BeaglePlay +# firmware device setup error +Failed to create device link (0x180) with supplier 600000.gpio +# USB driver error messages but stack works +dwc3-usb: error -EINVAL: invalid resource +dwc3-usb: can't map PHY IOMEM resource. Won't apply i2409 fix. +# wl18xx firmware load error, not available from linux-firmware +wl18xx_driver wl18xx.6.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed +wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin +# Audio SOC driver error messages +davinci-mcasp 2b10000.audio-controller: ASoC error (-22): at snd_soc_dai_hw_params +davinci-mcasp.0-i2s-hifi: ASoC error (-22): at __soc_pcm_hw_params() on davinci-mcasp.0-i2s-hifi + # NXP imx8mp verdin with u-boot 2025.10rc2 # RTC detection issue oscillator failed, set time!
Signature · 1 line
2.34.1
PATCH v2 2/2 oeqa runtime parselogs: ignore KV260 USB error on genericarm64
In reply to Mikko RapeliOn AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but continues and USB stack works so ignore the error:
usb 1-1: device descriptor read/64, error -71
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 5 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
https://lists.yoctoproject.org/g/automated-testing/message/1525
--- .../lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt | 2 ++ 1 file changed, 2 insertions(+)
v2: no changes
v1: https://lists.yoctoproject.org/g/poky/message/13836
meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt +2 -0
@@ -10,6 +10,8 @@ Error applying setting, reverse things back Can't lookup blockdev # X11 fails to start without connected display modeset(0): failed to set mode: Invalid argument +# minor USB setup issue +device descriptor read/64, error # Rockpi4b with u-boot 2025.10rc2 based firmware memory-controller: probe with driver rk3399-dmc-freq failed with error
Signature · 1 line
2.34.1
Re: [poky] [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64
Quoted 10 lines · Mikko Rapeli via lists.yoctoproject.org
On AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but continues and USB stack works so ignore the error:
usb 1-1: device descriptor read/64, error -71
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 5 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
Quoted 3 lines
https://lists.yoctoproject.org/g/automated-testing/message/1525
Signed-off-by Mikko Rapeli <[email protected]>
I'm sure people will tell me I should just merge these and we move on.
Before I do that, I want to be really clear that this approach really isn't great. It amounts to "oh, we have errors we don't even understand but we'll just ignore them and hope for the best". Should we even bother with the test if we're just going to ignore anything it shows up?
I appreciate Mikko can't go and fight the world on issues like this and this isn't directed at him, it is just a general frustration with the "quality" of where software seems to be going.
Where do we draw the line if we're just going to ignore any error?
Cheers,
Richard
Re: [poky] [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64
Hi,
Quoted 23 lines · Richard Purdie
Quoted 10 lines · Mikko Rapeli via lists.yoctoproject.org
On AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but continues and USB stack works so ignore the error:
usb 1-1: device descriptor read/64, error -71
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 5 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detectedQuoted 3 lines
https://lists.yoctoproject.org/g/automated-testing/message/1525
Signed-off-by Mikko Rapeli <[email protected]>I'm sure people will tell me I should just merge these and we move on.
Before I do that, I want to be really clear that this approach really isn't great. It amounts to "oh, we have errors we don't even understand but we'll just ignore them and hope for the best". Should we even bother with the test if we're just going to ignore anything it shows up?
Quoted 5 lines
I appreciate Mikko can't go and fight the world on issues like this and this isn't directed at him, it is just a general frustration with the "quality" of where software seems to be going.
Where do we draw the line if we're just going to ignore any error?
I think the maintainers needs to decide.
I maintain yocto genericarm64 testing on real target HW like the AMD KV260 and thus I've decided that I accept these workarounds. These changes do not impact other SW or maintainers in meta-yocto git repo so I think applying the commit is safe.
The parselogs test is really good, too good infact, in finding issues coming from DUT HW, lab setup with DUT, firmware, kernel and rest of the high level yocto
based OS image. Since my maintenance time is limited I need to
decide which issues to fix and which to just accept. It is ok to challenge my decisions and especially help with fixing the actual root causes. Any HW vendors, please step in to help!
I have been able to fix DUT HW setup issues for example by adding dummy HDMI adapters so that Xorg startup completes, fix firmware and kernel issues for some of the devices like Xorg 16bpp graphics output, and fix higher level oddities like systemd udev breakages so I do some analysis and try fix issues before adding these workarounds.
Another aspect is the reuse of oeqa runtime tests in other environments and genericarm64 showing an example how to do that in the imperfect world. I would like to see more of this since they are actually pretty good basis for doing CI and on target testing. But that testing environment is complex and target HW and firmware by definition unstable since they are under development, even after vendors ship the HW and provide the BSP SW adaptations. Thus these layer specific ignore lists are likely needed in custom environments to get basic set of tests working and to stop new issues from popping up, which is actually really important. It is important to get stable testing results and it is important to find bugs and fixes for them. The parselogs findings are sometimes rare oddities but sadly common with real HW, firmware and yocto based OSes. That world is never perfect black and white, the gray zone is quite thick. That is where parselogs ignore lists fit, into the gray zone when someone needs make something imperfect but usable to produce reliable pass or fail results in testing.
Cheers,
-Mikko
Re: [poky] [PATCH v2 2/2] oeqa runtime parselogs: ignore KV260 USB error on genericarm64
Quoted 46 lines · Mikko Rapeli
Hi,
Quoted 23 lines · Richard Purdie
Quoted 10 lines · Mikko Rapeli via lists.yoctoproject.org
On AMD KV260 the USB 1-1 driver sometimes throws this new warning at boot but continues and USB stack works so ignore the error:
usb 1-1: device descriptor read/64, error -71
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 5 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detectedQuoted 3 lines
https://lists.yoctoproject.org/g/automated-testing/message/1525
Signed-off-by Mikko Rapeli <[email protected]>I'm sure people will tell me I should just merge these and we move on.
Before I do that, I want to be really clear that this approach really isn't great. It amounts to "oh, we have errors we don't even understand but we'll just ignore them and hope for the best". Should we even bother with the test if we're just going to ignore anything it shows up?
Quoted 5 lines
I appreciate Mikko can't go and fight the world on issues like this and this isn't directed at him, it is just a general frustration with the "quality" of where software seems to be going.
Where do we draw the line if we're just going to ignore any error?
I think the maintainers needs to decide.
I maintain yocto genericarm64 testing on real target HW like the AMD KV260 and thus I've decided that I accept these workarounds. These changes do not impact other SW or maintainers in meta-yocto git repo so I think applying the commit is safe.
The parselogs test is really good, too good infact, in finding issues coming from DUT HW, lab setup with DUT, firmware, kernel and rest of the high level yocto
based OS image. Since my maintenance time is limited I need to
decide which issues to fix and which to just accept. It is ok to challenge my decisions and especially help with fixing the actual root causes. Any HW vendors, please step in to help!
Quoted 5 lines
I have been able to fix DUT HW setup issues for example by adding dummy HDMI adapters so that Xorg startup completes, fix firmware and kernel issues for some of the devices like Xorg 16bpp graphics output, and fix higher level oddities like systemd udev breakages so I do some analysis and try fix issues before adding these workarounds.
That is good to know, I knew you'd fixed some things but I am glad it it doesn't have a totally bad reputation!
Quoted 6 lines
Another aspect is the reuse of oeqa runtime tests in other environments and genericarm64 showing an example how to do that in the imperfect world. I would like to see more of this since they are actually pretty good basis for doing CI and on target testing. But that testing environment is complex and target HW and firmware by definition unstable since they are under development, even after vendors ship the HW and provide the BSP SW adaptations. Thus
Quoted 8 lines
these layer specific ignore lists are likely needed in custom environments to get basic set of tests working and to stop new issues from popping up, which is actually really important. It is important to get stable testing results and it is important to find bugs and fixes for them. The parselogs findings are sometimes rare oddities but sadly common with real HW, firmware and yocto based OSes. That world is never perfect black and white, the gray zone is quite thick. That is where parselogs ignore lists fit, into the gray zone when someone needs make something imperfect but usable to produce reliable pass or fail results in testing.
The higher level software tests struggle with many of the same issues. We're slowly winning there but it has taken a lot to get to where we are. Definitely worthwhile in the long run though.
Cheers,
Richard