All of lore.kernel.org
 help / color / mirror / Atom feed
* Toaster tweaks
@ 2026-08-30  7:01 Richard Purdie
  2026-08-31  7:11 ` Reyna, David
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2026-08-30  7:01 UTC (permalink / raw)
  To: Reyna, David, toaster@lists.yoctoproject.org; +Cc: Randy MacLeod

Hi All,

We've noticed toaster was failing more frequently on the autobuilder. I
did a little digging as I wanted to understand why.

Problem 1:

I broke one of the scripts, fixed here:

https://git.openembedded.org/bitbake/commit/?id=75c85c54d9bcc5b732459bef183bab79db00c843

Problem 2:

The layer index has some data the code doesn't like after recent index
changes. I hacked around it:

https://git.openembedded.org/bitbake/commit/?id=74d8b3ad3fe2ce43860819fbb934bbc70cc14b56

We really could do with a better fix for that but this unblocks tests.

Problem 3:

Flaky tests, at least locally:

https://git.openembedded.org/bitbake/commit/?id=3e63c225d8e107526c4b4c8ccb5a85720c665ca1

There are probably more places we need this change. I've also realised
this doesn't fix all the failures I can see locally as the viewport may
end up in the wrong place. I have further local changes which I might
try and clean up next week. We need to continually improve this kind of
issue.

Problem 4:

Our version of django is out of support. I do have a patch from
"django-upgrade" in testing which I could send out for others to
test/review. I'm not 100% convinced by it yet.




For those new to toaster, you can run the tests locally with:

pip install -r ../layers/bitbake/toaster-requirements.txt -r ../layers/bitbake/lib/toaster/tests/toaster-tests-requirements.txt
mkdir toaster_logs
pytest -c ../layers/bitbake/lib/toaster/pytest.ini ../layers/bitbake/lib/toaster/tests/

or an individual test file as:

pytest -c ../layers/bitbake/lib/toaster/pytest.ini ../layers/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py


Cheers,

Richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-01 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-30  7:01 Toaster tweaks Richard Purdie
2026-08-31  7:11 ` Reyna, David
2026-09-01 23:21   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.