public inbox for [email protected]  
help / color / mirror / Atom feed
From: Michael Banck <[email protected]>
To: Tom Lane <[email protected]>
Cc: Andrew Dunstan <[email protected]>
Cc: [email protected]
Subject: Re: Maybe BF "timedout" failures are the client script's fault?
Date: Fri, 9 Jan 2026 22:53:04 +0100
Message-ID: <[email protected];lightning.p46.dedyn.io> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

Hi,

On Fri, Jan 09, 2026 at 04:42:22PM -0500, Tom Lane wrote:
> Michael Banck <[email protected]> writes:
> > I've ran that test manually quite a lot and either it finishes in 10-15
> > seconds, or (presumably) never. This is not really easy to see in the
> > public builfarm logs (at least I can't find it on a quick glance), but
> > I've routinely checked the log timestamps of the runs, and they really
> > take one hour (wait_timeout) in the case of a hang.
> 
> Hmm.  Then why is the BF report showing that the total runtime is
> nowhere near that?  I wonder how those times are gathered ...

Looks like the server takes the timestamp of the logfile as an educated
guess when the particular stage finished:

https://github.com/PGBuildFarm/server-code/blob/main/cgi-bin/pgstatus.pl#L496

But this does not work when the stage hangs and gets terminated
externally, it seems no output is appended to the stage log in this case
by the buildfarm client and (at least for fruitcrow) neither by the
stage itself, so the server thinks the stage duration was whatever time
it took until the last piece of output before the hang.


Michael






view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Maybe BF "timedout" failures are the client script's fault?
  In-Reply-To: <[email protected];lightning.p46.dedyn.io>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox