Wednesday, 2017-08-30

*** smyers has quit IRC00:01
*** smyers has joined #openstack-jjb00:02
*** yland has quit IRC01:05
*** hashar has joined #openstack-jjb06:23
*** electrofelix has joined #openstack-jjb09:23
*** hashar has quit IRC09:39
*** hashar has joined #openstack-jjb09:39
*** hashar has quit IRC09:42
*** hashar has joined #openstack-jjb09:44
*** hashar has quit IRC10:07
*** hashar has joined #openstack-jjb10:07
*** hashar_ has joined #openstack-jjb10:13
*** hashar has quit IRC10:13
*** hashar_ is now known as hashar11:36
*** hashar has quit IRC12:07
*** hashar has joined #openstack-jjb12:20
*** hashar is now known as hasharAway17:02
*** electrofelix has quit IRC18:01
zxiiroso I found a strange case where sometimes jjb doesn't parse the defaults. I'm not exactly sure why / when it happens19:25
zxiirobut some of my templates the defaults.yaml works and others it seems to ignore it.19:25
*** hasharAway has quit IRC20:45
waynrhmm can you come up with minimal reproduction cases?21:32
zxiirotrying to. but haven't figured out what the minimal is yet. I'll keep trying to figure it out.21:46
zxiiroIt only happens in my massive jjb repo21:47
waynrhmm what do you mean by "parse the defaults"21:48
waynrinterpolation of variables into template strings?21:49
zxiirowaynr: let's say you have a job-template with a macro that has a variable "{var}". normally if "var: value" was defined in defaults.yaml and the project did not define it. it will use the value from defaults.yaml21:49
zxiirowaynr: everytime I make a simple job that as far as I can tell does the same thing. It works as expected. but in my big jjb repo i noticed some jobs don't pick up the defaults for some reason unless i explicitly define it at the project level.21:50
zxiirowaynr: might be an edge case. I guess I'll try stripping out sections of the job template until i can find where it's happening.21:50
waynrhmm interesting21:51
waynrzxiiro: so does this happen to use the refactored macro expansion code?21:59
zxiirowaynr: no it happens even in the old code22:00
zxiiroor rather i mean i happens in both codes22:00
waynrokay22:00
zxiiroWe use variable overriding in several places so it's probably has something to do with that...22:01
zxiiroalthough one thing I'd love to have is the ability to set a default variable at the macro level too.22:01
waynryeah that would make sense22:01
waynrif that feature is added i hope it is built on top of https://review.openstack.org/#/c/333076/22:04
zxiirooh yeah we need that merged22:06
zxiiroi'll ping electrofelix next time i see him22:06
zxiiroI want to get that merged before another patch breaks it22:06
waynrcool cool22:07

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