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 1nnlBf-0000lh-FH for pgsql-hackers@arkaria.postgresql.org; Sun, 08 May 2022 17:59:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nnlBd-00085A-OA for pgsql-hackers@arkaria.postgresql.org; Sun, 08 May 2022 17:59:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nnlBd-000851-F8 for pgsql-hackers@lists.postgresql.org; Sun, 08 May 2022 17:59:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nnlBb-0008Ph-7N for pgsql-hackers@postgresql.org; Sun, 08 May 2022 17:59:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 248Hx9Zd3447061; Sun, 8 May 2022 13:59:09 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , pgsql-hackers@postgresql.org, Thomas Munro , Andrew Dunstan Subject: Re: failures in t/031_recovery_conflict.pl on CI In-reply-to: <20220508173844.cwfcf6w5ruj6wa7v@alap3.anarazel.de> References: <20220503182025.wvbebs2ojk6vpi5f@alap3.anarazel.de> <2174975.1651602203@sss.pgh.pa.us> <20220503191305.htuzje6ldmic7skk@alap3.anarazel.de> <2808491.1651802860@sss.pgh.pa.us> <20220506030927.6qehktk6bodv4ft3@alap3.anarazel.de> <2823814.1651808182@sss.pgh.pa.us> <20220506035320.db77mag7nahxzpyy@alap3.anarazel.de> <2825879.1651809448@sss.pgh.pa.us> <20220506155827.dfnaheq6ufylwrqf@alap3.anarazel.de> <3254125.1652023714@sss.pgh.pa.us> <20220508173844.cwfcf6w5ruj6wa7v@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 08 May 2022 10:38:44 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3447059.1652032749.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 08 May 2022 13:59:09 -0400 Message-ID: <3447060.1652032749@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2022-05-08 11:28:34 -0400, Tom Lane wrote: >> Per lapwing's latest results [1], this wasn't enough. I'm again thinki= ng >> we should pull the whole test from the back branches. > That failure is different from the earlier failures though. I don't thin= k it's > a timing issue in the test like the deadlock check one. I rather suspect= it's > indicative of further problems in this area. Yeah, that was my guess too. > Potentially the known problem > with RecoveryConflictInterrupt() running in the signal handler? I think = Thomas > has a patch for that... Maybe; or given that it's on v10, it could be telling us about some yet-other problem we perhaps solved since then without realizing it needed to be back-patched. > One failure in ~20 runs, on one animal doesn't seem worth disabling the = test > for. No one is going to thank us for shipping a known-unstable test case. It does nothing to fix the problem; all it will lead to is possible failures during package builds. I have no idea whether any packagers use "make check-world" rather than just "make check" while building. But if they do, even fairly low-probability failures can be problematic. (I still carry the scars I acquired while working at Red Hat and being responsible for packaging mysql: at least back then, their test suite was full of cases that mostly worked fine, except when getting stressed in Red Hat's build farm. Dealing with a test suite that fails 50% of the time under load, while trying to push out an urgent security fix, is NOT a pleasant situation.) I'm happy to have this test in the stable branches once we have committed fixes that address all known problems. Until then, it will just be a nuisance for anyone who is not a developer working on those problems. regards, tom lane