Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [pushed] Improve gdb.threads/attach-many-short-lived-threads.exp timeout handling
Date: Mon, 09 Feb 2015 23:06:00 -0000	[thread overview]
Message-ID: <54D93D6E.30806@redhat.com> (raw)
In-Reply-To: <CADPb22Q8ScnOfeCPbnzEJQaY58Pc7px_6irrZmV3QhMTeOfwSQ@mail.gmail.com>

On 02/09/2015 09:55 PM, Doug Evans wrote:
> On Fri, Feb 6, 2015 at 4:25 AM, Pedro Alves <palves@redhat.com> wrote:
>> The buildbot shows that this test is still racy, and occasionally
>> fails with time outs on some machines.  I'd like to get major issues
>> with load out of the way.
> 
> Thanks for fixing this.
> 
> btw, how often do you run the testsuite in parallel?
> I see such load related issues all the time that way.

Yeah, I run the testsuite in parallel all the time, with
-j8, on an i7-2620M (2 cores / 4 threads).

The attach-many-short-lived-threads.exp never fails
for me though.  I've now got access to Sergio's build slave,
the one that generates the buildbot test results that show the
racy failures, and when I run that test manually, in a loop, I
never see it fail.  OTOH, through build bot the test fails
very often...  This was last thing last Friday, and I
haven't managed to get back to it yet.  The test seems to
expose more bugs, but the build bot also shows it FAILing in
a very odd way sometimes, like failing to attach the very first
time.

> [e.g., checkpoint.exp, gdb-sigterm.exp, et.al.]

Yeah, checkpoint.exp forks a ton of processes, and sometimes I'll
hit the "ulimit -u (max user processes)" limit when running in parallel.
I bump that "ulimit -u 10000" in the shell that I run tests on,
and then it never fails.

The gdb-sigterm.exp one should be fixed, I hope, since:
  https://sourceware.org/ml/gdb-patches/2015-02/msg00151.html

Thanks,
Pedro Alves


      reply	other threads:[~2015-02-09 23:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 12:25 Pedro Alves
2015-02-09 21:55 ` Doug Evans
2015-02-09 23:06   ` Pedro Alves [this message]

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=54D93D6E.30806@redhat.com \
    --to=palves@redhat.com \
    --cc=dje@google.com \
    --cc=gdb-patches@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