intermittent failure creating ncalrpc dir

Andrew Bartlett abartlet at samba.org
Sat Aug 13 04:54:12 MDT 2011


On Wed, 2011-08-10 at 06:01 +1000, Andrew Bartlett wrote:
> On Tue, 2011-08-09 at 16:51 +0200, Stefan (metze) Metzmacher wrote:
> > Hi Andrew,
> > 
> > > The autobuild test system has detected an intermittent failing test in 
> > > the current master tree.
> > > 
> > > The autobuild log of the failure is available here:
> > > 
> > >    http://git.samba.org/autobuild.flakey/2011-08-09-1406/flakey.log
> > > 
> > > The samba3 build logs are available here:
> > > 
> > >    http://git.samba.org/autobuild.flakey/2011-08-09-1406/samba3.stderr
> > >    http://git.samba.org/autobuild.flakey/2011-08-09-1406/samba3.stdout
> > > 
> > > The source4 build logs are available here:
> > > 
> > >    http://git.samba.org/autobuild.flakey/2011-08-09-1406/samba4.stderr
> > >    http://git.samba.org/autobuild.flakey/2011-08-09-1406/samba4.stdout
> > 
> > Do you have an idea why the samba3.blackbox.smbclient_auth.plain tests
> > are flakey?
> > 
> > I tried make test TESTS=secshare SMBD_VALGRIND="valgrind
> > --num-callers=30 --log-file=smbd.vg.log --trace-children=yes",
> > but didn't find anything.
> > 
> > UNEXPECTED(error): creating directory
> > /memdisk/autobuild/flakey/b28206/samba4/bin/ab/secserver/ncalrpc: File
> > exists
> > 
> > is very strange and I can't find the related code using "git grep
> > 'creating directory'"
> 
> So, what is happening here is that 'error: creating directory' (in
> directory_create_or_exist()) is being translated as subunit stream
> output.  Why there would be errors setting up that path I have no idea
> however...

I've got in autobuild a potential fix for this and similar issues - I
think that the epmd races with the rest of smbd to run
directory_create_or_exist().  I saw a related issue where
ncalrpc/EPMAPPER wasn't created (causing other test failures)

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list