autobuild: Return the last 50 log lines

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


Hi Garming,

I had to revert your commit:

commit aab2f39bb7ff330fbb01da4021c096e69a429d2e
Author:     Garming Sam <garming at catalyst.net.nz>
AuthorDate: Mon Mar 14 14:18:54 2016 +1300
Commit:     Andrew Bartlett <abartlet at samba.org>
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/autobuild.py", line 744, in <module>
        elapsed_time, log_base=options.log_base)
      File "script/autobuild.py", line 608, in email_failure
        f = open("%s/%s.stdout" % (log_base, failed_tag), 'r')
    IOError: [Errno 2] No such file or directory:
    'https://git.samba.org/uri/samba-autobuild/ctdb.stdout'

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160323/49aa3b7f/signature.sig>


More information about the samba-technical mailing list