You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When resuming a session, we will be asked to select an action in page What to do with the last job? such as Add comment, Resume and skip the job, etc. Then, if we move selection out of the boundry, we will get key error.
To Reproduce
Create an incompleted session by interrupting any testplan.
Resume it.
Try to press up or down several time to reach the boundary
Environment
Checkbox Type: snap
Checkbox Version: 4.0.0-dev226
Relevant log output
u@u:~$ checkbox-iiotg-classic.checkbox-cli
$PROVIDERPATH is defined, so following provider sources are ignored ['/snap/checkbox-iiotg-classic/81/providers/checkbox-provider-intliotg', '/home/u/.local/share/plainbox-providers-1', '/var/tmp/checkbox-providers-develop']
Using sideloaded provider: checkbox-provider-intliotg, version 0.2 from /var/tmp/checkbox-providers
WARNING:plainbox.secure.providers.v1:Skipped file: /snap/checkbox22/current/providers/checkbox-provider-base/units/stress/suspend_cycles_reboot.md
Failed to disable unit: Unit file plainbox-autostart.service does not exist.
rm: cannot remove '/etc/systemd/system/plainbox-autostart.service': No such file or directory
WARNING:plainbox.providers.__init__:Using sideloaded provider: checkbox-provider-intliotg, version 0.2 from /var/tmp/checkbox-providers
Preparing...
Traceback (most recent call last):
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/launcher/subcommands.py", line 262, in invoked
self._start_new_session()
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/launcher/subcommands.py", line 642, in _start_new_session
tp_id = self._interactively_pick_test_plan()
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/launcher/subcommands.py", line 683, in _interactively_pick_test_plan
).run()
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/urwid_ui.py", line 816, in run
raise ResumeInstead()
checkbox_ng.urwid_ui.ResumeInstead
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/checkbox22/current/bin/checkbox-cli", line 8, in<module>sys.exit(main())
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/launcher/checkbox_cli.py", line 165, in main
return subcmd.invoked(ctx)
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/launcher/subcommands.py", line 267, in invoked
something_got_chosen = self._manually_resume_session(
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/launcher/subcommands.py", line 469, in _manually_resume_session
self._resume_session_via_resume_params(resume_params)
File "/snap/checkbox22/current/lib/python3.10/site-packages/checkbox_ng/launcher/subcommands.py", line 497, in _resume_session_via_resume_params
outcome = {
KeyError: None
Additional context
No response
The text was updated successfully, but these errors were encountered:
Bug Description
When resuming a session, we will be asked to select an action in page
What to do with the last job?
such asAdd comment
,Resume and skip the job
, etc. Then, if we move selection out of the boundry, we will get key error.To Reproduce
up
ordown
several time to reach the boundaryEnvironment
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: