Tuesday, 2022-09-27

zigoI got some unit test failures in the bullseye backports when building oslo.config:08:26
zigohttps://paste.opendev.org/show/bEl7otPN4YfYvVC6la4S/08:26
zigoThis looks like a unit test error only, with "Deprecated: " in front of the matching test ...08:26
zigoDoes anyone know what's going on and how to fix?!?08:27
lifelessso that test is testing support for deprecation warnings. The failure is that the work Deprecated: is prepended to the output string08:35
lifelesssorry, that the work Deprecated: is *missing*08:36
lifelessthe logs are being captured by a standard logging fixture08:37
lifelessso presumably either a logging filter is missing, or a version mismatch or some such is present08:37
lifelessah so the format message is here - https://github.com/openstack/oslo.config/blob/7b838f5c31c3219d13661ec612d750e58683cbe6/oslo_config/tests/test_cfg.py#L1117 - its a test double for some reason - I'm not sure what value such a test brings, but there you are.08:38
lifelessperhaps mock.patch isn't patching it in?08:38
lifelessgl!08:38
hberaudzigo: The issue is related to cliff 4.0.0. See this related fix https://opendev.org/openstack/oslo.config/commit/78098e6b18026ff9ef03a948b57348f02d42e13b08:56
hberaudthe same behavior is observable with cliff > 3.4.008:57
hberaudcliff 4.0.0 is pulled in your tests https://paste.opendev.org/show/bEl7otPN4YfYvVC6la4S/08:58
zigolifeless: hberaud: I did this as a temporary measure: https://salsa.debian.org/openstack-team/oslo/python-oslo.config/-/blob/debian/zed/debian/patches/fix-oslo.config-test-under-bullseye.patch09:03
zigoI'd of course prefer an upstream patch ...09:03
zigoThis is just a "hide dust under the carpet" patch, though I'm ok with it as the feature doesn't seem broken (only tests...).09:04
opendevreviewAndre Aranha proposed openstack/castellan master: [DNM] Add unit tests for secret consumers  https://review.opendev.org/c/openstack/castellan/+/85911212:55
opendevreviewMerged openstack/pycadf master: Update zuul job templates  https://review.opendev.org/c/openstack/pycadf/+/85819816:12
opendevreviewMerged openstack/pycadf master: remove unicode prefix from code  https://review.opendev.org/c/openstack/pycadf/+/85346216:12
stephenfinzzzeek: Yup, mostly seems to work with 1.4 as johnsom said16:45
stephenfinI'm not sure what the email you're referring to is 16:46
zzzeekstephenfin: yes was secret red hat info I spilled16:48
stephenfinhaha, okay cool :)16:48
zzzeekare you on RH irc, I dont see you anywhere16:49
stephenfinUse my old nick (sfinucan) there16:49
zzzeekah16:50
opendevreviewMerged openstack/openstackdocstheme master: Update included page footers to use current URLs  https://review.opendev.org/c/openstack/openstackdocstheme/+/85716417:33

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