From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <ian.jackson@eu.citrix.com>, xen-devel@lists.xenproject.org
Cc: Jan Beulich <JBeulich@suse.com>
Subject: Re: [OSSTEST PATCH] README.email: Add `Worked example of relevant regression in previous flight'
Date: Fri, 27 Nov 2015 15:48:31 +0000 [thread overview]
Message-ID: <1448639311.13576.124.camel@citrix.com> (raw)
In-Reply-To: <1448638734-2252-1-git-send-email-ian.jackson@eu.citrix.com>
On Fri, 2015-11-27 at 15:38 +0000, Ian Jackson wrote:
> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
> CC: Jan Beulich <JBeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
> ---
> README.email | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 51 insertions(+)
>
> diff --git a/README.email b/README.email
> index 5de63dd..e14a816 100644
> --- a/README.email
> +++ b/README.email
> @@ -89,6 +89,9 @@ history. Here are some examples:
> justifiable because they prevent other tests from running and
> can so conceal bugs.)
>
> + See `Worked example of relevant regression in previous flight',
> + below.
> +
> fail in 58948 pass in 58965
> fail in 58948 like 37628
>
> @@ -159,3 +162,51 @@ X-Osstest-Versions-That:
> tree revision
>
> `This' is the version being tested, and `That' is the baseline.
> +
> +
> +
> +Worked example of relevant regression in previous flight
> +--------------------------------------------------------
> +
> +Suppose two test steps A and B, which normally run in that order:
> + job test-foo
> + A ./ts-do-some-thing
> + B ./ts-do-another-thing
> +
> +Suppose failure of A prevents the execution of B. (This is the usual
> +case where step A precedes step B; normally later steps in a job
> +depend on the success of earlier steps, because after an earlier
> +failure the testbed state is not necessarily well-defined.)
> +
> +Now suppose A has an intermittent bug, but B is totally broken.
> +
> +With our current policy on intermittent bugs[1], we would allow a push
> +despite the bug in A. But we should not allow a push despite B: the
> +100% reproducible failure of B should prevent all pushes.
> +
> +But the bug in B only shows up when A happens to pass. So the
> +heisenbug compensator has to insist on seeing an actual pass of B
> +(which in this hypothetical situation, will not occur).
> +
> +Eg, consider these flights:
> +
> + 100 is now master A pass, B pass pushed
> + 200 staging A pass, B fail `B REGR. vs 100'
> + 201 staging A fail, B not run `B fail in 200 REGR. vs 100'
> +
> +In flight 201, the failure of A is indeed justifiable as a heisenbug
> +because it can be seen to succeed in flight 200. It is the problem
> +with B which is actually blocking the push - but that failure is only
> +visible in flight 200.
> +
> +If, contrary to the suppositions above, the failure of B is actually a
> +heisenbug, then hopefully eventually both A and then B will happen to
> +pass in the same run. Even if that particular flight has other
> +problems, a future evaluation of a test of the same version can use
> +that flight's passes of A and B to justify, respectively, whatever
> +failures of A and/or B that it comes across.
> +
> +[1] In principle we could have a different policy: to try to reject
> +intermittent bugs. But it would require a lot of test resources
> +because all tests would have to be repeated a lot, and naturally
> +intermittent bugs would slip through anyway.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2015-11-27 15:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 17:27 [xen-4.6-testing test] 65112: regressions - FAIL osstest service owner
2015-11-27 8:18 ` Jan Beulich
2015-11-27 9:53 ` Ian Campbell
2015-11-27 12:02 ` Ian Jackson
2015-11-27 12:28 ` Ian Campbell
2015-11-27 12:35 ` Jan Beulich
2015-11-27 13:25 ` Ian Jackson
2015-11-27 13:24 ` Ian Jackson
2015-11-27 14:03 ` Ian Campbell
2015-11-27 14:07 ` Ian Campbell
2015-11-27 12:52 ` Jan Beulich
2015-11-27 13:44 ` Ian Jackson
2015-11-27 14:04 ` Ian Campbell
2015-11-27 14:59 ` [xen-4.6-testing test] 65112: regressions - FAIL [and 1 more messages] Ian Jackson
2015-11-27 15:38 ` [OSSTEST PATCH] README.email: Add `Worked example of relevant regression in previous flight' Ian Jackson
2015-11-27 15:48 ` Ian Campbell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448639311.13576.124.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.