group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #15620
[Bug 1710868] Re: memory-hotplug test needs to be fixed
** Also affects: linux (Ubuntu Artful)
Importance: Undecided
Assignee: Po-Hsu Lin (cypressyew)
Status: In Progress
** Also affects: linux (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Zesty)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1710868
Title:
memory-hotplug test needs to be fixed
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Xenial:
New
Status in linux source package in Zesty:
New
Status in linux source package in Artful:
In Progress
Bug description:
SRU Justification:
Impact:
The memory-hotplug test in the kernel tree (tools/testing/selftests/memory-hotplug/) needs to be fixed:
1. The test will pass even the memory blocks are failed to be offlined [1].
2. It's using a random number generator to decide if each memory block needs to be offlined, which is not ideal for testing as the block it tries to unplug might be different between two runs.
3. The "-r" flag, percent-of-memory-to-offline, does not match what is says. It's being used as the percentage to get a memory block offlined instead.
Fix:
Apply the following patch from upstream can fix these issues:
593f9278 - selftests: typo correction for memory-hotplug test
a34b28c9 - selftests: check hot-pluggagble memory for memory-hotplug test
72441ea5 - selftests: check percentage range for memory-hotplug test
02d8f075 - selftests: add missing test name in memory-hotplug test
5ff0c60b - selftests: fix memory-hotplug test
Testcase:
Run the script directly, it will fail when all memory blocks are busy. And it will try to unplug memory blocks in a fixed order.
Regression Potential:
Negligible, it's just affecting this specific test case among those testing tools.
[1] https://paste.ubuntu.com/25318445/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1710868/+subscriptions