[PATCH] Increase writetimeupdatedelay and sharedelay in Samba4.pm, remove winbind from Samba for 4.3

Stefan (metze) Metzmacher metze at samba.org
Mon Jun 29 01:27:55 MDT 2015


Hi Andrew,

>> What this patch does is remove the *internal* winbind from the source4
>> directory.  This was replaced by default with winbindd from source3 in
>> Samba 4.2, and this patch is to remove it.  Unlike other areas of
>> duplication, this has no redeeming features in my view, so now we have
>> fixed the classicupgrade issues (on which this patch builds), we can
>> remove it. 
>>
>> I'm running private autobuilds to confirm I got the knownfail changes
>> correct, but in the meantime I want to ensure there is the opportunity
>> for reasonable discussion here.
> 
> The attached two patches pass autobuild on the Catalyst Cloud other than
> the usual knownfail on the notify tests.  To do that, I had to match the
> writetimeupdatedelay and sharedelay parameters in Samba4.pm to match
> Samba3.pm.  I'm not sure what about the different winbind
> implementations changes the timing in the ntvfs file server, but this
> seems a reasonable change, if only for consistency. 
> 
> Now I have that settled, could someone please review/push?

This causes a lot of flakey tests, mainly because the server_maxtime
is reached.

We should try to remove some tests, source3/selftest/tests.py seems to
call a lot of rpc. tests also against ad_dc, which should already be covered
by source4/selftest/tests.py. Can you have a look at that?

So in the meantime can someone please push the attached patch that
changes the maximum runtime to 3 hours.

But I also got this at least two times:

