Eaten by autobuild?

Andrew Bartlett abartlet at samba.org
Tue Nov 10 06:51:47 UTC 2020


When your autobuild is eaten, remember to check autobuild.log.

I didn't get an autobuild failure mail because that comes from the
autobuild script, which failed to fire out the mail:

Traceback (most recent call last):
  File "script/autobuild.py", line 1324, in <module>
    elapsed_time, log_base=options.log_base)
  File "script/autobuild.py", line 1197, in email_failure
    text, logs)
  File "script/autobuild.py", line 1130, in send_email
    s.sendmail(options.email_from, [options.email], content)
  File "/usr/lib/python3.6/smtplib.py", line 888, in sendmail
    raise SMTPDataError(code, resp)
smtplib.SMTPDataError: (550, b'maximum allowed line length is 998
octets, got 1756')

This is because of this lovely line, which it wanted to put into the mail as context for the failure:
test: running (/usr/bin/perl /m/abartlet/aMASTER/b2752753/samba-o3/selftest/selftest.pl --target=samba --prefix=./bin/ab --srcdir=/m/abartlet/aMASTER/b2752753/samba-o3 --exclude=/m/abartlet/aMASTER/b2752753/samba-o3/selftest/skip --testlist="/usr/bin/python3 /m/abartlet/aMASTER/b2752753/samba-o3/selftest/tests.py|" --testlist="/usr/bin/python3 /m/abartlet/aMASTER/b2752753/samba-o3/source3/selftest/tests.py|" --testlist="/usr/bin/python3 /m/abartlet/aMASTER/b2752753/samba-o3/source4/selftest/tests.py|"  --exclude=/m/abartlet/aMASTER/b2752753/samba-o3/selftest/slow --nss_wrapper_so_path=/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/nss_wrapper/libnss-wrapper.so --resolv_wrapper_so_path=/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/resolv_wrapper/libresolv-wrapper.so --uid_wrapper_so_path=/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/uid_wrapper/libuid-wrapper.so --socket_wrapper_so_path=/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/socket_wrapper/libsocket-wrapper.so --socket-wrapper --exclude=selftest/slow-none --include-env=none && touch ./bin/ab/st_done) | /usr/bin/python3 -u /m/abartlet/aMASTER/b2752753/samba-o3/selftest/filter-subunit --expected-failures=/m/abartlet/aMASTER/b2752753/samba-o3/selftest/knownfail --expected-failures=/m/abartlet/aMASTER/b2752753/samba-o3/selftest/knownfail.d --flapping=/m/abartlet/aMASTER/b2752753/samba-o3/selftest/flapping --flapping=/m/abartlet/aMASTER/b2752753/samba-o3/selftest/flapping.d --fail-immediately --expected-failures=/m/abartlet/aMASTER/b2752753/samba-o3/selftest/knownfail_heimdal_kdc | tee ./bin/ab/subunit | /usr/bin/python3 -u /m/abartlet/aMASTER/b2752753/samba-o3/selftest/format-subunit --prefix=./bin/ab --immediate
LD_PRELOAD=/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/nss_wrapper/libnss-wrapper.so:/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/resolv_wrapper/libresolv-wrapper.so:/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/socket_wrapper/libsocket-wrapper.so:/m/abartlet/aMASTER/b2752753/samba-o3/bin/default/third_party/uid_wrapper/libuid-wrapper.so

Just in the hope this helps someone else (or someone knows how to fix it).

Andrew Bartlett

-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba-technical mailing list