Checkbox CLI sometimes doesn't support selecting suites

Bug #457559 reported by Marc Tardif
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Marc Tardif

Bug Description

After running Checkbox CLI for a second time, selecting suites might result in the following error:

Select the suites to test

  a: Audio tests
* b: Automated benchmark testing
  c: Automated desktop testing
  d: Certification tests
  e: Compatibility tests
  f: Disk tests
  g: Fingerprint reader tests
  h: Firewire disk tests
  i: Kernel modesetting tests
  j: Linux test project
  k: Network tests
  l: Peripheral tests
  m: Video tests
   : Space when finished
Please choose (a/b/c/d/e/f/g/h/i/j/k/l/m/ ): a
2009-10-21 14:31:58,486 ERROR Error running event handler None.SuitesPrompt.prompt_gather() for event type 'prompt-gather' with args (<checkbox_cli.cli_interface.CLIInterface object at 0x1c8e1d0>,) {}.
Traceback (most recent call last):
  File "/srv/trunk.certification.canonical.com/checkbox/checkbox/reactor.py", line 89, in fire
    results.append(handler(*args, **kwargs))
  File "../checkbox/plugins/suites_prompt.py", line 132, in prompt_gather
    sorted(suites_all), suites_default))
  File "/srv/trunk.certification.canonical.com/checkbox/checkbox_cli/cli_interface.py", line 223, in show_check
    results[result] = not results[result]
KeyError: u'Audio tests'

Related branches

Marc Tardif (cr3)
summary: - Checkbox CLI sometimes doesn't support specifying suites
+ Checkbox CLI sometimes doesn't support selecting suites
description: updated
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
importance: Undecided → Medium
status: New → Fix Committed
Marc Tardif (cr3)
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.