TypeError: _init_runner() missing 1 required positional argument: 'runner_cls'

Bug #1790050 reported by Gavin Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Fix Released
Critical
Sylvain Pineau

Bug Description

Got this error when trying to resume from saved session.

Detail:
ubuntu@201611-25229:~$ checkbox-cli
=========================[ Resume Incomplete Session ]==========================
There is 1 incomplete session that might be resumed
Do you want to resume session 'checkbox-cli-2018-08-31T05.50.25'?
  r => resume this session
  n => next session
  c => create new session
  d => delete old sessions
[rncd]: r
WARNING:plainbox.ctrl:local script com.canonical.certification::environment returned invalid RFC822 data: Job has a duplicate key '' with old value 'DO\n' and new value 'cd\n' (line 78)
ERROR:plainbox.bug:Undeclared exception TypeError raised from resume_session

                        Application Malfunction Detected

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/guacamole/core.py", line 248, in eat
    return self._dispatch()
  File "/usr/lib/python3/dist-packages/guacamole/core.py", line 298, in _dispatch
    result = ingredient.dispatch(self.context)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 152, in dispatch
    return self._dispatch(context, 0)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 179, in _dispatch
    return self._dispatch_None(context, level, retval, command)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 208, in _dispatch_None
    return self._dispatch(context, level + 1)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 165, in _dispatch
    retval = command.invoked(context)
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/subcommands.py", line 251, in invoked
    if not self._maybe_resume_session():
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/subcommands.py", line 351, in _maybe_resume_session
    return self._run_resume_ui_loop(resume_candidates)
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/subcommands.py", line 368, in _run_resume_ui_loop
    self._resume_session(candidate)
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/subcommands.py", line 376, in _resume_session
    metadata = self.ctx.sa.resume_session(session.id)
  File "/usr/lib/python3/dist-packages/plainbox/impl/decorators.py", line 142, in wrapper
    raise exc
  File "/usr/lib/python3/dist-packages/plainbox/impl/decorators.py", line 136, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/plainbox/impl/session/assistant.py", line 634, in resume_session
    self._init_runner()
TypeError: _init_runner() missing 1 required positional argument: 'runner_cls'

  Please report a bug including the information from the paragraph above. To
  report the bug visit https://bugs.launchpad.net/checkbox-ng/+filebug

  We are sorry for the inconvenience!

Checkbox version:
- checkbox-ng 1.2.0rc2
- checkbox-support 0.39.0rc2
- plainbox-provider-resource 0.38.0rc2
- plainbox-provider-checkbox 0.46.0rc2
- plainbox-provider-tpm2 1.8.0rc2
- plainbox-provider-certification-client 0.35.0rc2

Tags: cqa-verified

Related branches

Gavin Lin (gavin.lin)
Changed in checkbox-ng:
status: New → Confirmed
importance: Undecided → Critical
Changed in checkbox-ng:
milestone: none → 1.2.0
assignee: nobody → Sylvain Pineau (sylvain-pineau)
status: Confirmed → In Progress
Changed in checkbox-ng:
status: In Progress → Fix Committed
Revision history for this message
Gavin Lin (gavin.lin) wrote :

Can successfully resume test with rc3.

tags: added: cqa-verified
Changed in checkbox-ng:
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.