From nobody Mon Feb 9 23:38:53 2026 Delivered-To: importer@patchew.org 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; 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=1555605197; cv=none; d=zoho.com; s=zohoarc; b=oYqYK7rzBsBBS4Dg7yPUe9FKSTjWq9KAGi0IWErkKrh7oC8h+BSiGrhsfnRMxfqa8LUMpKNx7NgPv3f0rCjm8waRfHy5Db/49wnDfcOEBuYtjBb7h6Knd/hvl/+0SAVDNy9ZPAsPshQKGXprQ7VxJ3RrATT2uaPoLleEDz6IJik= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555605197; 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=+m86WeWsKAagwLO5nbZWzEWFhrkroqJJcX9t56WEqwY=; b=iHYXej+Ly9lv0XrAuKz191vuP6GFrrJM3FDf3GtxR7uiMIKh3fmHt0ZGo7bP3ZNWaFa9xViqabMi0NwE7lk/5yjW1mPzJGMa4UIkAenzTDZPV1oR9jZfxJl2FeYhkXuWmY0PjrjaJDeguLRLOSuJrZrLb4EMhK4DvE1jix25Yo8= 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 155560519760385.40076795410698; Thu, 18 Apr 2019 09:33: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 1hH9xI-0001zf-Ua; Thu, 18 Apr 2019 16:32:08 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hH9xG-0001z3-MF for xen-devel@lists.xenproject.org; Thu, 18 Apr 2019 16:32:06 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 80c5613d-61f7-11e9-92d7-bc764e045a96; Thu, 18 Apr 2019 16:32:05 +0000 (UTC) X-Inumbo-ID: 80c5613d-61f7-11e9-92d7-bc764e045a96 X-IronPort-AV: E=Sophos;i="5.60,366,1549929600"; d="scan'208";a="83913761" From: Ian Jackson To: Date: Thu, 18 Apr 2019 17:31:40 +0100 Message-ID: <20190418163158.11408-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190418163158.11408-1-ian.jackson@eu.citrix.com> References: <20190418163158.11408-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 03/21] ts-logs-capture: Do not try to capture logs of hosts not allocated 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" Little significant change with existing non-broken flights etc. Signed-off-by: Ian Jackson --- ts-logs-capture | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ts-logs-capture b/ts-logs-capture index a429bb76..83234f6f 100755 --- a/ts-logs-capture +++ b/ts-logs-capture @@ -32,7 +32,12 @@ if (!$mjobdb->jobdb_enable_log_capture) { =20 our ($whhost) =3D @ARGV; $whhost ||=3D 'host'; -our $ho=3D selecthost($whhost); + +our $ho=3D selecthost($whhost, 1); +if (!$ho) { + logm("host $whhost not specified, not capturing logs"); + exit 0; +} =20 our @guests; =20 --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel