EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: failing tests on github.com
From: "J. Lewis Muir via Core-talk" <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "'core-talk at aps.anl.gov'" <core-talk at aps.anl.gov>
Date: Fri, 16 Apr 2021 11:03:55 -0500
On 04/16, Michael Davidsaver via Core-talk wrote:
> On 4/16/21 5:29 AM, Ben Franksen via Core-talk wrote:
> > Am 16.04.21 um 12:59 schrieb Zimoch Dirk (PSI) via Core-talk:
> >> Today I pushed a merge request which caused several tests to fail at locations which are unrelated to my change.
> >> https://github.com/dirk-zimoch/epics-base/actions/runs/754804587
> >> Is there something wrong with the test setup? Is the current 7.0 head OK?
> > 
> > This came up in the recent meeting... the notes merely quote MAD as
> > stating "We should document the tests that are regularly failing,
> > suggest adding a GH issue for this." My preference would be to fix them
> > (either our code, or the tests if the latter are at fault) ...
> 
> To be clear.  Tests which always fail are fixed or removed.
> 
> However, there are some tests which occasionally fail due to
> incomplete or incorrect synchronization.  I think that these
> have some value, though it is diminished, and shouldn't be
> removed unless they become too noisy.

If they occasionally fail, they shouldn't be enabled IMO unless someone
is intending to fix them.  If someone is intending to fix them in the
near future and leaving them enabled helps to reproduce the failure,
that's fine.  But if no one is intending to fix them soon, then they
should be disabled.

> There are also few inexplicable crash on exit of otherwise successful
> test runs.  eg. I've seen epicsTypeTest do this a few times, which
> certainly has nothing to do the test itself.
 
This is sad and would be good to track down.

> I've been (slowly) adding instrumentation to try to get some more
> information on what is going on.  This appears in the GHA builds
> under "Post Automatic core dumper analysis".

This is much appreciated!

> The idea of documenting which tests have problems is to help
> with the first part.  Currently the list of troublesome tests
> mostly exists in the minds of those of us who routinely look
> at test results.

Documenting tests that sometimes fail is madness.  That's like having
an application that emits error messages and then telling users to
ignore certain error messages.  So now not all error messages are really
errors.  Instead of seeing an error message and knowing there's a
problem, now the user has to check to see whether it's an error message
that should be ignored.  That's a terrible path to go down.

Lewis

References:
failing tests on github.com Zimoch Dirk (PSI) via Core-talk
Re: failing tests on github.com Ben Franksen via Core-talk
Re: failing tests on github.com Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Re: failing tests on github.com Michael Davidsaver via Core-talk
Next: Build failed: EPICS Base 7 base-7.0-302 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: failing tests on github.com Michael Davidsaver via Core-talk
Next: Re: failing tests on github.com Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 20 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·