checkbox-cli remote can't execute test plan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Hardware Collection |
Fix Released
|
Critical
|
Maciej Kisielewski |
Bug Description
After installing checkbox-
[traceback]
15:51:15 Traceback (most recent call last):
15:51:15 File "/home/
15:51:15 sys.exit(
15:51:15 File "/home/
15:51:15 subcmd.invoked(ctx)
15:51:15 File "/home/
15:51:15 self.connect_
15:51:15 File "/home/
15:51:15 }[state]()
15:51:15 File "/home/
15:51:15 tps = self.sa.
15:51:15 File "/home/
15:51:15 return syncreq(_self, consts.HANDLE_CALL, args, kwargs)
15:51:15 File "/home/
15:51:15 return conn.sync_
15:51:15 File "/home/
15:51:15 return self.async_
15:51:15 File "/home/
15:51:15 raise self._obj
15:51:15 UnboundLocalError: local variable 'session_type' referenced before assignment
15:51:15
15:51:15 ========= Remote Traceback (1) =========
15:51:15 Traceback (most recent call last):
15:51:15 File "/usr/lib/
15:51:15 res = self._HANDLERS[
15:51:15 File "/usr/lib/
15:51:15 return obj(*args, **dict(kwargs))
15:51:15 File "/usr/lib/
15:51:15 return f(self, *args)
15:51:15 File "/usr/lib/
15:51:15 self._sa.
15:51:15 File "/usr/lib/
15:51:15 raise exc
15:51:15 File "/usr/lib/
15:51:15 return func(*args, **kwargs)
15:51:15 File "/usr/lib/
15:51:15 self._restart_
15:51:15 File "/usr/lib/
15:51:15 if session_type == "checkbox-slave":
15:51:15 UnboundLocalError: local variable 'session_type' referenced before assignment
Related branches
- Jonathan Cave (community): Approve
-
Diff: 116 lines (+36/-10)4 files modifiedcheckbox_ng/launcher/subcommands.py (+3/-3)
plainbox/impl/session/assistant.py (+17/-1)
plainbox/impl/session/remote_assistant.py (+3/-3)
plainbox/impl/session/restart.py (+13/-3)
Changed in canonical-hw-collection: | |
status: | In Progress → Fix Committed |
Changed in canonical-hw-collection: | |
status: | Fix Committed → Fix Released |
Not only remote. Whole checkbox is broken. I know where it's broken, but finding the best way to fix it will take a few hours.