Flapping test: checking the trust secret for domain SAMBA-TEST via RPC calls failed

Andrew Bartlett abartlet at samba.org
Mon Mar 26 17:32:28 UTC 2018

This test has been flapping recently, from after 

commit 42d6dd2f30b6c3b3176bd1f378422a2eb62b1008

UNEXPECTED(failure): samba.wbinfo_simple.check-secret.domain=SAMBA-
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

The previous commits in this timeframe are:

42d6dd2f30b6c3b3176bd1f378422a2eb62b1008 s3: smbd: always set vuid in check_user_ok()
dd1f8cdf6bd1fb9c881d96957d709b0f517852bb selftest: consistently produce high-res UTC time
ba805dcd6f95748d77e24d5de7c31af2ff5848b1 s4:selftest: explicitly set NSS/RESOLV_WAPPER_* in wait_for_start
3966342a1817b84d78e0c6687b4e7dc6d71f3c41 selftest: Clear environment before provision
ef35fbfc8ca3f8583507c3b55cab1304290a204d s3-libnet: move rpc_join label into HAVE_ADS block with only caller
0879be975873b5972b791bcad428a68573c77b69 libsmb: Use the same #ifdef for is_our_primary_domain() as the only caller
c32fa9bb22190a2809eaed2cfdb12c43613c61bb travis-ci: Use Gold linker for faster builds
87dac6295c1d062148af3fc51149eac418270408 travis-ci: Only un-shallow for PIDL
d9505567554b13c7e5a61284b14ec90b8cb05075 autobuild: Move defaulttasks to one-per-line
7964b3640aacaab68f002c290d82f86e7c709268 tdb: Fix a "increases alignment" warning
2adbb1f75183a1105848ccb6acc577541279b3f6 tdb: Align a few integer types
6f45cbf42738d869e310027c05e0a5bba07de9fc tdb: Harden allocating the tdb recovery area
5f24fd6863f1278f1e5ea27829c5402c0cae4366 tdb: Make sure the hash size fits
1b0fbdaf853b341a8e53e23e1e3f2ae1c9037dc2 Harden tdb_check_used_record against overflow
2c94093ad961f3e93302dae6aa373e5b3fe8ee95 tdb: Handle TDB_NEXT_LOCK_ERR in tdb_traverse_internal
df2a036377ad68a999cbccd6e2ba813fa48e7cb9 tdb: Harden tdb_rec_read
ac33b5653f9ee7a69cd367e262bdaceb29c9867c tdbdump: Avoid an int cast

Of these, the selftest patches are the most suspicious, but does
anybody know why that might be, or what could be going on here?  I
don't really see why any of these would cause an intermittent failure.

It isn't the split-up of make test to be more parallel, that patch set
landed well after this started flapping.

Any assistance greatly appreciated.


Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list