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

Subject: Re: Build failed in Jenkins: epics-base-3.16-linux32-test #13
From: Michael Davidsaver <mdavidsaver@gmail.com>
To: core-talk@aps.anl.gov
Date: Tue, 16 Feb 2016 16:00:14 -0500
On 02/16/2016 11:05 AM, Andrew Johnson wrote:
>
> On 02/15/2016 07:49 PM, Michael Davidsaver wrote:
>> On 02/15/2016 08:19 PM, Michael Davidsaver wrote:
>>> That "-1" stands out.  So far the only candidate I see is in
>>> dbCaPutLinkCallback() if the target link isn't connected or writable. 
>>> Which would mean that the main thread is racing the dbCa thread to
>>> CA_CONNECT this link.
>> Ok, this is it.  So the obvious fix is to use/abuse caLink::monitor to
>> wait for the link to connect.

So this doesn't work because the links in question are OUT.

I settled on synchronizing against the dbCa workList.  I've added a new
(private) function dbCaSync() for this purpose.

> Or poll dbcaStats(), although there seems to be a dbScanLock()/Unlock()
> pair missing from that particular routine which could use fixing too.

I have an allergy to polling :)


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

Navigate by Date:
Prev: Jenkins build is back to stable : epics-base-3.16 #64 APS Jenkins
Next: Build failed in Jenkins: epics-base-3.16-mac-test #42 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019 
Navigate by Thread:
Prev: Re: Build failed in Jenkins: epics-base-3.16-linux32-test #13 Andrew Johnson
Next: Bug in dbGet() with server-side plugins Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019 
ANJ, 16 Feb 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·