Tuesday, 2016-12-20

SpamapSjeblair: sorry to miss zuul meeting today. I had several stacked things that kept me from even being able to be on my phone :P01:06
*** saneax is now known as saneax-_-|AFK02:52
*** jamielennox is now known as jamielennox|away03:08
*** jamielennox|away is now known as jamielennox03:22
*** rmoe has quit IRC03:54
*** rmoe_ has joined #zuul03:54
*** timrchavez has joined #zuul04:53
*** timrchavez has quit IRC04:54
*** timrchavez_ has joined #zuul04:56
*** timrchavez_ is now known as timrc_05:01
timrc_ /trigger set setdict conditions "${nick} == ${info:irc_nick,${server}} && ${channel} =~ [.-](fr|it|es)$ && ${aspell.dict.irc.${server}.${channel}} =="05:04
timrc_ooops05:05
jlktimrc_: what are you even trying to do there?05:21
openstackgerritTristan Cacqueray proposed openstack-infra/zuul: Don't getChange on source not triggering a change  https://review.openstack.org/40612905:22
openstackgerritTristan Cacqueray proposed openstack-infra/zuul: Do not process unknown project  https://review.openstack.org/41275105:22
timrc_jlk: Well it was a copy-pasta error. Its part of a block of weechat instructions that set the dictionary based on channel name.05:23
timrc_But that is not um important to me :)05:23
*** saneax-_-|AFK is now known as saneax05:31
tristanCjhesketh: Greeting sir, would you happen to remember the reasoning behind http://git.openstack.org/cgit/openstack-infra/zuul/tree/zuul/scheduler.py#n1022 ? For a third-party CI connected to review.openstack.org, it makes zuul fetch *all* the changes, even the one for (unknown) projects where no jobs are attached to.05:31
tristanCjhesketh: well I've proposed to revert to the old behavior here https://review.openstack.org/412751, and I confirm this works even when a change depends-on an unknown project05:37
jheskethtristanC: I can't entirely remember... but from the comment I think it is if you have a change from a non-foreign project later on reference (ie depend on) this foreign change05:54
*** willthames has quit IRC06:49
openstackgerritTristan Cacqueray proposed openstack-infra/zuul: Do not process unknown project  https://review.openstack.org/41275106:49
*** jamielennox is now known as jamielennox|away07:28
openstackgerritTristan Cacqueray proposed openstack-infra/zuul: Do not process unknown project  https://review.openstack.org/41275107:29
openstackgerritTristan Cacqueray proposed openstack-infra/zuul: Don't getChange on source not triggering a change  https://review.openstack.org/40612907:29
*** abregman has joined #zuul07:41
*** abregman has quit IRC08:13
*** hashar has joined #zuul09:19
*** bhavik1 has joined #zuul09:25
*** abregman has joined #zuul09:31
*** bhavik1 has quit IRC10:56
*** saneax is now known as saneax-_-|AFK12:24
*** saneax-_-|AFK is now known as saneax13:22
*** abregman has quit IRC13:26
*** abregman has joined #zuul13:26
*** saneax is now known as saneax-_-|AFK13:34
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Mitigate config disagreement issues  https://review.openstack.org/41312514:49
*** harlowja has joined #zuul15:49
*** abregman has quit IRC16:24
*** harlowja has quit IRC16:42
jeblairShrews: did you need to remove the run method and split out reloadconfig?  or is that just a code organization/style change?16:59
Shrewsjeblair: i *thought* i was going to reuse it, but turns out i didn't, and i liked how i could use it to remove the _run() method17:00
Shrewsso i left it17:00
jeblairok17:02
Shrewsjeblair: but it's also there if we find other places where we should do a reload17:02
*** harlowja has joined #zuul17:53
*** hashar has quit IRC18:14
*** bhavik1 has joined #zuul18:37
jheskethMorning18:58
mordredmorning jhesketh !18:59
*** harlowja has quit IRC19:35
rcarrillocruzclarkb: https://review.openstack.org/#/c/403732/11/playbooks/roles/copy_mirror_config/tasks/main.yaml , i wonder if we should add constants in devstack_gate_vars for 'jenkins' and 'tempest' users, the same way we have for BASE. i.e. something like: "CI_USER: jenkins"19:56
clarkbwell in that case its 3 users that are not jenkins19:57
clarkbrcarrillocruz: do you mean for the source?19:58
rcarrillocruzwe expect to find in this particular case /home/jenkins/.pydistutils. I wonder if we should have a general constant for this, that is CI_USER: jenkins, and any mention (in this playbook or wherever) we just reference {{ CI_USER }} . In case we move over from this legacy name to 'zuul' for example20:01
rcarrillocruzi.e. unhardcode that and just use a variable, like BASE: /opt/stack20:02
clarkbya it can't hurt20:02
*** bhavik1 has quit IRC20:04
pabelangerrcarrillocruz: why don't we just run this code as the jenkins user or use becomes: jenkins20:08
pabelangerover hardcoding a var20:08
clarkbpabelanger: because you ahve to be root to do the other things20:09
clarkb(like write into root's homedir)20:09
rcarrillocruzyeah, and we have other users like tempest or stack20:10
pabelangeryou can use becomes per task20:10
pabelangeroh20:10
pabelangerI see20:10
SpamapSso.. I'm trying to re-enable a test in webapp.. and I see something weird in the fixtures for adding events20:10
SpamapSwhen I add one change (1,1) it has Code-Review set to 'OK'20:11
SpamapSbu the next change, on a different repo, has it set to 'NEED'20:11
clarkbSpamapS: are they two different projects? (possibly the fixture has something different for vote ranges on different projects)20:11
SpamapSyes20:13
SpamapSThere's some very hard to understand logic which seems to govern it in the fixture's 'getSubmitRecords' method.20:14
clarkbbasically gerrit lets you configure the ranges and the default "function" on the range is at least one max vote in every column and no min votes20:14
clarkbI wouldn't be surprised if zuul's testing was faking that and usingdifferent ranges for completeness20:14
clarkbyup cat_min and cat_max are checked against20:15
clarkbbut they don't appear to be variable across projects https://git.openstack.org/cgit/openstack-infra/zuul/tree/tests/base.py?h=feature/zuulv3#n10620:16
SpamapSYeah still not finding where it's choosing NEED vs. OK20:16
clarkbhttps://git.openstack.org/cgit/openstack-infra/zuul/tree/tests/base.py?h=feature/zuulv3#n332 ?20:17
clarkbbasically if you have a cat_min vote then its reject (this wins same as gerrit), if you don't have that and do have cat max then you are OK and ready to merge, else you NEED20:17
SpamapSbut the votes are identical, I'm not even setting a code review vote20:18
clarkbthere are no addApproval() calls?20:18
SpamapSboth have an addApproval20:19
SpamapSthe only difference is project name20:19
SpamapSit's tests/test_webapp.py, test_webapp_find_change20:19
clarkbmaybe something is overriding self.categories on one of them?20:19
clarkbSpamapS: and which category is set to NEED?20:21
clarkbshould be something like label: approved, status: NEED20:22
SpamapScategories is the same each time20:23
SpamapSclarkb: code-review20:23
clarkbSpamapS: look at the addAprovals for the two changes20:24
clarkb(its actually only runnign addApproval against one change)20:24
clarkbfor code-review20:24
SpamapSherpaderp20:25
SpamapSty for 2nd pair of eyes20:25
SpamapSthat was it20:25
SpamapSclarkb: you get a cookie20:25
clarkbomnomnomnom20:26
SpamapS20:29
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul: Re-enable test_webapp_find_change  https://review.openstack.org/41322620:29
SpamapSclarkb:  ^ the result20:29
clarkbSpamapS: is that test actually comparing the label data too? or was it just something you noticed?20:31
clarkb(because I don't see where its asserting the label data for the changes)20:31
SpamapSclarkb: because the change wasn't approved, it was not enqueued20:32
SpamapSand thus not in the status20:32
clarkbaha20:32
SpamapS39 skips left20:33
SpamapSwe're enabling tests at a rate of about 2 per day20:33
SpamapS(enabling or deleting ;)20:33
SpamapSoh and now with that change I just did, only test_scheduler has skips20:34
mordredSpamapS: woot!20:43
*** jamielennox|away is now known as jamielennox20:44
*** hashar has joined #zuul21:13
jeblairyay!21:33
jeblairmordred, Shrews: i updated https://storyboard.openstack.org/#!/story/2000768 and assigned things to the 3 of us21:34
jeblairjamielennox: did you want to look at https://review.openstack.org/408849 ?21:35
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add Zookeeper to tests  https://review.openstack.org/41324121:52
jeblairpabelanger: fyi https://review.openstack.org/413226 continues earlier work you did22:00
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add Zookeeper to tests  https://review.openstack.org/41324122:02
openstackgerritMerged openstack-infra/zuul: Re-enable test_webapp_find_change  https://review.openstack.org/41322622:02
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add Zookeeper to tests  https://review.openstack.org/41324122:14
jamielennoxjeblair: i do want to go through it, but mostly to understand what's going on. if you are wanting to push it through you certainly don't need to wait for me22:31
pabelangerjeblair: great!22:32
pabelangerjeblair: Ah, and my bug too22:33
jeblairjamielennox: thanks; not super-urgent but i won't block on you then22:33
*** willthames has joined #zuul23:01
*** hashar has quit IRC23:29
jamielennoxjeblair: i posted a comment on the review and it's mostly me trying to wrap my head around the way things are related now23:59

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