debvm 0.3 autopkgtest fails: Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file

Bug #2064921 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debvm (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The autopkgtest fails:

```
Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "ftpmaster.internal_ubuntu_dists_oracular_universe_source_Sources"
mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
```

Full log: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/amd64/d/debvm/20240503_075137_28b17@/log.gz

This can be fixed by increasing the image size from 1G to 2G.

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

On a created noble VM:

```
root@testvm:~# df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 96M 616K 96M 1% /run
/dev/vda 2.0G 1.1G 705M 62% /
tmpfs 479M 0 479M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
```

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

```
# du -ht 50M /
77M /boot
56M /usr/lib/x86_64-linux-gnu
106M /usr/lib/modules/6.8.0-31-generic/kernel/drivers
147M /usr/lib/modules/6.8.0-31-generic/kernel
154M /usr/lib/modules/6.8.0-31-generic
154M /usr/lib/modules
78M /usr/lib/firmware/mellanox
72M /usr/lib/firmware/mrvl/prestera
78M /usr/lib/firmware/mrvl
59M /usr/lib/firmware/qcom
481M /usr/lib/firmware
721M /usr/lib
780M /usr
86M /var/lib/dpkg
170M /var/lib/apt/lists
170M /var/lib/apt
257M /var/lib
266M /var
1.1G /
```

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

Installed-Size:

linux-firmware: 473705
linux-image-6.8.0-31-generic: 14604
linux-modules-extra-6.8.0-31-generic: 109988

These three packages already consume 598,297 KB. So I suggest to increase the default size to 2G.

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

An alternative is to avoid installing the linux-firmware and linux-modules-extra on Ubuntu.

Benjamin Drung (bdrung)
Changed in debvm (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debvm - 0.3ubuntu1

---------------
debvm (0.3ubuntu1) oracular; urgency=medium

  * tests/create-and-run.sh: Increase timeout by 300 seconds (for ppc64el)
    (LP: #2046544)
  * debvm-create: Increase default VM size to 2G (LP: #2064921)

 -- Benjamin Drung <email address hidden> Wed, 08 May 2024 12:01:35 +0200

Changed in debvm (Ubuntu):
status: Fix Committed → 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.