Bug 6030

Summary: Make sure the prebuilt task search includes a match for PN and task name
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: alexandru.damian, belen.barros.pena, cristiana.voicu, richard.purdie
Version: unspecified   
Target Milestone: 1.6 M5   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2014-03-24 18:46:16 UTC
The task detail pages for Prebuilt tasks include an option to search for previous tasks with the same signature as the selected Prebuilt task. Currently, the search is returning not only tasks that match the task name and the recipe of the Prebuilt task, but also other tasks for other recipes (most of the times, _setscene tasks). 

We have looked into the problem, and the matches are not the result of a data collection glitch in Toaster: the signatures for those tasks really are the same.

In order to provide only results that are relevant to the selected Prebuilt tasks, the search should check not only that the signature matches, but also that PN and task name match.
Comment 1 Richard Purdie 2014-03-25 21:26:10 UTC
After further discussion an issue was found which is addressed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=0e58578ae5e9d8c1cde95ee09973568bb00abd0e

After this commit, the hashes of the setscene tasks should match the hashes of the task they cover.
Comment 2 Belen Barros Pena 2014-04-01 17:33:47 UTC
Verified in master:f688f6b566f455eb55d6e5491c80b88c493e158b