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/2018-09-05-0818/flakey.log The failure seems to be in the "samba" suite, whose build logs are available here: https://git.samba.org/autobuild.flakey.sn-devel-144/2018-09-05-0818/samba.stderr https://git.samba.org/autobuild.flakey.sn-devel-144/2018-09-05-0818/samba.stdout The top commit at the time of the failure was: commit f3e349bebc443133fdbe4e14b148ca8db8237060 Author: Alexander Bokovoy <a...@samba.org> Date: Fri Feb 16 18:15:28 2018 +0200 krb5-samba: interdomain trust uses different salt principal Salt principal for the interdomain trust is krbtgt/DOMAIN@REALM where DOMAIN is the sAMAccountName without the dollar sign ($) The salt principal for the BLA$ user object was generated wrong. dn: CN=bla.base,CN=System,DC=w4edom-l4,DC=base securityIdentifier: S-1-5-21-4053568372-2049667917-3384589010 trustDirection: 3 trustPartner: bla.base trustPosixOffset: -2147483648 trustType: 2 trustAttributes: 8 flatName: BLA dn: CN=BLA$,CN=Users,DC=w4edom-l4,DC=base userAccountControl: 2080 primaryGroupID: 513 objectSid: S-1-5-21-278041429-3399921908-1452754838-1597 accountExpires: 9223372036854775807 sAMAccountName: BLA$ sAMAccountType: 805306370 pwdLastSet: 131485652467995000 The salt stored by Windows in the package_PrimaryKerberosBlob (within supplementalCredentials) seems to be 'W4EDOM-L4.BASEkrbtgtBLA' for the above trust and Samba stores 'W4EDOM-L4.BASEBLA$'. While the salt used when building the keys from trustAuthOutgoing/trustAuthIncoming is 'W4EDOM-L4.BASEkrbtgtBLA.BASE', which we handle correct. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13539 Pair-Programmed-With: Stefan Metzmacher <me...@samba.org> Signed-off-by: Alexander Bokovoy <a...@samba.org> Signed-off-by: Stefan Metzmacher <me...@samba.org> Reviewed-by: Andrew Bartlett <abart...@samba.org> Autobuild-User(master): Andrew Bartlett <abart...@samba.org> Autobuild-Date(master): Wed Sep 5 03:57:22 CEST 2018 on sn-devel-144 and the last 50 lines of the stdout log were: [786(4796)/847 at 1h26m45s] samba4.rpc.samr.large-dc.two(vampire_dc) [787(4799)/847 at 1h26m53s] samba4.rpc.echo(rodc) [788(4809)/847 at 1h26m57s] samba4.rpc.echo(rodc:local) [789(4819)/847 at 1h27m1s] samba4.rpc.echo.testallowed(rodc:local) [790(4829)/847 at 1h27m4s] samba4.rpc.echo.testdenied(rodc:local) [791(4839)/847 at 1h27m8s] samba4.blackbox.smbclient(rodc:local)(rodc:local) [792(4841)/847 at 1h27m9s] samba.tests.samba_tool.rodc(rodc:local) [793(4850)/847 at 1h27m39s] samba.blackbox.rpcclient_samlogon(rodc:local) [794(4854)/847 at 1h27m40s] samba.blackbox.rpcclient_samlogon_testallowed(rodc:local) [795(4858)/847 at 1h27m40s] samba.blackbox.rpcclient_samlogon_testdenied(rodc:local) [796(4862)/847 at 1h27m41s] samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) [797(4873)/847 at 1h33m5s] samba4.drs.samba_tool_drs.python(vampire_dc)(vampire_dc:local) [798(4887)/847 at 1h36m24s] samba4.drs.samba_tool_drs_showrepl.python(vampire_dc)(vampire_dc:local) [799(4891)/847 at 1h36m35s] samba4.drs.replica_sync.python(vampire_dc)(vampire_dc:local) [800(4907)/847 at 1h40m47s] samba4.drs.delete_object.python(vampire_dc)(vampire_dc) [801(4909)/847 at 1h40m58s] samba4.drs.fsmo.python(vampire_dc)(vampire_dc) [802(4914)/847 at 1h41m16s] samba4.drs.repl_move.python(vampire_dc)(vampire_dc) [803(4935)/847 at 1h44m55s] samba4.drs.getnc_exop.python(vampire_dc)(vampire_dc) [804(4947)/847 at 1h45m16s] samba4.drs.getnc_unpriv.python(vampire_dc)(vampire_dc) [805(4951)/847 at 1h45m22s] samba4.drs.linked_attributes_drs.python(vampire_dc)(vampire_dc) [806(4954)/847 at 1h45m24s] samba4.drs.link_conflicts.python(vampire_dc)(vampire_dc) [807(4966)/847 at 1h54m2s] samba4.drs.samba_tool_drs.python(promoted_dc)(promoted_dc:local) [808(4980)/847 at 1h57m22s] samba4.drs.samba_tool_drs_showrepl.python(promoted_dc)(promoted_dc:local) Good, failed as expected after 0 rounds: '/memdisk/autobuild/fl/b2672074/samba/bin/samba-tool drs showrepl --summary -v --color=yes promotedvdc -USAMBADOMAIN/Administrator%locDCpass1' UNEXPECTED(failure): samba4.drs.samba_tool_drs_showrepl.python(promoted_dc).samba_tool_drs_showrepl.SambaToolDrsShowReplTests.test_samba_tool_showrepl_summary_forced_failure(promoted_dc:local) REASON: Exception: Exception: Traceback (most recent call last): File "/memdisk/autobuild/fl/b2672074/samba/source4/torture/drs/python/samba_tool_drs_showrepl.py", line 320, in test_samba_tool_showrepl_summary_forced_failure e.cmd)) AssertionError: stdout: '' stderr: 'ERROR(<type \'exceptions.IndexError\'>): uncaught exception - list index out of range\n File "bin/python/samba/netcmd/__init__.py", line 183, in _run\n return self.run(*args, **kwargs)\n File "bin/python/samba/netcmd/drs.py", line 205, in run\n return output_function()\n File "bin/python/samba/netcmd/drs.py", line 251, in summary_output\n return self.summary_output_handler("summary")\n File "bin/python/samba/netcmd/drs.py", line 219, in summary_output_handler\n local_data = self.get_local_repl_data()\n File "bin/python/samba/netcmd/drs.py", line 300, in get_local_repl_data\n d[\'dns name\'] = c_server_res[0]["dnsHostName"][0]\n' retcode: 255 message: None cmd: '/memdisk/autobuild/fl/b2672074/samba/bin/samba-tool drs showrepl --summary -v --color=yes promotedvdc -USAMBADOMAIN/Administrator%locDCpass1' 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 samba4.drs.link_conflicts.python(vampire_dc)(vampire_dc) -> 518 samba4.ldap.rodc_rwdc.python(rodc)(rodc:local) -> 439 samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) -> 323 samba4.ldap.confidential_attr.python(ad_dc_ntvfs)(ad_dc_ntvfs) -> 306 samba4.drs.replica_sync.python(vampire_dc)(vampire_dc:local) -> 252 samba4.ldap.vlv.python(ad_dc_ntvfs)(ad_dc_ntvfs) -> 237 samba4.rpc.samr.passwords.lockout on ncacn_np with (ad_dc_ntvfs) -> 231 samba4.drs.repl_move.python(vampire_dc)(vampire_dc) -> 220 samba4.rpc.samr.passwords.pwdlastset on ncacn_np with (ad_dc_ntvfs) -> 202 samba4.drs.samba_tool_drs.python(promoted_dc)(promoted_dc:local) -> 200 ERROR: test failed with exit code 1