autobuild[sn-devel-144]: intermittent test failure detected

autobuild autobuild at
Mon Dec 3 05:55:08 UTC 2018

The autobuild test system (on sn-devel-144) has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

The failure seems to be in the "samba-purepy3-ad-dc-2" suite, whose build logs are available here:
The top commit at the time of the failure was:

commit 46a6c6ff6d2fc68e313bcb2cd2c65b5a6e7c1782
Author: Ralph Boehme <slow at>
Date:   Fri Nov 30 10:27:19 2018 +0100

    vfs_fruit: avoid dereferencing fsp->base_fsp in fruit_fstat_meta_stream()
    This helps avoiding a NULL dereference on systems where additional
    patches modify the following condition in open_file()
          (!file_existed && (local_flags & O_CREAT)) ||
          ((local_flags & O_TRUNC) == O_TRUNC) ) {
          (!file_existed && (local_flags & O_CREAT)) ||
          ((local_flags & O_TRUNC) == O_TRUNC) ) {
    Ie addtionally check open_access_mask against DELETE_ACCESS. As a result
    opens with DELETE_ACCESS go through the code that does an fd_open() plus
    a subsequent fstat().
    That will trigger a crash in fruit_fstat_meta_stream() when a client
    wants to delete a file for deletion. When we open base file for delete,
    we call open_streams_for_delete() which internally calls create-file
    with NTCREATEX_OPTIONS_PRIVATE_STREAM_DELETE which prevents opening of
    the base_fsp. Voila, combined with the change described above you get a
    NULL deref.
    Signed-off-by: Ralph Boehme <slow at>
    Reviewed-by: Jeremy Allison <jra at>
    Autobuild-User(master): Jeremy Allison <jra at>
    Autobuild-Date(master): Sun Dec  2 07:52:34 CET 2018 on sn-devel-144

and the last 50 lines of the stdout log were:

* Comparing [CONFIGURATION] context...

* DN lists have different size: 1619 != 1618

* DNs found only in tdb:///memdisk/autobuild/fl/b750545/samba-purepy3-ad-dc-2/bin/ab/restoredc/private/sam.ldb:

* Objects to be compared: 1618



* Comparing [SCHEMA] context...

* Objects to be compared: 1550

* Result for [SCHEMA]: SUCCESS

* Comparing [DNSDOMAIN] context...

* Objects to be compared: 39


* Comparing [DNSFOREST] context...

* Objects to be compared: 17

ERROR: Compare failed: -1

FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites)

A summary with detailed information can be found in:
TOP 10 slowest tests
samba.tests.samba_tool.dnscmd(chgdcpass:local) -> 250
samba.tests.domain_backup(restoredc:local) -> 163
samba.tests.dcerpc.raw_protocol(chgdcpass) -> 48
samba4.blackbox.join_ldapcmp(backupfromdc) -> 15
samba4.blackbox.join_ldapcmp(offlinebackupdc) -> 14 -> 11
samba4.blackbox.kinit(fl2000dc:local)(fl2000dc:local) -> 10
samba.wbinfo_sids2xids.(chgdcpass:local)(chgdcpass:local) -> 9
samba4.blackbox.chgdcpass(chgdcpass) -> 7
samba4.rpc.pac on ncacn_np(fl2000dc) -> 7
ERROR: test failed with exit code 1

More information about the samba-cvs mailing list