Comment 0 for bug 457559

Revision history for this message
Marc Tardif (cr3) wrote : Checkbox CLI sometimes doesn't support specifying suites

After running Checkbox CLI for a second time, specifying 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'