]> xenbits.xensource.com Git - people/liuw/osstest.git/commit
cs-bisection-step: Detect flailing
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 11 May 2015 13:30:34 +0000 (14:30 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 11 May 2015 13:51:07 +0000 (14:51 +0100)
commit489773b43ccb13c161e2e5d278d327a94cd77274
treeecbe8f59dcd0d373af53c876c8e7359534a961de
parent58f5a82fd3f479cf91ba0c9d14bd8f95299d156a
cs-bisection-step: Detect flailing

Specifically, search for previous identical flights (on the same
branch with the relevant blessings).  Here `identical' means it has
exactly the same set of runvars (and, hence, the same set of jobs,
assuming each job has at least one runvar).

This detects various forms of looping which aren't stopped any other
way.

Specifically, one relevant situation occurs if attempts to build
revision (A,B,C) actually build (A,B,C') due to bugs in the build
machinery (which could be bugs in osstest or in the software under
test).  In this case the bisector would never spot its previous
attempts as relevant; instead, it would disregard them due to the
mismatched versions.  It would then retry the same version, until
something happened to stop it.

As written here, we do not consider osstest revision as a relevant
factor in `identical'.  So if reason for the looping is a bug in
osstest we would need to manually un-bless affected flights, as well
as removing the stamp files which are used to record completion of
attempted bisection.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
cs-bisection-step