From nobody Fri Apr 19 14:00:56 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=1561127107; cv=none; d=zoho.com; s=zohoarc; b=XVE+5w8/Zwk3ZwnU7dQMVFWtE/qx7RiakBOgDRnVltgNdMT3GOuxfyS3QjQA1UrCkaaCAd+PCn24ce/NbPDiPZAaxGQRkMLZ7Blg36UCQbKxnE313oHJdAAq7uGNT6A5uqEX+dMj76eqhuMMrYytgnuCT5YZ/OBNmyg2y1gipvU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561127107; 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=ZWh0Ztcg6WDgDnWT/xRjslvqnypnACxSJgd0HyZ1aUIw04OvvwXUA+O2ooIr1hQUtbmsyg6v/QyYTiAyaug9J+nJJSdNN3jwx/s+mE/XF37Yxz2h6HFOKeNiYmCifkYi6xdVtFjJhgLi4xBhCOgadKIayYLF83prx3QLaH4k00U= 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 1561127106711375.24675279033954; Fri, 21 Jun 2019 07:25:06 -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 1heKSP-0008B7-0A; Fri, 21 Jun 2019 14:24:01 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1heKSN-0008Av-AB for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:23:59 +0000 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 34a59c04-9430-11e9-8980-bc764e045a96; Fri, 21 Jun 2019 14:23:57 +0000 (UTC) X-Inumbo-ID: 34a59c04-9430-11e9-8980-bc764e045a96 Authentication-Results: esa4.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@mail.citrix.com 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 (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: cK/w6iYJTJw2f0F0leksyY8CIUCNJso9vp4U5fWoqn1u0k+bQU7KeUWlqEOrmHgr+etutFhpNv 0EY3XlxRtDas6TXbHGigzHRX1+dEdZfrLCLlqWPYpOSXKI00jAdACluSYCILe281i+dUsfKvFk J6DtB+sJ3PiA7pA+54i5We/s9ud3KtsxiLiscz5yBCwW3VFS3MGCwCXVtOMMPUMDUGRpe+J/Lq g5e5yLxOe82wWly3XzunHUChhEijXfTCbEiI1/+QJhAfwBAD2H7hk3BDVN2Xo3I/R6MMFzbSCK Pt0= X-SBRS: 2.7 X-MesageID: 2085625 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2085625" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:51 +0100 Message-ID: <20190621142258.1543-2-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 1/8] 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 Fri Apr 19 14:00:56 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=1561127111; cv=none; d=zoho.com; s=zohoarc; b=E2WpREv8OOT65L72/0TEtQnAuYEl4ow/Yd7I0nt2Bz5AduEahIl+IxNuUA7gHPr4ifA50bQM7s/D5C32KgS/xgABvDYwaPtMBT2XBukiboqXqgu+qyr+D8nD4Y2AD6ruBqQxRC0TWk/sXkwCLmKJqlBUsvs69YnL6KDB3IXendE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561127111; 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=hZp0jK5rvCH1dlEflGGy9LM0RQgE1NoGiET/EVtd7B8=; b=JVVz7b1FvDVx5XP99a8l0NSp+3X/LWiapSa4wSjxv6/klk3hp+JHTYo3rBSy/18HjymmJfhPgBdnHwCMpTjjRsHW6ZSq2a2MwDAH5NwqzcjjwI7dNX5yq6iRc6Qnbm1ThRwaZw89OrTJlAAW9KYgUneL72NxxymOV3uX21bTUZA= 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 1561127111779988.133583495559; Fri, 21 Jun 2019 07:25: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 1heKSb-0008Ff-QO; Fri, 21 Jun 2019 14:24:13 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1heKSa-0008FJ-DM for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:24:12 +0000 Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 3cd09e26-9430-11e9-8980-bc764e045a96; Fri, 21 Jun 2019 14:24:11 +0000 (UTC) X-Inumbo-ID: 3cd09e26-9430-11e9-8980-bc764e045a96 Authentication-Results: esa3.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@mail.citrix.com 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 (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa3.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa3.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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: S/MP1bsxVWJTRNJS/9/40pVrjn8I/1YkAy965baEct3whNqluVgU6ySQIxssFyekraOHt3EcWj 7R5Z61tX1GdPKnwOtFxIXe+FNyu/Ld38Mit1SefOIDa5yIH5unhsDpMTUFYSKf49Uer4d+LrYh Ir8lUBYrkVYe1PihubSypz3WwikrQJOIcSm/4HmoubYbFdMhekC6IT7xCdG2kfA0FcVNnrNo61 MEhEdXyK+8HiAHlMu8tJMuoSg6VbwsuXMCTK/oHaEIwCjpTV/nulG7q4VZzHA0UZ26I+nn3wWM k4o= X-SBRS: 2.7 X-MesageID: 2062672 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2062672" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:52 +0100 Message-ID: <20190621142258.1543-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 2/8] mg-transient-task: Put the ownd fd on a high fd, say, 114 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 avoids clashes with other shell scripts' etc. fds. Signed-off-by: Ian Jackson --- v2: New patch --- mg-transient-task | 5 ++++- tcl/JobDB-Executive.tcl | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mg-transient-task b/mg-transient-task index 2b3b315e..ce5180ff 100755 --- a/mg-transient-task +++ b/mg-transient-task @@ -22,7 +22,10 @@ package require Tclx =20 source ./tcl/daemonlib.tcl =20 -jobdb::become-task [string range "$argv" 0 50] +set ownerqueue [jobdb::become-task [string range "$argv" 0 50]] +dup $ownerqueue file114 +close $ownerqueue + exec 2>@ stderr perl -I. -e { use Osstest; use Osstest::Executive; diff --git a/tcl/JobDB-Executive.tcl b/tcl/JobDB-Executive.tcl index 4f3409a9..56b61825 100644 --- a/tcl/JobDB-Executive.tcl +++ b/tcl/JobDB-Executive.tcl @@ -435,6 +435,7 @@ proc become-task {comment} { AND refkey =3D [pg_quote [lindex $refinfo 1]] " } + return $ownerqueue } =20 proc preserve-task {seconds} { --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Fri Apr 19 14:00:56 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=1561127131; cv=none; d=zoho.com; s=zohoarc; b=MQgxMcXe+HuO/ZnwtsdANJtdekon/9PGjuzrL0bjvjivdqwmqKO/yZkL9b63mjpPqMOv053chWMMOOuy/IcJ2DTClrZEZbku0D0bNliAdyIoi894OYldaiXVIXGHqiiQkfGJWbslBdyVWKZmWW8LyVL4HVI9XIEFWpuvO0aQpy4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561127131; 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=lFy32pRDNq9EiPePsNXK1naeTc0HzOKULwdV00aldmd8xP7LjG0F0SbKguoH8Tv0uBHb43M8Ha8AHFV6QuAPgBYwWkFTPq1TmYyr6khKCB4Vm4Jo6muIYnMAqMp+NPKTzKRbxKdfz3nRjP4SrUPF1qnepFqhmtsqmmib/5H0/2k= 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 1561127131473470.3554496879244; Fri, 21 Jun 2019 07:25:31 -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 1heKSs-0008L8-5K; Fri, 21 Jun 2019 14:24:30 +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 1heKSr-0008Ku-8c for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:24:29 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 45a54cf0-9430-11e9-9dd7-7fc46bdb1239; Fri, 21 Jun 2019 14:24:26 +0000 (UTC) X-Inumbo-ID: 45a54cf0-9430-11e9-9dd7-7fc46bdb1239 Authentication-Results: esa5.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@mail.citrix.com 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 (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa5.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa5.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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: /XUA8yR72MDnMnMtbbiYgcNcDJAXjLqiqKYBoXUFRnXq1wIomde4g36Jgf9qqGGbcrvb075WRq 2/dbXZ1pvNMWIesaRJmt1NiQ7pg2toUx4UPethMyQ1m3HwWneuehMq6q6Cdo2AT2giig9scv9T rJXqPT499J4M+f4zjMVhetADPI/5X0OBhCKYLjS+gk5FdNHaLr2BGu2fA9/SImDit+pW+FqLvM GJthy/5gaxi2vepiII+YymzgvoHniri99QV1QRR2p9ew+6Z4vnypGMnNDoatIuu4M8nXNp9fQr ZQY= X-SBRS: 2.7 X-MesageID: 2052935 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2052935" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:53 +0100 Message-ID: <20190621142258.1543-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 3/8] 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 Fri Apr 19 14:00:56 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=1561127146; cv=none; d=zoho.com; s=zohoarc; b=fzsx+OZg9xfd7tvZrF8VSLVWNRBvGbz8ENq1s1bzxLYsnuSm5froSMa5tOSlYYDYj0NnYAiWV1IgR0OqbdEYVS86o8JRDieMzfBw0ldUUPwXWxeZWLvaLzMOrd8tfqiLZJRRMozHukUhMlRYemFP4GCDykgHYxZ6T2n3Jcc9jAs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561127146; 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=OHtGGtnD2Vv91Fy5CePXfPLGR43X/pR1IvrH5e16sRQ=; b=nraI0XIifGaY/PhtLcQs9RxOfXQkbNc/LMAluDHK5VN8fYAndH9DPFQtMv60ngaSUbwMdDDHNilIlPx2POWjGwccUzIONUNGGdkqOkBah5IZGLa0zbrwcbiZpKgupUyv7zYICtQFT357iB4rIzxpAI0CzHUSjuofyJcm9V2DVqk= 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 1561127146315212.99089379404427; Fri, 21 Jun 2019 07:25:46 -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 1heKT9-0008QS-Fd; Fri, 21 Jun 2019 14:24:47 +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 1heKT7-0008Pv-Ie for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:24:45 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 4e9b7488-9430-11e9-b65b-870970f44dc4; Fri, 21 Jun 2019 14:24:41 +0000 (UTC) X-Inumbo-ID: 4e9b7488-9430-11e9-b65b-870970f44dc4 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@mail.citrix.com 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=162.221.158.21; 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 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; 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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 4sA+h8HnP3Bp2wXp1S1rVvacZFFtWA20S8KlWGu5gJmNZWhmCvgMW+EWjpZLMccHIgnBCrpTza iugsPkPM56lQyUpFdnLZJF88OvCmne67p6Rn50sF6YjltwLSA0h/8LPeXf/+QtFqX1GkaiDcw0 HJWEykJpcV7Alg1f+46Dp3TfRR3L57fsjnXQNuyq1UHHqsOEkLn7wX3cNrNXRiTGVWn7b7K8VG uhli73lrvvcXOqiXQ4snTkZC/ypcV7orkZ7gMvVKNxG2ncAHX0V4k2zFU5U2K7UxrdHuYc6i4U OAI= X-SBRS: 2.7 X-MesageID: 2062244 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2062244" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:54 +0100 Message-ID: <20190621142258.1543-5-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 4/8] mg-repro-setup: Do not imply that a --rebuild needs a +TREE 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" The +TREEs and other specifications are convolved. Signed-off-by: Ian Jackson --- mg-repro-setup | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mg-repro-setup b/mg-repro-setup index 5a52e617..9a81c565 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -45,8 +45,7 @@ usage () { cat <] [-r...] - [.BUILDJOB | =3DBUILDJOBRUNVAR...] - +TREE=3DURL#REVISION... + [.BUILDJOB | =3DBUILDJOBRUNVAR | +TREE=3DURL#REVISION ...] Also use a different build. Specifically, use URL and REVISION for certain builds which mention TREE and which are referenced=20 (directly) in the job JOB in EXAMPLE-FLIGHT. The affected builds @@ -55,7 +54,7 @@ usage () { cat < Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1561127177532315.60680863445907; Fri, 21 Jun 2019 07:26:17 -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 1heKTP-0008VT-R9; Fri, 21 Jun 2019 14:25:03 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1heKTP-0008VI-8i for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:25:03 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 5b385421-9430-11e9-8980-bc764e045a96; Fri, 21 Jun 2019 14:25:02 +0000 (UTC) X-Inumbo-ID: 5b385421-9430-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@mail.citrix.com 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=162.221.158.21; 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 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; 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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: qP7B1voH7vkL957cfszKMdxg/ZH1qG/xcEBpek+G2LbZrVQIZRJ6c+BLcYmIlLvEMTB5znD0Sw rOhsg2TMon8gTZM95Nx6MRxiz5iTI8dCFRZ0G8Y0vWMO/u6vRAlk0Hs/AihfJI5TDq1Tf6km49 OY37jP/SrsUSca3kt3N7/NxwGxbE7xva1BwLxT69ybOGhw8D4lyPzrdScuC7DCJngcN71XkQhc S12B2Lt7Dihk4i5QbF/7VwlRLXJE+u8hfBdrYCG1XXNveK14Wze8HOkR5hd4ckcx9xgNX7VtIf 7M4= X-SBRS: 2.7 X-MesageID: 2052643 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2052643" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:55 +0100 Message-ID: <20190621142258.1543-6-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 5/8] 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 9a81c565..45c56f6a 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -102,6 +102,7 @@ duration=3D28d blessing=3Dplay skipcapture=3Dtrue autoalloc=3Dfalse +statictask=3Dtrue =20 while true; do case "$1" in @@ -116,7 +117,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 @@ -257,16 +258,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 Fri Apr 19 14:00:56 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=1561127190; cv=none; d=zoho.com; s=zohoarc; b=KUiyu4Eputf2brB3VniuWesyFVNg91QBADKy4KB0QBBCaGSGbdkcGzCenbVNqrWb/cA8wg/EOmVZ5CNgsrsp00tJmS0W40f0fVY9FLO4CBlv3LVn+ZIjaFClSOEYvs1O2/yezFgokDW+cCcbeQ/HSl4dcUDL+twitMppE+eq/30= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561127190; 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=oUOBvR4CePgs3A5F+DCYyN0h+egJfNoae3hg0SkmkNE=; b=EWd1DrGUWmsM9orvRbO5apZbeJ5//gSrALULz5TpViAkSqQGELxC/El2iUECs9g6SypuA2e8CaQuC3b3PCKraHOKTeHZu00ddOMOwVnfaEXbr7iGSsE3s+8tQnDLhhtiFoVDmfoVv6MI4ugEAOq4RtaE1D7bLQ5G5y8o6AZMVMk= 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 156112719025644.812174960030234; Fri, 21 Jun 2019 07:26:30 -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 1heKTf-0000AH-6a; Fri, 21 Jun 2019 14:25:19 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1heKTe-00009v-8N for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:25:18 +0000 Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 63be3e94-9430-11e9-8980-bc764e045a96; Fri, 21 Jun 2019 14:25:16 +0000 (UTC) X-Inumbo-ID: 63be3e94-9430-11e9-8980-bc764e045a96 Authentication-Results: esa3.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@mail.citrix.com 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 (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa3.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa3.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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa3.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa3.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: Sbi811uP9kKIT6ROykH343mz4aMXxlmH6W2VFRrweixlvkxJua6Txft1cicamMr/xttl86QAr3 cMP/y4HvFgO+ZVzsVDunWvo0v2OauUm0XAehK+Y+Y72SutfRGUBcp7h4Dqo4xOUMu5PldiBNrc 6UU+ckxyi//BNMFtQVLtSkjSDiWv0RnTO52y2gdlZCwDEdc8rW2dN7eNiPzLOARCvcF0+saLp0 jj/+MAIuIolUwbfWa6cu0PUeG2b8RRDQ8/AkB4ZlYhQH2N/WrkbHVbm6pqLD16uTMeijm1Hz5p h7k= X-SBRS: 2.7 X-MesageID: 2062907 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2062907" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:56 +0100 Message-ID: <20190621142258.1543-7-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 6/8] 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 45c56f6a..b55f021e 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...] @@ -104,6 +111,8 @@ skipcapture=3Dtrue autoalloc=3Dfalse statictask=3Dtrue =20 +if [ "x$OSSTEST_TASK" !=3D x ]; then statictask=3Dfalse; fi + while true; do case "$1" in -*) ;; @@ -117,6 +126,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}") ;; @@ -297,7 +307,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 From nobody Fri Apr 19 14:00:56 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=1561127196; cv=none; d=zoho.com; s=zohoarc; b=HSK1hydHAZQSinQlIUTJY872RVW9LM1HtVmwH3x0Lhwg2HxWuoJem6rcexIrWyr+8vTHXtuUeAnp+HODEKKCt1Br7XHQ/5KlDBpPHyBqYh7P2ul8VRFlWiz4virg8K2x0fIJrXgFtjWh5gFlB8CfPHkU92j9xVi4T0d4kBN+Kf0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561127196; 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=juw/dP7RNWkYGICkYPHzauJ4EW4lMeFQYp1jLbUDPfE=; b=EDaeut4/CRPjMsz4WXxXvHm9YOLn2Eb4menPHb/pTbpJZzVx05FXERKLWhvOTWnJLTHyPeNRdQcmxJ8vmmVwxvRUwdj2zcQSkLgURmnF4LVLmrfwDisc4X/LZkpG9fucvbOni+E2h5vDbLrtTPWqn0wSmsjmEviDA5kx5qOBR1k= 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 1561127196234572.2638211867479; Fri, 21 Jun 2019 07:26:36 -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 1heKTu-0000HB-NV; Fri, 21 Jun 2019 14:25:34 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1heKTs-0000GU-Sc for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:25:32 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 6c8c39ef-9430-11e9-8980-bc764e045a96; Fri, 21 Jun 2019 14:25:31 +0000 (UTC) X-Inumbo-ID: 6c8c39ef-9430-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@mail.citrix.com 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=162.221.158.21; 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 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; 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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: KtkkrOuWUyDs/qU86cFHmQy/jbeO3R9bj13ZPFGMpuZcYlPeeFrNMdw6itf/5YigqE7WF91xvs F0vcCp+d2m9DZNZhp8XJhN52XzCvvTDPa8tjWvgJ0bGG+fa7GsDSUwOtGvWDzjCo1l9CtS6aly 2qVDsXfsoNHa2e4OEclwsQXDZybcpBMdhfOgRsZQt2wKTW1YoenJogiRpFyJVRrfs/scDep2cz x2Cu3l3tJfVZ6Dftp5KLLkEJpO4YrLteWZteeJ6a/PxaTPWDkHX3bQdAw4USsI8b6ii09TpyMM g44= X-SBRS: 2.7 X-MesageID: 2062303 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2062303" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:57 +0100 Message-ID: <20190621142258.1543-8-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 7/8] mg-repro-setup: actually accept --rebuild -rVAR=VALUE 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" The glob syntax here was wrong, and the code cs-adjust-flight did not handle it properly either. So --rebuild -r has not worked since it first appeared in: a1e0e5846f7bb7d82a5db1d7cd643b9f5ca1b9a9 mg-repro-flight: Provide --rebuild to make variant build jobs Signed-off-by: Ian Jackson --- v2: New patch --- cs-adjust-flight | 2 +- mg-repro-setup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cs-adjust-flight b/cs-adjust-flight index 5be5af38..ae342506 100755 --- a/cs-adjust-flight +++ b/cs-adjust-flight @@ -485,7 +485,7 @@ sub change__repro_buildjobs { my @refspecs; my @varspecs; my %treespecs; - while (@changes && $changes[0] =3D~ m/^[.=3D+]/) { + while (@changes && $changes[0] =3D~ m/^[.=3D+]|^-r/) { local $_ =3D shift @changes; if (m/^[.=3D]/) { push @refspecs, $_; diff --git a/mg-repro-setup b/mg-repro-setup index b55f021e..3ceb7032 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -187,7 +187,7 @@ while [ $# -ne 0 ]; do rebuild_specs=3D() while true; do case "$1" in - [.=3D+]*|-r) rebuild_specs+=3D("$1"); shift ;; + [.=3D+]*|-r*) rebuild_specs+=3D("$1"); shift ;; -B?*) rebuilds_blessing=3D${1#-B}; shift ;; -*) badusage ': bad --rebuild option' ;; *) break ;; --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Fri Apr 19 14:00:56 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=1561127207; cv=none; d=zoho.com; s=zohoarc; b=Bj9CeBUMf1+0WS4rSvtICoDsaOLbAmNy/x17vm8zDfa8nZtL+Ihw9f2hLN7K4UuskrtvH7xwvff/0OnZ+VyAGJMKY5jeWK7QbxXWAK45aQI6zgJtQPZ7UZ/8Ymqi8v9PQ93Y6c9mqWDYwFsG/KuzBQyefVjhzM8LdOnb/aBfVYU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561127207; 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=AiicfuPSEn0xZ9Ecw7ezCWJvW5sUWAbiBrhVeXPTWnE=; b=H0RDwWzUj7yUuHJf7JapRvVkPEWty87x0SVp1L0fjzeV/So+O47BAZktRDwYU4BKyT/G71+goIHL6KA+bzJh59FAvQEHPeUqXUiDgxLBtXtZVApnl9n9vE2kjx+w5zrFNzfFhVbskk87P2RWRg23j5MZftR2yi7NDJPWhksd2lU= 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 1561127207899341.36557188618997; Fri, 21 Jun 2019 07:26:47 -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 1heKU9-0000NG-2f; Fri, 21 Jun 2019 14:25:49 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1heKU7-0000MW-Oq for xen-devel@lists.xenproject.org; Fri, 21 Jun 2019 14:25:47 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 758cb6de-9430-11e9-8980-bc764e045a96; Fri, 21 Jun 2019 14:25:46 +0000 (UTC) X-Inumbo-ID: 758cb6de-9430-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@mail.citrix.com 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=162.221.158.21; 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 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; 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:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: FkNg6XtL4HvSxbAGmXuvA4DC7v+wE+++HKlle42pEGSxDnwtEAj2Hc7X7yeiXpTBCS0WNlRtWG NuRWYkA++gUlSACuHSPYs4myI9S4ZsVt6LizGcOpkFm9rUA0DVVL4qpGsH8gFy+4eo3MMcY9RI kDqDThAQDu8r065r2iyqmCjWel02MpOK/Z+xHVNRpkWyzzfCkLVmETzm9Wb5sw1AQr5DbOW+mK cs1Hh1I9gRzpRmZ9SNZ5PZ9exJIe9mzMzdp1I767I2sazxNzezP888R4sgqLEL/3rxeWptaeLv I6Q= X-SBRS: 2.7 X-MesageID: 2062321 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,400,1557201600"; d="scan'208";a="2062321" From: Ian Jackson To: Date: Fri, 21 Jun 2019 15:22:58 +0100 Message-ID: <20190621142258.1543-9-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621142258.1543-1-ian.jackson@eu.citrix.com> References: <20190621142258.1543-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 8/8] mg-repro-setup: Do not wrongly reject multiple --rebuild 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" --rebuild ends the current --rebuild specification. Signed-off-by: Ian Jackson --- v2: New patch --- mg-repro-setup | 1 + 1 file changed, 1 insertion(+) diff --git a/mg-repro-setup b/mg-repro-setup index 3ceb7032..374176f0 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -189,6 +189,7 @@ while [ $# -ne 0 ]; do case "$1" in [.=3D+]*|-r*) rebuild_specs+=3D("$1"); shift ;; -B?*) rebuilds_blessing=3D${1#-B}; shift ;; + --rebuild) break ;; -*) badusage ': bad --rebuild option' ;; *) break ;; esac --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel