Merge ~sylvain-pineau/checkbox-ng:remote_resume_after_reboot_V2 into checkbox-ng:master
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | ec339fae4f096036203cf1b579c56ac71054b04f |
Merged at revision: | 321808ffa9f1a1bf05f6eeacb43835b01cb61891 |
Proposed branch: | ~sylvain-pineau/checkbox-ng:remote_resume_after_reboot_V2 |
Merge into: | checkbox-ng:master |
Diff against target: |
436 lines (+216/-22) 5 files modified
checkbox_ng/launcher/remote.py (+48/-5) checkbox_ng/urwid_ui.py (+55/-0) plainbox/impl/session/assistant.py (+2/-1) plainbox/impl/session/remote_assistant.py (+54/-14) plainbox/impl/session/restart.py (+57/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Cave (community) | Approve | ||
Sylvain Pineau (community) | Needs Resubmitting | ||
Maciej Kisielewski (community) | Approve | ||
Review via email:
|
Description of the change
Improved version of https:/
There's no Resumed state, the resume event info happening on the slave is sent via the payload data.
the run_jobs method gets a new argument to process it to essentially display the resumed job id and its outcome.
On slave side, the new version of this MR saves the launcher settings in order to set them again when resuming (i.g auto_retry parameters). It gets also support for jobs altering the result via $CHECKBOX_
One bonus since I bumped the API, stderr streams are colored in RED.
Tested using the same env/methodology as the previous MR (and to see how the new one evolved).
Warning: I still consider this version as a first set of commits to fully support reboots/
Amazing work, huge +1.
I’d only change that reraising. Good to land after testing that we in fact don’t need that try/except block