[PATCH] CTDB recovery lock improvements

Aurélien Aptel aaptel at suse.com
Wed Jun 8 14:45:46 UTC 2016

I have this running indefinitely and I cannot make it fail:

i=0; while ./buildtools/bin/waf test \
 echo "run $i ok"; sleep $((1+RANDOM%5)); ((i++))

The test in question (sub test_creation_reset in

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,
3. checks the files in the archive according to the filters

Is using samba with CTDB introducing race conditions in flags

Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160608/cb8c9515/attachment.sig>

More information about the samba-technical mailing list