Monday, 2022-08-15

opendevreviewKe Niu proposed openstack/nova master: remove unicode prefix from code  https://review.opendev.org/c/openstack/nova/+/85311204:11
opendevreviewKe Niu proposed openstack/nova master: remove unicode prefix from code  https://review.opendev.org/c/openstack/nova/+/85311204:12
opendevreviewKe Niu proposed openstack/nova master: Cleanup py27 support  https://review.opendev.org/c/openstack/nova/+/85311304:14
*** arne_wiebalck_ is now known as arne_wiebalck06:47
zigoI'm getting failed unit tests in Nova (which is RC bug in Debian since that's failed to build...):13:57
zigohttps://bugs.debian.org/101721713:57
zigoCan anyone help?13:57
zigoricolin: I'm not sure, when reading the specs, but what is vIOMMU for? (note: I know what a PMMU is...)14:00
*** Guest167 is now known as dasm14:15
artomzigo, only thing I can think of is the recently merged double-mocking patch14:35
zigoartom: That's Stable / Yoga that I'm talking about, does this match?14:36
zigoWas it backported?14:36
zigoThe thing is, it built fine 10 days ago in Debian Unstable. I'm currently trying to use snapshot.debian.org to see what package changed since ...14:37
artomzigo, hrmm, no, it's https://review.opendev.org/c/openstack/nova/+/852464 and https://review.opendev.org/c/openstack/nova/+/851445 that I'm thinking of14:38
zigoNone of these seem to have been backported to Yoga, so it's unlikely the issue here.14:39
zigoIn a minute, I'll see what package has changed...14:39
artomzigo, super bizarre... something is causing the unit test to apprently redirect14:44
zigoYeah, looks scary too ...14:45
artomWhich makes no sense, because it's a unit test, literally nothing is running except Python code14:46
artomzigo, so the redirect appears to be coming from websockify itself...14:56
artomI guess I'd look into its changelog for the version you're packaging?14:56
zigoartom: I haven't uploaded websockify since 2021 ...14:56
zigoI'm currently trying to use snapshot.debian.org to see what package has changed.14:57
* artom is o_O14:57
zigoResult: python3 python3-all python3-attr python3-distutils python3-keyring python3-lib2to3 python3-minimal python3-psycopg2 python3-typing-extensions python3.10 python3.10-minimal14:58
zigoI'll try them one by one...14:58
zigoGosh ... upgrding the Python 3.10 interpreter triggered the bug !!! :(15:07
zigopython3.10 (3.10.6-1) over (3.10.5-1)15:08
artomo_O15:12
zigoMaybe related to this? https://github.com/python/cpython/issues/8738915:15
zigoThe patch has:15:18
zigo        if self.path.startswith('//'):15:18
zigo            self.path = '/' + self.path.lstrip('/')  # Reduce to a single /15:18
* artom tries in "vanilla" functional tests15:18
zigoSo, Python itself would strip the added /, rendering the unit test and protection useless ...15:18
* artom is dumb for not trying before15:18
artomOr rather, trying with py39 for some reason15:18
artomzigo, yep, fails as well15:19
artomOK, you've just found a gate failure :)15:19
zigo:D15:19
zigoI'm trying to add the patch to the 3.10.5 standard library, to see if I reproduce it ...15:20
zigoI'll then file a bug against nova.15:20
artomWell... I say gate failure, and yet: https://zuul.opendev.org/t/openstack/build/e2ae266c798c411784f449f6f5e3d35a15:21
artomI guess we're not running a new enough py10?15:21
artomYeah, 10.3.415:21
artom3.10.4, sorry15:22
artomIt's still coming though15:22
artomAnd I hit it locally because Fedora does have the affected Python version15:22
zigoOk, now I'm sure about what I'm saying ! :)15:24
zigoRunning Python 3.10.5 interpreter, if I ran the unit test without any additional change, it passes. Now, if I just add the 2 lines of the hunk here: https://github.com/python/cpython/commit/defaa2b19a9a01c79c1d5641a8aa179bb10ead3f (which is part of Python 3.10.6), then I get the failure ...15:25
* zigo reports the bug against nova now ...15:25
zigoWhat's nice, is that I now know there's no security issue... it's just the python interpreter standard lib having additional protections.15:25
zigohttps://bugs.launchpad.net/nova/+bug/198654515:32
*** dasm is now known as dasm|off22:28

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