[1373(7743)/1865 at 1h40m14s]
samba4.ntvfs.cifs.krb5.base.defer_open(ad_dc_ntvfs)
smbtorture 4.3.0pre1-DEVELOPERBUILD
Using seed 1435535709
Starting 4 clients
4 clients started
pid 11998: Testing deferred open requests.
pid 11998: create[0,1]...
pid 12000: Testing deferred open requests.
pid 12000: create[0,1]...
pid 11999: Testing deferred open requests.
pid 11999: create[0,1]...
pid 11996: Testing deferred open requests.
pid 11996: create[0,1]...
pid 11998: create[0,1] gave fnum 1, status NT_STATUS_OK
pid 11998: create loop 0 done: fnum 1, status NT_STATUS_OK
pid 11998: open 0
pid 12000: create[0,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 12000: create[0,1] time elapsed: 0.00 (1 sec = 0.10)
pid 12000: create[0,1] timing incorrect
pid 11999: create[0,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,2]...
pid 11996: create[0,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,2]...
pid 11999: create[0,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,3]...
pid 11996: create[0,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,3]...
pid 11999: create[0,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,4]...
pid 11996: create[0,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,4]...
pid 11999: create[0,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,5]...
pid 11996: create[0,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,5]...
pid 11999: create[0,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,6]...
pid 11996: create[0,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,6]...
pid 11999: create[0,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,7]...
pid 11996: create[0,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,7]...
pid 11999: create[0,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,8]...
pid 11999: create[0,8]...
pid 11996: create[0,8] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,8] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,9]...
pid 11999: create[0,8] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,8] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,9]...
pid 11999: create[0,9] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[0,9] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[0,10]...
pid 11996: create[0,9] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,9] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,10]...
pid 11998: open 0 closed, status NT_STATUS_OK
pid 11999: create[0,10] gave fnum 1, status NT_STATUS_OK
pid 11999: create loop 0 done: fnum 1, status NT_STATUS_OK
pid 11999: open 0
pid 11996: create[0,10] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,10] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,11]...
pid 11996: create[0,11] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,11] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,12]...
pid 11998: create[1,1]...
pid 11996: create[0,12] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,12] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,13]...
pid 11998: create[1,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,2]...
pid 11996: create[0,13] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,13] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,14]...
pid 11998: create[1,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,3]...
pid 11996: create[0,14] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,14] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,15]...
pid 11998: create[1,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,4]...
pid 11996: create[0,15] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,15] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,16]...
pid 11998: create[1,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,5]...
pid 11996: create[0,16] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,16] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,17]...
pid 11998: create[1,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,6]...
pid 11996: create[0,17] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,17] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,18]...
pid 11998: create[1,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,7]...
pid 11996: create[0,18] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,18] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,19]...
pid 11998: create[1,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,8]...
pid 11996: create[0,19] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[0,19] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[0,20]...
pid 11999: open 0 closed, status NT_STATUS_OK
pid 11996: create[0,20] gave fnum 1, status NT_STATUS_OK
pid 11996: create loop 0 done: fnum 1, status NT_STATUS_OK
pid 11996: open 0
pid 11998: create[1,8] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,8] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,9]...
pid 11998: create[1,9] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,9] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,10]...
pid 11999: create[1,1]...
pid 11998: create[1,10] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,10] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,11]...
pid 11999: create[1,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,2]...
pid 11998: create[1,11] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,11] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,12]...
pid 11999: create[1,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,3]...
pid 11998: create[1,12] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,12] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,13]...
pid 11999: create[1,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,4]...
pid 11998: create[1,13] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,13] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,14]...
pid 11999: create[1,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,5]...
pid 11998: create[1,14] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,14] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,15]...
pid 11999: create[1,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,6]...
pid 11998: create[1,15] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,15] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,16]...
pid 11999: create[1,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,7]...
pid 11998: create[1,16] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,16] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,17]...
pid 11999: create[1,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,8]...
pid 11998: create[1,17] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[1,17] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[1,18]...
pid 11996: open 0 closed, status NT_STATUS_OK
pid 11998: create[1,18] gave fnum 2, status NT_STATUS_OK
pid 11998: create loop 1 done: fnum 2, status NT_STATUS_OK
pid 11998: open 1
pid 11999: create[1,8] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,8] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,9]...
pid 11999: create[1,9] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,9] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,10]...
pid 11996: create[1,1]...
pid 11999: create[1,10] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,10] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,11]...
pid 11996: create[1,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[1,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[1,2]...
pid 11999: create[1,11] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,11] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,12]...
pid 11996: create[1,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[1,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[1,3]...
pid 11999: create[1,12] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,12] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,13]...
pid 11996: create[1,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[1,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[1,4]...
pid 11999: create[1,13] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,13] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,14]...
pid 11996: create[1,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[1,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[1,5]...
pid 11999: create[1,14] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,14] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,15]...
pid 11996: create[1,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[1,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[1,6]...
pid 11999: create[1,15] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,15] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,16]...
pid 11996: create[1,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[1,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[1,7]...
pid 11999: create[1,16] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,16] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,17]...
pid 11996: create[1,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[1,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[1,8]...
pid 11999: create[1,17] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,17] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,18]...
pid 11998: open 1 closed, status NT_STATUS_OK
pid 11996: create[1,8] gave fnum 2, status NT_STATUS_OK
pid 11996: create loop 1 done: fnum 2, status NT_STATUS_OK
pid 11996: open 1
pid 11999: create[1,18] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,18] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,19]...
pid 11999: create[1,19] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,19] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,20]...
pid 11998: create[2,1]...
pid 11999: create[1,20] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,20] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,21]...
pid 11998: create[2,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[2,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[2,2]...
pid 11999: create[1,21] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,21] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,22]...
pid 11998: create[2,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[2,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[2,3]...
pid 11999: create[1,22] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,22] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,23]...
pid 11998: create[2,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[2,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[2,4]...
pid 11999: create[1,23] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,23] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,24]...
pid 11998: create[2,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[2,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[2,5]...
pid 11999: create[1,24] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,24] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,25]...
pid 11998: create[2,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[2,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[2,6]...
pid 11999: create[1,25] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,25] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,26]...
pid 11998: create[2,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[2,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[2,7]...
pid 11999: create[1,26] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,26] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,27]...
pid 11998: create[2,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[2,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[2,8]...
pid 11999: create[1,27] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,27] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,28]...
pid 11996: open 1 closed, status NT_STATUS_OK
pid 11998: create[2,8] gave fnum 3, status NT_STATUS_OK
pid 11998: create loop 2 done: fnum 3, status NT_STATUS_OK
pid 11998: open 2
pid 11999: create[1,28] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,28] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,29]...
pid 11999: create[1,29] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,29] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,30]...
pid 11996: create[2,1]...
pid 11999: create[1,30] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,30] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,31]...
pid 11996: create[2,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[2,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[2,2]...
pid 11999: create[1,31] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,31] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,32]...
pid 11996: create[2,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[2,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[2,3]...
pid 11999: create[1,32] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,32] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,33]...
pid 11996: create[2,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[2,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[2,4]...
pid 11999: create[1,33] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,33] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,34]...
pid 11996: create[2,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[2,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[2,5]...
pid 11999: create[1,34] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,34] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,35]...
pid 11996: create[2,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[2,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[2,6]...
pid 11999: create[1,35] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,35] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,36]...
pid 11996: create[2,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[2,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[2,7]...
pid 11999: create[1,36] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,36] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,37]...
pid 11996: create[2,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[2,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[2,8]...
pid 11999: create[1,37] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,37] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,38]...
pid 11998: open 2 closed, status NT_STATUS_OK
pid 11996: create[2,8] gave fnum 3, status NT_STATUS_OK
pid 11996: create loop 2 done: fnum 3, status NT_STATUS_OK
pid 11996: open 2
pid 11999: create[1,38] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,38] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,39]...
pid 11999: create[1,39] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,39] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,40]...
pid 11998: create[3,1]...
pid 11999: create[1,40] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,40] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,41]...
pid 11998: create[3,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[3,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[3,2]...
pid 11999: create[1,41] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,41] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,42]...
pid 11998: create[3,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[3,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[3,3]...
pid 11999: create[1,42] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,42] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,43]...
pid 11998: create[3,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[3,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[3,4]...
pid 11999: create[1,43] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,43] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,44]...
pid 11998: create[3,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[3,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[3,5]...
pid 11999: create[1,44] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,44] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,45]...
pid 11998: create[3,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[3,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[3,6]...
pid 11999: create[1,45] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,45] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,46]...
pid 11998: create[3,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[3,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[3,7]...
pid 11999: create[1,46] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,46] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,47]...
pid 11998: create[3,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11998: create[3,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11998: create[3,8]...
pid 11999: create[1,47] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,47] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,48]...
pid 11996: open 2 closed, status NT_STATUS_OK
pid 11998: create[3,8] gave fnum 4, status NT_STATUS_OK
pid 11998: create loop 3 done: fnum 4, status NT_STATUS_OK
pid 11998: open 3
pid 11999: create[1,48] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,48] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,49]...
pid 11999: create[1,49] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,49] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,50]...
pid 11996: create[3,1]...
pid 11999: create[1,50] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,50] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,51]...
pid 11996: create[3,1] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[3,1] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[3,2]...
pid 11999: create[1,51] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,51] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,52]...
pid 11996: create[3,2] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[3,2] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[3,3]...
pid 11999: create[1,52] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,52] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,53]...
pid 11996: create[3,3] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[3,3] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[3,4]...
pid 11999: create[1,53] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,53] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,54]...
pid 11996: create[3,4] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[3,4] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[3,5]...
pid 11999: create[1,54] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,54] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,55]...
pid 11996: create[3,5] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[3,5] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[3,6]...
pid 11999: create[1,55] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,55] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,56]...
pid 11996: create[3,6] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[3,6] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[3,7]...
pid 11999: create[1,56] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,56] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,57]...
pid 11996: create[3,7] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11996: create[3,7] time elapsed: 0.10 (1 sec = 0.10)
pid 11996: create[3,8]...
pid 11999: create[1,57] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,57] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,58]...
pid 11998: open 3 closed, status NT_STATUS_OK
pid 11996: create[3,8] gave fnum 4, status NT_STATUS_OK
pid 11996: create loop 3 done: fnum 4, status NT_STATUS_OK
pid 11996: open 3
pid 11999: create[1,58] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,58] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,59]...
pid 11999: create[1,59] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,59] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,60]...
pid 11999: create[1,60] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,60] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,61]...
pid 11998: deferred test finished
pid 11999: create[1,61] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,61] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,62]...
pid 11999: create[1,62] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,62] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,63]...
pid 11999: create[1,63] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,63] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,64]...
pid 11999: create[1,64] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,64] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,65]...
pid 11999: create[1,65] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,65] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,66]...
pid 11999: create[1,66] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,66] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,67]...
pid 11999: create[1,67] gave fnum -1, status NT_STATUS_SHARING_VIOLATION
pid 11999: create[1,67] time elapsed: 0.10 (1 sec = 0.10)
pid 11999: create[1,68]...
pid 11996: open 3 closed, status NT_STATUS_OK
pid 11999: create[1,68] gave fnum 2, status NT_STATUS_OK
pid 11999: create loop 1 done: fnum 2, status NT_STATUS_OK
pid 11999: open 1
pid 11996: deferred test finished
pid 11999: open 1 closed, status NT_STATUS_OK
pid 11999: create[2,1]...
pid 11999: create[2,1] gave fnum 3, status NT_STATUS_OK
pid 11999: create loop 2 done: fnum 3, status NT_STATUS_OK
pid 11999: open 2
pid 11999: open 2 closed, status NT_STATUS_OK
pid 11999: create[3,1]...
pid 11999: create[3,1] gave fnum 4, status NT_STATUS_OK
pid 11999: create loop 3 done: fnum 4, status NT_STATUS_OK
pid 11999: open 3
pid 11999: open 3 closed, status NT_STATUS_OK
pid 11999: deferred test finished

