On Mon, 18 May 2026 at 16:22, Tatrai, Peter via lists.openembedded.org <[email protected]> wrote: > QemuRunner writes boot console output to logfile + '.2' (the primary > serial port). The primary logfile path (without extension) is used for > the secondary serial port and may not exist if QEMU does not open it. > > testimage_main crashed with FileNotFoundError at open(bootlog) when > results.wasSuccessful() returned False, because the file was absent. > > Fall back to the '.2' variant when the primary file does not exist. > Wrap open() in a try/except OSError so a missing log emits a warning > instead of aborting the task.
Which are the conditions that trigger this? Presumably you're seeing this locally, I do wonder if there's a deeper issue here, and trying a different log file would just obscure it. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237435): https://lists.openembedded.org/g/openembedded-core/message/237435 Mute This Topic: https://lists.openembedded.org/mt/119373684/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
