Bug 9941

Summary: patchwork: ensure series are created for all submitters
Product: [Yocto Project Subprojects] Patchwork/Patchtest Reporter: Jose Lamego <jose.a.lamego>
Component: PatchworkAssignee: Jose Lamego <jose.a.lamego>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: benjamin.esquivel, bluelightning, jku, leonardo.sandoval.gonzalez, sgw
Version: unspecified   
Target Milestone: 2.3 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 9904    
Bug Blocks:    

Description Jose Lamego 2016-07-14 15:00:17 UTC
Patchwork Series are not being created at least for one specific user (Jussi Kukkonen), even when his patches are being received and tracked in patch view:

https://patchwork.openembedded.org/patch/127015/

Find a root cause and verify that there are no other affected users.
Comment 1 Jose Lamego 2016-08-17 16:12:20 UTC
Patchwork series were actually inappropriately created for the mentioned user, causing the series to be unavailable at Series view. First series is [1] and a second occurrence is [2].

This behavior is caused due to the unavailable capability of creating new series from patches sent using pull-request utility. This is a bug tracked in [3].

After a fix for mentioned bug is in place, further testing will be needed to ensure there are no other possible root causes for failed series creation.


[1] https://patchwork.openembedded.org/series/365/
[2] https://patchwork.openembedded.org/series/461/
[3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=9904
Comment 2 Jose Lamego 2016-08-31 14:52:41 UTC
Fix has been successfully tested, waiting for upstream merge. I'm closing this bug now and will open a new bug to implement the fix in production either by updating Patchwork code from repository or pointing to the new staging instance.
Comment 3 Jussi Kukkonen 2016-10-29 13:20:44 UTC
patchwork-staging.openembedded.org is finally up. Series are still not created for me. Reopening.
Comment 4 Jose Lamego 2016-10-31 15:38:02 UTC
(In reply to comment #3)
> patchwork-staging.openembedded.org is finally up. Series are still not
> created for me. Reopening.

This behavior is only seen at the production OE instances, while two different staging instances running same Patchwork version are appropriately creating the series. This points to a server configuration cause. I'm looking for that.
Comment 5 Jose Lamego 2016-11-23 21:12:29 UTC
A fix was developed to ensure the email-chain references list is appropriately created, which was causing a corrupted revision numbering when creating the series, that ended up in an incomplete state. 

This fix will be pushed to production after peer-review.
Comment 6 Jose Lamego 2016-11-25 15:29:36 UTC
Fix can be view in https://lists.yoctoproject.org/pipermail/yocto/2016-November/033200.html
Comment 7 Jose Lamego 2016-11-28 20:04:48 UTC
Fix is implemented in OE's patchwork.