Add a new job flag to avoid displaying stdout/stderr
Bug #1626031 reported by
Sylvain Pineau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
Medium
|
Sylvain Pineau |
Bug Description
attachments and resources jobs are doing that by default. It would be nice to be able to do it for other shell jobs on a case by case basis.
While running checkbox-cli, sometimes jobs run successfully but can display a few warnings. If a tester is carefully following checkbox execution, it could make him think that something goes wrong with the test (don't forget that stderr is displayed in red!)
Having a flag to "mute" those jobs when running checkbox-cli could help.
Note that stderr/stdout will still be recorded and displayed in the reports (exactly the same behavior of resource/attachment jobs).
Related branches
lp:~sylvain-pineau/checkbox/mute_job_ouput_flag
- Pierre Equoy: Approve
-
Diff: 51 lines (+15/-4)3 files modifiedcheckbox-ng/launchers/checkbox-cli (+3/-2)
plainbox/plainbox/impl/commands/inv_run.py (+3/-2)
plainbox/plainbox/impl/unit/job.py (+9/-0)
Changed in plainbox: | |
milestone: | none → 0.31 |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in plainbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.