[PATCH] CTDB recovery lock improvements

Ralph Boehme slow at samba.org
Wed Jun 8 15:46:50 UTC 2016


On Wed, Jun 08, 2016 at 04:45:46PM +0200, Aurélien Aptel wrote:
> I have this running indefinitely and I cannot make it fail:
> 
> i=0; while ./buildtools/bin/waf test \
>            --tests=samba3.blackbox.smbclient_tar'[^m]'
> do
>  echo "run $i ok"; sleep $((1+RANDOM%5)); ((i++))
> done
> 
> The test in question (sub test_creation_reset in
> source3/script/tests/test_smbclient_tarmode.pl)

I'll run this on sn-devel (where autobuild lives) and see what it
gives.

> 1. creates several files with the archive flag
> 2. backup the directory in reset, which is supposed to remove the
>    archive flags
> 3. checks that all the files from (1) are in the archive
>    (and only them) and identical
> 4. checks that the files on the share
>    have no archive flags anymore
> 
> On Wed, 8 Jun 2016 14:22:21 +0200 Ralph Boehme <slow at samba.org> wrote:
> > the only other *recorded* flapping test I saw is:
> > 
> > UNEXPECTED(failure): samba3.blackbox.smbclient_tar
> > (fileserver).create, combination of tarmode filter(fileserver)
> 
> This one does similar things:
> 
> 1. creates several files with different combinations of flags (hidden,
>    system, archive, read-only)
> 2. backups the files with certain filters (nohidden, nosystem,
>    incremental)
> 3. checks the files in the archive according to the filters
> 
> Is using samba with CTDB introducing race conditions in flags
> handling?

autobuild doesn't use ctdb. :)

Cheerio!
-slow



More information about the samba-technical mailing list