2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Jenkins test failures on macOS |
From: | "Johnson, Andrew N. via Core-talk" <core-talk at aps.anl.gov> |
To: | EPICS core-talk <core-talk at aps.anl.gov> |
Date: | Mon, 3 Aug 2020 23:02:29 +0000 |
On Aug 3, 2020, at 4:36 PM, APS Jenkins via Core-talk <core-talk at aps.anl.gov> wrote: So the change I committed earlier to Darwin's osdTimeGetCurrent() speeds it up significantly, but apparently at the expense of not giving nanosecond precision any more – I guess that’s probably not terribly surprising. All my wall-clock timestamps now
have 000 in the nanoseconds part, although the monotonic clock isn’t affected as it uses a different kernel API.
The failures in the above Jenkins Mac build were these:
simmTest.tap .............. not ok 136 - time stamp is recent not ok 311 - time stamp is recent not ok 435 - time stamp is recent not ok 803 - time stamp is recent not ok 996 - time stamp is recent not ok 1171 - time stamp is recent Failed 6/1176 subtests (42 TODO tests unexpectedly succeeded) The problem is that in several places the test code is doing this:
which fails when now and
*mytime are identical. I am changing that code to:
Equality is now always allowed, and we get to see how different the timestamps actually are.
One of these (but not all) is inside a testTodoBegin("imprecise"); region.
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|