From nobody Sat May 4 03:11:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1558367032; cv=none; d=zoho.com; s=zohoarc; b=gXhpD+Jy1N/lqSxJ1t/bSEPd6tDVBntnwoKW4SD4+cD+CJEI/w0ISf1bhjAoiPw9MGiu7eY8TygmWxDqlXQBmIUmelkfuGN07uXT/4/S5QIBSL9kO9IYwfSSf+zYIWIm3U3tElmyaWTq1BKAIW1+rJVS9RqhoYEUgWVynF06IgM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558367032; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=SDCjVKUXvZhUb3SulZz3pxOKU777+Kz3Vn8YWLqPM0Y=; b=SSTkIUi3pJlm59l6+TUFJgm48EQWRNiV7yYOyS+AzghYoISuBfXJNwlTyvcPqdXmcHlnGdZ/HgEe13gPwEiLc4pyPZJOaEXydpWVIio4ennj5zTWTJAgeIG3bsyHsLbnzhPaCMR9GGAFaAm6pLvjQY6EZUjjTaIFXqDR5UO353w= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1558367032442551.9619892835902; Mon, 20 May 2019 08:43:52 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkR1-0006he-Cp; Mon, 20 May 2019 15:42:43 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkR0-0006hV-Mr for xen-devel@lists.xenproject.org; Mon, 20 May 2019 15:42:42 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id e6ebc840-7b15-11e9-8980-bc764e045a96; Mon, 20 May 2019 15:42:41 +0000 (UTC) X-Inumbo-ID: e6ebc840-7b15-11e9-8980-bc764e045a96 Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@MIAPEX02MSOL02.citrite.net Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=23.29.105.83; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa6.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 23.29.105.83 as permitted sender) identity=mailfrom; client-ip=23.29.105.83; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:23.29.105.83 ip4:162.221.156.83 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@MIAPEX02MSOL02.citrite.net) identity=helo; client-ip=23.29.105.83; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@MIAPEX02MSOL02.citrite.net"; x-conformance=sidf_compatible IronPort-SDR: KZ+/YKqg8HAisFaeIeJKB5u88sVLLQrkndxo1mdkez73WJAAsqBwXV7qrxl0vi8+VW20Ttv/UA B9Dsn+jTZGdpYVY6U04+AKANEJlz5XxE+r6qTjGpAgmEB1HsfPyp+5i1cDkNutpFXxZJ1fEkcN mlKTvV6vSIhh3LXNDfkcda1tfTPY6pAotOJF7Jbp767Zs4eqt/WChOw1lGKdjGo1iwjkTQdRcf Cr98fFJHFC4Z6QleZUZceMxT/OcJz/Qd+c2MkEddV+QT+AnH5IwFpRYRah2dvgJHoLZwZjkm/3 yOU= X-SBRS: 2.7 X-MesageID: 647627 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 23.29.105.83 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.60,491,1549947600"; d="scan'208";a="647627" From: Ian Jackson To: Date: Mon, 20 May 2019 16:41:44 +0100 Message-ID: <20190520154147.30675-2-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190520154147.30675-1-ian.jackson@eu.citrix.com> References: <20190520154147.30675-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 1/4] mg-repro-setup: Do all builds in their own tasks, regardless X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" In case OSSTEST_TASK was set by the caller, unset it. Unsetting it will cause each sg-run-job (inside mg-execute-task) to become its own task. Signed-off-by: Ian Jackson --- mg-repro-setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mg-repro-setup b/mg-repro-setup index dc6c5cbb..5a52e617 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -247,7 +247,8 @@ progress "new flight is $flight" =20 if [ "x$rebuilds_flight" !=3D x ]; then progress "running build(s) $rebuilds_flight" - ./mg-execute-flight -B$rebuilds_blessing --progress-fd=3D2 \ + env -u OSSTEST_TASK \ + ./mg-execute-flight -B$rebuilds_blessing --progress-fd=3D2= \ "${mgexecflags[@]}" $rebuilds_flight =20 mro=3Dtmp/$rebuilds_flight.mro --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Sat May 4 03:11:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1558367051; cv=none; d=zoho.com; s=zohoarc; b=J+Ey5+ak9wfoU8shcU91nCgj1LAHhlc39/P49d2X9ng8MUaPnwhkL/FuamCqz61LSSlvk/osz/qE2X0NaYr4avEesl+UOH4jk6zJSqoRS4tUk0LWYoZQylQaQ0Dx7Ga95dluxdeeYvCRGE9GryBWuL6+ayFrga5SpvVvqqOMJVk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558367051; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=Az+LkslsmOjw2ZpGsDXor2NeC1iGSvjbFVq/OQ2e+HU=; b=MWPc+n/s8zNIzCF0t5CSi2X2WdiTJX+TLTVmLPKYYRfm6Do4BEwKwm7Yf3R4/L1l2KQHiw8Rop4qYqEc8gIqOVyTscF/9qMXZ9/ct3LXCKKElZ5Nj1ncfWIZo2D5x8mlw26rz2nGGLZJ49SCBOVradKVBO1cbeN2zwgEhJKWUXc= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1558367051848963.2532018340801; Mon, 20 May 2019 08:44:11 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkRI-0006l7-NW; Mon, 20 May 2019 15:43:00 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkRH-0006kn-6v for xen-devel@lists.xenproject.org; Mon, 20 May 2019 15:42:59 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id f0a09087-7b15-11e9-8980-bc764e045a96; Mon, 20 May 2019 15:42:57 +0000 (UTC) X-Inumbo-ID: f0a09087-7b15-11e9-8980-bc764e045a96 Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@MIAPEX02MSOL01.citrite.net Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=23.29.105.83; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa2.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 23.29.105.83 as permitted sender) identity=mailfrom; client-ip=23.29.105.83; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:23.29.105.83 ip4:162.221.156.83 ~all" Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@MIAPEX02MSOL01.citrite.net) identity=helo; client-ip=23.29.105.83; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@MIAPEX02MSOL01.citrite.net"; x-conformance=sidf_compatible IronPort-SDR: +KVTCyCkECIuWTU6n6t5Gs8tvQjNCsrW2HdxnTYVkD5DCsCXt1GWdQnCd+OumYGjr50P/c4eAr JfLxKSpA+x31gyjGCrcO2RhABYlu83J9RSmBeWk1zgHFMufUAZDirIG/MuQPTEBI0csY8rX9G7 yOu3zprjsC3ENNwOOFflys4GNdJDD/D93wcVNcFBw7MVqqYM/OsXYqxbGfx6yI7VAZmnfN3YYk UVRacvfM642tfi/AQfdoiM+n8+9iklcTY8QWLtqq2C3819aGfVZUepFqC0d5iZ+bryKFZFF6fZ aJw= X-SBRS: 2.7 X-MesageID: 661820 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 23.29.105.83 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.60,491,1549947600"; d="scan'208";a="661820" From: Ian Jackson To: Date: Mon, 20 May 2019 16:41:45 +0100 Message-ID: <20190520154147.30675-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190520154147.30675-1-ian.jackson@eu.citrix.com> References: <20190520154147.30675-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 2/4] mg-transient-task: New utility X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Will be useful in combination with new mode(s) of mg-repro-setup. Signed-off-by: Ian Jackson --- mg-transient-task | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 mg-transient-task diff --git a/mg-transient-task b/mg-transient-task new file mode 100755 index 00000000..2b3b315e --- /dev/null +++ b/mg-transient-task @@ -0,0 +1,32 @@ +#!/usr/bin/tclsh8.5 +# -*- Tcl -*-=20 +# usage: ./mg-transient-task PROGRAM [ARGS...] + +# This is part of "osstest", an automated testing framework for Xen. +# Copyright (C) 2009-2019 Citrix Inc. +#=20 +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published= by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +#=20 +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +#=20 +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +package require Tclx + +source ./tcl/daemonlib.tcl + +jobdb::become-task [string range "$argv" 0 50] +exec 2>@ stderr perl -I. -e { + use Osstest; + use Osstest::Executive; + csreadconfig(); + findtask() +} +execl [lindex $argv 0] [lrange $argv 1 end] --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Sat May 4 03:11:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1558367055; cv=none; d=zoho.com; s=zohoarc; b=GE3FLk8joQTp+m/M+arIh7ZGQNu6EAazQJ/YoywUF0BNI8Dmvb/FjLJN/ep9tO2dJ6g7HlRBUzrQcyi4kq8rfOW7txHFVTVRC5tHWsSNxpxAf6LBe8T7LQITDZBCh52dLRm2s7ERnq8UUdfeLTy77uMR9mzv921EIrpKYutzQSo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558367055; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=rTcGTQOacc3uafsNoa31/Zc0XFpzYnYADob+w+L4cyQ=; b=O3QE9wzlx7+VJmwJEQyd+GtYHmX7nwi2Y8TJUgrvnEM5rroV5bxNDpUegrykfJWJbmgYc3B3E1Q3celg3jhHZ+wQvx9TcqrwpU3rAQm7UKXqZshcAkdeOzV+bay+xx2Wx193X/Bgpi4hYoNjLPoxhgm4zWG+IQG1yVMJYiwQv2U= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1558367055238491.8938046155098; Mon, 20 May 2019 08:44:15 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkRX-0006o5-2R; Mon, 20 May 2019 15:43:15 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkRV-0006nc-7l for xen-devel@lists.xenproject.org; Mon, 20 May 2019 15:43:13 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id f9434e59-7b15-11e9-8980-bc764e045a96; Mon, 20 May 2019 15:43:12 +0000 (UTC) X-Inumbo-ID: f9434e59-7b15-11e9-8980-bc764e045a96 Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@MIAPEX02MSOL02.citrite.net Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=23.29.105.83; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa2.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 23.29.105.83 as permitted sender) identity=mailfrom; client-ip=23.29.105.83; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:23.29.105.83 ip4:162.221.156.83 ~all" Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@MIAPEX02MSOL02.citrite.net) identity=helo; client-ip=23.29.105.83; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@MIAPEX02MSOL02.citrite.net"; x-conformance=sidf_compatible IronPort-SDR: 0TTEQkWmNlb99UCq+fGMOKVRwTb0AyD0JIqyyfktnyBcc3cFT6NLSGBn8cm+v1QU3bFCJVx8VQ fhrE+8W+ryL/FQd/sEy6+jQ8YIMijO8S4xriZIacALGkEujcpGWp5ZqIVtDCRAGoWtb4hvICOi g8XcTVLUCEVbrZRt1fBNm71Rd+lx9dYQ0RElvGI9V6r76PsV9k41UUBWtVan9k4f9ai+BYPxpw hD2rMIsxkGJUow1j6cjflu2vAbIYnt60NZstdnx0t0IZ8lV76iJ/zFxKxM2Z9z05aGfV6zXgb/ Cs4= X-SBRS: 2.7 X-MesageID: 661831 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 23.29.105.83 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.60,491,1549947600"; d="scan'208";a="661831" From: Ian Jackson To: Date: Mon, 20 May 2019 16:41:46 +0100 Message-ID: <20190520154147.30675-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190520154147.30675-1-ian.jackson@eu.citrix.com> References: <20190520154147.30675-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 3/4] mg-repro-setup: Introduce `statictask' variable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" We are going to make a mode where we don't set OSSTEST_TASK. The result is that our subprocesses will do whatever they usually do. Those are mg-allocate (which would allocate for our static task) and mg-execute-flight which will make a dynamic task. We must therefore prevent mg-allocate from running since the allocations would not be useable for the flight execution. No functional change yet, since nothing sets statictask=3Dfalse and therefore OSSTEST_TASK would always be set. Signed-off-by: Ian Jackson --- mg-repro-setup | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/mg-repro-setup b/mg-repro-setup index 5a52e617..b60389d8 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -103,6 +103,7 @@ duration=3D28d blessing=3Dplay skipcapture=3Dtrue autoalloc=3Dfalse +statictask=3Dtrue =20 while true; do case "$1" in @@ -117,7 +118,7 @@ while true; do -t?*) duration=3D${arg#-t} ;; --rogue) duration=3D'' ;; --capture) skipcapture=3Dfalse ;; - --autoalloc-nofree) autoalloc=3Dtrue ;; + --autoalloc-nofree) autoalloc=3Dtrue; statictask=3Dtrue ;; -l*) logfile=3D${arg#-l} ;; -r^*|-r!*) adjustsets+=3D("${arg#-r}") ;; # ^ two patterns because there's no way in bash to write @@ -258,16 +259,25 @@ if [ "x$rebuilds_flight" !=3D x ]; then fi fi =20 -OSSTEST_TASK=3D$(perl -e ' - use Osstest; - use Osstest::Executive; - csreadconfig(); - findtask(); - printf "%s\n", $ENV{'OSSTEST_TASK'} or die $!; -') -export OSSTEST_TASK +if $statictask; then + OSSTEST_TASK=3D$(perl -e ' + use Osstest; + use Osstest::Executive; + csreadconfig(); + findtask(); + printf "%s\n", $ENV{'OSSTEST_TASK'} or die $!; + ') + export OSSTEST_TASK +fi =20 if [ "${alloc_idents[*]}" ]; then + if [ x"$OSSTEST_TASK" =3D x ]; then + # We would have to make a dynamic task and hold the + # fd for it in this script. Would be quite awkward. + echo >&2 'cannot hand-allocate in a way that will free' + exit 1 + fi + progress "allocating ${alloc_idents[*]} ..." alloc_output=3Dtmp/$flight.allocations ./mg-allocate \ --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Sat May 4 03:11:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1558367079; cv=none; d=zoho.com; s=zohoarc; b=aTDE2F+z0d/nvImjvluQbL1LeU/6psEjhUQZRUQP1Nj8ehUEMPWgOQuCJGewxiX2SweNB64hrz2PEmTuuHCO1UxZFwzuc4nq3vwOtiZpKDE1uDYtaBmxxgr6VLI1vfLIW2BKMceBAU02NLd2cd5lTUsod5vdfs69sN2fwIhreGw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558367079; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=c+DH5OMa/ta0FifT0f79Lb3inAyeeUNibGFZpUG4tx0=; b=aMPhmTbAdEMYyIaD/JMsoYiLmMb64rkd8+OsHvAzoc5o95DBxaNr0M+F7iWeZdr5LufjiWQ5hnCYaZRS8eDHDBOZO0NJXWrck09Y3aEOePjh+WfoP0gQqD5SaZeSgLiIEWon1iAdo9/y5U60MrT5Z7QVNZgG5VHf5VNTDTZT0Eo= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1558367079584998.3425797758229; Mon, 20 May 2019 08:44:39 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkRs-0006to-Ef; Mon, 20 May 2019 15:43:36 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hSkRq-0006tE-EF for xen-devel@lists.xenproject.org; Mon, 20 May 2019 15:43:34 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 051f4696-7b16-11e9-977c-dfdf6955942d; Mon, 20 May 2019 15:43:32 +0000 (UTC) X-Inumbo-ID: 051f4696-7b16-11e9-977c-dfdf6955942d Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@MIAPEX02MSOL01.citrite.net Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=23.29.105.83; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa6.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 23.29.105.83 as permitted sender) identity=mailfrom; client-ip=23.29.105.83; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:23.29.105.83 ip4:162.221.156.83 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@MIAPEX02MSOL01.citrite.net) identity=helo; client-ip=23.29.105.83; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@MIAPEX02MSOL01.citrite.net"; x-conformance=sidf_compatible IronPort-SDR: CvriHBnSUOXdgJsFi7ILPQNE/HTV6fOfo4YTtj0RTj4/xibtLnnADhuY8cVZ0X7SrFmh5Qt2VR +NsJMZbml+o1wKk1FKw/HZaVDGIpkvv6JA+IDU0q5qbeey/IWW94f4wbZ3++GCRjYqkCjrj2Z2 H+Be0+9JYkkCpz4dZeH8lCH+/uzw4Verz26VGxFRXnJHbWEHD6183b2hV0ZZKBrUCEluvl4Mjl UXDV28fFTsJg6mnzBRatpNSwmVVCP0qc8vNP+JoEFIzObeX5g7KW5CCZQFZkpFMecrFBV3i4cw +4o= X-SBRS: 2.7 X-MesageID: 647680 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 23.29.105.83 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.60,491,1549947600"; d="scan'208";a="647680" From: Ian Jackson To: Date: Mon, 20 May 2019 16:41:47 +0100 Message-ID: <20190520154147.30675-5-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190520154147.30675-1-ian.jackson@eu.citrix.com> References: <20190520154147.30675-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 4/4] mg-repro-setup: New mode --autoalloc X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This just involves turning autoalloc on and statictask off. It is most useful with mg-transient-task, as documented. Signed-off-by: Ian Jackson --- mg-repro-setup | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mg-repro-setup b/mg-repro-setup index b60389d8..e6265b32 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -28,7 +28,7 @@ usage () { cat <=3D][reuse:] host must be allocated, skip host-ins= tall [=3D]wipe: host must be allocated, wipe it - [=3D]alloc: \`mg-allocate ', and w= ipe + [=3D]alloc: \`mg-allocate ', and w= ipe[*] none: no hosts (should be only HOSTPSEC) (default is \`host') =20 @@ -42,6 +42,13 @@ usage () { cat <] [-r...] @@ -105,6 +112,8 @@ skipcapture=3Dtrue autoalloc=3Dfalse statictask=3Dtrue =20 +if [ "x$OSSTEST_TASK" !=3D x ]; then statictask=3Dfalse; fi + while true; do case "$1" in -*) ;; @@ -118,6 +127,7 @@ while true; do -t?*) duration=3D${arg#-t} ;; --rogue) duration=3D'' ;; --capture) skipcapture=3Dfalse ;; + --autoalloc) autoalloc=3Dtrue; statictask=3Dfalse ;; --autoalloc-nofree) autoalloc=3Dtrue; statictask=3Dtrue ;; -l*) logfile=3D${arg#-l} ;; -r^*|-r!*) adjustsets+=3D("${arg#-r}") ;; @@ -298,7 +308,7 @@ if [ "${alloc_idents[*]}" ]; then progressf "\n" if $autoalloc; then echo >&2 \ - 'warning: --autoalloc-nofree and HOSTSPECs are do not work well together' + 'warning: --autoalloc[-nofree] and HOSTSPECs are do not work well togethe= r' fi fi =20 --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel