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  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Wed, 9 Mar 2016 14:43:15 -0500
I think the issue is that the test is not waiting for the initial
monitor update to be delivered.  It later does wait for an update to be
delivered, which is assumed to be the result of a dbPutField().

I'm not quite sure how to handle this.  With the present API, by the
time I can hook into caLink::monitor I don't know if the initial update
has been delivered or not.  Maybe add another counter to caLink (eg.
nUpdate)?

I'd like to sync. with the "CAC-event" thread's queue, but the structure
of dbContext.cpp doesn't make it easy to get the dbEventCtx pointer.  I
suppose the way around this would be to keep a global list of all
dbEventCtx and sync. with them all.  Seems a bit heavy handed, but
acceptable for unittest code.

On 03/04/2016 06:52 PM, Michael Davidsaver wrote:
> FYI I have been able to reproduce this a couple of times.
>
> On 03/04/2016 12:13 PM, Michael Davidsaver wrote:
>> On 03/04/2016 11:56 AM, APS Jenkins wrote:
>>> src/ioc/db/test/O.linux-x86/dbCaLinkTest.tap ............. 
>>> not ok 14 -  == hello
>>> Failed 1/99 subtests 
>> To put this in context.  This is effectively failing in the same place
>> as previously.  The same test is repeated with native and string CA links.
>>
>>> src/ioc/db/test/O.linux-x86/dbCaLinkTest.tap ............. 
>>> not ok  7 - temp (0) == 42 (42)
>>> Failed 1/99 subtests 
>> Zero and empty string are the previous values of the link, so my attempt
>> to wait for for an update is probably racy.
>>


Replies:
Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30 Andrew Johnson
References:
Build failed in Jenkins: epics-base-3.16-linux32-test #29 APS Jenkins
Build failed in Jenkins: epics-base-3.16-linux32-test #30 APS Jenkins
Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30 Michael Davidsaver
Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30 Michael Davidsaver

Navigate by Date:
Prev: Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30 Michael Davidsaver
Next: Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30 Michael Davidsaver
Next: Re: Build failed in Jenkins: epics-base-3.16-linux32-test #30 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 09 Mar 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·