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-02-10-0754/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-02-10-0754/samba-nt4.stderr https://git.samba.org/autobuild.flakey.sn-devel-144/2019-02-10-0754/samba-nt4.stdout The top commit at the time of the failure was: commit 584dfc15fd33f665a0bd2287a6a981568032ec74 Author: Aurelien Aptel <[email protected]> Date: Fri Feb 8 12:13:25 2019 +0100 libsmb,s3/smbd: dump SMB3+ session keys if debug parm is set Use of previously added smb.conf global param. Sample usage: $ smbclient //localhost/scratch --option='debugencryption=yes' \ -e -mSMB3 -U aaptel%aaptel -c quit debug encryption: dumping generated session keys Session Id [0000] 26 48 BF FD 00 00 00 00 &H...... Session Key [0000] 63 D6 CA BC 08 C8 4A D2 45 F6 AE 35 AB 4A B3 3B c.....J. E..5.J.; Signing Key [0000] 4E FE 35 92 AC 13 14 FC C9 17 62 B1 82 20 A4 12 N.5..... ..b.. .. App Key [0000] A5 0F F4 8B 2F FB 0D FF F2 BF EE 39 E6 6D F5 0A ..../... ...9.m.. ServerIn Key [0000] 2A 02 7E E1 D3 58 D8 12 4C 63 76 AE 59 17 5A E4 *.~..X.. Lcv.Y.Z. ServerOut Key [0000] 59 F2 5B 7F 66 8F 31 A0 A5 E4 A8 D8 2F BA 00 38 Y.[.f.1. ..../..8 We can now simply pass -ouat:smb2_seskey_list:<sesid>,<seskey> to wireshark or tshark: $ tshark -ouat:smb2_seskey_list:2648BFFD00000000,63D6CABC08C84AD245F6AE35AB4AB33B \ -Y smb2 -r capture.pcap -Tfields -e _ws.col.Info Negotiate Protocol Response Negotiate Protocol Request Negotiate Protocol Response Session Setup Request, NTLMSSP_NEGOTIATE Session Setup Response, Error: STATUS_MORE_PROCESSING_REQUIRED, NTLMSSP_CHALLENGE Session Setup Request, NTLMSSP_AUTH, User: WORKGROUP\aaptel Session Setup Response Tree Connect Request Tree: \\localhost\IPC$ Tree Connect Response Decrypted SMB3;Ioctl Request FSCTL_DFS_GET_REFERRALS, File: \localhost\scratch Decrypted SMB3;Ioctl Response, Error: STATUS_NOT_FOUND Decrypted SMB3;Tree Disconnect Request Decrypted SMB3;Tree Disconnect Response Decrypted SMB3;Tree Connect Request Tree: \\localhost\scratch Decrypted SMB3;Tree Connect Response Decrypted SMB3;Tree Disconnect Request Decrypted SMB3;Tree Disconnect Response For more info on Wireshark decryption support see https://wiki.samba.org/index.php/Wireshark_Decryption Signed-off-by: Aurelien Aptel <[email protected]> Reviewed-by: Noel Power <[email protected]> Reviewed-by: Ralph Boehme <[email protected]> Reviewed-by: David Disseldorp <[email protected]> Autobuild-User(master): David Disseldorp <[email protected]> Autobuild-Date(master): Sat Feb 9 21:43:25 CET 2019 on sn-devel-144 and the last 50 lines of the stdout log were: [533(2464)/578 at 38m55s] samba.wbinfo_simple.online-status.domain=BUILTIN(nt4_dc:local) [534(2465)/578 at 38m55s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_dc:local) [535(2466)/578 at 38m55s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local) [536(2467)/578 at 38m56s] samba.wbinfo_simple.change-secret.domain=$DOMAIN(nt4_dc:local) [537(2468)/578 at 38m56s] samba.wbinfo_simple.check-secret.domain=$DOMAIN(nt4_dc:local) [538(2469)/578 at 38m56s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_dc:local) [539(2470)/578 at 38m56s] samba.wbinfo_simple.domain-users(nt4_dc:local) [540(2471)/578 at 38m57s] samba.wbinfo_simple.domain-groups(nt4_dc:local) [541(2472)/578 at 38m57s] samba.wbinfo_simple.name-to-sid=$DC_USERNAME(nt4_dc:local) [542(2473)/578 at 38m57s] samba.wbinfo_simple.name-to-sid=$DOMAIN/$DC_USERNAME(nt4_dc:local) [543(2474)/578 at 38m57s] samba.wbinfo_simple.user-info=$DOMAIN/$DC_USERNAME(nt4_dc:local) [544(2475)/578 at 38m58s] samba.wbinfo_simple.user-groups=$DOMAIN/$DC_USERNAME(nt4_dc:local) [545(2476)/578 at 38m58s] samba.wbinfo_simple.authenticate=$DOMAIN/$DC_USERNAME%$DC_PASSWORD(nt4_dc:local) [546(2477)/578 at 38m58s] samba.wbinfo_simple.allocate-uid(nt4_dc:local) [547(2478)/578 at 38m58s] samba.wbinfo_simple.allocate-gid(nt4_dc:local) [548(2479)/578 at 38m59s] samba.wbinfo_sids2xids.(nt4_dc:local)(nt4_dc:local) [549(2480)/578 at 39m10s] samba.tests.ntlm_auth(nt4_dc:local) [550(2493)/578 at 39m13s] samba.wbinfo_simple.ping(nt4_member:local) [551(2494)/578 at 39m13s] samba.wbinfo_simple.separator(nt4_member:local) [552(2495)/578 at 39m13s] samba.wbinfo_simple.own-domain(nt4_member:local) [553(2496)/578 at 39m14s] samba.wbinfo_simple.all-domains(nt4_member:local) [554(2497)/578 at 39m14s] samba.wbinfo_simple.trusted-domains(nt4_member:local) [555(2498)/578 at 39m14s] samba.wbinfo_simple.domain-info=BUILTIN(nt4_member:local) [556(2499)/578 at 39m14s] samba.wbinfo_simple.domain-info=$DOMAIN(nt4_member:local) [557(2500)/578 at 39m15s] samba.wbinfo_simple.online-status(nt4_member:local) [558(2501)/578 at 39m15s] samba.wbinfo_simple.online-status.domain=BUILTIN(nt4_member:local) [559(2502)/578 at 39m15s] samba.wbinfo_simple.online-status.domain=$DOMAIN(nt4_member:local) [560(2503)/578 at 39m15s] 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.blackbox.net.rpc.conf(nt4_dc) -> 119 samba3.raw.notify(nt4_dc) -> 107 samba3.smb2.compound_find(nt4_dc) -> 89 samba3.smb2.notify(nt4_dc) -> 88 samba3.raw.search(nt4_dc) -> 88 samba3.smb2.compound_find(nt4_dc) -> 82 samba3.blackbox.net.local.conf(nt4_dc:local) -> 80 samba3.rpc.samr.passwords.lockout(nt4_dc) -> 63 samba4.rpc.echo on ncacn_np with object(nt4_dc) -> 61 samba3.smb2.dir(nt4_dc) -> 53 ERROR: test failed with exit code 1
