public inbox for bunsen@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: "Arsen Arsenović" <arsen@aarsen.me>
Cc: bunsen@sourceware.org, builder@sourceware.org
Subject: Re: Automake dist-check and log extraction: runtest --outdir
Date: Tue, 17 Jan 2023 18:51:07 -0500	[thread overview]
Message-ID: <20230117235107.GC10730@redhat.com> (raw)
In-Reply-To: <86sfg8iw7d.fsf@aarsen.me>

Hi -

> The make_distcheck_test_suite_step uses a logfiles= keyword arg, which
> in turn uses inotify (presumably) to watch a file for a logfile creatd
> on it, and to collect info from it.

buildbot buildbot_worker runprocess.py appears to use fstat
ctime/mtime/size polling to query in-progress files.

bunsen only collects final files.

> [...]
> DejaGnu provides a way for the directory in which log and sum files are
> stored to be altered, see --outdir in
> [...]
> This, indeed, resulted in a poke.log and poke.sum in the /tmp/outtest
> directory.
> I believe we should replace the inotify-based mechanism with this method
> of redirecting logs.

I'm afraid I don't quite understand how this should improve on
anything, even if buildbot-worker were to use inotify instead of fstat
polling.  It's just a different pathname for the files.

- FChE


  reply	other threads:[~2023-01-17 23:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17 23:00 Arsen Arsenović
2023-01-17 23:51 ` Frank Ch. Eigler [this message]
2023-01-17 23:57   ` Arsen Arsenović
2023-01-18 15:01     ` Frank Ch. Eigler

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230117235107.GC10730@redhat.com \
    --to=fche@redhat.com \
    --cc=arsen@aarsen.me \
    --cc=builder@sourceware.org \
    --cc=bunsen@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).