Fix 3 Python test cases
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | support/testing/tests/package/test_python_boto3: use ext2 instead of cpiosupport/ | +12 | 2 replies | |
| 2/3 | support/testing/tests/package/test_python_botocore: use ext2 instead of cpiosupport/ | +12 | 0 replies | |
| 3/3 | support/testing/tests/package/test_python_s3transfer: use ext2 instead of cpiosupport/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/3] Fix 3 Python test cases
Hello,
This small patch series fixes 3 Python test cases. They fail because we use an initramfs in all Python tests (and in many other tests). The issue of initramfs is that if the initramfs filesystem grows too large, the kernel fails to decompress it, and simply continues booting with a partially uncompressed initramfs: some files are simply missing.
In this patch series, we fix just the 3 failing test cases, for the sake of having a reasonably minimal solution to apply in master. We switch those test cases to use an initramfs to using an ext2 image that is exposed by Qemu as a regular hard-drive.
Long term, we probably want to switch all tests to using this strategy, so that we don't face a weird limit caused by initramfs. That being said, there is no silver bullet: even if we switch to ext2, we will have to define, for each test, the size of the ext2 filesystem image. So there will still be some sort of arbitrary limit that will have to be tweaked from time to time as a given test grows in size (more dependencies, dependencies growing, etc.).
Best regards,
Thomas Petazzoni
Thomas Petazzoni (3):
support/testing/tests/package/test_python_boto3: use ext2 instead of
cpio
support/testing/tests/package/test_python_botocore: use ext2 instead
of cpio
support/testing/tests/package/test_python_s3transfer: use ext2 instead
of cpio
support/testing/tests/package/test_python_boto3.py | 12 ++++++++++++ .../testing/tests/package/test_python_botocore.py | 12 ++++++++++++ .../testing/tests/package/test_python_s3transfer.py | 12 ++++++++++++ 3 files changed, 36 insertions(+)
Signature · 6 lines
2.37.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot