The autobuild test system (on sn-devel-184) has detected an intermittent failing test in the current master tree.
The autobuild log of the failure is available here: https://git.samba.org/autobuild.flakey.sn-devel-184/2019-04-12-1004/flakey.log The failure seems to be in the "samba-nt4" suite, whose build logs are available here: https://git.samba.org/autobuild.flakey.sn-devel-184/2019-04-12-1004/samba-nt4.stderr https://git.samba.org/autobuild.flakey.sn-devel-184/2019-04-12-1004/samba-nt4.stdout The top commit at the time of the failure was: commit 289201277cd983b27cdfd5376c607eab112b4082 Author: Amitay Isaacs <[email protected]> Date: Tue Apr 9 14:44:04 2019 +1000 ctdb-common: Avoid race between fd and signal events BUG: https://bugzilla.samba.org/show_bug.cgi?id=13895 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 <[email protected]> Reviewed-by: Martin Schwenke <[email protected]> Autobuild-User(master): Amitay Isaacs <[email protected]> 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: [544(2503)/588 at 27m0s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_dc:local) [545(2504)/588 at 27m0s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local) [546(2505)/588 at 27m0s] samba.wbinfo_simple.change-secret.domain=$DOMAIN(nt4_dc:local) [547(2506)/588 at 27m0s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local) [548(2507)/588 at 27m1s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_dc:local) [549(2508)/588 at 27m1s] samba.wbinfo_simple.domain-users(nt4_dc:local) [550(2509)/588 at 27m1s] samba.wbinfo_simple.domain-groups(nt4_dc:local) [551(2510)/588 at 27m1s] samba.wbinfo_simple.name-to-sid=$DC_USERNAME(nt4_dc:local) [552(2511)/588 at 27m2s] samba.wbinfo_simple.name-to-sid=$DOMAIN/$DC_USERNAME(nt4_dc:local) [553(2512)/588 at 27m2s] samba.wbinfo_simple.user-info=$DOMAIN/$DC_USERNAME(nt4_dc:local) [554(2513)/588 at 27m2s] samba.wbinfo_simple.user-groups=$DOMAIN/$DC_USERNAME(nt4_dc:local) [555(2514)/588 at 27m2s] samba.wbinfo_simple.authenticate=$DOMAIN/$DC_USERNAME%$DC_PASSWORD(nt4_dc:local) [556(2515)/588 at 27m2s] samba.wbinfo_simple.allocate-uid(nt4_dc:local) [557(2516)/588 at 27m3s] samba.wbinfo_simple.allocate-gid(nt4_dc:local) [558(2517)/588 at 27m3s] samba.wbinfo_sids2xids.(nt4_dc:local)(nt4_dc:local) [559(2518)/588 at 27m15s] samba.tests.ntlm_auth(nt4_dc:local) [560(2531)/588 at 27m18s] samba.wbinfo_simple.ping(nt4_member:local) [561(2532)/588 at 27m18s] samba.wbinfo_simple.separator(nt4_member:local) [562(2533)/588 at 27m19s] samba.wbinfo_simple.own-domain(nt4_member:local) [563(2534)/588 at 27m19s] samba.wbinfo_simple.all-domains(nt4_member:local) [564(2535)/588 at 27m19s] samba.wbinfo_simple.trusted-domains(nt4_member:local) [565(2536)/588 at 27m19s] samba.wbinfo_simple.domain-info=BUILTIN(nt4_member:local) [566(2537)/588 at 27m20s] samba.wbinfo_simple.domain-info=$DOMAIN(nt4_member:local) [567(2538)/588 at 27m20s] samba.wbinfo_simple.online-status(nt4_member:local) [568(2539)/588 at 27m20s] samba.wbinfo_simple.online-status.domain=BUILTIN(nt4_member:local) [569(2540)/588 at 27m20s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_member:local) [570(2541)/588 at 27m20s] 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: ./bin/ab/summary TOP 10 slowest tests samba3.raw.notify(nt4_dc) -> 106 samba3.smb2.notify(nt4_dc) -> 82 samba3.rpc.samr.passwords.lockout(nt4_dc) -> 61 samba3.blackbox.net.rpc.conf(nt4_dc) -> 60 samba4.rpc.echo on ncacn_np with object(nt4_dc) -> 60 samba3.base.dir2(nt4_dc) -> 56 samba3.smb2.compound_find(nt4_dc) -> 54 samba3.raw.search(nt4_dc) -> 52 samba3.smb2.compound_find(nt4_dc) -> 52 samba3.rpc.samr.passwords.pwdlastset(nt4_dc) -> 49 ERROR: test failed with exit code 1 Makefile:16: recipe for target 'test' failed
