stress-ng tests not handling timeout exit codes completely
Bug #1812262 reported by
Jeff Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Jeff Lane |
Bug Description
stress-ng tests use timeout to forcefully clean up should one of the stressors hang. This results in an exit of either 124 or 137, depending on whether SIGKILL was necessary to halt a process.
Currently, memory_stress-ng only catches 137, but there have been cases where 124 occurs too.
Need to modify memory-stress-ng to catch both errors.
Also need to review other scripts that call stress-ng (disk and cpu stress) to ensure they too catch both exit codes.
Related branches
~bladernr/plainbox-provider-checkbox:1812262-stress-ng-exit-code-catch
- Jonathan Cave (community): Approve
-
Diff: 59 lines (+19/-6)3 files modifiedbin/cpu_stress (+7/-2)
bin/disk_stress_ng (+6/-2)
bin/memory_stress_ng (+6/-2)
Changed in plainbox-provider-checkbox: | |
milestone: | 0.47.0 → 0.48.0 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
importance: | Undecided → Medium |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.