Merge lp:~brendan-donegan/checkbox/bug926136_cpu_offlining into lp:checkbox
Proposed by
Brendan Donegan
Status: | Merged |
---|---|
Merged at revision: | 1372 |
Proposed branch: | lp:~brendan-donegan/checkbox/bug926136_cpu_offlining |
Merge into: | lp:checkbox |
Diff against target: |
54 lines (+13/-5) 2 files modified
debian/changelog (+3/-1) scripts/cpu_offlining (+10/-4) |
To merge this branch: | bzr merge lp:~brendan-donegan/checkbox/bug926136_cpu_offlining |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email: mp+103623@code.launchpad.net |
Description of the change
There were failures observed when running the cpu/offlining test on any system with more than ten cores. Turns out this was simply down to the grep used to check if the core was online not taking into account that CPU1 will also match on CPU11. Updated the grep to match a whole word only. Also changed the logic so that the script doesn't exit until the very end when all cores have been onlined again.
To post a comment you must log in.
This should take care of the problem essentially. Colin King suggested a few more sanity checks which we could do, but they aren't strictly necessary to fix the bug itself.