Tuesday, 2019-02-26

*** eandersson has quit IRC00:16
*** ansmith has joined #openstack-oslo00:22
openstackgerritMerged openstack/oslo.messaging stable/queens: Mark telemetry tests nv and remove from gate  https://review.openstack.org/63912600:23
*** tosky has quit IRC00:23
*** ansmith has quit IRC00:27
*** jaosorior has quit IRC01:20
*** jaosorior has joined #openstack-oslo01:32
*** lbragstad has quit IRC02:44
*** dave-mccowan has quit IRC04:44
*** lbragstad has joined #openstack-oslo04:53
*** Luzi has joined #openstack-oslo06:54
*** aojea has joined #openstack-oslo07:35
*** lbragstad has quit IRC07:44
*** rcernin has quit IRC07:56
*** shardy has joined #openstack-oslo08:16
*** Luzi has quit IRC08:18
*** hberaud|gone is now known as hberaud08:31
*** Luzi has joined #openstack-oslo08:32
*** pcaruana has joined #openstack-oslo08:35
*** tosky has joined #openstack-oslo08:39
*** shardy has quit IRC08:54
openstackgerritHervé Beraud proposed openstack/oslo.cache master: Fix memcache issue due to the __new__ attribute reassign.  https://review.openstack.org/63445709:01
*** e0ne has joined #openstack-oslo09:25
*** FlorianFa has quit IRC09:30
*** ebbex has quit IRC09:30
*** FlorianFa has joined #openstack-oslo09:35
*** ebbex has joined #openstack-oslo09:36
*** yan0s has joined #openstack-oslo10:35
*** hberaud is now known as hberaud|lunch11:29
*** Luzi has quit IRC11:54
*** Luzi has joined #openstack-oslo11:55
*** raildo has joined #openstack-oslo12:16
*** aojeagarcia has joined #openstack-oslo12:25
*** shachar has joined #openstack-oslo12:26
*** dmellado_ has joined #openstack-oslo12:28
*** beekneemech has joined #openstack-oslo12:29
*** jlvillal has quit IRC12:30
*** dmellado has quit IRC12:30
*** zzzeek has quit IRC12:30
*** aojea has quit IRC12:30
*** bnemec has quit IRC12:30
*** snapiri has quit IRC12:30
*** sum12 has quit IRC12:30
*** openstackgerrit has quit IRC12:30
*** dmellado_ is now known as dmellado12:30
*** zzzeek has joined #openstack-oslo12:31
*** sum12 has joined #openstack-oslo12:31
*** jlvillal has joined #openstack-oslo12:31
*** hberaud|lunch is now known as hberaud12:48
*** agopi has quit IRC13:29
*** ansmith has joined #openstack-oslo13:35
*** dave-mccowan has joined #openstack-oslo13:54
*** agopi has joined #openstack-oslo13:58
*** beekneemech is now known as bnemec13:59
*** zaneb has quit IRC14:04
*** zaneb has joined #openstack-oslo14:07
*** kgiusti has joined #openstack-oslo14:21
*** dave-mccowan has quit IRC14:34
*** lbragstad has joined #openstack-oslo14:40
*** e0ne has quit IRC15:16
*** Luzi has quit IRC15:17
*** Aramis has joined #openstack-oslo15:19
*** yan0s has quit IRC15:26
*** e0ne has joined #openstack-oslo15:53
hberaudbnemec: are you around?15:58
hberaudbnemec: do you want I rebase/cherry-pick my memcache fix (https://review.openstack.org/#/c/634457/) on your https://review.openstack.org/#/c/638788/7 ?16:00
bnemechberaud: I think so. I'm pretty convinced at this point that we should just remove the test.16:01
bnemec(I think your second link is not what you intended, but I'm pretty sure I know which review you mean)16:01
hberaudbnemec: yeah good catch lol! I speak about https://review.openstack.org/#/c/638732/16:03
hberaudbnemec: FYI rebase done16:15
*** pcaruana has quit IRC16:32
*** moguimar has quit IRC16:59
*** e0ne has quit IRC17:24
*** aojeagarcia__ has joined #openstack-oslo17:37
*** aojeagarcia has quit IRC17:40
hberaudbnemec: FYI => https://github.com/sqlalchemy/dogpile.cache/issues/14418:06
bnemechberaud: Okay, thanks. I need to wrap my head around the proposed fix there.18:10
bnemechberaud: Hey, you haven't been able to reproduce the object takes no arguments error outside of TripleO, have you?18:11
hberaudbnemec: no18:11
bnemecI'm trying to come up with a backportable fix and have an idea, but I'm not sure how to verify that it fixes the problem when I can't reproduce it easily.18:11
bnemecBleh. So weird.18:12
*** openstackgerrit has joined #openstack-oslo18:25
openstackgerritHervé Beraud proposed openstack/oslo.cache master: fix dogpile.cache issue due to the new usage of decorate in the lib  https://review.openstack.org/63878818:25
hberaudbnemec: I've modify my proposed patch to introduce the zzzeek approach described there https://github.com/sqlalchemy/dogpile.cache/issues/14418:26
hberaudbnemec: lets me know if you want to continue on the remove way or on the fix way18:28
bnemechberaud: I think zzzeek is saying he's happy with the new dogpile behavior and we can remove the test because it's actually testing a bunch of stuff outside oslo.cache.18:38
bnemec"in short I think oslo.cache can remove the test case here as indicated in https://review.openstack.org/#/c/638732/, because you are not only testing dogpile, you're testing plain python / the decorator module."18:38
bnemecOn https://bugs.launchpad.net/oslo.cache/+bug/181703218:38
openstackLaunchpad bug 1817032 in oslo.cache "Unit test fails during cache region testing" [High,In progress] - Assigned to Herve Beraud (herveberaud)18:38
hberaudbnemec: yeah18:38
zzzeekbnemec: do you agree the @decoaator behavior is nicer at least ?   preserves the function signature of the original fn18:39
bnemeczzzeek: I'm obviously not an expert, but I haven't found any problems with the new behavior so I'm good with it.18:41
bnemecI guess the new behavior is that you only need the kwarg decorator if you accept arbitrary lists of kwargs through a ** parameter, whereas before it was needed for any call that passed _any_ arg as a kwarg.18:42
hberaudbnemec: as I said in https://review.openstack.org/#/c/638732 feel free to choose your prefered way (remove/fix) we have the both18:42
bnemechberaud: I'm thinking we should make sure dogpile has a test that verifies this behavior and then remove it from oslo.cache.18:45
bnemecIt's out of our scope, but I do think it's useful to test.18:45
openstackgerritHervé Beraud proposed openstack/oslo.cache master: fix dogpile.cache issue due to the new usage of decorate in the lib  https://review.openstack.org/63878818:46
*** aojeagarcia__ has quit IRC18:46
hberaudbnemec: I personaly prefer to keep this test until dogpile has a dedicated test for this18:47
hberaudbnemec: I personaly prefer to keep this test until dogpile has not a dedicated test for this18:47
bnemechberaud: I'm okay with that.18:47
bnemecSo our steps would be: 1) Fix oslo.cache test, 2) add/verify test in dogpile, 3) remove test from oslo.cache18:48
hberaudbnemec: ack18:48
hberaud1.2) rebase memcache on mine18:48
hberaudbnemec: this one https://review.openstack.org/#/c/634457/18:49
bnemecYeah, that could save some time.18:49
openstackgerritHervé Beraud proposed openstack/oslo.cache master: Fix memcache issue due to the __new__ attribute reassign.  https://review.openstack.org/63445718:50
bnemecHuh: https://github.com/sqlalchemy/dogpile.cache/blob/master/tests/cache/test_decorator.py#L21118:51
bnemecThat seems like it's the case that is failing for us.18:52
*** e0ne has joined #openstack-oslo19:26
hberaudbnemec: yeah and my original patch was inspired from this one19:42
hberaudbut he doesn't use region but util19:43
hberaudbnemec: I guess we also need to stay closer from cache_on_arguments decorator19:44
hberaudbnemec: if I'm right this test case doesn't use region who is at the origin of the issue due to `decorator` added to it (region)19:45
hberaudbnemec: and util isn't impacted by decorator19:45
*** e0ne has quit IRC19:46
bnemechberaud: Right, but it's testing the base functionality, which is that if the decorator gets passed a kwarg it will fail.19:46
hberaudbnemec: I've submit some new test case to dogpile => https://github.com/sqlalchemy/dogpile.cache/pull/14519:46
bnemecIt's actually a better unit test because it doesn't test a whole bunch of other code in between too.19:46
*** e0ne has joined #openstack-oslo19:46
hberaudbnemec: yeah no inception in util test19:46
bnemecPart of the problem here was the number of layers between our test and the actual thing it was testing.19:47
hberaudbnemec: yep19:47
hberaudbnemec: sorry I need to go see you tomorrow if needed19:48
*** hberaud is now known as hberaud|gone19:48
bnemechberaud|gone: Sounds good, thanks for all your work on this.19:48
hberaud|gonebnemec: my pleasure19:49
*** eandersson_ has joined #openstack-oslo20:10
*** e0ne has quit IRC20:31
*** takamatsu_ has quit IRC20:48
*** takamatsu_ has joined #openstack-oslo20:50
*** e0ne has joined #openstack-oslo21:28
*** ansmith has quit IRC21:31
*** raildo has quit IRC21:33
*** kgiusti has left #openstack-oslo21:33
*** eandersson_ is now known as eandersson21:40
*** e0ne has quit IRC22:03
*** rcernin has joined #openstack-oslo22:05
openstackgerritBen Nemec proposed openstack/oslo.cache master: Remove dogpile kwarg test  https://review.openstack.org/63873222:28
openstackgerritBen Nemec proposed openstack/oslo.cache master: Fix memcache pool client in monkey-patched environments  https://review.openstack.org/63945722:28
openstackgerritBen Nemec proposed openstack/oslo.cache master: TEST: Enable eventlet monkey-patching in tests  https://review.openstack.org/63945822:28
*** agopi has quit IRC22:59
*** ansmith has joined #openstack-oslo23:09
*** dave-mccowan has joined #openstack-oslo23:20

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!