Message ID | 1403017314-23229-1-git-send-email-ian.campbell@citrix.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC4Y5F6PT4PBB2NRQGOQKGQEQCL6JSQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3DAB82100C for <linaro@patches.linaro.org>; Tue, 17 Jun 2014 15:04:10 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id lx4sf42510026iec.4 for <linaro@patches.linaro.org>; Tue, 17 Jun 2014 08:04:09 -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 :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=4kTlPWExfzD/Hid5uMQMprwEitBS8sRmo7pdI8dUj10=; b=N0EvNsx4bK048+FNN4cvTcQytDsNWrYTffGWo12AXk17lw3yv3TsfAijbDr4GXt/E3 6JidUpVaVmaONR+MBdDs6S9hN9SVHvLlK2ynTnGnS4z73xQ/9D9c6vsFaivVa4oTfPxw Lm06RQ/PEmXM6f3SZmQG6vIQuwJ3dMtLsDvVGgiB3VyeT5UJp3eZzhsaRqdJU+syuFiS PNzYmWWBwI6Z7+tjlQ6AJEqDnuZvib1eNaTSKwMqe4GoPsybR0v8FXjSSwIJV6VM8gEt SUMmkR2Gs9ros+W503HiNOx0CPeQbOy6gre+T5JGCSalPxp03lG4mZYugq+5/NIfq6Sc ot2Q== X-Gm-Message-State: ALoCoQnHBvYS0KQefYwUQj7t7XBUHpfW7JAbwjmJSTlhIkO52k9rTS2KlWx+ttX1NLhrlOsv3xZb X-Received: by 10.182.255.225 with SMTP id at1mr715218obd.29.1403017449814; Tue, 17 Jun 2014 08:04:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.163 with SMTP id p32ls4964974qgd.42.gmail; Tue, 17 Jun 2014 08:04:09 -0700 (PDT) X-Received: by 10.52.232.133 with SMTP id to5mr18760835vdc.16.1403017449701; Tue, 17 Jun 2014 08:04:09 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id za4si5565529vdb.43.2014.06.17.08.04.09 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Jun 2014 08:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id db11so7610182veb.40 for <patchwork-forward@linaro.org>; Tue, 17 Jun 2014 08:04:09 -0700 (PDT) X-Received: by 10.58.112.65 with SMTP id io1mr854493veb.61.1403017449614; Tue, 17 Jun 2014 08:04:09 -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.221.54.6 with SMTP id vs6csp216180vcb; Tue, 17 Jun 2014 08:04:09 -0700 (PDT) X-Received: by 10.50.164.130 with SMTP id yq2mr33421329igb.10.1403017448959; Tue, 17 Jun 2014 08:04:08 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id nu10si16811502igb.1.2014.06.17.08.04.08 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 17 Jun 2014 08:04:08 -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 1Wwutd-0004Sl-8A; Tue, 17 Jun 2014 15:02:01 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <Ian.Campbell@citrix.com>) id 1Wwutb-0004Sc-R0 for xen-devel@lists.xen.org; Tue, 17 Jun 2014 15:01:59 +0000 Received: from [85.158.143.35:35171] by server-3.bemta-4.messagelabs.com id 62/45-16194-76850A35; Tue, 17 Jun 2014 15:01:59 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-16.tower-21.messagelabs.com!1403017317!8541189!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 17237 invoked from network); 17 Jun 2014 15:01:58 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-16.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 17 Jun 2014 15:01:58 -0000 X-IronPort-AV: E=Sophos;i="5.01,494,1400025600"; d="scan'208";a="144507465" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 17 Jun 2014 15:01:55 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Tue, 17 Jun 2014 11:01:55 -0400 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=kazak.uk.xensource.com.) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from <ian.campbell@citrix.com>) id 1WwutX-0000bH-4i; Tue, 17 Jun 2014 16:01:55 +0100 From: Ian Campbell <ian.campbell@citrix.com> To: <ian.jackson@eu.citrix.com> Date: Tue, 17 Jun 2014 16:01:54 +0100 Message-ID: <1403017314-23229-1-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.9.0 MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH] 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> 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.128.181 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 b5eb9bc..d19e5ab 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
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> --- standalone | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)