Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxFY1-0003ee-Ii for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Nov 2022 22:45:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oxFY0-0003qb-BB for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Nov 2022 22:45:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxFXy-0003qP-IN for pgsql-hackers@lists.postgresql.org; Mon, 21 Nov 2022 22:45:52 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxFXu-0002XI-Tu for pgsql-hackers@lists.postgresql.org; Mon, 21 Nov 2022 22:45:50 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2DAB25C01C4; Mon, 21 Nov 2022 17:45:44 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 21 Nov 2022 17:45:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1669070744; x=1669157144; bh=OHNgTQn2bq qyp3NYTYJbb9eXK1p1GOUyO+kYqxpe9Kc=; b=NsEH+AnUcWQPrXZzrTeaNIGDhk b0cFXEoS050oK2MseD1GezgqCQaay4op+o/Ke1J2m1ojIK18gkrVRSG+Ln4u9xQV qE+3QqnXyXMfKXUnUww/knxU7ADaDyiwV90NjWAzBSX4B0q9gwvrrv8rlTi7ZpxX jgyl5JB3X2Tk6el/CEDa3Gjbc0D0+OTyyzLUVvkvVu/TGTtUSnqGjfpunZ1XYZ/t UKczhFp7tmraWi8IqdM+es/2BsPTIoyeSJKvhwoS9ovl3JifTm870WWcafGVt2YP T8z/xuaQDk6Xn+xReomqwpiulyVEYd/ze9KMpONRLUkJH4zLSwB4uxe96GrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1669070744; x=1669157144; bh=OHNgTQn2bqqyp3NYTYJbb9eXK1p1 GOUyO+kYqxpe9Kc=; b=hgWIqElWc5LtCpxg27/TV9InzM5BzlEUBJgO4nwfWNaI nzjeGhdnooiP6euj1O5GzLApa3VJLdaOCw/Oqzdwe1gLUo0Fd2MRmAG9f9eM+3fl kGdgRSb06ewW6joV3jcKvPnPKLRMTpPByHRY/bEUBytZqPJHRFCcAhOot1DQncAF +WOHrv9kCKtcqxEf2BhWd88Jt7bBzZkLovNQR7/hzSGycX4a9vqcNyK4QUh23NqV +gy/wxFFnqRxgOcyWrmCr6+8Qg4Z8wz6RYawi2s+XCexC9UR0ZOHI5lM4qd0gZiT APo4RsIuGL4/CUmTXGXxLIilI1D4tqm4os6xB35ZhA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrheejgddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffvfevuffkfhggtggujgfhsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedutddtjeeludevtdffteejgfeuteduueehffeujeehtdfgvdejtdelleeu ffdvtdenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgr iigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 21 Nov 2022 17:45:43 -0500 (EST) Date: Mon, 21 Nov 2022 14:45:42 -0800 To: Justin Pryzby Cc: Andrew Dunstan , Thomas Munro , pgsql-hackers@lists.postgresql.org, Noah Misch , Michael Paquier , Anastasia Lubennikova , Tom Lane , Robert Haas , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson , samay sharma Subject: Re: CI and test improvements Message-ID: <20221121224542.p2zapvyvb7objluw@alap3.anarazel.de> 20221113235303.GA26337@telsasoft.comFrom: Andres Freund References: <20220623193125.GB22452@telsasoft.com> <20220528153741.GK19626@telsasoft.com> <20220828144447.GA21897@telsasoft.com> <20220828160752.l5l66k3eptokzhzj@awork3.anarazel.de> <20220828171029.GO2342@telsasoft.com> <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> <20220910200542.GX31833@telsasoft.com> <20221104235412.GE16921@telsasoft.com> <20221105015946.yrxijqb7h4rqhp6d@awork3.anarazel.de> <20221113235303.GA26337@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221113235303.GA26337@telsasoft.com> From: Andres Freund List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-11-13 17:53:04 -0600, Justin Pryzby wrote: > On Fri, Nov 04, 2022 at 06:59:46PM -0700, Andres Freund wrote: > > > diff --git a/.cirrus.yml b/.cirrus.yml > > > index 9f2282471a9..99ac09dc679 100644 > > > --- a/.cirrus.yml > > > +++ b/.cirrus.yml > > > @@ -451,12 +451,20 @@ task: > > > > > > build_script: | > > > vcvarsall x64 > > > - ninja -C build > > > + ninja -C build |tee build/meson-logs/build.txt > > > + REM Since pipes lose exit status of the preceding command, rerun compilation, > > > + REM without the pipe exiting now if it fails, rather than trying to run checks > > > + ninja -C build > nul > > > > This seems mighty grotty :(. but I guess it's quick enough not worry about, > > and I can't come up with a better plan. > > > > It doesn't seem quite right to redirect into meson-logs/ to me, my > > interpretation is that that's "meson's namespace". Why not just store it in > > build/? > > I put it there so it'd be included with the build artifacts. Wouldn't just naming it build-warnings.log suffice? I don't think we want to actually upload build.txt - it already is captured. > > > From e85fe83fd8a4b4c79a96d2bf66cd6a5e1bdfcd1e Mon Sep 17 00:00:00 2001 > > > From: Justin Pryzby > > > Date: Sat, 26 Feb 2022 19:34:35 -0600 > > > Subject: [PATCH 5/8] cirrus: build docs as a separate task.. > > > > + # Exercise HTML and other docs: > > > + ninja_docs_build_script: | > > > + mkdir build.ninja > > > + cd build.ninja > > > > Perhaps build-ninja instead? build.ninja is the filename for ninja's build > > instructions, so it seems a bit confusing. > > Sure. > > Do you think building docs with both autoconf and meson is what's > desirable here ? Not sure. > I'm not sure if this ought to be combined with/before/after your "move > compilerwarnings task to meson" patch? (Regarding that patch: I > mentioned that it shouldn't use ccache -C, and it should use > meson_log_artifacts.) TBH, I'm not quite sure a separate docs task does really still make sense after the SanityCheck task. It's worth building the docs even if some flappy test fails, but I don't think we should try to build the docs if the code doesn't even compile, in all likelihood a lot more is wrong in that case. > > > From: Justin Pryzby > > > Date: Tue, 26 Jul 2022 20:30:02 -0500 > > > Subject: [PATCH 6/8] cirrus/ccache: add explicit cache keys.. > > > > > > Since otherwise, building with ci-os-only will probably fail to use the > > > normal cache, since the cache key is computed using both the task name > > > and its *index* in the list of caches (internal/executor/cache.go:184). > > > > Seems like this would potentially better addressed by reporting a bug to the > > cirrus folks? > > You said that before, but I don't think so - since they wrote code to do > that, it's odd to file a bug that says that the behavior is wrong. I am > curious why, but it seems delibrate. > > https://www.postgresql.org/message-id/20220828171029.GO2342%40telsasoft.com I suspect this is just about dealing with unnamed tasks and could be handled by just mixing in CI_NODE_INDEX if the task name isn't set. I pushed a version of 0007-cirrus-clean-up-windows-task.patch. I didn't rename the task as I would like to add a msbuild version of the task at some point (it's pretty easy to break msbuild but not ninja unfortunately). In additional I also removed NO_TEMP_INSTALL. Greetings, Andres Freund