[PATCH] Re: I think sn-devel is stuck... (samba.dsdb test flapping deadlock)

Andreas Schneider asn at samba.org
Thu Dec 7 13:25:56 UTC 2017


On Wednesday, 6 December 2017 02:41:05 CET Andrew Bartlett via samba-technical 
wrote:
> On Tue, 2017-12-05 at 17:11 +1300, Andrew Bartlett via samba-technical
> 
> wrote:
> > On Sat, 2017-12-02 at 16:57 +1300, Andrew Bartlett via samba-technical
> > 
> > wrote:
> > > It got stuck on:
> > > 
> > > [2024(12875)/2216 at 1h48m41s] samba.tests.dsdb(ad_dc_ntvfs:local)
> > > 
> > > Garming found something similar and send me details while I was on
> > > leave.  Given this has happened more than once I'll look into it next
> > > week.  Another race condition no doubt...
> > 
> > Samba is racing against the test, which is blocking on a pipe.
> > Production code should never block on anything while holding a lock,
> > test code that does this on purpose should not operate on a database
> > that other processes are using, so I'm re-factoring the test.
> > 
> > In the meantime, if this happens again just kill the test manually.
> 
> Attached is a patch to move this test off the 'live' database.
> 
> Please review and push if OK.

RB+ and pushed. Thanks!

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list