All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] Fix 3 Python test cases
@ 2022-08-15 21:48 Thomas Petazzoni via buildroot
  2022-08-15 21:48 ` [Buildroot] [PATCH 1/3] support/testing/tests/package/test_python_boto3: use ext2 instead of cpio Thomas Petazzoni via buildroot
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-08-15 21:48 UTC (permalink / raw)
  To: Buildroot List, Yann E. MORIN, Romain Naour,
	Raphaël Mélotte
  Cc: Thomas Petazzoni

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(+)

-- 
2.37.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-08-16 20:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-15 21:48 [Buildroot] [PATCH 0/3] Fix 3 Python test cases Thomas Petazzoni via buildroot
2022-08-15 21:48 ` [Buildroot] [PATCH 1/3] support/testing/tests/package/test_python_boto3: use ext2 instead of cpio Thomas Petazzoni via buildroot
2022-08-16 16:26   ` Yann E. MORIN
2022-08-16 20:42     ` Thomas Petazzoni via buildroot
2022-08-15 21:48 ` [Buildroot] [PATCH 2/3] support/testing/tests/package/test_python_botocore: " Thomas Petazzoni via buildroot
2022-08-15 21:48 ` [Buildroot] [PATCH 3/3] support/testing/tests/package/test_python_s3transfer: " Thomas Petazzoni via buildroot
2022-08-16 20:59 ` [Buildroot] [PATCH 0/3] Fix 3 Python test cases Yann E. MORIN

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.