flock stress test exits with code 7
Bug #2016966 reported by
Ike Panhc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stress-ng |
Triaged
|
High
|
Colin Ian King |
Bug Description
Just as bug 1999731 and we have similiar problem with flock stressor and sometimes (<10%) it exits with return value 7.
$ ./stress-ng --flock 0 -t 240
stress-ng: info: [43524] setting to a 240 second (4 mins, 0.00 secs) run per stressor
stress-ng: info: [43524] dispatching hogs: 48 flock
stress-ng: warn: [43617] flock: WARNING: bogo-ops counter in non-ready state, metrics are untrustworthy (process may have been terminated prematurely)
stress-ng: info: [43524] passed: 47: flock (47)
stress-ng: info: [43524] failed: 1: flock (1)
stress-ng: info: [43524] skipped: 0
stress-ng: info: [43524] successful run completed in 240.14s (4 mins, 0.14 secs)
$ echo $?
7
Changed in stress-ng: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
To post a comment you must log in.
Here is the suggested fix. I have applied this patch on stress-ng commit c3d4a218 and it passes 300 times flock stress run.