Bug 6736

Summary: Link errors to the Autobuilder
Product: [Yocto Project Subprojects] Error Reporting tool Reporter: Belen Barros Pena <belen.barros.pena>
Component: Error Reporting ToolAssignee: Michael Wood <michael.g.wood>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: bluelightning, elizabeth.flanagan, jessica.zhang, ross.burton
Version: unspecified   
Target Milestone: 1.8   
Hardware: All   
OS: Multiple   
Whiteboard: GUI design available
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Attachments:
Description Flags
Linking to the Autobuilder none

Description Belen Barros Pena 2014-09-18 10:02:58 UTC
Provide a link to the autobuilder in those errors submitted by it.

The link should go to the step that failed. For example:

https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/35/steps/Running%20Sanity%20Tests 

We first need to update the send-error-report script in order to have it be able to send the link required. Once that goes into place, we need to update the autobuilder to be able to send it on a step by step basis.
Comment 1 Belen Barros Pena 2014-09-18 10:06:19 UTC
Created attachment 2127 [details]
Linking to the Autobuilder
Comment 2 Beth Flanagan 2014-09-18 18:05:41 UTC
Once you have the update to the script I'll need to modify the autobuilder code to:

- After each build, copy the error log into a safe location for debugging.
- Try to run send-error-report with the link of the steps[-1].
- Clear the build error log directory (keeping the copy safe)
- Run the next build in the buildstep

Because unless there is a way to identify a failure to a link (I haven't thought of a great way to do this), this is the best way around this.

-b
Comment 3 Ross Burton 2015-02-12 11:34:33 UTC
*** Bug 7144 has been marked as a duplicate of this bug. ***
Comment 4 Michael Wood 2015-03-27 14:42:33 UTC
14f1e5a4eb5326fced9893cefa17cac59c1a112c 
error-details: Display link back field if it exists

e9c57c0bdc6c75ee2776f704ddcbd70121fc960a
migrations: Add new field for link back