#217: autoqa job failures ---------------------+------------------------------------------------------ Reporter: jlaska | Owner: Type: defect | Status: new Priority: major | Milestone: Hot issues Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Comment (by wwoods):
Replying to [ticket:217 jlaska]:
{{{ File "/usr/share/autotest/site_tests/rpmlint/rpmlint.py", line 70, in run_once collection_name = repoinfo.getrepo_by_tag(kojitag)['collection_name'] TypeError: 'NoneType' object is unsubscriptable }}}
This says two things to me: 1. `repoinfo.getrepo_by_tag(kojitag)` is returning `None`, which probably means the koji tag is not present in `repoinfo.conf`. So what's the koji tag for this test? 1. The test should more gracefully handle this failure: {{{ repo = repoinfo.getrepo_by_tag(kojitag) if repo is None: raise error.TestError("Could not find repoinfo for koji tag: %s" % kojitag") }}}