lp://staging/~zyga/checkbox/session-changes

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp://staging/~zyga/checkbox/session-changes
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:
Development

Recent revisions

4020. By Zygmunt Krynicki

plainbox:session: return context from context adding methods

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

4019. By Zygmunt Krynicki

plainbox:session: keep track of run history in SessionState

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

4018. By Zygmunt Krynicki

plainbox:session: make SessionState a POD

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

4017. By Zygmunt Krynicki

plainbox:session: convert SessionMetaData to a POD

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

4016. By Zygmunt Krynicki

plainbox:session: add SessionHistoryEntry

This patch adds a new POD-based class for tracking test execution
history within a session. This data has two purposes.

First of all, it fixes a silent inconsistency that currently exists in
plainbox (after re-runs were introduced really). The sequence of actual
test runs and the set of synthesised test runs is not the same. In
reality, the sequence may be [A, B, A]. In reality that is replayed as
[A, A, B]. Currently nothing stores the actual sequence and session is
resumed by replaying all of the results, in order, according to the
sequence determined by the run list. Having the full history will make
session resume replicate the suspended state perfectly.

Second of all, it allows us to easily answer the question of "what is
the most recently executed test?" (and similar) efficiently.

The actual structure is extremely simple as it is comprised of the job
and result pairs. The ordering is implicitly defined by the order of
entries in a list that needs to be maintained separately. A list like
that will show up in SessionState in the next patch.

This has some consequence on the session suspend/resume logic. Results
will have to be serialized once and referred to from two locations
(run history and job state).

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

4015. By Zygmunt Krynicki

plainbox:pod: allow tuples of types in assign filters

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

4014. By Zygmunt Krynicki

"automatic merge of lp:~zyga/checkbox/drop-legacy-code/ by tarmac [r=zyga,sylvain-pineau][bug=][author=zyga]"

4013. By Pierre Equoy

"automatic merge of lp:~pierre-equoy/checkbox/fix-1495445-brightness-tests-for-AIO-devices/ by tarmac [r=sylvain-pineau][bug=1495445][author=pierre-equoy]"

4012. By Maciej Kisielewski

"automatic merge of lp:~kissiel/checkbox/fix-1492314-scrolling-test-desc/ by tarmac [r=zyga][bug=1492314][author=kissiel]"

4011. By Maciej Kisielewski

"automatic merge of lp:~kissiel/checkbox/dryify-checkbox-converged/ by tarmac [r=zyga][bug=][author=kissiel]"

Branch metadata

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

Subscribers