Last modified: 2014-07-31 13:36:04 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 T70340, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68340 - Jenkins: label slaves with their ubuntu version
Jenkins: label slaves with their ubuntu version
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks: 68256
  Show dependency treegraph
 
Reported: 2014-07-21 20:56 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-07-31 13:36 UTC (History)
4 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2014-07-21 20:56:36 UTC
To prevent jobs from roaming between different Ubuntu versions (i.e. Precise / Trusty) we need different labels applied and all Jenkins jobs to be updated.

We can use the label names:

ubuntu-precise
ubuntu-trusty


Then ensure all jobs are tied to ubuntu-precise then selectively switch them to ubuntu-trusty when they are ready.
Comment 1 Antoine "hashar" Musso (WMF) 2014-07-23 18:21:56 UTC
I have added the label UbuntuPrecise on:

 gallium
 lanthanum
 integration-slave1001.eqiad.wmflabs
 integration-slave1002.eqiad.wmflabs
 integration-slave1003.eqiad.wmflabs

Have yet to update Jenkins jobs though.
Comment 2 Antoine "hashar" Musso (WMF) 2014-07-31 11:20:55 UTC
https://integration.wikimedia.org/ci/label/UbuntuPrecise/

lanthanum 
gallium
integration-slave1001
integration-slave1002 
integration-slave1003

https://integration.wikimedia.org/ci/label/UbuntuTrusty/

integration-slave1004-trusty


Now lets update all Jenkins jobs...
Comment 3 Gerrit Notification Bot 2014-07-31 11:21:53 UTC
Change 150785 had a related patch set uploaded by Hashar:
Tie all jobs to UbuntuPrecise

https://gerrit.wikimedia.org/r/150785
Comment 4 Antoine "hashar" Musso (WMF) 2014-07-31 12:05:54 UTC
Deployed.

I did it manually though by using shell commands such as:

 sed -ibak -e 's%<assignedNode>hasSlaveScripts</assignedNode>%<assignedNode>hasSlaveScripts \&amp;\&amp; UbuntuPrecise</assignedNode>%' */config.xml
Comment 5 Gerrit Notification Bot 2014-07-31 12:12:32 UTC
Change 150785 merged by jenkins-bot:
Tie all jobs to UbuntuPrecise

https://gerrit.wikimedia.org/r/150785
Comment 6 Gerrit Notification Bot 2014-07-31 13:24:20 UTC
Change 150804 had a related patch set uploaded by Hashar:
Tie all jobs to UbuntuPrecise

https://gerrit.wikimedia.org/r/150804
Comment 7 Gerrit Notification Bot 2014-07-31 13:28:08 UTC
Change 150804 merged by jenkins-bot:
Tie all jobs to UbuntuPrecise

https://gerrit.wikimedia.org/r/150804
Comment 8 Gerrit Notification Bot 2014-07-31 13:31:02 UTC
Change 150807 had a related patch set uploaded by Hashar:
Tie language screenshot to UbuntuPrecise

https://gerrit.wikimedia.org/r/150807
Comment 9 Gerrit Notification Bot 2014-07-31 13:33:25 UTC
Change 150807 merged by jenkins-bot:
Tie language screenshot to UbuntuPrecise

https://gerrit.wikimedia.org/r/150807
Comment 10 Antoine "hashar" Musso (WMF) 2014-07-31 13:36:04 UTC
Should be fine now :)

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


Navigation
Links