Monday, 2025-03-10

*** ralonsoh_ is now known as ralonsoh07:04
opendevreviewsean mooney proposed openstack/openstack-zuul-jobs master: Migrate OpenStack tox doc jobs to Ubuntu Noble (24.04)  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/93545920:25
sean-k-mooneygmann: ^ https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/935459/2..3/zuul.d/jobs.yaml that shoudl fix it20:26
sean-k-mooneygmann: the tldr is libprce is listed as a "test" profile dep not as a doc or compile dep20:29
sean-k-mooneyas far as i can tell compile is not really used in openstack at all20:30
sean-k-mooneyits used in opendev, zuul and vexhost tenants20:30
sean-k-mooneybut openstack does not split out deps into a compile target for c python modules20:31
fungilooks like you also rebased when you updated that change20:31
sean-k-mooneymy guess is on 22.04 libpcre3-dev was installed as a result of something else20:31
fungii'm having trouble separating the rebase diff from the revision20:31
sean-k-mooneyhum i didnt pass -R to git-review20:32
sean-k-mooneyfungi: i just add test to the bindep profile20:32
fungiokay, the diff between patchset 2 and 3 also seems to include other edits like removal of playbooks/openafs-rpm-package-build/pre.yaml and switching dnf tasks to package tasks in roles/openafs-rpm-package-build/tasks/main.yaml, along with removal of some stable/2025.1 branch inclusions for py36 jobs in project-templates20:34
sean-k-mooneyfungi: i broght it in line with https://opendev.org/zuul/zuul-jobs/commit/3f27b0cd46cde913713fef03a5257705b82536d620:34
sean-k-mooneyfungi: for me at least those show up in a diffent colour .i.e. not form the currnt commit20:35
fungiyeah, gertty probably lacks the ability to render that nuance from rebases20:35
sean-k-mooneyso normlaly if im being extra carful ill pass -R to prevent git-review from doing an automatic rebase20:36
sean-k-mooneyi tought it normally prints when it does rebase?20:37
sean-k-mooneyoh i bet it was this20:37
sean-k-mooneyYour change was committed before the commit hook was installed.20:37
sean-k-mooneyAmending the commit to add a gerrit change id.20:37
sean-k-mooneyfungi: it propted me to set up the gerrit remote ectra since this was a clean clone of the repo20:38
fungiit's possible that resulted in a rebase, though i'd consider that a git-review bug if so20:38
fungianyway, the updated change lgtm, thanks@20:39
fungis/@/!/20:39
sean-k-mooneywe need to recheck the nova patch to see if it fixes the probelm20:41
fungiyes, of course, that's why i didn't approve it ;)20:41
sean-k-mooneyi just kicked it off again20:41
sean-k-mooneyso we can see if https://review.opendev.org/c/openstack/nova/+/935577 is happy now20:42
sean-k-mooneyanyway im going to finsih for tonight20:43
sean-k-mooneygmann: hopefully that passes and we can unblock that, ill take a look agian in the morning at the results20:43
sean-k-mooneyok it started runnign already and its not including 2025-03-10 20:46:14.090021 | ubuntu-noble | libpcre3-dev20:46
sean-k-mooneyso we should be good20:47
sean-k-mooneyi think that means we dont actully need the nova patch at all20:47
fungigreat news, thanks!20:48
clarkbis this taht random regex library that openstack wrote depending on libpcre?20:49
clarkbI seem to recall its used for like a single feature and we've had to fix this no wheel for python3.12 problem in a bunch of places20:50
clarkbI can't remember what specifically it was used for but there was discussion of maybe rewriting things to drop the dep which is probably a good idea20:50
fungii just tried to revisit, but the last failing test result in the nova depends-on change was from november so no logs remaining20:59
fungino, i take that back, there was a newer run: https://zuul.opendev.org/t/openstack/build/0cd10f89ad134074b438270e770c5bc521:07
fungiit's related to https://pypi.org/project/python-pcre/ which was last updated 10 years ago21:08
funginot anything openstack maintains21:08
clarkbmaybe it was a library on top of that that openstack maintains21:08
clarkbfungi: https://opendev.org/openstack/whereto21:09
clarkbthat is the only dependency in openstack21:09
clarkbso ya I think we can remove the dep entirely if we just replace the checker tool or use a different regex system etc21:10
fungioh wow, yes that tool has a very limited use21:10
clarkbfungi: sean-k-mooney https://pypi.org/project/pcre2/ this exists and it sounds like pcre2 regexes are just extensions to pcre. Maybe not perfect for the use case but if its a simple dep replacement could still be worthwile21:30
clarkbhttps://github.com/PCRE2Project/pcre2/issues/51#issuecomment-1080027348 seems the C level apis are different and there are some additional regex features but using a subset that is pcre should mostly work21:37
clarkbI guess the risk here is that apache2 rules are pcre not pcre2 so we could test with pcre2 and say it looks good then fail when we deploy21:37

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!