| Summary: | [RFE] create a --fail-on-warning option | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Greeshma Gopinath <ggopinat> | ||||
| Component: | rteval | Assignee: | John Kacur <jkacur> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Jiri Kastner <jkastner> | ||||
| Severity: | unspecified | Docs Contact: | Jana Heves <jsvarova> | ||||
| Priority: | medium | ||||||
| Version: | 7.2 | CC: | bhu, jen, jkacur, williams | ||||
| Target Milestone: | rc | Keywords: | FutureFeature | ||||
| Target Release: | 7.4 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: |
This is part one of a fix to prevent tests from failing silently. We would rather have rteval exit with an error, instead of user getting unrealistic test results.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-04-10 18:14:09 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1442258 | ||||||
| Attachments: |
|
||||||
|
Description
Greeshma Gopinath
2016-09-28 18:45:43 UTC
I have no problems adding a --fail-on-warn option in the NFV/7.4 release timeframe. I see that in the particular case of hackbench, if there is an OSError due to not enough memory, hackbench is sleeping and waiting to see if some memory is freed up, which might be okay in a server environment, but not what we want in a low-memory environment. This might be more the source of your problem, so I'm investigating whether there is a solution other than the proposed one. Created attachment 1339246 [details]
Remove hack that sleeps if out-of-memory launching hackbench
It appears that this is of no help in a server environment either, so the solution is to remove this code and let rteval fail with an OSError due to not enough memory. Fixed in 2.14-4 and up Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0969 |