Bug 5820

Summary: Link warnings to their corresponding tasks (when applicable)
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Medium CC: alexandru.damian, andreea.b.proca, belen.barros.pena, cristiana.voicu, jessica.zhang
Version: unspecified   
Target Milestone: 1.6 M5   
Hardware: All   
OS: Multiple   
Whiteboard: GUI design available; needs data completion test
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 6039    
Attachments:
Description Flags
Linking orm_logmessage entries to tasks none

Description Belen Barros Pena 2014-02-13 12:10:50 UTC
A build can throw 2 types of warnings:

* Task warnings (associated to a task)
* Build warnings (not associated to a task)

Right now, we collect all warnings and show them all together in the build dashboard, but we don't link task warnings to the task to which they are associated. We should provide that link between warnings and tasks when applicable.
Comment 1 Alexandru Damian 2014-02-20 11:18:51 UTC
*** Bug 5847 has been marked as a duplicate of this bug. ***
Comment 2 Alexandru Damian 2014-02-20 11:19:48 UTC
field added.
Comment 3 Belen Barros Pena 2014-02-25 15:44:55 UTC
(In reply to comment #0)
> A build can throw 2 types of warnings:
> 
> * Task warnings (associated to a task)
> * Build warnings (not associated to a task)
> 
> Right now, we collect all warnings and show them all together in the build
> dashboard, but we don't link task warnings to the task to which they are
> associated. We should provide that link between warnings and tasks when
> applicable.

I meant errors and warnings when I wrote this. For some reason, my description only talks about warnings.
Comment 4 Belen Barros Pena 2014-02-26 14:47:20 UTC
Created attachment 1787 [details]
Linking orm_logmessage entries to tasks
Comment 5 Alexandru Damian 2014-03-11 12:58:24 UTC
Database schema change merged into origin/master.
Comment 6 Belen Barros Pena 2014-03-20 14:34:30 UTC
Ugh, I moved this to 1.7 by mistake, but the fact is that showing the stack trace in the failed task details page depends on us fixing this bug, so chancing it and moving back to 1.6
Comment 7 Alexandru Damian 2014-04-03 13:45:33 UTC
After investigation, I could not find a reliable link between generated warning messages and the task that generated them

After consulting from Belen and Paul, we decided to not implement this feature.