Double merge and failed runs with a CPI MP

Bug #1663246 reported by Matias Bordese
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ols-jenkaas
Fix Released
High
Unassigned

Bug Description

This seems to be the run where it got first merged (before the last commit got in):
https://jenkins.ols.canonical.com/online-services/job/click-package-index/47/console

I'm sure I didn't top-approve the MP, but maybe someone else? So I never noticed this was merged until I pushed my last changes (suggestions from the review) and then top-approved.

Successive runs (including the changes from the last commit) were failing until Daniel moved it back to Needs Review, voted and re-top-approved. Then the MP got merged, again:

https://jenkins.ols.canonical.com/online-services/job/click-package-index/77/console

[1] https://code.launchpad.net/~matiasb/click-package-index/check-for-device-refresh/+merge/316618

Vincent Ladeuil (vila)
Changed in ols-jenkaas:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Vincent Ladeuil (vila) wrote :

https://jenkins.ols.canonical.com/online-services/job/click-package-index/47/console mentions:

16:29:26 E: Merging https://code.launchpad.net/~matiasb/click-package-index/check-for-device-refresh at revision <email address hidden>

https://jenkins.ols.canonical.com/online-services/job/click-package-index/77/console

18:19:35 E: Merging https://code.launchpad.net/~matiasb/click-package-index/check-for-device-refresh at revision <email address hidden>

Setting the status to Approve on a launchpad merge proposal sets the reviewed_revid proposal attribute.

The value is pre-loaded in the page with that last revision presented there.

So the scenario is: load the MP page at revision N, push N+1, top approve (approving and triggering landing N).

Revision history for this message
Vincent Ladeuil (vila) wrote :

Unless I'm mistaken, this has been caused by top-approving without refreshing the page.

Feel free to re-open if this recurs.

Changed in ols-jenkaas:
status: Confirmed → Fix Released
Revision history for this message
Vincent Ladeuil (vila) wrote :

Fixed again differently.

ols jenkaas will now check that there is something to merge or reject the proposal.

See https://code.launchpad.net/~fgallina/software-center-agent/reduce-uses-of-enable_snap_developer-switch/+merge/319243 for an example.

This should only happen if launchpad is too slow to mark the MP as merged (or if jenkaas is too fast to pick it up).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.