broken smbtorture lease cases

Steve French smfrench at gmail.com
Wed Mar 11 16:06:17 MDT 2015


On Wed, Mar 11, 2015 at 5:36 PM, Jeremy Allison <jra at samba.org> wrote:
> On Wed, Mar 11, 2015 at 03:51:29PM -0500, Steve French wrote:
>> Looks like various smbtorture lease test cases are broken too against
>> 4.2 (not just the Microsoft ones with the directory rename bug and
>> three trivial return code problems that I have posted fixes for
>> earlier).  A different three failed to Windows 8.1 (multibreak, lock1
>> and v2_epoch2).
>>
>> I simply ran:
>> /usr/local/samba-4.2/bin/smbtorture  //localhost/scratch smb2.lease
>>
>> Pretty minimal smb.conf so unlikely to be that (and even fails when
>> kernel sharemodes/sharemode locking are disabled on share - whether
>> off or on):
>>
>>    ea support = yes
>>    store dos attributes = yes
>>    strict allocate = yes
>>    delete readonly = yes
>>    smb2 leases = yes
>>
>> In addition to the two failing, 3 are skipped as expected -
>> dynamic_share (and v2_request and v2_request_parent require directory
>> leases so they are skipped) but the following are not skipped and
>> presumably are supportable.
>>
>> test: request
>> time: 2015-03-10 04:12:52.548165
>> time: 2015-03-10 04:12:52.561230
>> failure: request [
>> ../source4/torture/smb2/lease.c:170: Incorrect status
>> NT_STATUS_OBJECT_NAME_NOT_FOUND - should be NT_STATUS_OK
>
> This is due to you not having the correct VFS
> modules loaded. I told you to look in the test
> case code :-).

I am looking in the test case code ... nothing in the description of
the test case,
or in the rc handling or in the top of source4/torture/smb2/lease.c
that mentions
"vfs" or "module" or any dependencies ...

Is there another lease.c helper file I am missing?  I am just running
source4/smbtorture



-- 
Thanks,

Steve


More information about the samba-technical mailing list