Bug 8185

Summary: Mismatch in the number of recipes not updated
Product: [Yocto Project Subprojects] Recipe Reporting System (RRS) Reporter: Belen Barros Pena <belen.barros.pena>
Component: Recipe Reporting System (RRS)Assignee: Mariano Lopez <mariano.lopez>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium+ CC: bogdanx.a.voiculescu, sgw
Version: unspecified   
Target Milestone: 1.9 M3   
Hardware: x86   
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 2015-08-20 09:06:00 UTC
In the RRS, the number of not updated recipes reported in the summary at the top of the page does not match the number of table entries when you select "Not updated" in the "Upstream status" filter. 

For example, for 1.9M1, the summary reports 105 recipes not updated, but the badge at the top of the table when you select the 'not updated' filters says 104. 

For 1.9M2 the numbers are 110 and 108. For 1.9M3 they are 91 and 89. 

The rest of the numbers match.
Comment 1 Mariano Lopez 2015-08-24 21:28:10 UTC
The problem is in the recipe gcc-source, there are currently 3 copies of this recipe on Upstream History but in Recipe Upgrade just one.

It seems this is because the PN for the recipe in Upstream History includes the PV. This is done in the gcc.inc file:

PN = "gcc-source-${PV}"

I will create a custom filter for this particular case
Comment 2 Mariano Lopez 2015-08-28 15:45:58 UTC
Checking with a local instance, it is possible to have mismatch not only in not updated but in all other fields because of having duplicates recipes for gcc-source.
Comment 3 Mariano Lopez 2015-08-28 17:19:18 UTC
Sent patch to the mailing list:

https://lists.yoctoproject.org/pipermail/yocto/2015-August/026330.html
Comment 5 Bogdan Alexandru Voiculescu 2015-09-02 12:44:08 UTC
verified on several versions and milestones on http://recipes.yoctoproject.org/