Tuesday, 2017-01-17

*** jamielennox is now known as jamielennox|away02:25
*** jamielennox|away is now known as jamielennox03:03
*** rmoe has quit IRC05:29
*** abregman has joined #zuul05:54
*** saneax-_-|AFK is now known as saneax06:35
*** bhavik1 has joined #zuul06:48
*** bhavik1 has quit IRC06:53
*** rmoe has joined #zuul06:55
*** hashar has joined #zuul07:41
*** saneax is now known as saneax-_-|AFK08:09
*** saneax-_-|AFK is now known as saneax08:16
*** saneax is now known as saneax-_-|AFK09:24
*** saneax-_-|AFK is now known as saneax09:34
*** abregman_ has joined #zuul10:00
*** abregman has quit IRC10:03
*** abregman_ has quit IRC10:15
*** abregman has joined #zuul10:16
*** abregman_ has joined #zuul11:23
*** abregman has quit IRC11:26
*** saneax is now known as saneax-_-|AFK11:42
*** saneax-_-|AFK is now known as saneax11:43
*** saneax is now known as saneax-_-|AFK13:17
*** abregman_ is now known as abregman|mtg13:29
*** abregman|mtg is now known as abregman14:32
*** phschwartz has quit IRC14:53
*** phschwartz has joined #zuul14:58
*** saneax-_-|AFK is now known as saneax14:59
*** saneax is now known as saneax-_-|AFK15:20
*** hashar is now known as hasharAway16:24
*** saneax-_-|AFK is now known as saneax16:35
* morgan shuffles papers loudly17:09
*** saneax is now known as saneax-_-|AFK17:12
*** abregman has quit IRC17:26
*** bhavik1 has joined #zuul18:03
*** bhavik1 has quit IRC18:07
jlkbe sure to stack them up and straighten them by tapping them on the table numerous times18:19
clarkbrcarrillocruz: commented on the rest of the d-g ansibly stack18:21
Shrewsjeblair: Do we want to be able to support shared providers among nodepool launchers?18:50
Shrewsjeblair: because doing so means we need some way to determine provider usage (for quota mgmt) among the launchers18:52
jeblairShrews: i think so (though i doubt we will use it that way in production) -- i think that if we examine the existing nodes in zk to get the quota used, it should generally work.  it could be slightly racy when we're right at the edge, but we expect failure from openstack at any point anyway.  if we wanted to mitigate that, we could probably have a "provider lock" which each provider grabs before creating new node entries.18:56
*** Shuo_ has joined #zuul18:56
Shrewsjeblair: gotcha. i'll go without the new lock for now18:57
jeblairShrews: cool.  it should be easy to add later if needed.18:58
Shrewsi'll make sure to document that point in the code re: the race+expected fail18:59
clarkbfwiw the spec said punt on that til later19:04
clarkbso maybe update the spec as part of docs writing19:04
Shrewsclarkb: ah, so it does19:12
*** rmoe has quit IRC19:49
*** rmoe has joined #zuul19:50
jeblairoh hey it does :)19:51
jeblairShrews: so i'd say it's up to you how far you want to go in that direction.19:52
mordredjeblair: bikeshed warning - what should I call the branch?19:55
clarkbfeature/gearman-zk-shim ?19:56
mordredwfm - any objections?19:57
jeblairlgtm19:58
Shuo_in the openstack workflow http://docs.openstack.org/infra/manual/developers.html, if my change (let's call it change_a) is based upon HEAD that I checked out at 10:00am on 1/1/2017, but the new HEAD moves forward during my development and wait for review time window. Am I required to git pull from time to time (to sync up with the current HEAD), if my change does not get impacted by the newly added commit in master line? (just a high leve19:59
clarkbShuo_: no20:01
clarkbyou only need to update it if merge conflicts are introduced20:01
*** hasharAway is now known as hashar20:01
mordredShuo_: in fact, we recommend against rebasing unnecessarily as it makes it harder to review20:01
Shuo_clarkb: just wonder, what is the ration of all code change/commit that need rebase (because of the moving HEAD problem)? Is there a high level ballpark number?20:02
clarkbI am not sure we have measured it20:03
clarkband I doubt it is consitsten across code bases or time20:03
clarkbsince it is highly dependent on who is working on what code at what times20:03
Shuo_clarb: but I would imagine that if a necessary rebase happens in the middle of a review process (say, TL has already made some comments and the developer agrees to change accordingly, but a rebase has to be done because of a new merge), it would be very annoying to both parties.20:08
clarkbyes rebases are annoying20:08
clarkbmy point is that I don't think they happen in statistically common ways20:08
clarkbthey are highly dependent on the structure of the repos, the current work being done on them, etc20:08
clarkb(but if someone were to measure it across our repos they might prove me wrong)20:10
adam_gare MergeCompletedEvent received by the scheduler only when post-gate merges have completed, or also when the changes have been merged together for testing?20:14
adam_gjeblair: ^20:14
clarkbadam_g: my reading is it happens for both20:19
clarkbzuul/merger/client.py calls sched.onMergeCompleted()20:19
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Begin implementing node request handling.  https://review.openstack.org/42148520:25
jlkLooking at (old) zuul tests, seems a pipeline AND a trigger can have a requirement? Is that right?20:26
Shrewsjeblair: 421485 is kind of in the middle of implementing things. no real good place to delineate the work to keep it from getting huge, so i just tossed it up as-is20:27
Shrewsalso, my brain hurts20:31
adam_gclarkb: ok ya. so it looks like its realy only used for the speculative merges, and not the changes merging upstream20:31
clarkbadam_g: I think its both20:32
clarkbadam_g: the scheduler calls that method on itself when processing the events queue too20:32
clarkbbut I may have misread that20:32
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Begin implementing node request handling.  https://review.openstack.org/42148520:34
Shrewscommit msg updated20:34
jeblairadam_g, clarkb: i believe that event only represents the internal speculative merging.  a merg into a managed repo would just be a regular TriggerEvent20:42
jeblairShrews: i'm in favor of that approach :)20:43
jeblairjlk: yes -- and it's not redundant... a pipeline requirement generally specifies aspects of the change that may not relate to the triggering event20:47
jlkokay, and a trigger event is basically "ignore this trigger unless these requirements are met"20:57
jlkso like, trigger on comment, but require approvals in place, or ignore comment unless it comes from specific user20:57
*** Shuo__ has joined #zuul21:03
*** klindgren has quit IRC21:03
*** Shuo_ has quit IRC21:05
*** Shuo__ has quit IRC21:07
jeblairjlk: right.  there's some marginally complex things we do with that in the openstack config (like "trigger in check on a workflow+1 if jenkins has a -1" (because we require a +2 from jenkins for gate, and that probably means someone wants a recheck)21:08
jeblairjlk: there's another subtle difference between trigger and pipeline requirements: some items get enqueued into a pipeline because of dependencies.  those are not subject to trigger requirements, but are subject to pipeline requirements.  (so, for instance because workflow+1 is a gate pipeline requirement, you can't pull a change into gate with depends-on unless that change has also been approved)21:10
jlknod21:41
*** hashar has quit IRC21:57
*** harlowja has quit IRC22:01
*** Shuo_ has joined #zuul22:04

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