Exits with the correct error code now:

bionic-arhhf$ stress-ng --rmap 10 -t 5 
stress-ng: info:  [7937] dispatching hogs: 10 rmap
stress-ng: info:  [7937] cache allocate: using built-in defaults as unable to 
determine cache details
stress-ng: fail:  [7939] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7940] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7938] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7943] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7941] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7944] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7942] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7946] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: error: [7937] process [7938] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7939] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7940] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7941] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7942] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7943] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7944] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: fail:  [7945] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: fail:  [7947] stress-ng-rmap: fallocate failed, errno=27 (File too 
large)
stress-ng: error: [7937] process [7945] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7946] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: error: [7937] process [7947] (stress-ng-rmap) aborted early, out of 
system resources
stress-ng: info:  [7937] successful run completed in 0.07s
bionic-arhhf$ echo $?
3

3 = EXIT_NO_RESOURCE


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1845005

Title:
  rmap stressor should return EXIT_NO_RESOURCE when out of free space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1845005/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to