Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rlwQR-00522w-I2 for buildfarm-members@arkaria.postgresql.org; Sun, 17 Mar 2024 19:44:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rlwQP-00Cdvn-BI for buildfarm-members@arkaria.postgresql.org; Sun, 17 Mar 2024 19:44:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rlwQP-00Cdvf-5W for buildfarm-members@lists.postgresql.org; Sun, 17 Mar 2024 19:44:05 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rlwQL-0051Wy-Ri for buildfarm-members@lists.postgresql.org; Sun, 17 Mar 2024 19:44:04 +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 42HJhxLU3400217; Sun, 17 Mar 2024 15:43:59 -0400 From: Tom Lane To: Alvaro Herrera cc: Noah Misch , buildfarm-members@lists.postgresql.org Subject: Re: Possible infinite loop on buildfarm animals In-reply-to: <202403171938.34kpjnr7lwb7@alvherre.pgsql> References: <202403171938.34kpjnr7lwb7@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Sun, 17 Mar 2024 20:38:46 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3400215.1710704639.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 17 Mar 2024 15:43:59 -0400 Message-ID: <3400216.1710704639@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > On 2024-Mar-17, Noah Misch wrote: >> Other than CLOBBER_CACHE animals, the server rejects results older than= 24h: >> https://github.com/PGBuildFarm/server-code/blob/8572ac7/cgi-bin/pgstatu= s.pl#L273 >> The same 24h should probably be the default wait_timeout. One might us= e a >> longer timeout if wanting to attach a debugger to a process of a stuck = run. >> If one just wants an intervention-free buildfarm animal, 24h is good. > Maybe that should be the default value embedded in the buildfarm client > script, which can be overridden for specific purposes such as > CLOBBER_CACHE animals? We don't normally hard-wire such choices in the script, but it could be plausible to change build-farm.conf.sample, perhaps like: # max time in seconds allowed for a single branch run # undef/0 means unlimited - wait_timeout =3D> undef, + wait_timeout =3D> 24 * 60 * 60, regards, tom lane