2023-07-12 12:00:09 |
Roxana Nicolescu |
bug |
|
|
added bug |
2023-07-12 12:00:22 |
Roxana Nicolescu |
tags |
|
sru-20230612 sru-230230710 |
|
2023-07-12 12:00:29 |
Roxana Nicolescu |
nominated for series |
|
Ubuntu Jammy |
|
2023-07-12 12:00:29 |
Roxana Nicolescu |
bug task added |
|
initramfs-tools (Ubuntu Jammy) |
|
2023-07-12 12:00:29 |
Roxana Nicolescu |
nominated for series |
|
Ubuntu Lunar |
|
2023-07-12 12:00:29 |
Roxana Nicolescu |
bug task added |
|
initramfs-tools (Ubuntu Lunar) |
|
2023-07-12 12:29:47 |
Roxana Nicolescu |
description |
[Impact]
In debian/tests/run-image we instantiate an image with 512Mb of ram, but recent jammy/lunar 6.2 kernels need more than that.
Example of a test failure:
https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/i/initramfs-tools/20230619_135049_ab1cb@/log.gz
'net' test fails with a kernel panic due to out-of-memory.
[Fix]
Increase the size to 1Gb.
[Test Plan]
1. Download a lunar image:
$ autopkgtest-buildvm-ubuntu-cloud -v -a amd64 -r lunar
2. Run autotestpkg tests from initramfs-tools package. The "net" test is the one that depends on the image instantiated by 'run-image'. The testcase should complete successfully without the kernel panic.
$ autopkgtest initramfs-tools -- qemu autopkgtest-lunar-amd64.img
[Where problems could occur]
The usage of a larger image for the tests could fail if the the test system is low on ram size. |
[Impact]
In debian/tests/run-image we instantiate an image with 512Mb of ram, but recent jammy/lunar 6.2 kernels need more than that.
Example of a test failure:
https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/i/initramfs-tools/20230619_135049_ab1cb@/log.gz
'net' test fails with a kernel panic due to out-of-memory.
[Fix]
Increase the size to 1Gb.
[Test Plan]
1. Download a lunar image:
$ autopkgtest-buildvm-ubuntu-cloud -v -a amd64 -r lunar
2. Run autotestpkg tests from initramfs-tools package. The "net" test is the one that depends on the image instantiated by 'run-image'. The testcase should complete successfully without the kernel panic.
$ autopkgtest initramfs-tools -- qemu autopkgtest-lunar-amd64.img
[Where problems could occur]
The usage of a larger image for the tests could fail if the the test system is low on ram size.
Notes:
It seems Mantic already uses 1G, so nothing has to be changed there. I also tested it locally and I confirm it works as expected there. |
|
2023-07-12 12:38:03 |
Roxana Nicolescu |
attachment added |
|
lunar.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2027575/+attachment/5685716/+files/lunar.debdiff |
|
2023-07-12 13:35:28 |
Roxana Nicolescu |
attachment added |
|
jammy.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2027575/+attachment/5685721/+files/jammy.debdiff |
|
2023-07-12 16:17:25 |
Ubuntu Foundations Team Bug Bot |
tags |
sru-20230612 sru-230230710 |
patch sru-20230612 sru-230230710 |
|
2023-07-13 13:13:30 |
Benjamin Drung |
description |
[Impact]
In debian/tests/run-image we instantiate an image with 512Mb of ram, but recent jammy/lunar 6.2 kernels need more than that.
Example of a test failure:
https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/i/initramfs-tools/20230619_135049_ab1cb@/log.gz
'net' test fails with a kernel panic due to out-of-memory.
[Fix]
Increase the size to 1Gb.
[Test Plan]
1. Download a lunar image:
$ autopkgtest-buildvm-ubuntu-cloud -v -a amd64 -r lunar
2. Run autotestpkg tests from initramfs-tools package. The "net" test is the one that depends on the image instantiated by 'run-image'. The testcase should complete successfully without the kernel panic.
$ autopkgtest initramfs-tools -- qemu autopkgtest-lunar-amd64.img
[Where problems could occur]
The usage of a larger image for the tests could fail if the the test system is low on ram size.
Notes:
It seems Mantic already uses 1G, so nothing has to be changed there. I also tested it locally and I confirm it works as expected there. |
[Impact]
In debian/tests/run-image we instantiate an image with 512Mb of ram, but recent jammy/lunar 6.2 kernels need more than that.
Example of a test failure:
https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/i/initramfs-tools/20230619_135049_ab1cb@/log.gz
'net' test fails with a kernel panic due to out-of-memory.
It also relies on an existing and working cloud image. If the cloud image is not available, the test will silently succeed.
[Fix]
The net autopkgtest was ported to the common test framework in initramfs-tools 0.142ubuntu3. This makes the test more robust by relying on the minimum needed for the integration test.
[Test Plan]
Check that the autopkgtest succeed or test it manually:
1. Download a lunar image:
$ autopkgtest-buildvm-ubuntu-cloud -v -a amd64 -r lunar
2. Run autotestpkg tests from initramfs-tools package. The "net" test is the one that depends on the image instantiated by 'run-image'. The testcase should complete successfully without the kernel panic.
$ autopkgtest initramfs-tools -- qemu autopkgtest-lunar-amd64.img
[Where problems could occur]
The usage of a larger image for the tests could fail if the the test system is low on ram size. |
|
2023-07-13 13:13:49 |
Benjamin Drung |
initramfs-tools (Ubuntu): status |
New |
Fix Committed |
|
2023-07-13 13:13:51 |
Benjamin Drung |
initramfs-tools (Ubuntu): status |
Fix Committed |
Fix Released |
|
2023-07-13 13:13:54 |
Benjamin Drung |
initramfs-tools (Ubuntu): importance |
Undecided |
High |
|
2023-07-14 03:44:29 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Benjamin Drung |
2023-07-14 20:01:01 |
Steve Langasek |
initramfs-tools (Ubuntu Lunar): status |
New |
Fix Committed |
|
2023-07-14 20:01:02 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-07-14 20:01:05 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2023-07-14 20:01:07 |
Steve Langasek |
tags |
patch sru-20230612 sru-230230710 |
patch sru-20230612 sru-230230710 verification-needed verification-needed-lunar |
|
2023-07-14 20:02:30 |
Steve Langasek |
initramfs-tools (Ubuntu Jammy): status |
New |
Fix Committed |
|
2023-07-14 20:02:34 |
Steve Langasek |
tags |
patch sru-20230612 sru-230230710 verification-needed verification-needed-lunar |
patch sru-20230612 sru-230230710 verification-needed verification-needed-jammy verification-needed-lunar |
|
2023-07-16 11:22:10 |
Loïc Minier |
bug |
|
|
added subscriber Loïc Minier |
2023-07-16 13:57:54 |
Benjamin Drung |
tags |
patch sru-20230612 sru-230230710 verification-needed verification-needed-jammy verification-needed-lunar |
patch sru-20230612 sru-230230710 verification-done verification-done-jammy verification-done-lunar |
|
2023-07-28 09:55:56 |
Timo Aaltonen |
tags |
patch sru-20230612 sru-230230710 verification-done verification-done-jammy verification-done-lunar |
patch sru-20230612 sru-230230710 verification-done-jammy verification-needed verification-needed-lunar |
|
2023-07-28 09:56:33 |
Timo Aaltonen |
tags |
patch sru-20230612 sru-230230710 verification-done-jammy verification-needed verification-needed-lunar |
patch sru-20230612 sru-230230710 verification-needed verification-needed-jammy verification-needed-lunar |
|
2023-07-28 09:56:58 |
Timo Aaltonen |
tags |
patch sru-20230612 sru-230230710 verification-needed verification-needed-jammy verification-needed-lunar |
patch sru-20230612 sru-230230710 verification-done verification-done-jammy verification-done-lunar |
|
2023-08-08 19:54:59 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-08-08 19:55:14 |
Launchpad Janitor |
initramfs-tools (Ubuntu Lunar): status |
Fix Committed |
Fix Released |
|
2023-08-08 22:57:09 |
Launchpad Janitor |
initramfs-tools (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|