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 1lTZlY-0003vc-BZ for pgsql-committers@arkaria.postgresql.org; Tue, 06 Apr 2021 00:40:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lTZlX-0003qW-A5 for pgsql-committers@arkaria.postgresql.org; Tue, 06 Apr 2021 00:40:23 +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 1lTZlX-0003qP-4Q for pgsql-committers@lists.postgresql.org; Tue, 06 Apr 2021 00:40:23 +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 1lTZlP-0001Le-2y for pgsql-committers@lists.postgresql.org; Tue, 06 Apr 2021 00:40:22 +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 1360eDXS936577; Mon, 5 Apr 2021 20:40:13 -0400 From: Tom Lane To: Michael Paquier cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Refactor all TAP test suites doing connection checks In-reply-to: References: <513200.1617634642@sss.pgh.pa.us> <932059.1617663467@sss.pgh.pa.us> <933130.1617665023@sss.pgh.pa.us> <935457.1617668131@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Tue, 06 Apr 2021 09:27:26 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <936575.1617669613.1@sss.pgh.pa.us> Date: Mon, 05 Apr 2021 20:40:13 -0400 Message-ID: <936576.1617669613@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Mon, Apr 05, 2021 at 08:15:31PM -0400, Tom Lane wrote: >> Dunno. Certainly most animals that enable TAP at all should be >> running the "authentication" test, but those others all need to >> be manually enabled, I believe. My own animals run the SSL test >> but not LDAP or kerberos. > The SSL tests have always sent down a query even for scenarios where > the connection would fail, but they have used command_fails_like() > rather than PostgresNode::psql. The puzzle does not seem complete. Well, since it's a race condition it's obviously going to be sensitive to machine speed. I think that Perl version, or more likely version of IPC::Run or a related module, may enter into it too. prairiedog has gotten through the tests several times since yesterday without failing, yet it's significantly slower than the other PPC Mac I was able to consistently reproduce the problem on. I don't think those two have the same vintage of Perl installation, though, so Perl version seems like a likely explanation. regards, tom lane