Re: Possible infinite loop on buildfarm animals

From: Noah Misch <noah(at)leadboat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: buildfarm-members(at)lists(dot)postgresql(dot)org
Subject: Re: Possible infinite loop on buildfarm animals
Date: 2024-03-17 17:29:41
Message-ID: 20240317172941.4e@rfd.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: buildfarm-members

On Fri, Mar 15, 2024 at 02:42:14PM -0400, Tom Lane wrote:
> Another idea to consider is to set the wait_timeout parameter
> in your animals' configuration files, to put an upper bound
> on the total elapsed time for a run. By default that's
> infinite, since it's really hard to select a one-size-fits-all
> value ... but it's a good backstop if you don't mind picking
> machine-specific limits.

Other than CLOBBER_CACHE animals, the server rejects results older than 24h:
https://github.com/PGBuildFarm/server-code/blob/8572ac7/cgi-bin/pgstatus.pl#L273

The same 24h should probably be the default wait_timeout. One might use 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.

In response to

Responses

Browse buildfarm-members by date

  From Date Subject
Next Message Alvaro Herrera 2024-03-17 19:38:46 Re: Possible infinite loop on buildfarm animals
Previous Message Tom Lane 2024-03-15 18:42:14 Possible infinite loop on buildfarm animals