Monday, 2024-12-09

*** mhen_ is now known as mhen03:04
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Implement ConsulOperator as a service broker to support HTTP Driver  https://review.opendev.org/c/openstack/oslo.messaging/+/91249906:11
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Add HTTP driver to oslo.messaging.drivers  https://review.opendev.org/c/openstack/oslo.messaging/+/91484006:11
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Implement HTTPListener and HTTPClient and add OpenAPI specs  https://review.opendev.org/c/openstack/oslo.messaging/+/91505606:11
zigoIs there any fix for this one ? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=108905007:27
zigohberaud[m]: ^07:28
zigoEventlet related?!?07:28
NickKushhi o/ would like to get early feedback about this https://review.opendev.org/c/openstack/oslo.messaging/+/93684707:48
NickKushalso got Zuul errors that are likely unrelated to the patch. need help with it07:48
hberaud[m]zigo: Apparently at first glance they do not seems related to eventlet08:25
zigohberaud[m]: Looks like it's an issue with threading, right?08:32
zigoIn fact, there's 42 unit test failures in this package.08:32
zigoI tried rebuilding with eventlet 0.38.0, that doesn't fix the problem.08:32
hberaud[m]yeah I see08:32
hberaud[m]Without digging too much neither, I didn't see sign of Eventlet problem08:33
*** ralonsoh_ is now known as ralonsoh09:21
zigohberaud[m]: Any idea what's happening then?09:21
hberaud[m]nope09:25
zigo:/09:31
fricklerwell iiuc eventlet 0.38.0 is required if you want to run on py3.13. and otoh 0.38.0 is failing in the reqs cross jobs, in particular the tempest jobs is failing with something that looks related to oslo.messaging.09:37
opendevreviewDr. Jens Harbott proposed openstack/oslo.messaging master: DNM: testing eventlet bump  https://review.opendev.org/c/openstack/oslo.messaging/+/93733709:39
fricklermaybe ^^ gives some more indication09:39
frickleroh, that's not even using 0.38.0, only bumping from 0.36.1 to 0.37.0, but anyway09:43
fricklerhmm, at least no fast failure in the tox job, as I had kind of hoped for09:48
fricklerzigo: at least I can reproduce getting 10 unit test failures with eventlet 0.38.0 and py3.13 and the errors look similar to your bug report. with 0.36.1 things break down already at the test discovery stage10:17
zigofrickler: My version of eventlet has python 3.13 patches cherry-picked from upstream, so it should work.10:55
zigo(even if it's a 0.36.1)10:56
fricklerok, so that then would seem to undermine the assumption that it is not related to eventlet11:00
opendevreviewHervĂ© Beraud proposed openstack/oslo.messaging master: Deprecate the Eventlet executor  https://review.opendev.org/c/openstack/oslo.messaging/+/93339914:13
hberaud[m]zigo: so if you think that it is related to eventlet please fulfill a new github issue on the eventlet side, once done I'll attach it to the python 3.13 tracker.14:21
hberaud[m]I wonder if we want to also track it on the oslo.messaging side14:22
hberaud[m]According to your observations, I'd argue that that's more an eventlet thing14:23
hberaud[m]The problem you observe could be an occurence of https://github.com/eventlet/eventlet/issues/99814:32
hberaud[m]your errors seems to be around threads and listeners status14:33
zigoIndeed.14:33
zigoWhat you just pointed at looks like my exact issue.14:34
zigoCould that be that oslo.messaging isn't doing monkey patching when running its tests?14:36
hberaud[m]no idea14:36
zigoFun...14:36
* zigo .oO(Looking forward we get rid of eventlet...)14:36
hberaud[m]I personally think that it is more an incomplet support of python 3.13 on the eventlet side14:37
hberaud[m]I think eventlet needs more adjustments to support python 3.13, so pieces are surely missing14:37
hberaud[m]because the eventlet issue initially reported was not related to oslo.messaging 14:38
hberaud[m]and the major update for python 3.13 was around threading https://github.com/eventlet/eventlet/pull/988/files14:39
hberaud[m]you already know the story14:39
zigoYeah, I got that patch in my package! :)15:00
zigoThat's the one I was referring to, but couldn't find it again in github.15:02
* zigo fixes the Debian patch header15:02
opendevreviewDr. Jens Harbott proposed openstack/oslo.messaging master: DNM: testing eventlet bump  https://review.opendev.org/c/openstack/oslo.messaging/+/93733715:08
opendevreviewDr. Jens Harbott proposed openstack/oslo.messaging master: DNM: test condition locking  https://review.opendev.org/c/openstack/oslo.messaging/+/93737415:08
hberaud[m]zigo: we should notice that the amqp1 driver has been removed so, normally we can ignore the errors related to this driver https://opendev.org/openstack/oslo.messaging/commit/7997a199acada382b0c61dc84aa956e4c65de98617:04
hberaud[m]in parallel, this driver's tests previously used daemonized threads, like the PoC given in the github issue, so I wonder if daemon threads do not need additional refactors17:05
fricklerhberaud[m]: zigo: fyi https://review.opendev.org/c/openstack/oslo.messaging/+/937337 seems to look much better than before in terms of running oslo.messaging with eventlet 0.38.0. the remaining failure seems related to swift, maybe timburke can take a look there17:58
fricklerI must admit I have no idea whether my fix is actually correct, I just came up with it based on what the threading docs say. I have found no indication as to why this hasn't been broken forever, though17:59
frickleractually my patch is nonsense, I totally missed the "with self._cond" wrapper18:15
fricklerafter reading more docs, I think my patch should essentially be a no-op, but since it isn't, there's bound to be a bug somewhere?18:39
timburkeoh, that's fun: https://github.com/eventlet/eventlet/commit/ed743d75ec67d20610ab51e19c272baab1efafec23:05
timburkeidk why CONTENT_LENGTH vs Content-Length should be such a worry when there are so many other fun ways to break header parsing: https://github.com/python/cpython/issues/8127423:21
timburkehttps://review.opendev.org/c/openstack/tempest/+/93741623:33

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