Bug 9978

Summary: Toaster is showing incorrect task dependency information
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Libertad <libertad.gonzalez.de.la.cruz>
Status: RESOLVED WORKSFORME QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: normal    
Priority: Medium+ CC: belen.barros.pena, brian.avery, jessica.zhang, stanciux.mihail
Version: 2.2   
Target Milestone: 2.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Screenshot - Wrong task dependency information none

Description Belen Barros Pena 2016-07-19 15:09:15 UTC
Created attachment 3294 [details]
Screenshot - Wrong task dependency information

Toaster says that tasks depend on themselves, which should probably never be the case. 

Steps to reproduce:

1. Create a Toaster project
2. Build something (e.g. core-image-minimal)
3. When the build is done, go the tasks table
4. If you built core-image-minimal in step 2, search for "do_rootfs" (you can see the problem quite well on that task)
5. The search will return just one task: click the task name

Outcome: the dependencies and reverse dependencies information for this tasks say that "core-image-minimal_1.0-r0 do_rootfs" depends "on core-image-minimal_1.0-r0 do_rootfs". 

Screenshot attached.
Comment 1 Belen Barros Pena 2016-07-27 16:14:23 UTC
FWIW, I was no longer able to reproduce this on toaster-next:1826de5234aadb9aa51c83f86471cdd7e88b48cf
Comment 2 Stephen K Jolley 2016-09-21 15:23:26 UTC
Please verify and close as works for me.
Comment 3 Libertad 2016-09-21 16:56:49 UTC
I am also not able to reproduce this on commit 2679a347c576f5411fbe802d2f6201c94036ecb2