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 1o88v0-0008P5-Lc for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jul 2022 23:22:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o88uy-00038D-MH for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jul 2022 23:22:20 +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 1o88uy-000384-C2 for pgsql-hackers@lists.postgresql.org; Sun, 03 Jul 2022 23:22:20 +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 1o88ur-0005nL-9t for pgsql-hackers@lists.postgresql.org; Sun, 03 Jul 2022 23:22:18 +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 263NMBOk1410026; Sun, 3 Jul 2022 19:22:11 -0400 From: Tom Lane To: pgsql-hackers@lists.postgresql.org cc: Michael Paquier , Noah Misch Subject: Too-long socket paths are breaking several buildfarm members MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1410024.1656890531.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 03 Jul 2022 19:22:11 -0400 Message-ID: <1410025.1656890531@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Buildfarm member thorntail has yet to pass the pg_upgrade test in the REL_15_STABLE branch. It looks like the problem reduces to an overlength pathname: 2022-07-04 00:27:03.404 MSK [2212393:2] LOG: Unix-domain socket path "/ho= me/nm/farm/sparc64_deb10_gcc_64_ubsan/REL_15_STABLE/pgsql.build/src/bin/pg= _upgrade/tmp_check/.s.PGSQL.49714" is too long (maximum 107 bytes) That path name is 3 bytes over the platform limit. Evidently, "REL_15_STABLE" is just enough longer than "HEAD" to make this fail, whereas we didn't see the problem as long as the test case only ran in HEAD. Members butterflyfish, massasauga, and myna likewise have yet to pass this test in REL_15_STABLE, though they're perfectly happy in HEAD. They are returning cut-down logs that don't allow diagnosing for certain, but a reasonable bet is that it's the same kind of problem. I think that the conversion of pg_upgrade's test script to TAP form missed a bet. IIRC, we have mechanism somewhere to ensure that test socket path names are created under /tmp, or someplace else that's not subject to possibly-long paths of installation directories. That's evidently not being used here. regards, tom lane