-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stressors disabled by stress-ng should be skipped, as they return 1 and mark the jobs as failed instead #1173
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1383.
|
Me and @stanley31huang found that the latest verstion of stress-ng fixes this issue which means that return code is 0.
|
I built checkbox snap with stress-ng v0.17.07. All jobs are passed now (except something are crashed). |
Enhancement Proposal
On some devices, some stress-ng related tests are marked as failed. When reviewing the results, the output looks like this:
It looks like stress-ng decides to disable this stressor when it is executed. Instead of running this (and getting an exit code of
1
sent by strss-ng), the stress-ng-stressors resource job should be modified so that each stressor have astatus
field set toenabled
ordisabled
, so that the template job can ignore stressors that have thedisabled
status.Currently, stress-ng-stressors job simply returns the names of each stressor:
It should, instead, return something like:
The text was updated successfully, but these errors were encountered: