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 (#6174): https://lists.yoctoproject.org/g/toaster/message/6174
Mute This Topic: https://lists.yoctoproject.org/mt/120996174/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to