lp://qastaging/~zyga/checkbox/fix-1299210

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp://qastaging/~zyga/checkbox/fix-1299210
Only Zygmunt Krynicki can upload to this branch. If you are Zygmunt Krynicki please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zygmunt Krynicki
Project:
Checkbox
Status:
Merged

Recent revisions

3001. By Zygmunt Krynicki

plainbox:runner: drop authenticate_warmup()

This method is now entirely replaced by IJobRunner.get_warm_up_sequence()

Signed-off-by: Zygmunt Krynicki <email address hidden>

3000. By Zygmunt Krynicki

plainbox:commands:run: remove RunInvocation._auth_warmup_needed()

This patch removes the now-obsolete _auth_warmup_needed() method.
The responsibility and internal knowledge of that method is now
present in execution controllers.

Signed-off-by: Zygmunt Krynicki <email address hidden>

2999. By Zygmunt Krynicki

checkbox-ng:commands:cli: remove CliInvocation._auth_warmup_needed()

This method is now obsolete and is no longer being called by the
authentication code.

Signed-off-by: Zygmunt Krynicki <email address hidden>

2998. By Zygmunt Krynicki

checkbox-ng:commands:cli: use get_warm_up_sequence

This patch replaces the authenticate_warmup function with the
new runner.get_warm_up_sequence() method. Failure of authentication
warm-up no longer prevents the tests from proceeding as the user may
still correct the situation on each subsequent prompt.

Signed-off-by: Zygmunt Krynicki <email address hidden>

2997. By Zygmunt Krynicki

checkbox-ng:commands:cli: refactor CliInvocation

This patch moves construction of JobRunner from _run_jobs() to the main
method. Subsequent patches require that the runner object is available
early in run().

Signed-off-by: Zygmunt Krynicki <email address hidden>

2996. By Zygmunt Krynicki

plainbox:commands:run: simplify tests related to auth warmup

Since now the results are deterministic (in the tested case) we don't
need to check for one of two possible results.

Signed-off-by: Zygmunt Krynicki <email address hidden>

2995. By Zygmunt Krynicki

plainbox:abc: add IJobRunner.get_warm_up_sequence()

Signed-off-by: Zygmunt Krynicki <email address hidden>

2994. By Zygmunt Krynicki

plainbox:commands:run: use runner.get_warm_up_sequence()

This patch uses the new execution-controller-aware method to do warm-up
authentication in the implementation of `plainbox run`.

Signed-off-by: Zygmunt Krynicki <email address hidden>

2993. By Zygmunt Krynicki

plainbox:runner: add JobRunner.get_warm_up_sequence()

This patch adds a method that returns a list of warm-up callable hint
methods that should be called before running any of the jobs specified
as argument.

Signed-off-by: Zygmunt Krynicki <email address hidden>

2992. By Zygmunt Krynicki

plainbox:runner: split off _get_ctrl_for_job() from _run_extcmd()

This patch splits off a method to get an execution controller suitable
for a specific job into its own method (away from _run_extcmd()) as
we need that fuctionality in an upcoming patch

Signed-off-by: Zygmunt Krynicki <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/checkbox
This branch contains Public information 
Everyone can see this information.

Subscribers