** Description changed:

  [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]
  
- Increase the size to 1Gb.
+ 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.
- 
- 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.

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Fix Committed

** Changed in: initramfs-tools (Ubuntu)
       Status: Fix Committed => Fix Released

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2027575

Title:
  autopkgtest net is failing on 6.2 kernels with 'System is deadlocked
  on memory'

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  New
Status in initramfs-tools source package in Lunar:
  New

Bug 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.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2027575/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to