Bug 1206059
| Summary: | support testinfo.desc Environment in restraint | ||
|---|---|---|---|
| Product: | [Retired] Restraint | Reporter: | Dan Callaghan <dcallagh> |
| Component: | general | Assignee: | Matt Tyson 🤬 <mtyson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Roman Joost <rjoost> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 0.1.18 | CC: | asavkov, bpeck, dcallagh, jburke, mprchlik, mtyson, rjoost |
| Target Milestone: | 0.1.35 | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-24 23:49:44 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: | |
| Embargoed: | |||
|
Description
Dan Callaghan
2015-03-26 08:59:41 UTC
What are the chances of getting this feature implemented? In BaseOS CI, it was recently pointed out that its jobs - which use restraint to run the tests - ignored "AVC_ERROR=+no_avc_check" passed in rpm's testinfo.desc, and we found out it is indeed imperfection of restraint. As it's quite a common way of disabling AVC denials checks during runtime of the test, we'd appreciate the implementation of this feature. If the same environment variable is defined in both the job XML and testinfo.desc, which has the higher priority? It should be: a task parameter in the job XML overrides a testinfo.desc Environment setting. You could dig through beah's implementation to verify that this is true for beah (we would want restraint to follow beah's behaviour in this regard). |