Page MenuHomePhabricator

Upgrade zuul gearman when upstream releases it
Closed, ResolvedPublic

Description

Once upstream has released a new version, we will be able to adjust our integration/zuul requirements.txt to drop the git+https://gerrit.wikimedia.org/r/integration/gear.git@0.15.1+wmf1#egg=gear. Then rebuild the deploy repo and upgrade gear ;)

This is a followup to T258630: Improve scheduling of CI jobs invoked by zuul

Event Timeline

hashar changed the task status from Stalled to Open.Oct 18 2021, 9:20 PM

gear 0.16.0 has been released!

On 18/10/2021 17:55, Clark Boylan wrote:

I am happy to announce version 0.16.0 of Gear has been released.

Notable Changes

  • The testsuite has been updated to support newer OpenSSL fixing issues like https://storyboard.openstack.org/#!/story/2009250.
  • TLS version negotiation is improved to prefer the newest version of TLS supported by both client and server excluding TLS 1.3.
  • Connections to gearman servers are now randomly distributed which should more evenly distribute load.
  • Timeout processing is improved to avoid a situation where a connection timeout could deadlock the client.

As always, the latest version of gear is available from PyPI:

https://pypi.org/project/gear

Read the latest documentation:

https://docs.opendev.org/opendev/gear/latest/

And source code can be obtained through the OpenDev Collaboratory:

https://opendev.org/opendev/gear

Please don't hesitate to follow up through the service-discuss at lists.opendev.org mailing list or in the #opendev channel on the OFTC IRC network if you have any questions.

Clark

It is not like I have any plan to rebuild integration/zuul any time, but it is used as a requirement in integration/config:

tox.ini
[testenv:zuul_tests]
...
deps =
  ...
  git+https://gerrit.wikimedia.org/r/integration/zuul.git#egg=zuul

In integration/zuul we should replace the integration/gear.git#egg=gear with gear>=0.0.16 and I believe we will be set.

Change 731900 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/zuul@patch-queue/debian/jessie-wikimedia] Revert \"WMF: use gear from our forked version\"

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

Mentioned in SAL (#wikimedia-releng) [2021-10-19T11:32:35Z] <hashar> Archiving integration/gear.git , no more used after Python gear 0.16.0 has been released # T289512

hashar assigned this task to dancy.

From integration/config:

tox -r -e zuul_tests
./.tox/zuul_tests/bin/pip freeze|grep gear
gear==0.16.0

Thank you @dancy that was a great patch ;)

Change 731900 merged by Hashar:

[integration/zuul@patch-queue/debian/jessie-wikimedia] Use upstream gear instead of our fork

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