If ERROR_REPORT_COLLECT is not defined, it will abort the build by finding a none command. In master/HEAD at dc75c7eefba00dac I think what you want is.... diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/SendErrorReport.py b/lib/python2.7/site-packages/autobuilder/buildsteps/SendErrorReport.py index 159c33a..5441f31 100644 --- a/lib/python2.7/site-packages/autobuilder/buildsteps/SendErrorReport.py +++ b/lib/python2.7/site-packages/autobuilder/buildsteps/SendErrorReport.py @@ -50,6 +50,8 @@ class SendErrorReport(ShellCommand): self.errorreportserver = "" self.command = "if [ ! -f ~/.oe-send-error ]; then host=`hostname`; echo \"yocto-autobuilder-autogenerated-$host\" > ~/.oe-send-error; fi ; " self.command += ". ./oe-init-build-env; if [ -d " + self.errordir +"/$x" + " ]; then for x in `ls " + self.errordir +" | grep error_report_`; do send-error-report " + sel + else: + self.command = "echo environment var ERROR_REPORT_COLLECT not set - Step is noop" self.description = ["Sending error reports"] ShellCommand.start(self)
Yes, this is the exact fix. Can you send me a signed-off-by patch so I can apply your work? Thanks!
Created attachment 2123 [details] Signed-off-by formated patch
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=2bce1599a49725e154c0b092b7f41731827b9283 Thank you for your commit. Pulled into master and production.