All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Jan Beulich <JBeulich@suse.com>, ian.jackson@eu.citrix.com
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: [PATCH OSSTEST] Toolstack: Do not pass -F to xm shutdown (Was: Re: [xen-4.2-testing test] 57630: regressions - FAIL)
Date: Mon, 1 Jun 2015 09:34:07 +0100	[thread overview]
Message-ID: <1433147647.15036.76.camel@citrix.com> (raw)
In-Reply-To: <556C2C52020000780007F8A0@mail.emea.novell.com>

On Mon, 2015-06-01 at 08:56 +0100, Jan Beulich wrote:
> >>> On 01.06.15 at 00:57, <osstest@xenbits.xen.org> wrote:
> > flight 57630 xen-4.2-testing real [real]
> > http://logs.test-lab.xenproject.org/osstest/logs/57630/ 
> > 
> > Regressions :-(
> > 
> > Tests which did not succeed and are blocking,
> > including tests which could not be run:
> >  test-amd64-i386-xend-winxpsp3 16 guest-stop               fail REGR. vs. 53018
> >  test-amd64-i386-xend-qemut-winxpsp3 16 guest-stop         fail REGR. vs. 53018
> 
> This seems to be due to osstest using an unrecognized option:
> 
> 2015-05-31 20:32:59 Z executing ssh ... root@172.16.144.32 xm shutdown -wF win.guest.osstest
> Error: option -F not recognized

I think this osstest patch ought to fix it. I've only "tested" with perl
-c though.

--------8>--------


>From aa79bd958fe42da2876fd76e61468c183a7fabdc Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campbell@citrix.com>
Date: Mon, 1 Jun 2015 09:32:37 +0100
Subject: [PATCH] Toolstack: Do not pass -F to xm shutdown

This is a feature of xl only.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 Osstest/Toolstack/xl.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/Toolstack/xl.pm b/Osstest/Toolstack/xl.pm
index dd12ae1..23328d3 100644
--- a/Osstest/Toolstack/xl.pm
+++ b/Osstest/Toolstack/xl.pm
@@ -56,7 +56,7 @@ sub shutdown_wait ($$$) {
     my $ho = $self->{Host};
     my $gn = $gho->{Name};
     my $acpi_fallback = guest_var($gho,'acpi_shutdown','false') eq 'true'
-	? "F" : "";
+	&& $self->{Name} eq 'xl' ? "F" : "";
     target_cmd_root($ho,"$self->{_Command} shutdown -w${acpi_fallback} $gn", $timeout);
 }
 
-- 
2.1.4

  reply	other threads:[~2015-06-01  8:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-31 22:57 [xen-4.2-testing test] 57630: regressions - FAIL osstest service user
2015-06-01  7:56 ` Jan Beulich
2015-06-01  8:34   ` Ian Campbell [this message]
2015-06-01  9:21     ` [PATCH OSSTEST] Toolstack: Do not pass -F to xm shutdown (Was: Re: [xen-4.2-testing test] 57630: regressions - FAIL) Jan Beulich
2015-06-01  9:42       ` Ian Campbell
2015-06-01  9:47         ` Jan Beulich
2015-06-01 10:02     ` 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=1433147647.15036.76.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.