Bug 4282

Summary: View detailed information about a task
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Ravi Chintakunta <ravi.chintakunta>
Status: VERIFIED FIXED QA Contact: Yuan Sun <Yuan.Sun2>
Severity: enhancement    
Priority: Medium+ CC: david.reyna, jessica.zhang, ravi.chintakunta, Yuan.Sun2
Version: unspecified   
Target Milestone: 1.6 M3   
Hardware: All   
OS: Multiple   
Whiteboard: GUI design available
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 5847    
Bug Blocks: 4669    
Attachments:
Description Flags
Design 1.3.1 Task details
none
Design 1.3.1 Task details
none
Design 1.3.1 Task details none

Description Belen Barros Pena 2013-04-12 14:46:47 UTC
The information provided about tasks will change depending of the task type (sstate or built) and the status of the task. 

For example, for a completed sstate task, we might show things like: 

* sstate checksum
* source URL(s)
* path searched to sstate object
* full path to log file

etc

For a completed built task, we might show:

* recipe name
* task name
* work directory
* full path to log file
* for shell tasks, full path to the generated shell script
* for Python tasks, the corresponding python code and the python stack trace
* warnings (if thrown)

etc.

A complete list of available information to be displayed for each task type and status is TBC.

For an idea of this feature, check:

http://www.yoctoproject.org/webhob/phase3_final_web_prototype/project-build-tasks-task-success.html

and

http://www.yoctoproject.org/webhob/phase3_final_web_prototype/project-build-tasks-task.html
Comment 1 Belen Barros Pena 2013-07-11 10:58:45 UTC
Move to M3 as part of milestone reallocation and after discussing with Alex
Comment 2 Belen Barros Pena 2013-12-31 12:13:17 UTC
Created attachment 1700 [details]
Design 1.3.1 Task details
Comment 3 Ravi Chintakunta 2014-01-07 16:29:08 UTC
Ravi Chintakunta is working on this.
Comment 4 Belen Barros Pena 2014-01-23 14:12:16 UTC
Created attachment 1744 [details]
Design 1.3.1 Task details

We have replaced the 'task script file' and the 'Task starts at line' information with a 'task executable output' information item, which for the local use case shows the full path to the file containing the task executable code (see bug 5255).
Comment 5 Belen Barros Pena 2014-02-12 19:18:01 UTC
We have agreed to not to store the results of the "Match to tasks in previous builds" search in the Prebuilt tasks pages. Too much to be worked out within the 1.6 release time.
Comment 6 Belen Barros Pena 2014-02-14 17:18:48 UTC
Created attachment 1774 [details]
Design 1.3.1 Task details

The team has concluded that Cached tasks should be grouped with the Not executed tasks, instead of the Executed tasks. Updating the design document accordingly.
Comment 7 Yuan Sun 2014-04-09 06:43:33 UTC
Verified in 3e528d3e4bc542ca2f654c54363c56af0fb9f61b.