| Summary: |
SendErrorReport has codepath to a None command |
| Product: |
[Infrastructure] AutoBuilder
|
Reporter: |
Erik Antelman <eantelman> |
| Component: |
autobuilder | Assignee: |
Beth Flanagan <elizabeth.flanagan> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Undecided
|
CC: |
eantelman, elizabeth.flanagan, infras.ab.watcher, Infras.watcher
|
| Version: |
unspecified | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
Other | |
|
| OS: |
other | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
| Attachments: |
|
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)