Checkbox dependencies sometimes fail when dependents aren't available

Bug #430051 reported by Marc Tardif on 2009-09-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Marc Tardif

Bug Description

Sometimes, the depends attribute in a test definition might point to a test name which either doesn't meet requirements or simply doesn't exist. The current behavior produces the following traceback which results in no tests being run. Instead, only that test should be skipped.

Traceback (most recent call last):
  File "/srv/", line 89, in fire
    results.append(handler(*args, **kwargs))
  File "/srv/", line 87, in prompt_tests
    self._iterator = JobIterator(tests, self._manager.registry)
  File "/srv/", line 103, in __init__
    iterator = DependsIterator(iterator, compare)
  File "/srv/", line 41, in __init__
    depends = [element_dict[d] for d in depends]
KeyError: 'cd-dvd/cdrom-read'

Related branches

Marc Tardif (cr3) on 2009-09-15
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
importance: Undecided → High
milestone: none → 0.8-alpha6
status: New → Fix Committed
Marc Tardif (cr3) on 2009-10-14
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers