autobuild: Return the last 50 log lines

Stefan Metzmacher metze at
Wed Mar 23 14:34:39 UTC 2016

Hi Garming,

I had to revert your commit:

commit aab2f39bb7ff330fbb01da4021c096e69a429d2e
Author:     Garming Sam <garming at>
AuthorDate: Mon Mar 14 14:18:54 2016 +1300
Commit:     Andrew Bartlett <abartlet at>
CommitDate: Tue Mar 22 11:39:38 2016 +0100

    autobuild: Return the last 50 log lines

    This means that you don't have to deal with tars for quickly determining
    the cause of a failure.

Because failing autobuilds get no notification because of this:

    Traceback (most recent call last):
      File "script/", line 744, in <module>
        elapsed_time, log_base=options.log_base)
      File "script/", line 608, in email_failure
        f = open("%s/%s.stdout" % (log_base, failed_tag), 'r')
    IOError: [Errno 2] No such file or directory:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the samba-technical mailing list