UNEXPECTED(failure):
samba4.ntvfs.cifs.krb5.base.defer_open.defer_open(ad_dc_ntvfs)
REASON: Exception: Exception: child 3 (pid 12000) failed: Timing
incorrect 0.00 violation 1 sec == 0.10

metze
-------------- next part --------------
From 1df395e0f2d73da9d27b5ffc1987f98cc4675729 Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze at samba.org>
Date: Mon, 29 Jun 2015 08:49:39 +0200
Subject: [PATCH] selftest: use server_maxtime = 10800 by default

With something like this:

samba.stdout:
[1855(18118)/1864 at 2h37m4s] samba4.krb5.kdc with account ALLOWED permission to replicate to an RODC(fl2008r2dc)
[1856(18378)/1864 at 2h37m57s] samba4.blackbox.dbcheck(ad_dc_ntvfs)
ERROR: Testsuite[samba4.blackbox.dbcheck(ad_dc_ntvfs)]
REASON: unable to set up environment ad_dc_ntvfs:local - exiting

samba.stderr:
samba: maximum runtime exceeded - terminating at 1435553350, current ts: 1435553350

Signed-off-by: Stefan Metzmacher <metze at samba.org>
---
 selftest/selftest.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index bbd81d6..d71d158 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -415,7 +415,7 @@ my $testenv_default = "none";
 # must terminate in this time, and testenv will only stay alive this
 # long
 
-my $server_maxtime = 9000;
+my $server_maxtime = 10800;
 if (defined($ENV{SMBD_MAXTIME}) and $ENV{SMBD_MAXTIME} ne "") {
     $server_maxtime = $ENV{SMBD_MAXTIME};
 }
-- 
1.9.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150629/cd7e19d1/attachment.pgp>


More information about the samba-technical mailing list