public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: carlos@redhat.com, libc-alpha@sourceware.org
Subject: Re: Buildbot improvements
Date: Tue, 13 Jul 2021 15:15:35 -0400	[thread overview]
Message-ID: <xnim1e10vc.fsf@greed.delorie.com> (raw)
In-Reply-To: <845a9c6b-b691-f31c-d789-c61d7bf31fce@linaro.org>

Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> First thanks for setting up the CL/CI initiative for the glibc buildbots,
> it is really helpful.  Carlos has asked to reach you to improve the 
> trybots dump log, so it would include additional information the patch 
> sender might use to reproduce the issue.

I think with every patch build failure, there's something new to log for
the user ;-)

> One thing is the configure line, either the config.log from configure or
> at least the command itself (similar to what build-many-glibcs.py do).
> I think build system information, such as compiler version and other tools,
> can be inferred from the make.log.

I can do that

> Another thing is the machine information itself, such the architecture,
> the kernel, and other pieces that might help the developer to figure out
> the possible cause of the regression.

I can do that, somewhere...  Probably stuff a lot of this extra stuff
into make.log.  Or I can wait for pull requests on do-build.sh ;-)

> Another nice thing to have would be to dump a line where one could use
> to download the container used to run the tests to reproduce it locally
> (it would still be subject to underlying kernel).

That one's trickier, for various reasons.  The container *description*
is trivial (it's in git) but the container is rebuilt *often* - every
time there's a git commit, the baseline is rebuilt, and that uses
whatever the latest Fedora baseline is.  For security reasons, we
discard every build container after every build - there's no telling
what evil a patch in a mailing list might have - so those get rebuilt
for every patch.

Plus, a built container is pretty big.  I wouldn't want to have to store
and/or transmit those.  About half a gig per build just for the
build-specific portions, plus whatever the Fedora baseline adds.

So either it's a lot of data to move around, or I can't guarantee the
same contents as was built.  In my case (the 32-bit builder) it's
trivial to just run your own local 32-bit builder.  In the future, we
hope that build bots will be running on vendor-specific hardware that
might be difficult for the public to obtain, and then the reasoning
might differ in favor of storing built containers.  OTOH we expect those
builds to be of interest to those vendors, who have easier access to
those containers anyway ;-)

> Besides this I think you might want to tune the container your are using,
> since a recent regression [1] seems to be a limitation of the total number
> of threads (I have seem it before running glibc make check insider docker
> containers).
>
> https://www.delorie.com/trybots/32bit/2492/nptl-tst-audit-threads.out

The builder's VM has 8 cores, and I don't limit the containers, so
they're 8 cores each.  The only limit I put on the container is to
disable networking, for security reasons.  I'm new to containers, so if
there's something else I need to be doing... please tell ;-)


  reply	other threads:[~2021-07-13 19:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13 18:18 Adhemerval Zanella
2021-07-13 19:15 ` DJ Delorie [this message]
2021-07-14 20:43   ` Carlos O'Donell
2021-07-14 21:10     ` DJ Delorie
2021-07-14 21:58       ` Adhemerval Zanella
2021-07-15  4:11         ` DJ Delorie
2021-07-15 12:24           ` Carlos O'Donell

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=xnim1e10vc.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=carlos@redhat.com \
    --cc=libc-alpha@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).