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: https://git.samba.org/autobuild.flakey.sn-devel-144/2019-01-13-1248/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-144/2019-01-13-1248/samba-nt4.stderr https://git.samba.org/autobuild.flakey.sn-devel-144/2019-01-13-1248/samba-nt4.stdout The top commit at the time of the failure was: commit 8900e0b4cb05613df9cbeeb8b8253273b06b3c17 Author: Noel Power <[email protected]> Date: Mon Nov 12 16:06:10 2018 +0000 lib/ldb: Use new PYARG_ES format for parseTuple While 'es' format works great for unicode (in python2) and str (in python3) The behaviour with str (in python2) is unexpected. In python2 the str type is (re-encoded) with the specified encoding. In python2 the 'et' type would be a better match, that ensures 'str' type is treated like it was with 's' (no reencoding) and unicode is encoded with the specified encoding. However in python3 'et' allows byte (or bytearray) params to be accepted (with no reencoding), we don't want this. This patch adds a new PYARG_STR_UNI format code which is a hybrid, in python2 it evaluates to 'et' and in python3 'es' and so gives the desired behaviour for each python version. Additionally remove the associated known fail. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13616 Signed-off-by: Noel Power <[email protected]> Reviewed-by: Douglas Bagnall <[email protected]> Autobuild-User(master): Douglas Bagnall <[email protected]> Autobuild-Date(master): Sun Jan 13 03:53:00 CET 2019 on sn-devel-144 and the last 50 lines of the stdout log were: [533(2464)/578 at 22m3s] samba.wbinfo_simple.online-status.domain=BUILTIN(nt4_dc:local) [534(2465)/578 at 22m3s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_dc:local) [535(2466)/578 at 22m3s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local) [536(2467)/578 at 22m3s] samba.wbinfo_simple.change-secret.domain=$DOMAIN(nt4_dc:local) [537(2468)/578 at 22m4s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local) [538(2469)/578 at 22m4s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_dc:local) [539(2470)/578 at 22m4s] samba.wbinfo_simple.domain-users(nt4_dc:local) [540(2471)/578 at 22m4s] samba.wbinfo_simple.domain-groups(nt4_dc:local) [541(2472)/578 at 22m4s] samba.wbinfo_simple.name-to-sid=$DC_USERNAME(nt4_dc:local) [542(2473)/578 at 22m4s] samba.wbinfo_simple.name-to-sid=$DOMAIN/$DC_USERNAME(nt4_dc:local) [543(2474)/578 at 22m4s] samba.wbinfo_simple.user-info=$DOMAIN/$DC_USERNAME(nt4_dc:local) [544(2475)/578 at 22m4s] samba.wbinfo_simple.user-groups=$DOMAIN/$DC_USERNAME(nt4_dc:local) [545(2476)/578 at 22m5s] samba.wbinfo_simple.authenticate=$DOMAIN/$DC_USERNAME%$DC_PASSWORD(nt4_dc:local) [546(2477)/578 at 22m5s] samba.wbinfo_simple.allocate-uid(nt4_dc:local) [547(2478)/578 at 22m5s] samba.wbinfo_simple.allocate-gid(nt4_dc:local) [548(2479)/578 at 22m5s] samba.wbinfo_sids2xids.(nt4_dc:local)(nt4_dc:local) [549(2480)/578 at 22m12s] samba.tests.ntlm_auth(nt4_dc:local) [550(2493)/578 at 22m14s] samba.wbinfo_simple.ping(nt4_member:local) [551(2494)/578 at 22m14s] samba.wbinfo_simple.separator(nt4_member:local) [552(2495)/578 at 22m14s] samba.wbinfo_simple.own-domain(nt4_member:local) [553(2496)/578 at 22m14s] samba.wbinfo_simple.all-domains(nt4_member:local) [554(2497)/578 at 22m14s] samba.wbinfo_simple.trusted-domains(nt4_member:local) [555(2498)/578 at 22m14s] samba.wbinfo_simple.domain-info=BUILTIN(nt4_member:local) [556(2499)/578 at 22m15s] samba.wbinfo_simple.domain-info=$DOMAIN(nt4_member:local) [557(2500)/578 at 22m15s] samba.wbinfo_simple.online-status(nt4_member:local) [558(2501)/578 at 22m15s] samba.wbinfo_simple.online-status.domain=BUILTIN(nt4_member:local) [559(2502)/578 at 22m15s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_member:local) [560(2503)/578 at 22m15s] 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) -> 102 samba3.smb2.notify(nt4_dc) -> 83 samba3.rpc.samr.passwords.lockout(nt4_dc) -> 62 samba4.rpc.echo on ncacn_np with object(nt4_dc) -> 60 samba3.smb2.compound_find(nt4_dc) -> 50 samba3.smb2.compound_find(nt4_dc) -> 49 samba3.rpc.samr.passwords.pwdlastset(nt4_dc) -> 48 samba3.smb2.lease(nt4_dc) -> 45 samba3.raw.oplock(nt4_dc) -> 43 samba3.smb2.oplock(nt4_dc) -> 42 ERROR: test failed with exit code 1
