Bug 8572

Summary: Json import error: Openembedded branches include local branch
Product: [Build System, Metadata & Runtime] Toaster Reporter: Mihail Stanciu <stanciux.mihail>
Component: toasterAssignee: Mihail Stanciu <stanciux.mihail>
Status: VERIFIED OBSOLETE QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: belen.barros.pena, jessica.zhang, stanciux.mihail
Version: 2.0   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mihail Stanciu 2015-10-26 11:53:36 UTC
Tested on master: 505a82673ac2487df5ea343a6422c2fc47018831
OS: Ubuntu 15.04

Steps:
1. Create new toaster installation
2. Start toaster
3. Let the initial setup finish.
4. Check sqlite DB with command: "select * from orm_branch where layer_source_id=2;"

Expected:
Command should return 3 selections, for master, jethro and fido.

Observed:
There are 4 selections, master, jethro, fido and HEAD.

Checking the JSON file, there are only 3 entries in the branches section of OpenEmbedded layersources entry.
Comment 1 Belen Barros Pena 2015-10-26 16:37:51 UTC
I am not sure this is a bug. HEAD is the 'Yocto Project local release', which we've always had.
Comment 2 Stephen K Jolley 2015-10-28 15:21:44 UTC
Need to update your testing
Comment 3 Mihail Stanciu 2015-10-28 15:50:29 UTC
Notes for later:

This was a design change.

Must update test to take into account new design(add HEAD to selection for layer_source_id=2).
Comment 4 Mihail Stanciu 2016-03-10 11:52:55 UTC
These tests have been dropped as of 2.1 M3. They are no longer valid.
Comment 5 Mihail Stanciu 2016-03-10 11:53:20 UTC
Verified.