initramfs-tools: out-of-memory failures during autopkgtest

Bug #1990824 reported by Andrea Righi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

Some autopkgtest tests are failing due to out-of-memory conditions, especially amd64-ata-only and net.

It seems that we are creating a VM with 1GB only to run the amd64-ata-only test and even just 512MB for the net test.

It probably makes sense to create larger VMs (at least 2GB) to run these tests with a more recent kernels (that will likely require a little more RAM).

[Test case]

sudo autopkgtest . -- null

[Fix]

Increase memory size of instances used to run the autopkgtests to 2GB.

[Regression potential]

We may experience regressions in small cloud instances, or systems with less than 2GB or RAM that are using a recent kernel (but this is more a generic potential regression, not strictly related to initramfs-tools).

Tags: patch
Revision history for this message
Andrea Righi (arighi) wrote :

All the initramfs-tools autopkgtest tests seem to run fine on a recent kernel (5.19) with the debdiff in attach applied.

tags: added: patch
Revision history for this message
Benjamin Drung (bdrung) wrote :

I checked all failing autopkgtests on mantic and the most recent ones on lunar. I only saw the `net` autopkgtest fail (which use 512 MB). So only 512 MB was too small, but 1 GB was enough recently.

0.142ubuntu3 ported the net autopkgtest to the common test framework and uses 1 GB now. I am marking it as fixed released due to the 0.142ubuntu3 upload. Please reopen this bug in case this version starts to have failing autopkgtest or in case you disagree that 1 GB is enough.

Changed in initramfs-tools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.