lp:~zyga/checkbox/fix-1302388
- Get this branch:
- bzr branch lp:~zyga/checkbox/fix-1302388
Branch merges
- Daniel Manrique (community): Approve
-
Diff: 15 lines (+1/-4)1 file modifiedcheckbox-gui/gui-engine/gui-engine.cpp (+1/-4)
Related bugs
Related blueprints
Branch information
Recent revisions
- 3026. By Zygmunt Krynicki
-
checkbox-gui: fix resource jobs (and other jobs) to run
This patch removes the useless (and broken) second-level filtering done
by PrepareJobs().To quote my comment from launchpad.net:
>>> Ok so here it goes:
>>>
>>> The resource job is not started because it's not present in the
>>> whitelist.
>>>
>>> The gui does some rather confusing filtering. If you think like me, from
>>> plainbox POV, you see a set of jobs and you flag the ones you want to
>>> run (in some order), that gives you the *desired* job list. You pass
>>> that to plainbox's SelectJobs and get the run_list. You follow that and
>>> you're in happy land.
>>>
>>> This is not what happens here:
>>>
>>> First the ideal view is broken by generated jobs. To see all jobs you
>>> need to run some jobs. The GUI does the conservative bit by running
>>> *all* local jobs. This gives it the full job awareness.
>>>
>>> Next comes the job selection view. As you probably recall the list of
>>> jobs displayed in the view where one can select which jobs are to be
>>> executed is not the full list of know jobs. That list is filtered by the
>>> whitelists selected in the whitelist selection screen (I haven't
>>> investigated that part yet). So we can now see our resource jobs because
>>> plainbox knows they are required OR because they were on the whitelist.
>>>
>>> Now this is the critical piece. After making the selection,
>>> PrepareJobs() discards anything that we selected that is not in the
>>> whitelist.Fixes: https:/
/bugs.launchpad .net/checkbox- gui/+bug/ 1302388 Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3020. By Daniel Manrique
-
"8cd5574 Update tarmac-verify to use lxc containers.
5fa0db5 test-in-lxc: More reliable container destruction.
[r=roadmr,zkrynicki] [bug=][ author= roadmr] "
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox