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-10-06-0209/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-10-06-0209/samba.stderr https://git.samba.org/autobuild.flakey.sn-devel-144/2018-10-06-0209/samba.stdout The top commit at the time of the failure was: commit 6784ff24b8a31b9d597d24cab6e34feea2b83e29 Author: Martin Schwenke <[email protected]> Date: Fri Oct 5 14:04:18 2018 +1000 ctdbd_conn: Generalise inaccurate error message Seeing: ctdb_read_packet failed: Cannot allocate memory [..., 0] ../source3/lib/ctdbd_conn.c:121(cluster_fatal) cluster fatal event: ctdbd died The error is due to a memory allocation failure rather than ctdbd dying. However, the error message makes people wonder why ctdbd died. Another alternative would be to wrap cluster_fatal() and have the wrapper interpret the return value from ctdb_read_packet() to choose from a set of more precise messages to pass to cluster_fatal(). For a memory allocation it isn't strictly necessary to call cluster_fatal(), but all is probably lost and it is still probably better to try to exit cleanly as soon as possible instead of crashing somewhere. Signed-off-by: Martin Schwenke <[email protected]> Reviewed-by: Volker Lendecke <[email protected]> Autobuild-User(master): Volker Lendecke <[email protected]> Autobuild-Date(master): Fri Oct 5 16:16:29 CEST 2018 on sn-devel-144 and the last 50 lines of the stdout log were: [786(4798)/848 at 1h21m13s] samba4.rpc.samr.large-dc.two(vampire_dc) [787(4801)/848 at 1h21m22s] samba4.rpc.echo(rodc) [788(4811)/848 at 1h21m26s] samba4.rpc.echo(rodc:local) [789(4821)/848 at 1h21m29s] samba4.rpc.echo.testallowed(rodc:local) [790(4831)/848 at 1h21m33s] samba4.rpc.echo.testdenied(rodc:local) [791(4841)/848 at 1h21m36s] samba4.blackbox.smbclient(rodc:local)(rodc:local) [792(4843)/848 at 1h21m37s] samba.tests.samba_tool.rodc(rodc:local) [793(4852)/848 at 1h22m8s] samba.blackbox.rpcclient_samlogon(rodc:local) [794(4856)/848 at 1h22m9s] samba.blackbox.rpcclient_samlogon_testallowed(rodc:local) [795(4860)/848 at 1h22m10s] samba.blackbox.rpcclient_samlogon_testdenied(rodc:local) [796(4864)/848 at 1h22m10s] samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) [797(4875)/848 at 1h27m29s] samba4.drs.samba_tool_drs.python(vampire_dc)(vampire_dc:local) [798(4889)/848 at 1h30m46s] samba4.drs.samba_tool_drs_showrepl.python(vampire_dc)(vampire_dc:local) [799(4893)/848 at 1h30m58s] samba4.drs.replica_sync.python(vampire_dc)(vampire_dc:local) [800(4909)/848 at 1h34m43s] samba4.drs.delete_object.python(vampire_dc)(vampire_dc) [801(4911)/848 at 1h34m52s] samba4.drs.fsmo.python(vampire_dc)(vampire_dc) [802(4916)/848 at 1h35m8s] samba4.drs.repl_move.python(vampire_dc)(vampire_dc) [803(4937)/848 at 1h37m28s] samba4.drs.getnc_exop.python(vampire_dc)(vampire_dc) [804(4949)/848 at 1h37m49s] samba4.drs.getnc_unpriv.python(vampire_dc)(vampire_dc) [805(4953)/848 at 1h37m55s] samba4.drs.linked_attributes_drs.python(vampire_dc)(vampire_dc) [806(4956)/848 at 1h37m57s] samba4.drs.link_conflicts.python(vampire_dc)(vampire_dc) [807(4968)/848 at 1h43m47s] samba4.drs.samba_tool_drs.python(promoted_dc)(promoted_dc:local) [808(4982)/848 at 1h47m5s] samba4.drs.samba_tool_drs_showrepl.python(promoted_dc)(promoted_dc:local) Good, failed as expected after 0 rounds: '/memdisk/autobuild/fl/b2805000/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/b2805000/samba/source4/torture/drs/python/samba_tool_drs_showrepl.py", line 325, 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/b2805000/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.ldap.rodc_rwdc.python(rodc)(rodc:local) -> 451 samba4.drs.link_conflicts.python(vampire_dc)(vampire_dc) -> 350 samba4.drs.ridalloc_exop.python(vampire_dc)(vampire_dc) -> 319 samba4.ldap.confidential_attr.python(ad_dc_ntvfs)(ad_dc_ntvfs) -> 309 samba4.ldap.vlv.python(ad_dc_ntvfs)(ad_dc_ntvfs) -> 234 samba4.rpc.samr.passwords.lockout on ncacn_np with (ad_dc_ntvfs) -> 226 samba4.drs.replica_sync.python(vampire_dc)(vampire_dc:local) -> 225 samba4.rpc.samr.passwords.pwdlastset on ncacn_np with (ad_dc_ntvfs) -> 200 samba4.drs.samba_tool_drs.python(vampire_dc)(vampire_dc:local) -> 197 samba4.drs.samba_tool_drs.python(promoted_dc)(promoted_dc:local) -> 197 ERROR: test failed with exit code 1
