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 1naUAL-0003RH-8S for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Apr 2022 03:11:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1naUAJ-00056Z-PX for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Apr 2022 03:11:03 +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 1naUAJ-00056Q-GL for pgsql-hackers@lists.postgresql.org; Sat, 02 Apr 2022 03:11:03 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1naUAD-0007Ug-8K for pgsql-hackers@lists.postgresql.org; Sat, 02 Apr 2022 03:11:03 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A69493201FCE; Fri, 1 Apr 2022 23:10:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 01 Apr 2022 23:10:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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; bh=lf1GhWq8HVdXy3pdojjbpcFGj8EZSqLrbQKp9i LHSCk=; b=j5pZPz+sqfFTO/Xbaf8nt2TiLTl/Tz8Y0gVCurSG5nUV9w2Zj//LcS RwaEm/jTGg4PeAqwWBxejw8waegRnAGCezSS5AyQHJveU3lnHIJQkkJ1OeernV7U tN+8cHravb5ub/dlsZCq+fYCo3BHTDo6T2ktekvHQeNsnum8OHwiK0wFg7YdATFm nGzveivw4RfPT2PMF7Ffj/mw7ByLO0oH1yzhJYT2R/hlGyZQ8t/q+/nHcCzZj4j+ QG3EZvTHa7qGlNQ9LIGW920EcRdZyL2qAuRVvJbW1A5sxun23CYfNwjUXyYlSdk5 gvy7O7RnMb0DrRzzzIZX+8rkMGHgPB5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; 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:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=lf1GhWq8HVdXy3pdo jjbpcFGj8EZSqLrbQKp9iLHSCk=; b=Tto70qNlHfLCrDpgOVmGDSE9LfuGZlhKr vUHEN2+K/w9KSbwCAXprdk74g4m1ruznVT/nfG2AzW4vUOrmIOCAWitLJjZYWiYp tWpsk6hMb7jjBjvlVhBZ+HH2ytSiByPJtpXT/Q6rTkfsM9Nb/b2eVvDmU/pOzrxp u29/EUBtzyZCQgqSQzMunK8QCsvg4yIAZEC89RADS9KN5nadfDnAu0TjKpBkRgpX c31i6RIlWaVLRd+af3zPj02IK4ZRzCnkmFm59xC9s3IA178wsQJoQ0/Ch4UeZQwK Wr7ZmktTQf61JbV6Cen38pBH3WAxYpKEAivwlzy028C8NUEIMmBUw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeijedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 1 Apr 2022 23:10:51 -0400 (EDT) Date: Sat, 2 Apr 2022 12:10:49 +0900 From: Michael Paquier To: Justin Pryzby Cc: Noah Misch , Tom Lane , Andres Freund , Thomas Munro , Julien Rouhaud , Andrew Dunstan , pgsql-hackers@lists.postgresql.org Subject: Re: Rewriting the test of pg_upgrade as a TAP test - take three - remastered set Message-ID: References: <502623.1648702814@sss.pgh.pa.us> <20220331053616.u446wsr732quuzer@alap3.anarazel.de> <547429.1648734590@sss.pgh.pa.us> <20220401034241.GA3682158@rfd.leadboat.com> <20220401035159.GT28503@telsasoft.com> <20220401133434.GX28503@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mUefxMZ2Xu2cMN32" Content-Disposition: inline In-Reply-To: <20220401133434.GX28503@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --mUefxMZ2Xu2cMN32 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 01, 2022 at 08:34:34AM -0500, Justin Pryzby wrote: > If you do that, should also remove upgradecheck from .cirrus.yaml, which > currently runs the upgradecheck target. Indeed. It makes no sense to keep that. I have removed this part and applied the patch, after one extra run through the CI. > An alternative to your patch to have the buildfarm client avoid calling > upgradecheck if tap tests are disabled. Under your patch, upgrade check is a > NOP, so it should stop calling upgradecheck anyway. So maybe this is a better > option ? Yeah, there is an extra issue with the buildfarm client here. The animals that have TAP enabled are now running the tests of pg_upgrade twice: once per the optional module TestUpgrade and once in run_bin_tests()@run_build.pl. This is something that needs to be changed in the client code itself, and maybe the best fix is to disable TestUpgrade.pm when running with v15~ or a newer version. A fix with this approach would become much easier once REL_15_STABLE is created, though. I am pretty sure that it should also be possible to change the list of optional modules depending on the branch running, but I have not dug into that.. -- Michael --mUefxMZ2Xu2cMN32 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmJHvrkACgkQnvQgOdby QH2N6g//cu1Swc96j9uI+BP1e63X8GIJlknepyTJ1B95PtSdJoRhIxaQ4ccHxsm/ Ho4ocHKof4Eh20KhSzvHXg1gvg917MY3INra5OtIVJbbL8gjZcaFBbNcePJC6anb WH5rpwsh6SJlcTf7q+qeDE1nfBlvP+HGvcy7nWo6ma+odLwTYlUR29x+wNHHTLzI aKAFb08IOS1vhFMc6Uw6E7dKoz3SqysZLayfq1F52AUVFCDzwa+miVoZgdP3NuGX gXDSMb81BHqm6yP1PVpC2y/UCcyVDdSk+QRK2InwezkiYc0M0iWjf/QgwqVpQdbI dYzRoU9TGVzEAlGWJwmynquO5743zMS+8NYhD3wjb7BzUvzLuvqMZoHjvEz+GhFl p+57xT8jIchdy9YURrsrRNdeKSuMZILaJeDRBvnh+dq+B9b4loHEEhMjVgkomprD uKDfL4FCYFbKgt4C59T9kq6WnRYgMHKYxDbatpXqBWi4emHVqxbqNYZZmQ1GXnYv EjVJIGjaOlwQWZIAENlsstOvE0hexTcAIBBhxGnwySSF+hWHEJdYcqsdq7i+GhhX D3QHZml8q/ytFezS38pVVKhKqerPtc9YysDaKwbOIS31NSqb9fkftrMLBrXMdpMv T9L2G6/3YVqsfbf7yPWuFWgw0EhV8FPAMbzmHK2clzFPtAMewGI= =K380 -----END PGP SIGNATURE----- --mUefxMZ2Xu2cMN32--