Page MenuHomePhabricator

Upload zuul_2.5.1-wmf11 to apt.wikimedia.org
Closed, ResolvedPublic

Description

I have slightly reworked the Zuul code to prepare for a migration out of Jessie. Also rererefixed a hotfix we have for T203846: Zuul cancels all changes when a change is manually merged.

The new package is for jessie-wikimedia/main and I have uploaded it at https://people.wikimedia.org/~hashar/debs/zuul_2.5.1-wmf11/

Note: documentation has to how the package is build is at https://www.mediawiki.org/wiki/Continuous_integration/Zuul#new_package . It relies on dh-virtualenv which would fetch missing python modules from Pypi. Has such:

  • .pbuilderrc has to contain USENETWORK=1
  • The build is not reproducible at all

contint1001 and contint2001 have already been upgraded.

Event Timeline

hashar triaged this task as Medium priority.
hashar created this task.

@hashar Just to be sure I understand the ticket (I am trying to process SRE requests), you just need someone with write access to WMF apt repo to compile it and upload it, and everything on your side is already done, right? (If that is correct, assign it to me and I will do it ASAP).

@jcrespo yes I lack write access :]

We do not rebuild it: the package requires network access to fetch python dependencies from https://pypi.org/ and a rebuild might introduced unwanted changes in the dependencies. So I build it locally then extract the result and compare it against an extract of the previous version. It is a bit painful but ensure no unwanted change land it.

So essentially copy from https://people.wikimedia.org/~hashar/debs/zuul_2.5.1-wmf11/

The whole process is entirely legacy and a pain for everyone (SRE, releng, me). We will migrate it to use scap and wheels instead via T215458 :]

@hashar Sorry for the delay, I wasn't aware of the procedure and issues you described in your comment. This should be uploaded now:

root <root@install1002.wikimedia.org>
	
11:40 AM (1 minute ago)

reprepro changes:
replace jessie-wikimedia deb main amd64 zuul 2.5.1-wmf11 2.5.1-wmf10 -- pool/main/z/zuul/zuul_2.5.1-wmf11_amd64.deb -- pool/main/z/zuul/zuul_2.5.1-wmf10_amd64.deb
	
to root
reprepro changes:
replace jessie-wikimedia dsc main source zuul 2.5.1-wmf11 2.5.1-wmf10 -- pool/main/z/zuul/zuul_2.5.1-wmf11.dsc pool/main/z/zuul/zuul_2.5.1.orig.tar.gz pool/main/z/zuul/zuul_2.5.1-wmf11.debian.tar.xz -- pool/main/z/zuul/zuul_2.5.1-wmf10.dsc pool/main/z/zuul/zuul_2.5.1.orig.tar.gz pool/main/z/zuul/zuul_2.5.1-wmf10.debian.tar.xz

Please apt update and confirm things are working as intended, resolve if happy :-)

@hashar Sorry for the delay, I wasn't aware of the procedure and issues you described in your comment.

Yes it is a pain and hit us anytime we need to apply a fix / upgrade it :-\ But migrating to scap will fix it!

contint1001:~$ apt-cache policy zuul
zuul:
  Installed: 2.5.1-wmf11
  Candidate: 2.5.1-wmf11
  Version table:
 *** 2.5.1-wmf11 0
       1001 http://apt.wikimedia.org/wikimedia/ jessie-wikimedia/main amd64 Packages
        100 /var/lib/dpkg/status

Same on contint2001. So that is a success.

Thank you to have endured the pain of that crazy package ;]