From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <ian.jackson@eu.citrix.com>, xen-devel@lists.xenproject.org
Subject: Re: [OSSTEST PATCH] sg-run-job: Coalesce a couple of repetitions
Date: Fri, 27 Nov 2015 17:03:17 +0000 [thread overview]
Message-ID: <1448643797.13576.128.camel@citrix.com> (raw)
In-Reply-To: <1448643257-5478-1-git-send-email-ian.jackson@eu.citrix.com>
On Fri, 2015-11-27 at 16:54 +0000, Ian Jackson wrote:
> Fold `guest-localmigrate.2' into `guest-localmigrate/x10' and
> `guest-start.2' into `guest-start.repeat'. In each case increase the
> iteration count of the 2nd test by one so that the total number of
> reps remains constant.
>
> This will allow the heisenbug compensator to see more of these
> failures as the same failures.
>
> The resulting testid `guest-localmigrate/x10' becomes a bit misleading
> in that it now does 11 repetitions. But we don't want to change the
> testid.
I'd be inclined to just accept the possibility of missing a failure on the
11th iteration and just do 10 instead of 10+1.
> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
> ---
> sg-run-job | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/sg-run-job b/sg-run-job
> index 4f6b43a..a74d638 100755
> --- a/sg-run-job
> +++ b/sg-run-job
> @@ -374,10 +374,7 @@ proc test-guest-migr {g} {
> run-ts . =.2 ts-guest-saverestore + host $g
> }
> if {$can_migrate} {
> - run-ts . =.2 ts-guest-localmigrate + host $g
> - }
> - if {$can_migrate} {
> - run-ts . = ts-guest-localmigrate x10 + host $g
> + run-ts . =/x10 ts-guest-localmigrate + x11 host $g
> }
> }
>
> @@ -388,9 +385,8 @@ proc test-guest {g} {
>
> proc test-guest-nomigr {g} {
> run-ts . = ts-guest-stop + host $g
> - run-ts . =.2 ts-guest-start + host $g
>
> - repeat-ts 10 =.repeat \
> + repeat-ts 11 =.repeat \
When this repeat starts the guest is now stopped, whereas before it was
running. Does the body of the loop, which starts with a ts-guest-stop,
handle that?
Maybe you should remove the ts-guest-stop right at the start of this fn
too?
> + ts-guest-stop host $g \; \
> + ts-guest-start + host + $g +
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-11-27 17:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 16:54 [OSSTEST PATCH] sg-run-job: Coalesce a couple of repetitions Ian Jackson
2015-11-27 17:03 ` Ian Campbell [this message]
2015-11-27 17:16 ` Ian Jackson
2015-11-27 17:22 ` Ian Campbell
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=1448643797.13576.128.camel@citrix.com \
--to=ian.campbell@citrix.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.