← Back to team overview

kernel-packages team mailing list archive

[Bug 1427151] Re: checkbox-cli does not start any jobs

 

** Also affects: linux-lts-trusty (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux-lts-saucy (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux-lts-saucy (Ubuntu)
       Status: New => Won't Fix

** No longer affects: linux-lts-saucy (Ubuntu)

** No longer affects: linux-lts-trusty (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-trusty in Ubuntu.
https://bugs.launchpad.net/bugs/1427151

Title:
  checkbox-cli does not start any jobs

Status in Checkbox - Command Line Test Runner:
  Confirmed

Bug description:
  
  Pacakges version:
  ubuntu@201312-14426:~$ dpkg -l|egrep 'checkbox|canonical|plainbox'
  ii  canonical-certification-client                        0.15+bzr3596+pkg47~ubuntu14.04.1                    all          Client Certification Launcher
  ii  checkbox-autostart-desktop                            0.2+bzr3596+pkg2~ubuntu14.04.1                      all          Automatic system testing for desktop systems
  ii  checkbox-gui                                          0.32+bzr3596+pkg16~ubuntu14.04.1                    amd64        QML based interface for system testing based on PlainBox.
  ii  checkbox-ng                                           0.18+bzr3596+pkg25~ubuntu14.04.1                    all          PlainBox based test runner
  ii  checkbox-ng-service                                   0.18+bzr3596+pkg25~ubuntu14.04.1                    all          CheckBox D-Bus service
  ii  plainbox-glmark2-es2-meta                             0.15+bzr3596+pkg47~ubuntu14.04.1                    amd64        metapackage to selectively install glmark2-es2
  ii  plainbox-insecure-policy                              0.20+bzr3596+pkg24~ubuntu14.04.1                    all          policykit policy required to use plainbox (insecure version)
  ii  plainbox-provider-certification-client                0.15+bzr3596+pkg47~ubuntu14.04.1                    all          Client Certification
  ii  plainbox-provider-checkbox                            0.19+bzr3596+pkg19~ubuntu14.04.1                    amd64        CheckBox provider for PlainBox
  ii  plainbox-provider-resource-generic                    0.17+bzr3596+pkg18~ubuntu14.04.1                    amd64        CheckBox generic resource jobs provider
  ii  python3-checkbox-ng                                   0.18+bzr3596+pkg25~ubuntu14.04.1                    all          PlainBox based test runner (Python 3 library)
  ii  python3-checkbox-support                              0.18+bzr3596+pkg19~ubuntu14.04.1                    all          collection of Python modules used by PlainBox providers
  ii  python3-plainbox                                      0.20+bzr3596+pkg24~ubuntu14.04.1                    all          toolkit for software and hardware testing (python3 module)

  Steps:
  running checkbox-cli without /etc/xdg/plainbox.conf
  select any whitelists

  Results:
  crashed or emty submission.

  but later I cannot reproduce, however it will still generated a empty
  submission.

  
  ubuntu@201312-14426:~$ canonical-certification-cli --url https://https://certification.canonical.com/submissions/submit/ --secure_id=a00D000000UAncWIAT
  WARNING plainbox.runner: execution_ctrl_list not passed to JobRunner
  ==========================[ Selecting Job Generators ]==========================
  ===========================[ Running Selected Jobs ]============================
  ========================[ Selecting Jobs For Execution ]========================
  CRITICAL plainbox.crashes: Executable 'checkbox-launcher' invoked with Namespace(color=None, command=<checkbox_ng.commands.launcher.LauncherCommand object at 0x7f4f66044a90>, debug_console=False, debug_interrupt=False, dont_suppress_output=False, dry_run=False, exclude_pattern_list=[], include_pattern_list=[], launcher='/usr/bin/canonical-certification-cli', log_level=None, non_interactive=False, pdb=False, secure_id='a00D000000UAncWIAT', test_plan=None, trace=[], url='https://https://certification.canonical.com/submissions/submit/', whitelist=[]) has crashed
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions
      return self.dispatch_command(ns)
    File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 556, in dispatch_command
      return ns.command.invoked(ns)
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/launcher.py", line 91, in invoked
      ).run()
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/newcli.py", line 113, in run
      return self.do_normal_sequence()
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/newcli.py", line 156, in do_normal_sequence
      self.interactively_pick_jobs_to_run()
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/newcli.py", line 289, in interactively_pick_jobs_to_run
      self.display.run(ScrollableTreeNode(tree, title))
    File "/usr/lib/python3/dist-packages/plainbox/vendor/textland/display.py", line 186, in run
      return super().run(app)
    File "/usr/lib/python3/dist-packages/plainbox/vendor/textland/display.py", line 61, in run
      image = app.consume_event(event)
    File "/usr/lib/python3/dist-packages/checkbox_ng/ui.py", line 167, in consume_event
      self._toggleNode()
    File "/usr/lib/python3/dist-packages/checkbox_ng/ui.py", line 250, in _toggleNode
      node.expanded = not(node.expanded)
  AttributeError: 'NoneType' object has no attribute 'expanded'
  Traceback (most recent call last):
    File "/usr/bin/checkbox-launcher", line 9, in <module>
      load_entry_point('checkbox-ng==0.18.dev', 'console_scripts', 'checkbox-launcher')()
    File "/usr/lib/python3/dist-packages/checkbox_ng/main.py", line 62, in launcher
      raise SystemExit(CheckboxLauncherTool().main(argv))
    File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 324, in main
      return self.dispatch_and_catch_exceptions(ns)
    File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions
      return self.dispatch_command(ns)
    File "/usr/lib/python3/dist-packages/plainbox/impl/clitools.py", line 556, in dispatch_command
      return ns.command.invoked(ns)
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/launcher.py", line 91, in invoked
      ).run()
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/newcli.py", line 113, in run
      return self.do_normal_sequence()
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/newcli.py", line 156, in do_normal_sequence
      self.interactively_pick_jobs_to_run()
    File "/usr/lib/python3/dist-packages/checkbox_ng/commands/newcli.py", line 289, in interactively_pick_jobs_to_run
      self.display.run(ScrollableTreeNode(tree, title))
    File "/usr/lib/python3/dist-packages/plainbox/vendor/textland/display.py", line 186, in run
      return super().run(app)
    File "/usr/lib/python3/dist-packages/plainbox/vendor/textland/display.py", line 61, in run
      image = app.consume_event(event)
    File "/usr/lib/python3/dist-packages/checkbox_ng/ui.py", line 167, in consume_event
      self._toggleNode()
    File "/usr/lib/python3/dist-packages/checkbox_ng/ui.py", line 250, in _toggleNode
      node.expanded = not(node.expanded)
  AttributeError: 'NoneType' object has no attribute 'expanded'

To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox-ng/+bug/1427151/+subscriptions