Last modified: 2012-10-11 17:28:25 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 T42915, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40915 - Current master fails jenkins test
Current master fails jenkins test
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-10 07:42 UTC by Liangent
Modified: 2012-10-11 17:28 UTC (History)
3 users (show)

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


Attachments

Description Liangent 2012-10-10 07:42:36 UTC
See Gerrit change #27389
Comment 1 Liangent 2012-10-10 08:10:55 UTC
TODO for Gerrit/Jenkins admin: rebase all patchsets submitted meanwhile.
Comment 2 Antoine "hashar" Musso (WMF) 2012-10-10 10:09:37 UTC
Fixed with Gerrit change #27395 which makes the test assert that <title /> contains {{SITENAME}}, aka that it is not expanded.
Comment 3 Krinkle 2012-10-10 16:37:17 UTC
(In reply to comment #1)
> TODO for Gerrit/Jenkins admin: rebase all patchsets submitted meanwhile.

Jenkins always executes tests based on the latest master and merging the gerrit change on top of that (it doesn't test gerrit changes with the state/HEAD as they were submitted). Which is by design, so that should be fine.
Comment 4 Krinkle 2012-10-10 16:37:50 UTC
Oh, by the way, how come that change was merged in the first place, why isn't there a jenkins bot failure there?
Comment 5 Antoine "hashar" Musso (WMF) 2012-10-10 20:06:50 UTC
The change was back from April. That is the only time the test suite has been run. I did not really investigate the root cause, I just fixed the test and merged it.

It is on my todo list to run tests before merging so we actually are gating master ;-]
Comment 6 Krinkle 2012-10-10 20:09:10 UTC
(In reply to comment #5)
> The change was back from April. That is the only time the test suite has been
> run. I did not really investigate the root cause, I just fixed the test and
> merged it.
> 
> It is on my todo list to run tests before merging so we actually are gating
> master ;-]

You're referring to Ief0bdd10ad882e, right ?

It was rebased in October, and merged with a forced Verified:+2.
Comment 7 Antoine "hashar" Musso (WMF) 2012-10-11 07:18:05 UTC
> It was rebased in October, and merged with a forced Verified:+2.

Indeed, patchset 5 (a rebase) is the broken change. Should have waited for tests to finish before merging in :-]
Comment 8 Liangent 2012-10-11 07:48:32 UTC
(In reply to comment #7)
> > It was rebased in October, and merged with a forced Verified:+2.
> 
> Indeed, patchset 5 (a rebase) is the broken change. Should have waited for
> tests to finish before merging in :-]

What if a merge was done without a rebase?
Comment 9 Krinkle 2012-10-11 17:28:25 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > > It was rebased in October, and merged with a forced Verified:+2.
> > 
> > Indeed, patchset 5 (a rebase) is the broken change. Should have waited for
> > tests to finish before merging in :-]
> 
> What if a merge was done without a rebase?

Yes, in that case if might have gone wrong regardless (assuming no merge conflict). Which is exactly why we intended from the beginning[1] to run tests on-mergesubmit as opposed to on-push.

This is the next step in the continuous integration plan, Hashar is already doing the ground work to make this happen.

[1] https://www.mediawiki.org/wiki/Continuous_integration/Workflow_specification

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


Navigation
Links