Page MenuHomePhabricator

train-deploy-notes failed with "1.41.0-wmf.3 does not match the latest wmf branch"
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/train-deploy-notes/4347/console failed with

+ mapfile -t VERSIONS
++ git ls-remote -h https://gerrit.wikimedia.org/r/mediawiki/core
++ awk '/wmf\// {gsub("refs/heads/wmf/", ""); print $2}'
++ sort --version-sort --reverse
wmf/1.41.0-wmf.3 does not match the latest wmf branch (branch_cut_pretest)
taking no action...
+ [[ branch_cut_pretest != \1\.\4\1\.\0\-\w\m\f\.\3 ]]
+ echo 'wmf/1.41.0-wmf.3 does not match the latest wmf branch (branch_cut_pretest)'
+ echo 'taking no action...'
+ exit 1
Build step 'Execute shell' marked build as failure

resulting in MediaWiki 1.41/wmf.3/Changelog not being created. This was raised on the English Wikipedia.

I've manually created the changelog by running make-deploy-notes:

python3 make-deploy-notes/makedeploynotes.py 1.41.0-wmf.2 1.41.0-wmf.3

In addition to the above "bug", would someone mind double-checking my use of make-deploy-notes and/or the changelog?

Event Timeline

Indeed, we had an extra branch created which I had to delete to resume the scap stage-train command:

 2023-04-04
08:28 	<hashar> 	Deleting mediawiki/core branch `wmf/branch_cut_pretest` pointing at `430d25d1a1858edfa4a6199dfe1f0eb3743a219a` # T330209 	[production]

See T330209#8753449 specially and the fix for scap is https://gitlab.wikimedia.org/repos/releng/scap/-/merge_requests/115

Also failed for wmf.4. Is the wmf/branch_cut_pretest branch intended to be a permanent feature or is it temporary for some testing?

FYI, did python3 make-deploy-notes/makedeploynotes.py 1.41.0-wmf.3 1.41.0-wmf.4 and manually created MediaWiki 1.41/wmf.4/Changelog — would be nice to get this fixed though :-)

Change 908248 had a related patch set uploaded (by Jaime Nuche; author: Jaime Nuche):

[integration/config@master] release-notes: filter out branches that do not look like MW releases

https://gerrit.wikimedia.org/r/908248

Change 908248 merged by jenkins-bot:

[integration/config@master] release-notes: filter out branches that do not look like MW releases

https://gerrit.wikimedia.org/r/908248

jnuche claimed this task.
jnuche subscribed.

train-deploy-notes is healthy again: https://integration.wikimedia.org/ci/job/train-deploy-notes/4349/

Closing for now, but will keep an eye on the job next week just in case.