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-11-14-0822/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-11-14-0822/samba.stderr https://git.samba.org/autobuild.flakey.sn-devel-144/2018-11-14-0822/samba.stdout The top commit at the time of the failure was: commit 3634e20c7603103b0f2e00e5b61cc63f905d780d Author: Jeremy Allison <j...@samba.org> Date: Mon Nov 12 11:37:31 2018 -0800 s3: lib: nmbname: Ensure we limit the NetBIOS name correctly. CID: 1433607 Firstly, make the exit condition from the loop explicit (we must never write into byte n, where n >= sizeof(name->name). Secondly ensure exiting from the loop that n==MAX_NETBIOSNAME_LEN, as this is the sign of a correct NetBIOS name encoding (RFC1002) in order to properly read the NetBIOS name type (which is always encoded in byte 16 == name->name[15]). Signed-off-by: Jeremy Allison <j...@samba.org> Reviewed-by: David Disseldorp <dd...@samba.org> Autobuild-User(master): David Disseldorp <dd...@samba.org> Autobuild-Date(master): Tue Nov 13 20:54:56 CET 2018 on sn-devel-144 and the last 50 lines of the stdout log were: [792(4836)/851 at 1h23m26s] samba4.rpc.echo.testdenied(rodc:local) [793(4846)/851 at 1h23m29s] samba4.blackbox.smbclient(rodc:local)(rodc:local) [794(4848)/851 at 1h23m30s] samba.tests.samba_tool.rodc(rodc:local) [795(4857)/851 at 1h23m59s] samba.blackbox.rpcclient_samlogon(rodc:local) [796(4861)/851 at 1h24m0s] samba.blackbox.rpcclient_samlogon_testallowed(rodc:local) [797(4865)/851 at 1h24m0s] samba.blackbox.rpcclient_samlogon_testdenied(rodc:local) [798(4869)/851 at 1h24m1s] samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) [799(4880)/851 at 1h29m22s] samba4.drs.samba_tool_drs.python(vampire_dc)(vampire_dc:local) [800(4894)/851 at 1h32m45s] samba4.drs.samba_tool_drs_showrepl.python(vampire_dc)(vampire_dc:local) [801(4898)/851 at 1h32m57s] samba4.drs.replica_sync.python(vampire_dc)(vampire_dc:local) [802(4914)/851 at 1h37m10s] samba4.drs.delete_object.python(vampire_dc)(vampire_dc) [803(4916)/851 at 1h37m30s] samba4.drs.fsmo.python(vampire_dc)(vampire_dc) [804(4921)/851 at 1h37m47s] samba4.drs.repl_move.python(vampire_dc)(vampire_dc) [805(4942)/851 at 1h39m37s] samba4.drs.getnc_exop.python(vampire_dc)(vampire_dc) [806(4954)/851 at 1h39m57s] samba4.drs.getnc_unpriv.python(vampire_dc)(vampire_dc) [807(4958)/851 at 1h40m4s] samba4.drs.linked_attributes_drs.python(vampire_dc)(vampire_dc) [808(4961)/851 at 1h40m6s] samba4.drs.link_conflicts.python(vampire_dc)(vampire_dc) [809(4973)/851 at 1h47m37s] samba4.drs.samba_tool_drs.python(promoted_dc)(promoted_dc:local) [810(4987)/851 at 1h51m1s] samba4.drs.samba_tool_drs_showrepl.python(promoted_dc)(promoted_dc:local) [811(4991)/851 at 1h51m13s] samba4.drs.replica_sync.python(promoted_dc)(promoted_dc:local) [812(5007)/851 at 1h55m1s] samba4.drs.delete_object.python(promoted_dc)(promoted_dc) [813(5009)/851 at 1h55m16s] samba4.drs.fsmo.python(promoted_dc)(promoted_dc) [814(5014)/851 at 1h55m33s] samba4.drs.repl_move.python(promoted_dc)(promoted_dc) [815(5035)/851 at 1h57m28s] samba4.drs.getnc_exop.python(promoted_dc)(promoted_dc) UNEXPECTED(failure): samba4.drs.getnc_exop.python(promoted_dc).getnc_exop.DrsReplicaSyncTestCase.test_link_utdv_hwm(promoted_dc) REASON: Exception: Exception: Traceback (most recent call last): File "/memdisk/autobuild/fl/b4124520/samba/source4/torture/drs/python/getnc_exop.py", line 267, in test_link_utdv_hwm drsuapi.DRSUAPI_DRS_WRIT_REP) File "/memdisk/autobuild/fl/b4124520/samba/source4/torture/drs/python/drs_base.py", line 364, in _check_replication dn_ordered=dn_ordered) File "/memdisk/autobuild/fl/b4124520/samba/source4/torture/drs/python/drs_base.py", line 387, in _check_ctr6 self.assertEqual(ctr6.object_count, len(expected_dns)) AssertionError: 4 != 3 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) -> 451 samba4.ldap.rodc_rwdc.python(rodc)(rodc:local) -> 440 samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) -> 321 samba4.ldap.confidential_attr.python(ad_dc_ntvfs)(ad_dc_ntvfs) -> 311 samba4.drs.replica_sync.python(vampire_dc)(vampire_dc:local) -> 253 samba4.drs.replica_sync.python(promoted_dc)(promoted_dc:local) -> 228 samba4.rpc.samr.passwords.lockout on ncacn_np with (ad_dc_ntvfs) -> 227 samba4.ldap.vlv.python(ad_dc_ntvfs)(ad_dc_ntvfs) -> 222 samba4.drs.samba_tool_drs.python(promoted_dc)(promoted_dc:local) -> 204 samba4.drs.samba_tool_drs.python(vampire_dc)(vampire_dc:local) -> 203 ERROR: test failed with exit code 1