Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Antoine Tremblay <antoine.tremblay@ericsson.com>
To: Sergio Durigan Junior <sergiodj@redhat.com>
Cc: Antoine Tremblay <antoine.tremblay@ericsson.com>,
	GDB Patches	<gdb-patches@sourceware.org>
Subject: Re: [PATCH] Improve analysis of racy testcases
Date: Mon, 14 Mar 2016 12:32:00 -0000	[thread overview]
Message-ID: <wwokk2l51bra.fsf@ericsson.com> (raw)
In-Reply-To: <878u22wxgk.fsf@redhat.com>


Sergio Durigan Junior writes:

> On Thursday, February 25 2016, Antoine Tremblay wrote:
>
>> Sergio Durigan Junior writes:
>>
>>> This patch is a proposal to introduce some mechanisms to identify racy
>>> testcases present in our testsuite.  As can be seen in previous
>>> discussions, racy tests are really bothersome and cause our BuildBot to
>>> pollute the gdb-testers mailing list with hundreds of false-positives
>>> messages every month.  Hopefully, by identifying these racy tests in
>>> advance (and automatically) will contribute to the reduction of noise
>>> traffic to gdb-testers, maybe to the point where we will be able to send
>>> the failure messages directly to the authors of the commits.
>>> [...]
>> Thanks for this ! This was quite a problem for me while testing on arm.
>> I'm testing it now...
>
> Thanks!  Please let me know if you find anything wrong with the script.

Just to let know you that the script worked as expected during my
testing and it's quite nice to see. The tests however were more flacky
then expected so I can't use the output directly guess I'll need a never
ignore this test list... (like base/break.exp). Still it's very helpful.

>
>> One note maybe it would be nice output the list of unracy tests too to
>> be able to auto-build a list of tests to run out of this since I'm not
>> sure you can set an exclusion list ?
>
> Hm, it would be possible to output the non-racy tests, but only to a
> different file (instead of outputting to stdout, as I'm doing with the
> racy tests).  Perhaps this could be a separate option to the script?
> I'm not sure if the users would always want this information...
>
> As for the exclusion list you mentioned, DejaGNU's runtest allows one to
> specify a --ignore flag with the names of the tests you don't want to
> run.  It should be possible to pass this via RUNTESTFLAGS, but I haven't
> tried.  I'll give it a go tomorrow.

Great, I did not know that, I'll give it a try and that works no need to
output the non-racy tests...

Thanks,
Antoine


  reply	other threads:[~2016-03-14 12:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87r3gcgm91.fsf@redhat.com>
2016-02-25 17:01 ` Pedro Alves
2016-02-28 21:44   ` Sergio Durigan Junior
2016-03-01 11:56     ` Pedro Alves
2016-03-06  1:29       ` Sergio Durigan Junior
2016-02-25 18:34 ` Antoine Tremblay
2016-03-01  5:58   ` Sergio Durigan Junior
2016-03-14 12:32     ` Antoine Tremblay [this message]
2016-03-14 12:45       ` Pedro Alves
2016-03-14 14:04         ` Antoine Tremblay
2016-04-27 17:18       ` Antoine Tremblay
2016-03-01  5:51 ` [PATCH v2] " Sergio Durigan Junior
2016-03-01 12:41   ` Pedro Alves
2016-03-06  1:44     ` Sergio Durigan Junior
2016-03-06 22:34       ` [commit/obvious] Set executable bit on analyze-racy-logs.py Sergio Durigan Junior

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=wwokk2l51bra.fsf@ericsson.com \
    --to=antoine.tremblay@ericsson.com \
    --cc=gdb-patches@sourceware.org \
    --cc=sergiodj@redhat.com \
    /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