autopkgtest is failing on jammy with "no space left on device"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Critical
|
Dimitri John Ledkov | ||
Bionic |
Invalid
|
High
|
Kleber Sacilotto de Souza | ||
Focal |
Fix Released
|
High
|
Kleber Sacilotto de Souza | ||
Impish |
Fix Released
|
High
|
Kleber Sacilotto de Souza |
Bug Description
[Impact]
In debian/
Example of a test failure:
https:/
Maybe we should consider to create image files of 2GB or even bigger, considering that we are only going to allocate the space that is actually needed, because we create the file using truncate.
[Test Plan]
Run autotestpkg tests from initramfs-tools package. The "net" test is the one that depends on the image created by 'prep-image'. The testcase should complete successfully without the temporary image running out of space.
[Where problems could occur]
The creation of a larger image for the tests could fail if the filesystem of the test system is low on disk space. However, as mentioned before, as the image file is created using 'truncate', only the necessary space needed to uncompress the cloudimg will be used on the filesystem. Apart from that, we assume that 2GB of free space should be available on every test system used for Ubuntu autopkgtest.
Changed in initramfs-tools (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → Dimitri John Ledkov (xnox) |
tags: | added: patch |
Changed in initramfs-tools (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in initramfs-tools (Ubuntu Impish): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in initramfs-tools (Ubuntu Bionic): | |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
Changed in initramfs-tools (Ubuntu Focal): | |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
Changed in initramfs-tools (Ubuntu Impish): | |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
debdiff in attach can help to prevent this problem from happening (bumping up image file to 2GB).