Improve pytest runtime
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 1 replyIn review
- v110 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | test/py: Rework test_cat to not use virt-make-fstest/ test/ test/ | +37 | 0 replies | |
| 2/10 | test/py: Rework test_xxd to not use virt-make-fstest/ test/ test/ | +40 | 0 replies | |
| 3/10 | test/py/tests: Move "setup_image" from test_ut.py to fs_helper.pytest/ test/ | +38 | 0 replies | |
| 4/10 | test/py: Fix a problem with setup_imagetest/ | +1 | 0 replies | |
| 5/10 | test/py: Rework test_efi_bootmgr to not use virt-make-fstest/ test/ test/ | +70 | 0 replies | |
| 6/10 | test/py: Rework test_eficonfig to not use virt-make-fstest/ test/ | +46 | 0 replies | |
| 7/10 | test/py: Rework test_efi_capsule to not use virt-make-fstest/ test/ | +26 | 0 replies | |
| 8/10 | test/py: Rework test_efi_secboot to not use virt-make-fstest/ | +25 | 0 replies | |
| 9/10 | doc/develop/py_testing.rst: Update section on filesystem imagesdoc/ | +6 | 0 replies | |
| 10/10 | Dockerfile: Update to drop virt-make-fs packagestools/ | +0 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | Ilias Apalodimas |
|---|---|
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | A-b |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] Improve pytest runtime
Hey all,
One thing that Simon Glass has noted is that our pytest run time keeps getting longer. Looking at:
https://source.denx.de/u-boot/u-boot/-/pipelines/25011/test_report?job_name=sandbox%20test.py%3A%20%5Bfast%20amd64%5D
we can see that some of the longest running tests are a little puzzling. It turns out that we have two ways of making filesystem images without requiring root access and one of them is significantly slower than the other. This series changes us from using virt-make-fs to only using the mk_fs helper that currently resides in test_ut.py which uses standard userspace tools. The final result can be seen at:
https://source.denx.de/u-boot/u-boot/-/pipelines/25015/test_report?job_name=sandbox%20test.py%3A%20%5Bfast%20amd64%5D
and the tests changed here now run much quicker.
The changes in v2 are that this has been rebased on top of current -next.
Signature · 1 line
Tom