Bug 1043517 - v7 cannot handle yum errors
Summary: v7 cannot handle yum errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.6.5
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On: 906787
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-16 14:24 UTC by Greg Nichols
Modified: 2015-06-25 17:27 UTC (History)
4 users (show)

Fixed In Version: hwcert-client 1.6.5-20131219
Doc Type: Bug Fix
Doc Text:
Clone Of: 906787
Environment:
Last Closed: 2014-05-21 19:19:33 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0532 0 normal SHIPPED_LIVE hwcert-client-1.6.5 bug fix and enhancement update 2014-05-21 23:18:09 UTC

Comment 3 Brian Brock 2014-04-14 18:56:02 UTC
if a yum repo is disabled for the distro, hwcert-backend plan will complain once (and only once).  Running hwcert-backend plan again, as well as running tests which depend on the missing rpm does not cause hwcert-client to attempt to download the missing packages.  No complaint is given about the missing packages, beyond the initial `plan`

This means that if a repo is initially disabled or temporarily unavailable, the hwcert-client tests fail even after the repo is made available again.  So it's not really handling the yum error.  It's simply ignoring the error once, and then never running anything which might trigger it.

Comment 4 Greg Nichols 2014-04-15 00:12:21 UTC
I'm not sure what you're asking.

And "hwcert-backend plan" will ask everytime a new plan is created (after hwcert-backend clean).

hwcert-backend plan won't ask when it is re-run to check for hardware changes on an existing plan.  We could have it ask and warn every time (both new and re-check).  Is that what you're asking?   It seems as though that might get tiresome having it point out the missing packages repeated every cycle.

Comment 5 Greg Nichols 2014-04-15 00:33:39 UTC
Also, "hwcert" asks each time following submit and/or save of the current test results.

Comment 8 errata-xmlrpc 2014-05-21 19:19:33 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-0532.html


Note You need to log in before you can comment on or make changes to this bug.