The autobuild test system (on sn-devel-184) 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-184/2019-05-31-2146/flakey.log The failure seems to be in the "samba-ad-dc-2" suite, whose build logs are available here: https://git.samba.org/autobuild.flakey.sn-devel-184/2019-05-31-2146/samba-ad-dc-2.stderr https://git.samba.org/autobuild.flakey.sn-devel-184/2019-05-31-2146/samba-ad-dc-2.stdout The top commit at the time of the failure was: commit eb2e29c354ceb7ffe3bcc786929006a6cf9b13ea Author: Anoop C S <[email protected]> Date: Wed May 29 11:40:55 2019 +0530 s3-smbcontrol: Replace && with || to declare variables in do_sleep() --enable-developer internally use --enable-selftest alongside. But when configured only with --enable-selftest the following code block becomes invalid: #if defined(DEVELOPER) && defined(ENABLE_SELFTEST) unsigned int seconds; long input; const long MAX_SLEEP = 60 * 60; /* One hour maximum sleep */ #endif making those variables undeclared for further use. Therefore replace && with || to have those variables declared with --enable-selftest configure option. Signed-off-by: Anoop C S <[email protected]> Reviewed-by: Ralph Boehme <[email protected]> Reviewed-by: Alexander Bokovoy <[email protected]> Autobuild-User(master): Ralph Böhme <[email protected]> Autobuild-Date(master): Fri May 31 20:38:09 UTC 2019 on sn-devel-184 and the last 50 lines of the stdout log were: [22(135)/67 at 1m41s] samba.wbinfo_simple.user-groups=$DOMAIN/$DC_USERNAME(rodc:local) [23(136)/67 at 1m41s] samba.wbinfo_simple.authenticate=$DOMAIN/$DC_USERNAME%$DC_PASSWORD(rodc:local) [24(137)/67 at 1m42s] samba.wbinfo_simple.allocate-uid(rodc:local) [25(138)/67 at 1m42s] samba.wbinfo_simple.allocate-gid(rodc:local) [26(139)/67 at 1m42s] samba.wbinfo_sids2xids.(rodc:local)(rodc:local) [27(140)/67 at 1m56s] samba.tests.ntlm_auth(rodc:local) [28(153)/67 at 2m1s] samba.tests.encrypted_secrets(vampire_dc:local) [29(155)/67 at 2m2s] samba.tests.py_credentials(vampire_dc) [30(163)/67 at 2m5s] samba4.ldap.large_ldap.gssapi.python(vampire_dc)(vampire_dc) [31(166)/67 at 4m14s] samba4.ldap.rodc.python(rodc)(rodc) [32(172)/67 at 4m16s] samba4.ldap.rodc_rwdc.python(rodc)(rodc:local) [33(192)/67 at 12m29s] samba4.drs.replica_sync_rodc.python(rodc)(rodc:local) [34(194)/67 at 12m37s] samba4.rpc.samr.large-dc.one(vampire_dc) [35(197)/67 at 12m48s] samba4.rpc.samr.large-dc.two(vampire_dc) [36(200)/67 at 12m59s] samba4.rpc.echo(rodc) [37(210)/67 at 13m3s] samba4.rpc.echo(rodc:local) [38(220)/67 at 13m7s] samba4.rpc.echo.testallowed(rodc:local) [39(230)/67 at 13m10s] samba4.rpc.echo.testdenied(rodc:local) [40(240)/67 at 13m14s] samba4.blackbox.smbclient(rodc:local)(rodc:local) [41(242)/67 at 13m15s] samba.tests.samba_tool.rodc(rodc:local) [42(251)/67 at 13m50s] samba.blackbox.rpcclient_samlogon(rodc:local) [43(255)/67 at 13m51s] samba.blackbox.rpcclient_samlogon_testallowed(rodc:local) [44(259)/67 at 13m52s] samba.blackbox.rpcclient_samlogon_testdenied(rodc:local) [45(263)/67 at 13m53s] samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) [46(274)/67 at 19m6s] samba4.drs.samba_tool_drs.python(vampire_dc)(vampire_dc:local) UNEXPECTED(error): samba4.drs.samba_tool_drs.python(vampire_dc).samba_tool_drs.SambaToolDrsTests.test_samba_tool_kcc(vampire_dc:local) REASON: Exception: Exception: Traceback (most recent call last): File "/memdisk/autobuild/fl/b465797/samba-ad-dc-2/source4/torture/drs/python/samba_tool_drs.py", line 81, in test_samba_tool_kcc self.cmdline_creds)) File "bin/python/samba/tests/__init__.py", line 453, in check_output raise BlackboxProcessError(retcode, line, stdoutdata, stderrdata) samba.tests.BlackboxProcessError: Command 'python3 /memdisk/autobuild/fl/b465797/samba-ad-dc-2/bin/samba-tool drs kcc localdc -USAMBADOMAIN/Administrator%locDCpass1'; shell True; exit status 255; stdout: 'b'''; stderr: 'b"ERROR(runtime): DsExecuteKCC failed - (3221225653, '{Device Timeout} The specified I/O operation on %hs was not completed before the time-out period expired.')\n"' FAILED (0 failures, 1 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.ldap.rodc_rwdc.python(rodc)(rodc:local) -> 493 samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) -> 313 samba4.ldap.large_ldap.gssapi.python(vampire_dc)(vampire_dc) -> 129 samba.tests.samba_tool.rodc(rodc:local) -> 35 samba.wbinfo_sids2xids.(rodc:local)(rodc:local) -> 14 samba4.rpc.samr.large-dc.two(vampire_dc) -> 11 samba4.rpc.samr.large-dc.one(vampire_dc) -> 11 samba4.drs.replica_sync_rodc.python(rodc)(rodc:local) -> 8 samba.tests.ntlm_auth(rodc:local) -> 5 samba4.rpc.echo(rodc) -> 4 ERROR: test failed with exit code 1 Makefile:16: recipe for target 'test' failed
