Last modified: 2012-10-19 15:53:08 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 T37706, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35706 - Retriggered builds in Jenkins shouldn't lose track of children builds
Retriggered builds in Jenkins shouldn't lose track of children builds
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-04 20:42 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-10-19 15:53 UTC (History)
3 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-04-04 20:42:23 UTC
When a build it retriggered such as https://integration.mediawiki.org/ci/job/MediaWiki-GIT-Fetching/383/ , Jenkins does not show the build number of children jobs:

    MediaWiki-Tests-Parser(none)
    MediaWiki-Tests-Dumps(none)
    MediaWiki-Tests-Databaseless(none)
    MediaWiki-Tests-Misc(none)
    MediaWiki-Tests-API(none)

That is confusing user.

The workaround is to look at the console which shows the links to the children builds:

20:28:55  Waiting for the completion of MediaWiki-Tests-Databaseless
20:29:00  MediaWiki-Tests-Databaseless #369 completed. Result was SUCCESS
20:29:00  Waiting for the completion of MediaWiki-Tests-Misc
20:29:05  MediaWiki-Tests-Misc #144 completed. Result was FAILURE
20:29:05  Waiting for the completion of MediaWiki-Tests-API
20:29:07  MediaWiki-Tests-API #149 completed. Result was SUCCESS
20:29:07  Waiting for the completion of MediaWiki-Tests-Parser
20:30:00  MediaWiki-Tests-Parser #363 completed. Result was SUCCESS
20:30:00  Waiting for the completion of MediaWiki-Tests-Dumps
20:30:01  MediaWiki-Tests-Dumps #87 completed. Result was SUCCESS


The root cause is the way I have setup the fingerprint to work. By using .git/FETCH_HEAD, retriggered builds looks exactly like the original one to Jenkins. It probably loose track and bail out because several builds could be the children's.

Example of fingerprints confusion:
https://integration.mediawiki.org/ci/fingerprint/b50b24ccbb2025d678854e33c0e120f3/

This file has been used in the following places:
MediaWiki-GIT-Fetching	Failed#381-Failed#383 
MediaWiki-Tests-API	Failed#147-Success#149 
MediaWiki-Tests-Databaseless	Success#367-Success#369 
MediaWiki-Tests-Dumps	Success#85-Success#87 
MediaWiki-Tests-Misc	Failed#142-Failed#144 
MediaWiki-Tests-Parser	Failed#361-Success#363 


So we need to do a better fingerprinting :-D
Comment 1 Antoine "hashar" Musso (WMF) 2012-04-04 20:44:04 UTC
Assigning to self. We need that fixed ASAP since that confuse people and make the system hard to use.
Comment 2 Antoine "hashar" Musso (WMF) 2012-04-04 20:45:10 UTC
jeblair suggests using  BUILD_TAG env variable too :)
Comment 3 Antoine "hashar" Musso (WMF) 2012-04-16 20:26:33 UTC
Jenkins somehow refuse to take finger print of .git/FETCH_HEAD which does not help either.  We need a better script to take fingerprint which will include the gerrit patch number and the date of submission.

So mostly known issue, need sometime to implement it.
Comment 4 Antoine "hashar" Musso (WMF) 2012-10-19 15:53:08 UTC
Once Zuul is deployed we will no more have to take fingerprints to track job dependencies. Zuul update the job description to list job dependencies.

Marking this as wontfix.

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


Navigation
Links