Message ID | 1414579302-6692-1-git-send-email-ian.campbell@citrix.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC4Y5F6PT4PBBTUJYORAKGQEORNHXCQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3C0C624029 for <linaro@patches.linaro.org>; Wed, 29 Oct 2014 10:43:27 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id b6sf184988lbj.0 for <linaro@patches.linaro.org>; Wed, 29 Oct 2014 03:43:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=1cuzTRF4TrAu2YGW/8LdrnNOV2s/32bEMIyD7duiCFg=; b=fZiMMwRfXLImEiYxeWSrllzQbwyeSikF1TNFEswErgzY2annHexbTIzKVPpCCT5ys4 S3dqDuZYnz3q2i/rJycSCc3Bc5Cr4OW3tsUEA1HzgC0ssjYPs0X1BljKkxeH1lzaiP83 MmNDdVaSAaYAjtpgAtpNENMQv7BHpLuWcAHquWFgLno/dBzpV8z2WPCkMxMxeY15ESJs OdovMfnN7m5oRE+2cpf9GZy0RVjo5MfhHXjPHIpyAEWlFGTL4lkR4LQgmQd+aCJIrxmB IhNvll42EL/LLMYK5D7XM53o2jlFs8F8eIDTZMOp9JZ1AE+iVSKmtKMIPcgcp31v+C+t wkYQ== X-Gm-Message-State: ALoCoQnTSRX3vFm1O31swBCZTiHHnhcVdlEtEQrMiRQ7OqLompi50S0Qa0iLAIdqi6IMIhHUgf5Q X-Received: by 10.112.147.131 with SMTP id tk3mr1652539lbb.2.1414579406054; Wed, 29 Oct 2014 03:43:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.108 with SMTP id lf12ls152961lac.48.gmail; Wed, 29 Oct 2014 03:43:25 -0700 (PDT) X-Received: by 10.152.27.134 with SMTP id t6mr10358414lag.17.1414579405413; Wed, 29 Oct 2014 03:43:25 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id j10si6583075laf.95.2014.10.29.03.43.25 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:43:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id ge10so2261877lab.2 for <patchwork-forward@linaro.org>; Wed, 29 Oct 2014 03:43:25 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr10283097laz.27.1414579405308; Wed, 29 Oct 2014 03:43:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp633536lbz; Wed, 29 Oct 2014 03:43:24 -0700 (PDT) X-Received: by 10.52.241.3 with SMTP id we3mr4901690vdc.7.1414579403889; Wed, 29 Oct 2014 03:43:23 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id l11si2275160vck.30.2014.10.29.03.43.23 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:43:23 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1XjQhI-0002EL-K6; Wed, 29 Oct 2014 10:41:48 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <Ian.Campbell@citrix.com>) id 1XjQhH-0002E0-O8 for xen-devel@lists.xen.org; Wed, 29 Oct 2014 10:41:47 +0000 Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id AB/01-02953-B64C0545; Wed, 29 Oct 2014 10:41:47 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-4.tower-206.messagelabs.com!1414579304!12425139!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.12.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31150 invoked from network); 29 Oct 2014 10:41:46 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-4.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 29 Oct 2014 10:41:46 -0000 X-IronPort-AV: E=Sophos;i="5.04,809,1406592000"; d="scan'208";a="187318340" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Wed, 29 Oct 2014 06:41:44 -0400 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from <ian.campbell@citrix.com>) id 1XjQhD-00013k-2Z; Wed, 29 Oct 2014 10:41:44 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Wed, 29 Oct 2014 10:41:43 +0000 From: Ian Campbell <ian.campbell@citrix.com> To: <ian.jackson@eu.citrix.com> Date: Wed, 29 Oct 2014 10:41:23 +0000 Message-ID: <1414579302-6692-1-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1414579268.29975.13.camel@citrix.com> References: <1414579268.29975.13.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2 01/20] standalone: Provide a helper to clear the host runvar X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/standalone b/standalone index daab7ae..c1139f8 100755 --- a/standalone +++ b/standalone @@ -29,6 +29,12 @@ Operations: Required options: -h HOST +* reset-host [cf] [JOB] + + Allow a job which has been run before to run on a different host + next time. Otherwise osstest will complain if you change the host + which a job is running on on successive runs. + Options: -c FILE, --config=FILE Use FILE as configuration file @@ -200,6 +206,18 @@ case $op in fi ;; + reset-host) + need_flight; + + if [ $# -lt 1 ] ; then + echo "run-job: Need job" >&2 + exit 1 + fi + + job=$1; shift + ./cs-adjust-flight -v $flight runvar-del $job host + ;; + run-job) need_flight; need_host