Checkbox dependencies sometimes fail when dependents aren't available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
High
|
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/trunk.
results.
File "/srv/trunk.
self._iterator = JobIterator(tests, self._manager.
File "/srv/trunk.
iterator = DependsIterator
File "/srv/trunk.
depends = [element_dict[d] for d in depends]
KeyError: 'cd-dvd/cdrom-read'
Related branches
Changed in checkbox: | |
assignee: | nobody → Marc Tardif (cr3) |
importance: | Undecided → High |
milestone: | none → 0.8-alpha6 |
status: | New → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |