Last modified: 2013-04-10 06:36:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45391, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43391 - Zuul should not run multiple pipelines in Jenkins for the same Gerrit event (last to finish overrides others)
Zuul should not run multiple pipelines in Jenkins for the same Gerrit event (...
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Krinkle
:
: 45730 46231 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-25 04:57 UTC by Tim Landscheidt
Modified: 2013-04-10 06:36 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Landscheidt 2012-12-25 04:57:32 UTC
In Gerrit change #40343, apparently the failures of the test suite were overruled by the successful lint checks.  Even though in this particular case the test suite seems to be faulty, Jenkins should not do that.

(NB: I'm just looking at the Gerrit UI here where it says "jenkins-bot: Verified: +1"; I don't know how it looks to the Gerrit ruleset when it comes to deciding whether the patchset can be merged.)
Comment 1 Antoine "hashar" Musso (WMF) 2013-03-05 16:33:54 UTC
*** Bug 45730 has been marked as a duplicate of this bug. ***
Comment 2 Krinkle 2013-03-05 16:53:13 UTC
This is likely a race condition.

I think we can solve this by ensuring we only execute one pipeline on an event, not two.

From Zuul's system it might make sense to allow multiple pipelines (e.g. if 'check' is not a subset of 'test'), however this currently doesn't make any sense as there is only 1 score field for Verified for jenkins-bot and the one arriving last will just override it.

So either Zuul needs to merge the pipelines into 1 on-the-fly, or we need to quit doing both 'check' and 'test'.
Comment 3 Antoine "hashar" Musso (WMF) 2013-03-16 21:02:51 UTC
*** Bug 46231 has been marked as a duplicate of this bug. ***
Comment 4 Gerrit Notification Bot 2013-04-09 05:37:45 UTC
Related URL: https://gerrit.wikimedia.org/r/58273 (Gerrit Change Ic9a3411406fafdb0de19ed20d7e717b20280fd7d)
Comment 5 Krinkle 2013-04-10 06:36:22 UTC
Not ideal, but good enough for now.

We could leave it open for a cleaner solution, however I think this is good enough given that having two pipelines (check and test) for the same event is misuse of Zuul to begin with.

This whole obnoxious set up is only because we don't have an isolated environment yet (bug 45499). Once we do, this whole thing can be gotten rid of.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links