From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777057; cv=none; d=zohomail.com; s=zohoarc; b=MBYRYohwYBJJrF2L/C1mlG79hwO2QNHt9cFYq5tF/dSm6nX9o8CI+3btkCMG3rT8mdFIDT9zWQKbl/m6t44nFsTCXHhRMBGx+rGGuZMm+m4u5u21hsBbVly9wNVgQP6XFwMfLvMKCvTRSbOeFQzp21nyiui7z3ztqXgXwkTHNOc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777057; h=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; bh=Ib9u1KozgEMCg0jCGLWPWL8C4aZzOGRCjREpAAS7g4Y=; b=SjwHILH9qR0OQrkLrpDIbA24ftQKmR8gxQKVrZ6E3ua4Ux95+0BhFnqH+dt+P3BJ704wY4/tquCN4rXsljuNAaocqAUzH6D52693v847UGoF62qBz+P6qb9mIsfqygVyhn8aTHWH5UWEztWGEoByBhduAdiDXfl+WKw9sWAARM0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777057086254.46353800194117; Thu, 15 Oct 2020 08:50:57 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7516.19670 (Exim 4.92) (envelope-from ) id 1kT5WV-0006Jy-67; Thu, 15 Oct 2020 15:50:35 +0000 Received: by outflank-mailman (output) from mailman id 7516.19670; Thu, 15 Oct 2020 15:50:35 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WV-0006Jp-1C; Thu, 15 Oct 2020 15:50:35 +0000 Received: by outflank-mailman (input) for mailman id 7516; Thu, 15 Oct 2020 15:50:34 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WU-0006GM-0o for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:34 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 733865e4-7403-49ce-adca-e4676c5d0d6c; Thu, 15 Oct 2020 15:50:28 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WO-00087l-DE for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WO-0005EZ-B1 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WM-0000oB-Fn; Thu, 15 Oct 2020 16:50:26 +0100 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WU-0006GM-0o for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:34 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 733865e4-7403-49ce-adca-e4676c5d0d6c; Thu, 15 Oct 2020 15:50:28 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WO-00087l-DE for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WO-0005EZ-B1 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WM-0000oB-Fn; Thu, 15 Oct 2020 16:50:26 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 733865e4-7403-49ce-adca-e4676c5d0d6c DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=Ib9u1KozgEMCg0jCGLWPWL8C4aZzOGRCjREpAAS7g4Y=; b=5uRoQMzX8oU6XFYbtTezweKWbT rbMo9yOrAT5Pxnp+T9kmCHM10GgixrtLQ/Lr53QdVadPIXx2+ryUcYpracwnk6PdJ86qH6O7RfuMF o3tRVc4O8qdjJ0q/8TPh6sMfIwwR8O2qCLF9zoS9V+ZjIjP+DAQxJ7MVmCtaEE3Pk+5c=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 01/17] Honour OSSTEST_SIMULATE=2 to actually run dummy flight Date: Thu, 15 Oct 2020 16:50:03 +0100 Message-Id: <20201015155019.20705-2-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- cri-args-hostlists | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cri-args-hostlists b/cri-args-hostlists index 994e00c0..6cdff53f 100644 --- a/cri-args-hostlists +++ b/cri-args-hostlists @@ -68,8 +68,8 @@ fi =20 execute_flight () { case "x$OSSTEST_SIMULATE" in - x|x0) ;; - *) echo SIMULATING - NOT EXECUTING $1 $2 + x|x0|x2) ;; + *) echo SIMULATING $OSSTEST_SIMULATE - NOT EXECUTING $1 $2 return ;; esac --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777057; cv=none; d=zohomail.com; s=zohoarc; b=h9O0BnEFY0k4nl4csGcwrgajOraByrk4zICGQ4UwSSyvn0FGYb93grCY30fcYOV6Y2RJJwEz46Q97PpdJYvS1/n4SZwVQ5Mqn35ZA2IeFrshUTn+m5avs3SRIEm1XBFdp633yMZiIuHgBO8hUP50/e+BL2zt8ABp4wdCs/6nA0A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777057; h=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; bh=ChVOyZirwRN6GYYGaNTGSTLn1c+zNQzFzRYYMg92a3g=; b=Hy0MYLkidJQBNQEAK7Sf1O7TLluNgB2hbvAkRyh1A03TH5Ja82uqwJrvx0i+LkeKkh4dl6ctj9yBLsxhJB6P+IexTg6fTMVhsR1GE/XVDrrAH8ZCxUejthateCZ0BcPUpes1DfvRXX6Epi8Ca/6EhdUor14qMBF7vDr9yPN5xp4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777057951293.364270767398; Thu, 15 Oct 2020 08:50:57 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7517.19682 (Exim 4.92) (envelope-from ) id 1kT5WW-0006MD-Dl; Thu, 15 Oct 2020 15:50:36 +0000 Received: by outflank-mailman (output) from mailman id 7517.19682; Thu, 15 Oct 2020 15:50:36 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WW-0006M4-AO; Thu, 15 Oct 2020 15:50:36 +0000 Received: by outflank-mailman (input) for mailman id 7517; Thu, 15 Oct 2020 15:50:34 +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.92) (envelope-from ) id 1kT5WU-0006GR-Qx for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:34 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id af5f75c7-18ec-4453-a7b3-5bf1a27f9f3d; Thu, 15 Oct 2020 15:50:28 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WO-00087o-Jw for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WO-0005Em-Is for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WM-0000oB-OA; Thu, 15 Oct 2020 16:50:26 +0100 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.92) (envelope-from ) id 1kT5WU-0006GR-Qx for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:34 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id af5f75c7-18ec-4453-a7b3-5bf1a27f9f3d; Thu, 15 Oct 2020 15:50:28 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WO-00087o-Jw for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WO-0005Em-Is for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WM-0000oB-OA; Thu, 15 Oct 2020 16:50:26 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: af5f75c7-18ec-4453-a7b3-5bf1a27f9f3d DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=ChVOyZirwRN6GYYGaNTGSTLn1c+zNQzFzRYYMg92a3g=; b=b2yRrKKCQz2qK9sK7vrxLr4/Sl 1YqLKwjwOa9DxF3CYK3TkhOctsO1LWUAqzohJvLMoNB/eznfYzezv0szba90PNbwE2uRkeYA0WPdL BBzRRRQY22a3bVpRJMKI6m1C1PxsmoyVYtthPKi1qrE6UcZLvsQf9M6Wiqn94Xh6yZ1s=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 02/17] Honour OSSTEST_SIMULATE_FAIL in sg-run-job Date: Thu, 15 Oct 2020 16:50:04 +0100 Message-Id: <20201015155019.20705-3-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" This is a Tcl list of globs for ., and allows for simulating particular test failures. Signed-off-by: Ian Jackson --- sg-run-job | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sg-run-job b/sg-run-job index dd76d4f2..c64ae026 100755 --- a/sg-run-job +++ b/sg-run-job @@ -406,7 +406,14 @@ proc spawn-ts {iffail testid args} { jobdb::spawn-step-commit $flight $jobinfo(job) $stepno $testid =20 set xprefix {} - if {[var-or-default env(OSSTEST_SIMULATE) 0]} { set xprefix echo } + if {[var-or-default env(OSSTEST_SIMULATE) 0]} { + set xprefix echo + foreach ent [var-or-default env(OSSTEST_SIMULATE_FAIL) {}] { + if {[string match $ent $jobinfo(job).$testid]} { + set xprefix OSSTEST_SIMULATE_FAIL + } + } + } =20 set log [jobdb::step-log-filename $flight $jobinfo(job) $stepno $ts] set redirects {} --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777056; cv=none; d=zohomail.com; s=zohoarc; b=dBvPnylqi6JDF+WYq8a97l4/idbe03vBqtH60StZqWR9EHgBTrLfASora1IIumd7Z/d6gduTFosxejvAsSglb+soS/Gs4RmdOx0cxTIWo52ssf0hwtGEhdA6qSTd9HmvrAE93rdlfGPX7wZCf2gte5EvYDRwTaKAC1YgQhAtwT8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777056; h=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; bh=GKNUYQeiTTAK8ez/vVJcZ2hoW8Ug+I9meJLpgJqBeIU=; b=W5QFeddjN9ow9xY3p2odc016xZhG5tpy0bvaY0NHHhPTZ3q2lkBYMx/FY40DiBiVrBok4E3Jb/A+fPCcLvrLTQrQm6FzDeUzbTmT/4vx0b2ZtTsQm5dJ/TteYV4JnDiTJzc11EvBKtv7oaZJbDUYriYiRmMtCvaa0HDPgPPtTYU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777056963454.2685089537324; Thu, 15 Oct 2020 08:50:56 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7515.19654 (Exim 4.92) (envelope-from ) id 1kT5WR-0006H6-0V; Thu, 15 Oct 2020 15:50:31 +0000 Received: by outflank-mailman (output) from mailman id 7515.19654; Thu, 15 Oct 2020 15:50:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-0006Gu-OB; Thu, 15 Oct 2020 15:50:30 +0000 Received: by outflank-mailman (input) for mailman id 7515; Thu, 15 Oct 2020 15:50: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.92) (envelope-from ) id 1kT5WP-0006GR-Ub for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 8c9d18f5-3706-4452-bb2e-3b894d5a3882; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WO-00087r-QW for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WO-0005Ey-Oo for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-0F; Thu, 15 Oct 2020 16:50:27 +0100 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.92) (envelope-from ) id 1kT5WP-0006GR-Ub for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 8c9d18f5-3706-4452-bb2e-3b894d5a3882; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WO-00087r-QW for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WO-0005Ey-Oo for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:28 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-0F; Thu, 15 Oct 2020 16:50:27 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8c9d18f5-3706-4452-bb2e-3b894d5a3882 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=GKNUYQeiTTAK8ez/vVJcZ2hoW8Ug+I9meJLpgJqBeIU=; b=Q/8ZYg2rwXY9YNgyMWTqtdK71s Hnuv+uKXW4Y5/kNa24G4vbTHCC4kUxl0kAcWsbflvzZG+PKjMMND9O8uijMOaUI0WHyZEgdRDbgkK 7r9RQqayc3e1qLH40ULry3k2bNV2W+sHp68N9Rp1NsMFipf4vagcjcVua7bKdRxT4WoI=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 03/17] sg-report-flight: Consider all blessings for "never pass" Date: Thu, 15 Oct 2020 16:50:05 +0100 Message-Id: <20201015155019.20705-4-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" $anypassq is used for the "never pass" check; the distinction between this and simply "fail" is cosmetic (although it can be informative). On non-"real" flights, it can easily happen that the flight never passed *on this branch with this blessing* but has passed on real. So the steps subquery does not find us an answer within reasonable time. Work around this by always searching for "real". This keeps the performance within acceptable bounds even during ad-hoc testing. We don't actually use the row from this query, so the only effect is that when the job passed in a "real" flight, we go on to the full regresson analysis rather than short-circuiting and reporting "never pass". Signed-off-by: Ian Jackson --- sg-report-flight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sg-report-flight b/sg-report-flight index a07e03cb..15631001 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -935,7 +935,7 @@ sub justifyfailures ($;$) { ) SELECT * FROM flights JOIN s USING (flight) WHERE $branches_cond_q - AND $blessingscond + AND ($blessingscond) OR blessing =3D 'real' LIMIT 1 END $anypassq=3D db_prepare($anypassq); --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777056; cv=none; d=zohomail.com; s=zohoarc; b=Ar2Pfd+1/U9whTnFh0N8DMUXJEkyWKZPXP1sMmbz8Fm4Q+x0zb8MEVTTDbyW9VmuNUC5mKVD128cfqIRmmO/hgw5nQNjpznckWwgKSudcdqW/rzW8A2T4qsU375fkRkVr6aA2ztCnQylqZPb+eoRr/cox+cY22JQrfBPCt+tywc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777056; h=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; bh=jMrPuRfDpr5F+mH23YfeFKCRSJQrvgGxKa9leTchrQs=; b=Kqg2ROmWtoVutQIsvliZr642h1AMmkk3Tmtw8+OsKIjnRBiiOftamSWVjX3Cp8DO0p5Zf29EHnlQEnKSjdlbjdyCFGvTF4hE6wSvd1kQXRCSVKT1P39pZ65yqhdXdxvEr7GDsmjOIdQKcvu82p8TgGxbJv2RNs6VS+hqQOVmgU0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777056817916.3703502251599; Thu, 15 Oct 2020 08:50:56 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7519.19702 (Exim 4.92) (envelope-from ) id 1kT5Wb-0006Rr-8z; Thu, 15 Oct 2020 15:50:41 +0000 Received: by outflank-mailman (output) from mailman id 7519.19702; Thu, 15 Oct 2020 15:50:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5Wa-0006RO-VD; Thu, 15 Oct 2020 15:50:40 +0000 Received: by outflank-mailman (input) for mailman id 7519; Thu, 15 Oct 2020 15:50:39 +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.92) (envelope-from ) id 1kT5WZ-0006GR-RD for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:39 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 319bc935-827b-4bc2-a804-a0d3a64e1b32; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-00087u-3W for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005FC-1D for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-7F; Thu, 15 Oct 2020 16:50:27 +0100 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.92) (envelope-from ) id 1kT5WZ-0006GR-RD for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:39 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 319bc935-827b-4bc2-a804-a0d3a64e1b32; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-00087u-3W for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005FC-1D for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-7F; Thu, 15 Oct 2020 16:50:27 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 319bc935-827b-4bc2-a804-a0d3a64e1b32 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=jMrPuRfDpr5F+mH23YfeFKCRSJQrvgGxKa9leTchrQs=; b=CXoc1/puYuanYGZwuMzekdpowu 8Rr6FPbGx+mQf1rceLB8ZdAcoj2yjyXt2pUuCdc0pU5DcrgN85o5JNGpciFEQH6ny7CQBmAO3RdFX OyY5lxg5eNxls6XlyA4ZznHZo3n7jE2uIvDjy0x5FUGDpta0EvjRgYIDZvCKrOVl27Ig=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 04/17] mg-execute-flight: Do not include the transcript in reports Date: Thu, 15 Oct 2020 16:50:06 +0100 Message-Id: <20201015155019.20705-5-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" These are large and not very useful. A copy is in the tree if needed. Signed-off-by: Ian Jackson --- mg-execute-flight | 3 --- 1 file changed, 3 deletions(-) diff --git a/mg-execute-flight b/mg-execute-flight index 391f4810..bef8dab6 100755 --- a/mg-execute-flight +++ b/mg-execute-flight @@ -101,9 +101,6 @@ echo =20 ./cr-fold-long-lines &2 =20 if $publish; then --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777057; cv=none; d=zohomail.com; s=zohoarc; b=RfHh7vdUwlVlWHtf5ZugV6a51ynuppvARMUFS4K8GvrlXX4oOul9LwjZBj625ULogT5MJhkThWnWjovy4KnDcnFvFA7P/oqMq/wRe4bxOYGGl/wst3WYFPHOQ6jFHxlUaIKtSa7WK89UbmOzZWK5NscIOpnpZ/vrgmCyI0p5I7Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777057; h=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; bh=02bnAe8Pk+WQt+MbpE+lK1JlJkiQs50S4+SkvCn1WvQ=; b=KbN3VKOE8IC6oklJ7eVFsYF9bKj9MOESjtR1k7+PMe4z0Y49i2fb/LE5ubVgvQ4YHiOaJ7HmbzdX7cF0yCwOnDMeJnamq1ssfJZe0wKWS/lfH34w9AKPDp5ES95oyj358KCeyu0Cz3frRaTPQtioxDfBrFj8ObcV1hJVznuf7c8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 160277705728181.82477766506122; Thu, 15 Oct 2020 08:50:57 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7518.19694 (Exim 4.92) (envelope-from ) id 1kT5Wa-0006Qk-NY; Thu, 15 Oct 2020 15:50:40 +0000 Received: by outflank-mailman (output) from mailman id 7518.19694; Thu, 15 Oct 2020 15:50:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5Wa-0006Qb-JJ; Thu, 15 Oct 2020 15:50:40 +0000 Received: by outflank-mailman (input) for mailman id 7518; Thu, 15 Oct 2020 15:50:39 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WZ-0006GM-11 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:39 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 39964fa8-4653-494f-9ed6-c44f232c5b55; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-00087x-7D for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005FQ-6O for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-GH; Thu, 15 Oct 2020 16:50:27 +0100 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WZ-0006GM-11 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:39 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 39964fa8-4653-494f-9ed6-c44f232c5b55; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-00087x-7D for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005FQ-6O for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-GH; Thu, 15 Oct 2020 16:50:27 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 39964fa8-4653-494f-9ed6-c44f232c5b55 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=02bnAe8Pk+WQt+MbpE+lK1JlJkiQs50S4+SkvCn1WvQ=; b=sOco/NYNjydGO2EzHcka/1MPPg V80yd2kaHgCE8uDjurbLWMIQ5GUy60sKXV6nxpbq6lHuN2OmXx2r/gP5AwQvmz3Tf9+rxHHPfpHqc 8eaI7mYQ7ol9nV2c12KuyQ+Ej9z3Zft1UdVFW0F8p49Zn4FiX9t/CzZeTDd7/o5YAfgI=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Jackson Subject: [OSSTEST PATCH v2 05/17] sg-report-job-history: eval $DAILY_BRANCH_PREEXEC_HOOK Date: Thu, 15 Oct 2020 16:50:07 +0100 Message-Id: <20201015155019.20705-6-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" From: Ian Jackson Put the call to this debugging/testing variable inside an eval. This allows a wider variety of stunts. The one in-tree reference is already compatible with this new semantics. Signed-off-by: Ian Jackson --- cr-daily-branch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-daily-branch b/cr-daily-branch index b8f221ee..23060588 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -472,7 +472,7 @@ sgr_args+=3D" $EXTRA_SGR_ARGS" =20 date >&2 : $flight $branch $OSSTEST_BLESSING $sgr_args -$DAILY_BRANCH_PREEXEC_HOOK +eval "$DAILY_BRANCH_PREEXEC_HOOK" execute_flight $flight $OSSTEST_BLESSING date >&2 =20 --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777063; cv=none; d=zohomail.com; s=zohoarc; b=QzIsW9NCsR+BSsbcZ+GHQLcLQ+s74XR8+MIeFtTVzn+PtHZV8GYbPRoJAlkJmIZq315FzeMSxcgxv6aDNjlxAABgGl1G6d9yXdxjvhZqWQWR7hyrDEgvd7wu4cRzcvE/X6Y+dxF+XCYLcuM/6VG1qr3S7yG05GotsHxOXVX+e3U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777063; h=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; bh=9Pahmn/najHz4bedXTajTfnABim3bLuns9qaaY31+FA=; b=guOVb36msom+1SbsyBfeae8R2Y7vfMrDhE77D/AkNwr2fOWqjIElGwOyuHqWmFOLiaHC6ZFHPXCbdtWwR4wupfzGE6g+uol7e2E/kWAFEpfBM10lDeOEjw1fabBXqrVrgfEt5F9ka3UW5iIlspao67GcLWPtRzo0sofgMXlTMIM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777063501979.3955165169498; Thu, 15 Oct 2020 08:51:03 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7521.19730 (Exim 4.92) (envelope-from ) id 1kT5Wh-0006ch-1V; Thu, 15 Oct 2020 15:50:47 +0000 Received: by outflank-mailman (output) from mailman id 7521.19730; Thu, 15 Oct 2020 15:50:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5Wg-0006cR-Sg; Thu, 15 Oct 2020 15:50:46 +0000 Received: by outflank-mailman (input) for mailman id 7521; Thu, 15 Oct 2020 15:50:44 +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.92) (envelope-from ) id 1kT5We-0006GR-RR for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:44 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a670aa57-38dc-4535-97dc-1bc30af5c51d; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-000882-JI for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005Fq-IS for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-PA; Thu, 15 Oct 2020 16:50:27 +0100 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.92) (envelope-from ) id 1kT5We-0006GR-RR for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:44 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a670aa57-38dc-4535-97dc-1bc30af5c51d; Thu, 15 Oct 2020 15:50:29 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-000882-JI for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005Fq-IS for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WN-0000oB-PA; Thu, 15 Oct 2020 16:50:27 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: a670aa57-38dc-4535-97dc-1bc30af5c51d DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=9Pahmn/najHz4bedXTajTfnABim3bLuns9qaaY31+FA=; b=unmqpZyDago95DXw00wFDinbP4 Ewy2V1ZSOw3/0aBYfww8ftOk4YPyIH9V7WfPz0ngDwfM+At55jWSdctFxhM5F6UeuGJyRgbTAvm7+ Y7X3EL8D+T2GjpByD82SOCIN41pJ/l5RtBHTbdjGHbhrZ4uuRMCng7LQaTaU9enXoCZs=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Jackson Subject: [OSSTEST PATCH v2 06/17] cri-args-hostlists: New debug var $OSSTEST_REPORT_JOB_HISTORY_RUN Date: Thu, 15 Oct 2020 16:50:08 +0100 Message-Id: <20201015155019.20705-7-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" From: Ian Jackson No effect if this is empty. Signed-off-by: Ian Jackson --- cri-args-hostlists | 1 + 1 file changed, 1 insertion(+) diff --git a/cri-args-hostlists b/cri-args-hostlists index 6cdff53f..7019c0c7 100644 --- a/cri-args-hostlists +++ b/cri-args-hostlists @@ -121,6 +121,7 @@ start_email () { =20 date >&2 =20 + $OSSTEST_REPORT_JOB_HISTORY_RUN \ with-lock-ex -w $globallockdir/report-lock \ ./sg-report-job-history --report-processing-start-time \ --html-dir=3D$job_html_dir --flight=3D$flight --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777068; cv=none; d=zohomail.com; s=zohoarc; b=gTCGI2vFf2R10rWkgTbJ5GmiaulkwPZKYv6DEp7/bSrdptsVGBmW/MChEljBUdy+bKCX1D0Due7/oQUsIDrN50W7tEYWzqe34FAekDVL5GgWk4ma8WMwwJpI8pz61QsuMEu0cU3YsnW0MkS1kCE/WHcVAfwhXp0rnmTpnTLrNfs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777068; h=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; bh=e3H0s2+WzQtNrHrJPYnYMyg0OSRyEJNxDWc8yLBsrEc=; b=KEqkH4Gl5WNHse2Ha/CAf/E7e+ath+NRnyTLqbu94hIMDNytkj4LTw9UnWxSkCYu41Clbm/gSg1TsLl7seU4aEvkFB9ebqS1szDLyiihDgC9RjvwFtiVW9u91DHfuaW0HMfnrv8ErNUoVVUqDmvGY/BtGx1B8UNDK3uGz5U5his= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777068421269.02912414572745; Thu, 15 Oct 2020 08:51:08 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7522.19742 (Exim 4.92) (envelope-from ) id 1kT5Wl-0006lF-NU; Thu, 15 Oct 2020 15:50:51 +0000 Received: by outflank-mailman (output) from mailman id 7522.19742; Thu, 15 Oct 2020 15:50:51 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5Wl-0006l1-Hp; Thu, 15 Oct 2020 15:50:51 +0000 Received: by outflank-mailman (input) for mailman id 7522; Thu, 15 Oct 2020 15:50:49 +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.92) (envelope-from ) id 1kT5Wj-0006GR-RP for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:49 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id d6d92408-c0d2-446a-afef-747eb7d61167; Thu, 15 Oct 2020 15:50:30 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-000888-Vc for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005GM-Um for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-91; Thu, 15 Oct 2020 16:50:28 +0100 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.92) (envelope-from ) id 1kT5Wj-0006GR-RP for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:49 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id d6d92408-c0d2-446a-afef-747eb7d61167; Thu, 15 Oct 2020 15:50:30 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WP-000888-Vc for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WP-0005GM-Um for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:29 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-91; Thu, 15 Oct 2020 16:50:28 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d6d92408-c0d2-446a-afef-747eb7d61167 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=e3H0s2+WzQtNrHrJPYnYMyg0OSRyEJNxDWc8yLBsrEc=; b=g11WSl3PbOg704AUjUeAfnRHnt 55RaGFyjVc6ODZWVVFOrP0uH3pNZO5YUsLfMDZhZBfeZPVK+4IhEfJUxO6kPNL//a0o1kpCi+EN6H 436yHTfkTvRU+Kvapj38GQ2sNfniIWIMlYahKdMNIjnKL34qnQdMe6By+gh+IneR7cpA=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 07/17] cri-args-hostlists: Break out report_flight and publish_logs Date: Thu, 15 Oct 2020 16:50:09 +0100 Message-Id: <20201015155019.20705-8-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" From: Ian Jackson NFC. Signed-off-by: Ian Jackson --- cri-args-hostlists | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/cri-args-hostlists b/cri-args-hostlists index 7019c0c7..52e39f33 100644 --- a/cri-args-hostlists +++ b/cri-args-hostlists @@ -128,10 +128,7 @@ start_email () { =20 date >&2 =20 - ./sg-report-flight --report-processing-start-time \ - --html-dir=3D$flight_html_dir/$flight/ \ - --allow=3Dallow.all --allow=3Dallow.$branch \ - $sgr_args $flight >tmp/$flight.report + report_flight $flight ./cr-fold-long-lines tmp/$flight.report =20 date >&2 @@ -144,11 +141,23 @@ start_email () { date >&2 } =20 +report_flight () { + local flight=3D$1 + ./sg-report-flight --html-dir=3D$flight_html_dir/$flight/ \ + --allow=3Dallow.all --allow=3Dallow.$branch \ + $sgr_args $flight >tmp/$flight.report +} + +publish_logs () { + local flight=3D$1 + ./cr-publish-flight-logs ${OSSTEST_PUSH_HARNESS- --push-harness} \ + $flight >&2 +} + publish_send_email () { local flight=3D$1 + publish_logs $flight exec >&2 - ./cr-publish-flight-logs ${OSSTEST_PUSH_HARNESS- --push-harness} \ - $flight send_email tmp/$flight.email } =20 --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777059; cv=none; d=zohomail.com; s=zohoarc; b=d6u8R2z3C4EEg4HxQRVoBrYyUSyARsL2YxhSkYqW0+oZLWAJUf2Namh8HgV3YPPTn6x0W5oU1aoiMGg+OC6oPuYkmEf+0najqecqJA3DTvIv8KHY+29xkT9Q8vcldK/qh0Wr7dTjIspZ3BpqbMorLErYHrcJ2BFeCm1xWC69d20= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777059; h=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; bh=gfMUQl6jqji00/zUqCTGBQAbnUbgIuHTcubMdohdrgs=; b=RLRg1GdL1ttolphDu1MU6Oi23yH55uqSS9cDqZw+bXfb7+TMxSMnGtxWDWcjjFpFQskLVn2o6WXjjAAG9Ht9HIATlZae0rPaPRs3xVQi9t+eMV+JV6EQS1Wj6IS+kFN2xGNvG2EuFKUc6z6x8IvEqA39szpIpVdnS5g2ytCkIgA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777059213128.31526387773476; Thu, 15 Oct 2020 08:50:59 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7520.19718 (Exim 4.92) (envelope-from ) id 1kT5Wf-0006ZF-Ib; Thu, 15 Oct 2020 15:50:45 +0000 Received: by outflank-mailman (output) from mailman id 7520.19718; Thu, 15 Oct 2020 15:50:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5Wf-0006Yy-DG; Thu, 15 Oct 2020 15:50:45 +0000 Received: by outflank-mailman (input) for mailman id 7520; Thu, 15 Oct 2020 15:50:44 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5We-0006GM-1H for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:44 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4208f03d-7c5c-4660-a429-de645d2d7303; Thu, 15 Oct 2020 15:50:30 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-00088E-7q for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-0005Gg-6t for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-Gu; Thu, 15 Oct 2020 16:50:28 +0100 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5We-0006GM-1H for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:44 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4208f03d-7c5c-4660-a429-de645d2d7303; Thu, 15 Oct 2020 15:50:30 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-00088E-7q for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-0005Gg-6t for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-Gu; Thu, 15 Oct 2020 16:50:28 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4208f03d-7c5c-4660-a429-de645d2d7303 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=gfMUQl6jqji00/zUqCTGBQAbnUbgIuHTcubMdohdrgs=; b=xwf0V06ExMj7gdaT7ohYraVscw Y6PoRK4crIguLGtGiO4j13aC03h3Pg/hckM43upCinIYFy/GXS6kK34FHpvdOL/85cNzzpt/ODbEl 9Op/eRjF8ShNMQ1np7pq4VkhMf7vXxDMyPPEwL2XgFEOfo2r5ZFUUL9KpBNqzQ939HMY=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 08/17] sg-report-flight: Break out printout_flightheader Date: Thu, 15 Oct 2020 16:50:10 +0100 Message-Id: <20201015155019.20705-9-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" From: Ian Jackson No functional change. Signed-off-by: Ian Jackson --- sg-report-flight | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index 15631001..2ab1637f 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -783,6 +783,14 @@ sub includes ($) { } } =20 =20 +sub printout_flightheader ($) { + my ($r) =3D @_; + bodyprint <{Flight} $branch $r->{FlightInfo}{blessing} [$r->{FlightInfo}{i= ntended}] +$c{ReportHtmlPubBaseUrl}/$r->{Flight}/ +END +} + sub printout { my ($r, @failures) =3D @_; $header_text =3D ''; @@ -793,10 +801,9 @@ sub printout { $r->{Flight}: $r->{OutcomeSummary} END includes(\@includebeginfiles); - bodyprint <{Flight} $branch $r->{FlightInfo}{blessing} [$r->{FlightInfo}{i= ntended}] -$c{ReportHtmlPubBaseUrl}/$r->{Flight}/ -END + + printout_flightheader($r); + if (defined $r->{Overall}) { bodyprint "\n"; bodyprint $r->{Overall}; --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602777072; cv=none; d=zohomail.com; s=zohoarc; b=OB2VxwBJsBC99YJffSDOTgx1xzOFC1GjX81QdWzNkvlWOu50gKhw4zni07TyouPMvbHWAwA6GUPouNp9bZQ4QuYX2JP49VDPZNVpil/ORTacqCyhTX/Khe4fJ/8kg6gmoCWa4CULZPp+/jfiqA/z9XXgkbx1nwi/N4ZaCpiTDNQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602777072; h=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; bh=/UKradk/z4OgKrjjcpnOfZ9csQk7I4shSwqTZgX4ibw=; b=CPLId+wvpNiikF2jrmm1kjFgXK+uS1yQVlMKAeEsslhwn4eyzTb0Iaq//ObPYqqIqDQlccBDYyCQhQpzXFs5VHSQzK0/G+jvKXYmiWfqF7uEc9Qz/nmy2EPsz+fZ1g5IQqaWkbo4FAQ+NcRbwaAD0dqeIB6BVPKbPcIRVIMUD7E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602777072660347.16311829586107; Thu, 15 Oct 2020 08:51:12 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7523.19754 (Exim 4.92) (envelope-from ) id 1kT5Wq-0006sI-6Q; Thu, 15 Oct 2020 15:50:56 +0000 Received: by outflank-mailman (output) from mailman id 7523.19754; Thu, 15 Oct 2020 15:50:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5Wq-0006s9-1V; Thu, 15 Oct 2020 15:50:56 +0000 Received: by outflank-mailman (input) for mailman id 7523; Thu, 15 Oct 2020 15:50:54 +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.92) (envelope-from ) id 1kT5Wo-0006GR-Re for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:54 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a5e58849-0ead-484c-8253-532dfd143437; Thu, 15 Oct 2020 15:50:30 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-00088L-GG for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-0005H7-FM for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-ON; Thu, 15 Oct 2020 16:50:28 +0100 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.92) (envelope-from ) id 1kT5Wo-0006GR-Re for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:54 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a5e58849-0ead-484c-8253-532dfd143437; Thu, 15 Oct 2020 15:50:30 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-00088L-GG for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5WQ-0005H7-FM for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 15:50:30 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-ON; Thu, 15 Oct 2020 16:50:28 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: a5e58849-0ead-484c-8253-532dfd143437 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=/UKradk/z4OgKrjjcpnOfZ9csQk7I4shSwqTZgX4ibw=; b=1AN05+e+5E0n5jtCCVluZ9s+Mg cACAFIPLJyoHMpAVkpkURdXSZFEhoDC323dAUZNgOanvjicq7WHNVsheb9kCFQKyTH1pv4Pv1VsBK GBWDZEnUyLX7LmsHDOZ4Q8ExvSW7cbzWIYQQY+/RTnbNEq8o7lxwj1TFvSmFFbodPoDc=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 09/17] sg-report-flight: Provide --refer-to-flight option Date: Thu, 15 Oct 2020 16:50:11 +0100 Message-Id: <20201015155019.20705-10-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" From: Ian Jackson This just generates an extra heading and URL at the top of the output. In particular, it doesn't affect the algorithms which calculate regressions. Signed-off-by: Ian Jackson --- sg-report-flight | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sg-report-flight b/sg-report-flight index 2ab1637f..bcd896a8 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -42,6 +42,7 @@ our $htmldir; our $want_info_headers; our ($branch, $branches_cond_q); our @allows; +our (@refer_to_flights); our (@includebeginfiles,@includefiles); =20 open DEBUG, ">/dev/null"; @@ -66,6 +67,8 @@ while (@ARGV && $ARGV[0] =3D~ m/^-/) { push @includebeginfiles, $1; } elsif (m/^--include=3D(.*)$/) { push @includefiles, $1; + } elsif (m/^--refer-to-flight=3D(.*)$/) { + push @refer_to_flights, $1; } elsif (restrictflight_arg($_)) { # Handled by Executive } elsif (m/^--allow=3D(.*)$/) { @@ -504,6 +507,16 @@ END die unless defined $specflight; } } +sub find_refer_to_flights () { + my $ffq =3D $dbh_tests->prepare("SELECT * FROM flights WHERE flight=3D= ?"); + @refer_to_flights =3D map { + my $flight =3D $_; + $ffq->execute($flight); + my $row =3D $ffq->fetchrow_hashref(); + die "refer to flight $flight not found\n" unless $row; + { Flight =3D> $flight, FlightInfo =3D> $row }; + } @refer_to_flights; +} =20 sub examineflight ($) { my ($flight) =3D @_; @@ -804,6 +817,10 @@ END =20 printout_flightheader($r); =20 + foreach my $ref_r (@refer_to_flights) { + printout_flightheader($ref_r); + } + if (defined $r->{Overall}) { bodyprint "\n"; bodyprint $r->{Overall}; @@ -1878,6 +1895,7 @@ db_retry($dbh_tests, [], sub { if (defined $mro) { open MRO, "> $mro.new" or die "$mro.new $!"; } + find_refer_to_flights(); findspecflight(); my $fi=3D examineflight($specflight); my @fails=3D justifyfailures($fi); --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778180; cv=none; d=zohomail.com; s=zohoarc; b=HE8rQGoLW5o8OSrI7W3oLS7WAEeBnuSBlZZjqhzM+hOsE4UPQQi9P+0Y+C00ctvY4GCpI4MlHTZo5YkmLphL/xBC+H0OQOSjZegw35ngSK8doIVFgkW4XVGCx/ixwectXnCVSVROmoo9t19MjVOH1VRS7c7oGzZ+K3VdaTMicQY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778180; h=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; bh=t3Vg9e/VRpm4vV8Mm3UCVRG1em/CaV0bxhpLQJqI3XA=; b=BG+dFtMjJqfRI1KwF+YRvciy0was4M8CUE0SvXFYFHUgT0sG0g/KhvuK+C4PLjdqzRSeDTPksxB8OyszszIjrimJSj2Uu7PF3nz4PvebMoSOaQJeT0ivOjTAOJZoq8QtIgOa5ND/cBVtxes24eOvnzrufSD2+DcC+/JPgvTVMC4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602778180624773.5974523529991; Thu, 15 Oct 2020 09:09:40 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7542.19772 (Exim 4.92) (envelope-from ) id 1kT5oP-0000Wh-V3; Thu, 15 Oct 2020 16:09:05 +0000 Received: by outflank-mailman (output) from mailman id 7542.19772; Thu, 15 Oct 2020 16:09:05 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oP-0000Wa-Rz; Thu, 15 Oct 2020 16:09:05 +0000 Received: by outflank-mailman (input) for mailman id 7542; Thu, 15 Oct 2020 16:09:05 +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.92) (envelope-from ) id 1kT5oO-0000WV-TC for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:04 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id ef44b822-9280-4aa4-b6a7-5da67909f9d1; Thu, 15 Oct 2020 16:08:59 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oI-0000fe-RS for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:08:58 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oI-0006Zr-Ps for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:08:58 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-W5; Thu, 15 Oct 2020 16:50:29 +0100 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.92) (envelope-from ) id 1kT5oO-0000WV-TC for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:04 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id ef44b822-9280-4aa4-b6a7-5da67909f9d1; Thu, 15 Oct 2020 16:08:59 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oI-0000fe-RS for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:08:58 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oI-0006Zr-Ps for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:08:58 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WO-0000oB-W5; Thu, 15 Oct 2020 16:50:29 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: ef44b822-9280-4aa4-b6a7-5da67909f9d1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=t3Vg9e/VRpm4vV8Mm3UCVRG1em/CaV0bxhpLQJqI3XA=; b=Ryfx2r6NB3s0ZO7bDJi7fVXYpv Dv5FiWdwIwi3MbiRkYVpbJp/GTCabTK8pWmHnxKPPWJN2LYJt68ow2zmDFQxszBRyZ8HqjI5xNg6X 880i8MmDNPaTF54b4r2VuZS0RBl4EbnqaH95twQfHXcGOmlgNxOwCpWkkxfT/u78mS1o=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 10/17] sg-report-flight: Nicer output for --refer-to-flight option Date: Thu, 15 Oct 2020 16:50:12 +0100 Message-Id: <20201015155019.20705-11-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" Sort the flight summary lines together, before the URLs. This makes it considerably easier to read. Signed-off-by: Ian Jackson --- sg-report-flight | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index bcd896a8..cbd39599 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -796,12 +796,17 @@ sub includes ($) { } } =20 =20 -sub printout_flightheader ($) { - my ($r) =3D @_; - bodyprint <{Flight} $branch $r->{FlightInfo}{blessing} [$r->{FlightInfo}{i= ntended}] +END + } + foreach my $r (@_) { + bodyprint <{Flight}/ END + } } =20 sub printout { @@ -814,12 +819,7 @@ sub printout { $r->{Flight}: $r->{OutcomeSummary} END includes(\@includebeginfiles); - - printout_flightheader($r); - - foreach my $ref_r (@refer_to_flights) { - printout_flightheader($ref_r); - } + printout_flightheaders $r, @refer_to_flights; =20 if (defined $r->{Overall}) { bodyprint "\n"; --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778181; cv=none; d=zohomail.com; s=zohoarc; b=U54eRuBp+3zk+SE/c+acKaWbWNrxQu7tJekCaDg7GmVxTVHUChPg66DuKUzdhU7AVaRbrNNuCHvNYkfKQWmtIMWJSCblpmGJii4MVUgqML5cZ5IOLBLcdj1PzKZkykSoKrci4HpxsKMSCrRyGrPjUlIwLYMjO2cri9dLBtAu5P8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778181; h=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; bh=pacL1ullUVs7eBNosppLBDynVv2r14S6C90c7shdrs4=; b=X5sY1zuKRIfVSxRkMEgwyh8q94FefZ1rCsQzer2ksTefFp5eWerJIXEYUDIBwj5u3MTZ0PijrhnQHrcEbY02wIydd9oe9ZDTWUbrXSD/qNGQ6hdITKF6R7dSIvWl0CMdr2VJi8U6NcbMDOjOHtOQifxX80m5F+LkMj5sfac2izM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602778181943184.23318981110413; Thu, 15 Oct 2020 09:09:41 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7543.19784 (Exim 4.92) (envelope-from ) id 1kT5oV-0000Y6-7Y; Thu, 15 Oct 2020 16:09:11 +0000 Received: by outflank-mailman (output) from mailman id 7543.19784; Thu, 15 Oct 2020 16:09:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oV-0000Xz-45; Thu, 15 Oct 2020 16:09:11 +0000 Received: by outflank-mailman (input) for mailman id 7543; Thu, 15 Oct 2020 16:09:09 +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.92) (envelope-from ) id 1kT5oT-0000WV-Rf for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:09 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 6149a3bf-9f7e-44f6-b055-eb9cb7ea1ec5; Thu, 15 Oct 2020 16:09:03 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oN-0000g0-Hg for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:03 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oN-0006ay-ER for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:03 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WP-0000oB-FP; Thu, 15 Oct 2020 16:50:29 +0100 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.92) (envelope-from ) id 1kT5oT-0000WV-Rf for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:09 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 6149a3bf-9f7e-44f6-b055-eb9cb7ea1ec5; Thu, 15 Oct 2020 16:09:03 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oN-0000g0-Hg for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:03 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oN-0006ay-ER for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:03 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WP-0000oB-FP; Thu, 15 Oct 2020 16:50:29 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 6149a3bf-9f7e-44f6-b055-eb9cb7ea1ec5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=pacL1ullUVs7eBNosppLBDynVv2r14S6C90c7shdrs4=; b=ymWNHGrAQqb+8EtIaJSaYB3mJx rTiYue9Ejhobk1qFqt/o2f0h/em6GcGqfMG8YTa8pFNdpf2TX5LT3Ti/RPfIJe4wrrxRBWsalNA1r 7izg5bd8uAl+CKhOrV/k/sMNd/Fcnq97HODaqFGXitgdOqKNVf0E8msu6JvxP/g/RZ8U=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Jackson Subject: [OSSTEST PATCH v2 11/17] Introduce real-retry blessing Date: Thu, 15 Oct 2020 16:50:13 +0100 Message-Id: <20201015155019.20705-12-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" From: Ian Jackson Nothing produces this yet. (There's play-retry as well of course but we don't need to document that really.) Signed-off-by: Ian Jackson --- README.dev | 9 +++++---- cr-daily-branch | 3 ++- cr-disk-report | 2 +- cr-try-bisect | 4 ++-- cr-try-bisect-adhoc | 2 +- cs-bisection-step | 4 ++-- sg-report-flight | 2 +- 7 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.dev b/README.dev index 2cbca109..3d09b3c6 100644 --- a/README.dev +++ b/README.dev @@ -381,10 +381,11 @@ These are the principal (intended) blessings: commissioning, and that blessing removed and replaced with `real' when the hosts are ready. =20 - * `real-bisect' and `adhoc-bisect': These are found only as the - blessing of finished flights. (This is achieved by passing - *-bisect to sg-execute-flight.) This allows the archaeologist - tools to distinguish full flights from bisection steps. + * `real-bisect', `real-retry', `adhoc-bisect': These are found only + as the blessing of finished flights. (This is achieved by passing + *-bisect or *-retry to sg-execute-flight.) This allows the + archaeologist tools to distinguish full flights from bisection + steps and retries. =20 The corresponding intended blessing (as found in the `intended' column of the flights table) is `real'. So the hosts used by the diff --git a/cr-daily-branch b/cr-daily-branch index 23060588..285ea361 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -76,7 +76,8 @@ case $branch in treeurl=3D`./ap-print-url $branch`;; esac =20 -blessings_arg=3D--blessings=3D${DAILY_BRANCH_TESTED_BLESSING:-real} +blessings_arg=3D${DAILY_BRANCH_TESTED_BLESSING:-real} +blessings_arg=3D--blessings=3D${blessings_arg},${blessings_arg}-retest sgr_args+=3D" $blessings_arg" =20 force_baseline=3D'' # Non-empty =3D indication why we are forcing baseline. diff --git a/cr-disk-report b/cr-disk-report index 543d35bf..d76fd72f 100755 --- a/cr-disk-report +++ b/cr-disk-report @@ -38,7 +38,7 @@ our $graphs_px=3D0; our $graphs_py=3D0; open DEBUG, ">/dev/null" or die $!; =20 -our @blessings =3D qw(real real-bisect); +our @blessings =3D qw(real real-retry real-bisect); # for these blessings column is " " # for other blessings column is " []" =20 diff --git a/cr-try-bisect b/cr-try-bisect index a2b77b9a..6adc2bcc 100755 --- a/cr-try-bisect +++ b/cr-try-bisect @@ -59,7 +59,7 @@ compute_state_done_callback () { compute_state_callback () { compute_state_core \ --basis-template=3D$basisflight \ - --blessings=3D$OSSTEST_BLESSING,$OSSTEST_BLESSING-bisect \ + --blessings=3D$OSSTEST_BLESSING,$OSSTEST_BLESSING-bisect,$= OSSTEST_BLESSING-retry \ "$@" $branch $job $testid } =20 @@ -78,7 +78,7 @@ perhaps_bisect_step () { echo "already completed $branch $job $testid" return fi - perhaps_bisect_step_core $OSSTEST_BLESSING $OSSTEST_BLESSING-bisect + perhaps_bisect_step_core $OSSTEST_BLESSING $OSSTEST_BLESSING-bisec= t $OSSTEST_BLESSING-real } =20 subject_prefix=3D"[$branch bisection]" diff --git a/cr-try-bisect-adhoc b/cr-try-bisect-adhoc index caadfd80..c2cfa475 100755 --- a/cr-try-bisect-adhoc +++ b/cr-try-bisect-adhoc @@ -49,7 +49,7 @@ export OSSTEST_BLESSING=3Dadhoc =20 compute_state_callback () { compute_state_core \ - --blessings=3Dreal,real-bisect,adhoc-bisect \ + --blessings=3Dreal,real-retry,real-bisect,adhoc-bisect \ $bisect "$@" $branch $job $testid } =20 diff --git a/cs-bisection-step b/cs-bisection-step index 762966da..8b391448 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -7,7 +7,7 @@ # usage: # ./cs-bisection-setup [] # options, usually: -# --blessings=3Dreal,real-bisect +# --blessings=3Dreal,real-retry,real-bisect # # First entry in --blessings list is the blessing of the basis # (non-bisection) flights. This should not be the same as the @@ -45,7 +45,7 @@ use HTML::Entities; use Osstest::Executive; use URI::Escape; =20 -our @blessings=3D qw(real real-bisect); +our @blessings=3D qw(real real-retry real-bisect); our @revtuplegenargs=3D (); our $broken; =20 diff --git a/sg-report-flight b/sg-report-flight index cbd39599..51a409ed 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -120,7 +120,7 @@ die if defined $specver{this}{flight}; die if defined $specver{that}{flight} && grep { $_ ne 'flight' } keys %{ $specver{that} }; =20 -push @blessings, 'real', 'real-bisect' unless @blessings; +push @blessings, 'real', 'real-retry', 'real-bisect' unless @blessings; =20 csreadconfig(); =20 --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778181; cv=none; d=zohomail.com; s=zohoarc; b=EO9yww5mrnWYNbHnAP3ahblzHJUJXf/vxGkacT0o4jHVoWi/rmPcKXIpUvNg8kAQewlcK2fAyy2gwue6RaQbzYdsdvCFBOdL3PMczutplLR9Bgq7e/nTIDSExfgMzyTFxnv53APK4ABAO7iTBqvA+4FOhquaC+5yVZhUJi/Epos= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778181; h=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; bh=T/OCcqRxeQc9x8tpxs5RGS4FPCqsIq9O+7k8X7cgE7E=; b=Awe4uMReZGwMuoENrJ/taB4bh/99L+xR0emYx7sfpLTF6UoilSuCiM3jVzwG36OislOIskFI6hK01clCpnAd7p61klRsE/gAy3oZ1WIrvG2RbUccS+ZEdbmAYGyRZseFp/88ntB4vDKYAjd0h0UAXx4KQm03fZNZAJBN2eXOxg8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 16027781814031013.4042154252834; Thu, 15 Oct 2020 09:09:41 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7546.19820 (Exim 4.92) (envelope-from ) id 1kT5ok-0000k0-3S; Thu, 15 Oct 2020 16:09:26 +0000 Received: by outflank-mailman (output) from mailman id 7546.19820; Thu, 15 Oct 2020 16:09:26 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oj-0000jr-W2; Thu, 15 Oct 2020 16:09:25 +0000 Received: by outflank-mailman (input) for mailman id 7546; Thu, 15 Oct 2020 16:09:24 +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.92) (envelope-from ) id 1kT5oi-0000WV-SA for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:24 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 33e90831-08e4-4696-aef3-6363429603ce; Thu, 15 Oct 2020 16:09:22 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5og-0000gb-Fb for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:22 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5og-0006eP-Er for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:22 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WP-0000oB-NK; Thu, 15 Oct 2020 16:50:29 +0100 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.92) (envelope-from ) id 1kT5oi-0000WV-SA for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:24 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 33e90831-08e4-4696-aef3-6363429603ce; Thu, 15 Oct 2020 16:09:22 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5og-0000gb-Fb for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:22 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5og-0006eP-Er for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:22 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WP-0000oB-NK; Thu, 15 Oct 2020 16:50:29 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 33e90831-08e4-4696-aef3-6363429603ce DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=T/OCcqRxeQc9x8tpxs5RGS4FPCqsIq9O+7k8X7cgE7E=; b=x4/oegTzScwg1bFjxBllaeFo5f DdYOED9tMHlPQ86HkMWdFYsr+UWXnFQhKl79+h/Cux0yMxM5InJfvqUZfOd+v2W/Fd91004LnnJx9 gWFDwg0CAqPALj2uN5Pna/HvBNfvNP25FbGJ/5NkP/6j3lwW9Hk8Lnl1LPdKTqjoRqYc=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 12/17] cri-args-hostlists: Move flight_html_dir variable Date: Thu, 15 Oct 2020 16:50:14 +0100 Message-Id: <20201015155019.20705-13-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" This is only used in report_flight. We are going to want to call report_flight from outside start_email, without having to set that variable ourselves. The variable isn't actually used in start_email. Signed-off-by: Ian Jackson --- cri-args-hostlists | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cri-args-hostlists b/cri-args-hostlists index 52e39f33..52cac195 100644 --- a/cri-args-hostlists +++ b/cri-args-hostlists @@ -113,7 +113,6 @@ start_email () { printf '%s\n' "`getconfig EmailStdHeaders`" printf 'Subject: %s' "${subject_prefix:-[$branch test] }" =20 - local flight_html_dir=3D$OSSTEST_HTMLPUB_DIR/ local job_html_dir=3D$OSSTEST_HTML_DIR/ local host_html_dir=3D$OSSTEST_HTML_DIR/host/ =20 @@ -143,6 +142,7 @@ start_email () { =20 report_flight () { local flight=3D$1 + local flight_html_dir=3D$OSSTEST_HTMLPUB_DIR/ ./sg-report-flight --html-dir=3D$flight_html_dir/$flight/ \ --allow=3Dallow.all --allow=3Dallow.$branch \ $sgr_args $flight >tmp/$flight.report --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778194; cv=none; d=zohomail.com; s=zohoarc; b=JZCQwv+zBQAq5cc8yrSckzbSuh1iKKnUVkzpBDuQbzpRtqpNObT2jPl/EhR7gK4FMTZkm5Wawv6WyA1E1r5iMXOjWqx/4r57zARJSOKi8pN22RKogb8gEixxZ09gRIWyeQjg5pilk92YeJWjL60asP5eHajGmGySD2TMHBl8VWc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778194; h=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; bh=rKhUBECvH4UVMiFTJmADZZZYMWQOR+f/Us5E4XBbMw4=; b=HwChg4ITGqZOzFTyrU9sLmRxmLMnpEs+Au1RwDo7wv6VfrIK4UX8ETIAQoL3kTyTfsZ2b89rtR8EKYHbIzOA32Sm1BEyjd9jPQMGkXSZKa9H7bNGr2FcbBpuK8Vcf5a5hLbiSm7l9wS+lZ4x5z/hWLlqmg0OP5jm6Hjmj6uYU4A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602778194587976.3005110790579; Thu, 15 Oct 2020 09:09:54 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7549.19856 (Exim 4.92) (envelope-from ) id 1kT5ow-0000yr-8R; Thu, 15 Oct 2020 16:09:38 +0000 Received: by outflank-mailman (output) from mailman id 7549.19856; Thu, 15 Oct 2020 16:09:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5ow-0000yd-4E; Thu, 15 Oct 2020 16:09:38 +0000 Received: by outflank-mailman (input) for mailman id 7549; Thu, 15 Oct 2020 16:09:37 +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.92) (envelope-from ) id 1kT5ov-0000xQ-2W for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:37 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id e17d3cb8-6410-454c-a99e-ac964f8ccf48; Thu, 15 Oct 2020 16:09:36 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5ou-0000h7-7W for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:36 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5ou-0006gy-6g for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:36 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WP-0000oB-Uw; Thu, 15 Oct 2020 16:50:30 +0100 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.92) (envelope-from ) id 1kT5ov-0000xQ-2W for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:37 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id e17d3cb8-6410-454c-a99e-ac964f8ccf48; Thu, 15 Oct 2020 16:09:36 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5ou-0000h7-7W for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:36 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5ou-0006gy-6g for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:36 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WP-0000oB-Uw; Thu, 15 Oct 2020 16:50:30 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: e17d3cb8-6410-454c-a99e-ac964f8ccf48 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=rKhUBECvH4UVMiFTJmADZZZYMWQOR+f/Us5E4XBbMw4=; b=6nBC+4WrrE9VyBaqiUBy++5BXv PMlM1TTv/orJDF/qEz40NHcR1E9G9v+iv8KKje/8Q/h/hhgArylaZlbZB5cmke+cpuFmzhf7CPJTm EWcp1onyN6frRapjHtWJcV7ZP1MK3pA4e1q/fhVyZgMDLpyexhB6PoKTC0hiLmuoWfRE=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Jackson Subject: [OSSTEST PATCH v2 13/17] cr-daily-branch: Immediately retry failing tests Date: Thu, 15 Oct 2020 16:50:15 +0100 Message-Id: <20201015155019.20705-14-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" From: Ian Jackson We exclude the self-tests because we don't want to miss breakage, and the Xen smoke tests because they will be run again RSN anyway. Signed-off-by: Ian Jackson --- cr-daily-branch | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/cr-daily-branch b/cr-daily-branch index 285ea361..bea8734e 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -472,12 +472,58 @@ esac sgr_args+=3D" $EXTRA_SGR_ARGS" =20 date >&2 +original_start=3D`date +%s` + : $flight $branch $OSSTEST_BLESSING $sgr_args eval "$DAILY_BRANCH_PREEXEC_HOOK" execute_flight $flight $OSSTEST_BLESSING date >&2 =20 -start_email $flight $branch "$sgr_args" "$subject_prefix" +default_immediate_retry=3D$wantpush + +case "$branch" in +*smoke*) default_immediate_retry=3Dfalse ;; +osstest) default_immediate_retry=3Dfalse ;; +*) ;; +esac + +: ${OSSTEST_IMMEDIATE_RETRY:-$default_immediate_retry} + +while true; do + start_email $flight $branch "$sgr_args" "$subject_prefix" + if grep '^tolerable$' $mrof >/dev/null 2>&1; then break; fi + if ! $OSSTEST_IMMEDIATE_RETRY; then break; fi + OSSTEST_IMMEDIATE_RETRY=3Dfalse + retry_jobs=3D$( + perl <$mrof -wne ' + next unless m/^regression (\S+) /; + my $j =3D $1; + next if $j =3D~ m/^build/; + $r{$j}++; + END { + print "copy-jobs '$flight' $_ " + foreach sort keys %r; + }' + ) + if [ "x$retry_jobs" =3D x ]; then break; fi + + rflight=3D$( + ./cs-adjust-flight new:$OSSTEST_BLESSING \ + branch-set $branch \ + $retry_jobs + ) + + ./mg-adjust-flight-makexrefs -v $rflight \ + --branch=3D$branch --revision-osstest=3D$narness_rev \ + '^build-*' --debug --blessings=3Dreal + + export OSSTEST_RESOURCE_WAITSTART=3D$original_start + execute_flight $rflight $OSSTEST_BLESSING-retest + report_flight $rflight + publish_logs $rflight + + sgr_args+=3D" --refer-to-flight=3D$rflight" +done =20 push=3Dfalse if grep '^tolerable$' $mrof >/dev/null 2>&1; then push=3D$wantpush; fi --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778180; cv=none; d=zohomail.com; s=zohoarc; b=ZYIAQeLHwcfkAlGqyiqmHBJXsppN3E6cNpO3GsL3ZT1liY+MG83QY4JnsfpumOVSS5e3UVHGADkQQmv/V1NuzWqNN03PghHYZCxEhsZpwLPJ9s6HsMArxizoPo0ot18wBk4OZAU2V1bB6ctlDZi93C4k1XcOcpwtnEzRHHjnQOg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778180; h=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; bh=sjdvYyM1PnXhPbXqN8m96KPPeA795n+928eEa0JNcoo=; b=hXZU/J/+04cBLUQNWkM6f5OkdbTmxFMgQNnQHAEUPuZ4Vdzycp3Qn6GKe0hAjWWVjryEObeZoImBSUoAw+fvYh+cAieacEgfgOOj7gIF73KfZH3/EEBEQEgzLgXDtCYdKxnaz52/3Sl3P9vpOi1S6j02ynBSgsJz+qLRywB5Tiw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602778180738222.04710948383035; Thu, 15 Oct 2020 09:09:40 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7544.19796 (Exim 4.92) (envelope-from ) id 1kT5oa-0000bf-GS; Thu, 15 Oct 2020 16:09:16 +0000 Received: by outflank-mailman (output) from mailman id 7544.19796; Thu, 15 Oct 2020 16:09:16 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oa-0000bX-D4; Thu, 15 Oct 2020 16:09:16 +0000 Received: by outflank-mailman (input) for mailman id 7544; Thu, 15 Oct 2020 16:09:14 +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.92) (envelope-from ) id 1kT5oY-0000WV-Rm for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:14 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id fd9e91f7-be31-4013-a56f-e8777305bc8c; Thu, 15 Oct 2020 16:09:11 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oV-0000gF-CJ for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:11 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oV-0006c9-BS for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:11 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WQ-0000oB-6Q; Thu, 15 Oct 2020 16:50:30 +0100 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.92) (envelope-from ) id 1kT5oY-0000WV-Rm for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:14 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id fd9e91f7-be31-4013-a56f-e8777305bc8c; Thu, 15 Oct 2020 16:09:11 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oV-0000gF-CJ for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:11 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oV-0006c9-BS for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:11 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WQ-0000oB-6Q; Thu, 15 Oct 2020 16:50:30 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: fd9e91f7-be31-4013-a56f-e8777305bc8c DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=sjdvYyM1PnXhPbXqN8m96KPPeA795n+928eEa0JNcoo=; b=rkJjFYWXXI5rcMm20svd5AyiKo wD//qzGLFyxtvnmo/nqrCsX9lTuJB1NwS+KXH2h2mdHDCEuPrThi1A0jwl1xWL+HFm7b8HkmIS5EM vck74Xe4WaZ+T5VoJ40m4SK9/P9INOd59mc/6f8u17cqvvNrgejc7a57P5B7VD/VGi1I=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 14/17] Honour OSSTEST_SIMULATE_FAIL_RETRY for immediate retries Date: Thu, 15 Oct 2020 16:50:16 +0100 Message-Id: <20201015155019.20705-15-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" This is primarily useful for debugging the immediate-retry logic, but it seems churlish to delete it again. Signed-off-by: Ian Jackson --- cr-daily-branch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cr-daily-branch b/cr-daily-branch index bea8734e..3e58d465 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -517,6 +517,10 @@ while true; do --branch=3D$branch --revision-osstest=3D$narness_rev \ '^build-*' --debug --blessings=3Dreal =20 + if [ "${OSSTEST_SIMULATE_FAIL_RETRY+y}" =3D y ]; then + export OSSTEST_SIMULATE_FAIL=3D"${OSSTEST_SIMULATE_FAIL_RETRY}" + fi + export OSSTEST_RESOURCE_WAITSTART=3D$original_start execute_flight $rflight $OSSTEST_BLESSING-retest report_flight $rflight --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778182; cv=none; d=zohomail.com; s=zohoarc; b=P9iBeZ3M2C/dDfjsar7YGnvuoSIsG2GhWbJ49GyjZZdKdjg0AZkR+pJ1NTkdWzTsVbqg3bcb0IFvBm67cYcOaibUcqD9detvqFqOLRS3RvXNRRF/IC/RPTNeHWbFJ+Sf3elOc9kwsMsoHyAZmZR2QAOKfHeGQMcdSYQ3GMmay78= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778182; h=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; bh=uF93lLE6Hujj9HHD1uOcz9Kb2G0DNm7aSbOO3mDjPxk=; b=Oh9BZyj+ucHwEPiiaGmf37WJgTw2pFs/YzvkUfWNhvIj1CqvShYH5Z8ZOVWFw8x091/AiaOHUhIpc4TjBsXoMK2wLD1YJFAoPTw1HpeOVaubCQ+TzZCzH36h1hH+mmQgApiUhlsxifiVJnU0ED/2m+hOkS2uhNlhMdLtjfu+i1g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602778182670440.51462419363577; Thu, 15 Oct 2020 09:09:42 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7545.19808 (Exim 4.92) (envelope-from ) id 1kT5oe-0000ep-P1; Thu, 15 Oct 2020 16:09:20 +0000 Received: by outflank-mailman (output) from mailman id 7545.19808; Thu, 15 Oct 2020 16:09:20 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oe-0000ei-LM; Thu, 15 Oct 2020 16:09:20 +0000 Received: by outflank-mailman (input) for mailman id 7545; Thu, 15 Oct 2020 16:09:19 +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.92) (envelope-from ) id 1kT5od-0000WV-S0 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:19 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id ad5d6dd0-5b63-453f-b297-7a399c91773d; Thu, 15 Oct 2020 16:09:16 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oa-0000gP-23 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:16 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oa-0006d2-18 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:16 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WQ-0000oB-Fn; Thu, 15 Oct 2020 16:50:30 +0100 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.92) (envelope-from ) id 1kT5od-0000WV-S0 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:19 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id ad5d6dd0-5b63-453f-b297-7a399c91773d; Thu, 15 Oct 2020 16:09:16 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oa-0000gP-23 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:16 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5oa-0006d2-18 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:16 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WQ-0000oB-Fn; Thu, 15 Oct 2020 16:50:30 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: ad5d6dd0-5b63-453f-b297-7a399c91773d DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=uF93lLE6Hujj9HHD1uOcz9Kb2G0DNm7aSbOO3mDjPxk=; b=ucPB9WYIV0ZAF7oH+CGrjitn7Y jOM9r+VrJwVBV1a9GkeV4ypM3hBlEDHCtcji9kMc+BcJ/m1a8iuBWL7WgCbFmfVkX4sPSs3DMMZfU 7SVRFn3zPiEKWwyCWOFTkHzmIwiiEa0UhArz6L3LRjp/ZqfpJn+j2RySJ9vrI9Awsg0E=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Andrew Cooper Subject: [OSSTEST PATCH v2 15/17] cr-daily-branch: Do not do immediate retry of failing xtf flights Date: Thu, 15 Oct 2020 16:50:17 +0100 Message-Id: <20201015155019.20705-16-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" CC: Andrew Cooper Signed-off-by: Ian Jackson --- cr-daily-branch | 1 + 1 file changed, 1 insertion(+) diff --git a/cr-daily-branch b/cr-daily-branch index 3e58d465..9b1961bd 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -484,6 +484,7 @@ default_immediate_retry=3D$wantpush case "$branch" in *smoke*) default_immediate_retry=3Dfalse ;; osstest) default_immediate_retry=3Dfalse ;; +xtf*) default_immediate_retry=3Dfalse ;; *) ;; esac =20 --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778190; cv=none; d=zohomail.com; s=zohoarc; b=QsHqjO+qyLanDArLYLZF2ke9sfh5Wl2gKHbVyPBfz/vc4bOWOkG9Ns1exzw0+7asDtTgGc9noeHArUhN3TTCC6Ss/lnbw+6wSkQisBRB7fdAdE2Eip79+K8+dKcTkhuEFS50Gx5QndYJRufzz1DG3JcMRhDRsPT80+scwUQj1Hs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778190; h=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; bh=/E/dZdst6zLSlIoKGnfjgU1l91GnjdF0tvF6OifHDMo=; b=XZMn9nuyIm58ILPoR2Jl4ruq6CdXq+GFSjZ0pnRIIjdMNUq0MCkedCFONhMw+d6KNTzPNBz8jeWbA23ZdwUgqwWEUEuWgxj/BuLNiSnSxc7pYWK+LGfJOtX8aL17IsLnsSplOK/LY1vaywgD2k15IdCkrtDRV+CdaB+y3DT/Agg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602778190270475.0956562581206; Thu, 15 Oct 2020 09:09:50 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7548.19844 (Exim 4.92) (envelope-from ) id 1kT5or-0000so-Tx; Thu, 15 Oct 2020 16:09:33 +0000 Received: by outflank-mailman (output) from mailman id 7548.19844; Thu, 15 Oct 2020 16:09:33 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5or-0000sf-Pb; Thu, 15 Oct 2020 16:09:33 +0000 Received: by outflank-mailman (input) for mailman id 7548; Thu, 15 Oct 2020 16:09:33 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oq-0000mi-UO for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:32 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 7b574eae-3e04-4a0f-bdce-bb8145bcf898; Thu, 15 Oct 2020 16:09:31 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5op-0000gy-LC for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:31 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5op-0006g4-KA for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:31 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WQ-0000oB-PH; Thu, 15 Oct 2020 16:50:30 +0100 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5oq-0000mi-UO for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:32 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 7b574eae-3e04-4a0f-bdce-bb8145bcf898; Thu, 15 Oct 2020 16:09:31 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5op-0000gy-LC for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:31 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5op-0006g4-KA for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:31 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WQ-0000oB-PH; Thu, 15 Oct 2020 16:50:30 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7b574eae-3e04-4a0f-bdce-bb8145bcf898 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=/E/dZdst6zLSlIoKGnfjgU1l91GnjdF0tvF6OifHDMo=; b=CDw6OgNva7Jc9kANBV8ub63OU5 Z4obG4I7LgAvfcTDkI3XGp0QSS5xJSdstWVWEvrlRY3bn87mXJqSRfsoijN74T5zrRaULsaE7b4Xm 7CQ2Npcvs/F5cgVCfLwliuj06uC9QmJ22n0txD39LKwKESfO3Y4LWtTkdWvYpYFPIzYc=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 16/17] sg-report-flight: Include count of blockers, and of jobs, in mro Date: Thu, 15 Oct 2020 16:50:18 +0100 Message-Id: <20201015155019.20705-17-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" The mro will now contain exactly one of "blockers" or "tolerable". Nothing uses this yet. Signed-off-by: Ian Jackson --- sg-report-flight | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sg-report-flight b/sg-report-flight index 51a409ed..fd266586 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -1128,13 +1128,16 @@ END } =20 if (!$heisen_why) { + my $n_blockers =3D scalar grep { $_->{Blocker} } @failures; + print MRO "njobs ", scalar(@{ $fi->{JobTexts} }), "\n"; + print MRO "nblockers $n_blockers\n" if $n_blockers; if (!@failures) { print MRO "tolerable\nperfect\n" or die $!; $fi->{Overall}.=3D "Perfect :-)\n"; } elsif (grep { $_->{Blocker} eq 'regression' } @failures) { $fi->{OutcomeSummary}=3D "regressions - $fi->{OutcomeSummary}"; $fi->{Overall}.=3D "Regressions :-(\n"; - } elsif (!grep { $_->{Blocker} } @failures) { + } elsif (!$n_blockers) { $fi->{OutcomeSummary}=3D "tolerable $fi->{OutcomeSummary}"; print MRO "tolerable\n" or die $! unless defined $heisen_why; --=20 2.20.1 From nobody Thu Apr 18 10:18:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1602778187; cv=none; d=zohomail.com; s=zohoarc; b=HKhMf0ViPr1M01IQ9XMwATdta0OoSwKH1jjXKN64gznqtk+x0dxhfJOHD4RpiFTYBFKZQTONEP9NOha3m2JqFI+R3a7XG/UV3ENWCsiSc4w4S2fjijd93I1802qK8UCuJs7imv0T+2VzVDaG9GJfWNctWY3DhfmqpUutt2rf6NU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602778187; h=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; bh=Eb2yZLxvdxwd6Ruht+D5KNOOBqV7wkTSytbhDN+ksww=; b=H9qYDVedKbnGExLyJcK30PHXEfR3t/C7oUkyp3N721ThMUp+qJogZGwo23if/cax1ZGetkFYglYBlzbEA+6P6wvpnY0m0J7T+oxaVO0X/hGns4IHjt3gHIHB3rIiajVyGsvUSf5BnzV10A35bN4JRpQXJvGTEs5IRitJA0LwOS4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1602778187115321.82881808456943; Thu, 15 Oct 2020 09:09:47 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.7547.19832 (Exim 4.92) (envelope-from ) id 1kT5on-0000o8-Jw; Thu, 15 Oct 2020 16:09:29 +0000 Received: by outflank-mailman (output) from mailman id 7547.19832; Thu, 15 Oct 2020 16:09:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5on-0000nv-Fc; Thu, 15 Oct 2020 16:09:29 +0000 Received: by outflank-mailman (input) for mailman id 7547; Thu, 15 Oct 2020 16:09:28 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5om-0000mi-3O for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:28 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id dd437341-70cf-41f8-ab23-e7417d87276f; Thu, 15 Oct 2020 16:09:27 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5ol-0000gl-0Z for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:27 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5ok-0006fE-W1 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:26 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WR-0000oB-0p; Thu, 15 Oct 2020 16:50:31 +0100 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5om-0000mi-3O for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:28 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id dd437341-70cf-41f8-ab23-e7417d87276f; Thu, 15 Oct 2020 16:09:27 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kT5ol-0000gl-0Z for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:27 +0000 Received: from iwj (helo=mynotebook.example.org) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1kT5ok-0006fE-W1 for xen-devel@lists.xenproject.org; Thu, 15 Oct 2020 16:09:26 +0000 Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by mariner.uk.xensource.com with esmtp (Exim 4.89) (envelope-from ) id 1kT5WR-0000oB-0p; Thu, 15 Oct 2020 16:50:31 +0100 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: dd437341-70cf-41f8-ab23-e7417d87276f DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=Eb2yZLxvdxwd6Ruht+D5KNOOBqV7wkTSytbhDN+ksww=; b=pcoWROS+3Qx7axDTdPcbd1X2zg YDzlPXdGcMkg/HXAmGrVVr1QZWy5Wg8HIj+akL2PuMqCmwHJXN7xugVx+ur3oVxQWafXfeDn3qqjN TH8HThuWkxsRhpotYAAJwqkEuUNhqwu9ZJoGJdfmTGlNd3Jw8AMb1SPJthZQHHtL8hK4=; From: Ian Jackson To: xen-devel@lists.xenproject.org Cc: Ian Jackson Subject: [OSSTEST PATCH v2 17/17] cr-daily-branch: Heuristics for when to do immediate retest flight Date: Thu, 15 Oct 2020 16:50:19 +0100 Message-Id: <20201015155019.20705-18-iwj@xenproject.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201015155019.20705-1-iwj@xenproject.org> References: <20201015155019.20705-1-iwj@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) Content-Type: text/plain; charset="utf-8" Do not do a retest if it would involve retesting more than 10% of the original flight, or if it wouldn't get a push even if the retests pass. Signed-off-by: Ian Jackson --- cr-daily-branch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cr-daily-branch b/cr-daily-branch index 9b1961bd..e54ca227 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -497,11 +497,26 @@ while true; do OSSTEST_IMMEDIATE_RETRY=3Dfalse retry_jobs=3D$( perl <$mrof -wne ' + $n_blockers =3D $1 if m/^nblockers (\d+)\s*$/; + $n_jobs =3D $1 if m/^njobs (\d+)\s*$/; next unless m/^regression (\S+) /; my $j =3D $1; next if $j =3D~ m/^build/; $r{$j}++; + sub nope { + print STDERR "no retry: @_\n"; + exit 0; + } END { + my $n_retry_jobs =3D scalar(keys %r); + print STDERR <<"END"; +n_retry_jobs=3D$n_retry_jobs n_blockers=3D$n_blockers n_jobs=3D$n_jobs +END + nope("other blockers") if=20 + $n_retry_jobs < $n_blockers; + nope("too many regressions") if + $n_retry_jobs > 1 && + $n_retry_jobs > $n_jobs/10; print "copy-jobs '$flight' $_ " foreach sort keys %r; }' --=20 2.20.1