zero-possible test in test_030_mmap_min from ubuntu_qrt_kernel_security failed with ARM64k

Bug #2002503 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QA Regression Testing
Fix Released
Undecided
Unassigned
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

Issue spotted after bug 1931393 has been fixed with https://git.launchpad.net/qa-regression-testing/commit/?id=7e4af649e18218e8ce0afeba4a6e642db80cbab4

The zero-possible test in test_030_mmap_min will fail with:
$ sudo ./zero-possible 32768
Testing lower 32768 bytes in 65536 byte chunks: pass (could not allocate memory)
Testing 65536 byte chunk above 32767: pass (able to allocate memory)
$ echo $?
0

However this is expected to fail:
  # Test that zero is still possible
  self.assertShellExitEquals(1, ["./zero-possible", '%d' % (mmap_limit)], msg="Unable to allocate zero-page when mmap_min_addr set to 0!\n")

And thus causing the test_030_mmap_min to fail.

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :
Po-Hsu Lin (cypressyew)
Changed in qa-regression-testing:
status: New → In Progress
Po-Hsu Lin (cypressyew)
Changed in qa-regression-testing:
status: In Progress → Fix Committed
Ubuntu One (canonica1)
Changed in ubuntu-kernel-tests:
status: New → In Progress
Ubuntu One (canonica1)
Changed in qa-regression-testing:
status: Fix Committed → Incomplete
Po-Hsu Lin (cypressyew)
Changed in qa-regression-testing:
status: Incomplete → Fix Committed
Changed in ubuntu-kernel-tests:
status: In Progress → New
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified on all affected kernels, hints removed.
Thanks!

Changed in ubuntu-kernel-tests:
status: New → Fix Released
Changed in qa-regression-testing:
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.