Hi Richard,
Thank you for these updates.
I received Bug 16410 Friday and was trying to testing it but was blocked by
CloudFlare causing illegal requests with every Layer Index API request.
I contacted Michael about this and received this reply Saturday:
Michael: I've just adjusted the rules. Please let me know if the issue
is resolved. If not can you help me track down the issue by generating some
Forbidden responses and sending your IP address?
I will run the tests you recommend that let you know what I find.
David
-----Original Message-----
From: Richard Purdie <[email protected]>
Sent: Sunday, August 30, 2026 12:02 AM
To: Reyna, David <[email protected]>; [email protected]
Cc: MacLeod, Randy <[email protected]>
Subject: Toaster tweaks
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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6175): https://lists.yoctoproject.org/g/toaster/message/6175
Mute This Topic: https://lists.yoctoproject.org/mt/120996174/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-