Last modified: 2013-06-28 15:40:10 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 T52325, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50325 - Doxygen not working for wmf branches
Doxygen not working for wmf branches
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal minor (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-27 21:50 UTC by spage
Modified: 2013-06-28 15:40 UTC (History)
3 users (show)

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


Attachments

Description spage 2013-06-27 21:50:22 UTC
I updated extensions in the 1.22wmf8 branch with https://gerrit.wikimedia.org/r/#/c/70910/ and https://gerrit.wikimedia.org/r/#/c/70911/ . Each merge triggered a Jenkins run that ran doxygen and failed with
  Error: Change target reference is not a tag or a recognized branch.

e.g. <https://integration.wikimedia.org/ci/job/mediawiki-core-doxygen-publish/1334/console> :

20:33:28 Started by user zuul-bot
20:33:28 Building on master in workspace /srv/ssd/jenkins/workspace/mediawiki-core-doxygen-publish
20:33:28 Checkout:mediawiki-core-doxygen-publish / /srv/ssd/jenkins/workspace/mediawiki-core-doxygen-publish - hudson.remoting.LocalChannel@2ed57967
20:33:28 Using strategy: Default
20:33:28 Last Built Revision: Revision 6ed00934eedae70c7e27a4ed067c0b34bf4d79fe (detached)
20:33:28 Fetching changes from 1 remote Git repository
20:33:28 Fetching upstream changes from origin
20:33:30 getCandidateRevisions(false,8d962c764fa32cc8df83d279f0356dc477ecde85,,,,remoteUrls=[/srv/ssd/zuul/git/mediawiki/core],buildsByBranchName={detached=Build #1333 of Revision 6ed00934eedae70c7e27a4ed067c0b34bf4d79fe (detached)},lastBuild=Build #1333 of Revision 6ed00934eedae70c7e27a4ed067c0b34bf4d79fe (detached)]) considering branches to build
20:33:30 Will build the detached SHA1 AnyObjectId[8d962c764fa32cc8df83d279f0356dc477ecde85]
20:33:30 Commencing build of Revision 8d962c764fa32cc8df83d279f0356dc477ecde85 (detached)
20:33:30 Checking out Revision 8d962c764fa32cc8df83d279f0356dc477ecde85 (detached)
20:33:30 Cleaning workspace
20:33:30 Resetting working tree
20:33:32 [mediawiki-core-doxygen-publish] $ /bin/bash -xe /tmp/hudson1775515615604598388.sh
20:33:32 + /var/lib/jenkins/tools/mwcore-docgen.sh
20:33:32 Error: Change target reference is not a tag or a recognized branch.
20:33:32 $ZUUL_REF: refs/zuul/wmf/1.22wmf8/Z1517a9a240c445249f08d51914912bd5
20:33:32 $GERRIT_BRANCH: wmf/1.22wmf8
20:33:32 Build step 'Execute shell' marked build as failure
20:33:32 Finished: FAILURE
Comment 1 Antoine "hashar" Musso (WMF) 2013-06-28 08:50:57 UTC
The tools/mwcore-docgen.sh script, from integration/jenkins.git, would only build documentation for master or REL* branches:

 "$GERRIT_BRANCH" =~ ^(master|REL[0-9]+_[0-9]+)$ ]];

We can apply the same filter in Zuul configuration on a per job basis such as what has been done for beta-mediawiki-config-update.
Comment 2 Antoine "hashar" Musso (WMF) 2013-06-28 08:57:41 UTC
https://gerrit.wikimedia.org/r/#/c/70990/
mw doc only triggered for master/release branches

I have deployed it, that should fix the issue.  We can close this bug after having verified the job is no more triggered, ie after someone merge a change in a wmf branch.
Comment 3 Antoine "hashar" Musso (WMF) 2013-06-28 15:40:10 UTC
https://gerrit.wikimedia.org/r/#/c/71012/ made in wmf/1.22wmf9 did not trigger the doc generation :-)

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


Navigation
Links