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

autobuild autobuild at
Fri Apr 12 10:55:02 UTC 2019

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-nt4" suite, whose build logs are available here:
The top commit at the time of the failure was:

commit 289201277cd983b27cdfd5376c607eab112b4082
Author: Amitay Isaacs <amitay at>
Date:   Tue Apr 9 14:44:04 2019 +1000

    ctdb-common: Avoid race between fd and signal events
    In run_proc, there was an implicit assumption that when a process exits,
    fd event (pipe between parent and child) would be processed first and
    signal event (SIGCHLD for the child) would be processed later.
    However, that is not the case.  SIGCHLD can be received asynchronously
    any time even when the pipe data has not fully been read.  This causes
    run_proc to miss some of the output from child process in tests.
    When SIGCHLD is being processed, if the pipe between parent and child is
    still open, then do an explict read from the pipe to ensure we read any
    data still in the pipe before closing the pipe.
    Signed-off-by: Amitay Isaacs <amitay at>
    Reviewed-by: Martin Schwenke <martin at>
    Autobuild-User(master): Amitay Isaacs <amitay at>
    Autobuild-Date(master): Fri Apr 12 08:19:29 UTC 2019 on sn-devel-144

and the last 50 lines of the stdout log were:

[543(2516)/588 at 24m28s]
[544(2517)/588 at 24m28s]$DOMAIN(nt4_dc:local)
[545(2518)/588 at 24m28s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local)
[546(2519)/588 at 24m29s] samba.wbinfo_simple.change-secret.domain=$DOMAIN(nt4_dc:local)
[547(2520)/588 at 24m29s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local)
[548(2521)/588 at 24m29s]$DOMAIN(nt4_dc:local)
[549(2522)/588 at 24m29s] samba.wbinfo_simple.domain-users(nt4_dc:local)
[550(2523)/588 at 24m29s] samba.wbinfo_simple.domain-groups(nt4_dc:local)
[551(2524)/588 at 24m29s]$DC_USERNAME(nt4_dc:local)
[552(2525)/588 at 24m29s]$DOMAIN/$DC_USERNAME(nt4_dc:local)
[553(2526)/588 at 24m29s] samba.wbinfo_simple.user-info=$DOMAIN/$DC_USERNAME(nt4_dc:local)
[554(2527)/588 at 24m30s] samba.wbinfo_simple.user-groups=$DOMAIN/$DC_USERNAME(nt4_dc:local)
[555(2528)/588 at 24m30s] samba.wbinfo_simple.authenticate=$DOMAIN/$DC_USERNAME%$DC_PASSWORD(nt4_dc:local)
[556(2529)/588 at 24m30s] samba.wbinfo_simple.allocate-uid(nt4_dc:local)
[557(2530)/588 at 24m30s] samba.wbinfo_simple.allocate-gid(nt4_dc:local)
[558(2531)/588 at 24m30s] samba.wbinfo_sids2xids.(nt4_dc:local)(nt4_dc:local)
[559(2532)/588 at 24m37s] samba.tests.ntlm_auth(nt4_dc:local)
[560(2545)/588 at 24m39s]
[561(2546)/588 at 24m39s] samba.wbinfo_simple.separator(nt4_member:local)
[562(2547)/588 at 24m39s] samba.wbinfo_simple.own-domain(nt4_member:local)
[563(2548)/588 at 24m39s] samba.wbinfo_simple.all-domains(nt4_member:local)
[564(2549)/588 at 24m40s] samba.wbinfo_simple.trusted-domains(nt4_member:local)
[565(2550)/588 at 24m40s] samba.wbinfo_simple.domain-info=BUILTIN(nt4_member:local)
[566(2551)/588 at 24m40s] samba.wbinfo_simple.domain-info=$DOMAIN(nt4_member:local)
[567(2552)/588 at 24m40s]
[568(2553)/588 at 24m40s]
[569(2554)/588 at 24m40s]$DOMAIN(nt4_member:local)
[570(2555)/588 at 24m40s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_member:local)
UNEXPECTED(failure): samba.wbinfo_simple.check-secret.domain=SAMBA-TEST.wbinfo(nt4_member:local)
REASON: Exception: Exception: wbcCheckTrustCredentials(SAMBA-TEST): error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233)
failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR
Could not check secret
checking the trust secret for domain SAMBA-TEST via RPC calls failed

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
samba3.raw.notify(nt4_dc) -> 105
samba3.smb2.notify(nt4_dc) -> 86
samba3.rpc.samr.passwords.lockout(nt4_dc) -> 61
samba4.rpc.echo on ncacn_np with object(nt4_dc) -> 60
samba3.smb2.compound_find(nt4_dc) -> 56 -> 52
samba3.rpc.samr.passwords.pwdlastset(nt4_dc) -> 49
samba3.base.dir2(nt4_dc) -> 46 -> 45
samba3.raw.oplock(nt4_dc) -> 44
ERROR: test failed with exit code 1

More information about the samba-cvs mailing list