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 1lTQfP-0006bC-1S for pgsql-committers@arkaria.postgresql.org; Mon, 05 Apr 2021 14:57:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lTQfO-0006n7-0e for pgsql-committers@arkaria.postgresql.org; Mon, 05 Apr 2021 14:57:26 +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 1lTQfN-0006mu-RX for pgsql-committers@lists.postgresql.org; Mon, 05 Apr 2021 14:57:25 +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 1lTQfL-0005KK-IK for pgsql-committers@lists.postgresql.org; Mon, 05 Apr 2021 14:57:24 +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 135EvMbA513201; Mon, 5 Apr 2021 10:57:22 -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: Comments: In-reply-to Michael Paquier message dated "Mon, 05 Apr 2021 01:14:27 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <513199.1617634642.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 05 Apr 2021 10:57:22 -0400 Message-ID: <513200.1617634642@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > Refactor all TAP test suites doing connection checks Some of the buildfarm seems not to like this. gaur failed here: =3D=3D~_~=3D=3D=3D-=3D-=3D=3D=3D~_~=3D=3D pgsql.build/src/test/authenticat= ion/tmp_check/log/regress_log_001_password =3D=3D~_~=3D=3D=3D-=3D-=3D=3D=3D= ~_~=3D=3D ... ok 8 - authentication success for method md5, role md5_role ### Reloading node "primary" # Running: pg_ctl -D /home/bfarm/bf-data/HEAD/pgsql.build/src/test/authent= ication/tmp_check/t_001_password_primary_data/pgdata reload server signaled ack Broken pipe: write( 11, 'SELECT $$connected with user=3Dscram_role$$' = ) at /opt/perl5.8.9/lib/site_perl/5.8.9/IPC/Run/IO.pm line 558 and I think hoverfly's failure is the same thing. I didn't look at the code, but I bet this is similar to the race conditions we've seen before where a server process may exit before the perl test script finishes stuffing a command down the pipe. regards, tom lane