| Summary: | hwcert-backend: Dead loop occurs when trying to install require rpms if enable debug mode | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Dong Zhu <dZhu> | ||||
| Component: | Test Suite (harness) | Assignee: | Greg Nichols <gnichols> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.7 | CC: | bbrock, gnichols, qcai, rlandry | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | hwcert-client 1.7.0-20131210 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-07-05 17:49:39 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: | 1016295 | ||||||
| Attachments: |
|
||||||
|
Description
Dong Zhu
2013-12-06 03:42:54 UTC
Created attachment 835624 [details]
patch fix the dead loop issue when trying to install require rpms if enable debug mode
I can't reproduce this bug in hwcert-client 1.7.0-20131210. It's a result of bug 1038345 - the added comma on some of the package names created a situation where rpm -q didn't find the package, but yum found it to be already installed, returning 0. This created the loop because in mode auto, the iteration of installs only stops when yum fails to install the package. In addition, the problem with the proposed patch is that it will never try to install packages in --mode auto, which will cause multiple tests to fail. marking as verified in hwcert-client-1.7.0-20140207.el7 disabled the yum repo that contained dvd+rw-tools, uninstalled the package, ran `clean`, and then `plan`: [tail of output] This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. No package dvd+rw-tools available. Error: Nothing to do Error: could not install required packages. saved test plan to /var/hwcert/results.xml I get the same result without the "--debug low" flag. A valid plan is created, and a subsequent "run -t info" will attempt to run without complaint. |