Friday, 2017-01-06

*** saneax is now known as saneax-_-|AFK00:05
openstackgerritJames E. Blair proposed openstack-infra/zuul: Remove excess printing from stats test  https://review.openstack.org/41720000:06
openstackgerritJames E. Blair proposed openstack-infra/zuul: Verify nodes and requests are not leaked  https://review.openstack.org/41713600:06
*** saneax-_-|AFK is now known as saneax00:13
openstackgerritMerged openstack-infra/nodepool: Register launcher name with ZooKeeper  https://review.openstack.org/41633500:21
*** saneax is now known as saneax-_-|AFK00:48
openstackgerritJames E. Blair proposed openstack-infra/zuul: Remove excess printing from stats test  https://review.openstack.org/41720000:55
openstackgerritJames E. Blair proposed openstack-infra/zuul: Verify nodes and requests are not leaked  https://review.openstack.org/41713600:56
*** saneax-_-|AFK is now known as saneax00:56
openstackgerritJames E. Blair proposed openstack-infra/zuul: Verify nodes and requests are not leaked  https://review.openstack.org/41713601:11
*** saneax is now known as saneax-_-|AFK01:13
*** Cibo has quit IRC01:13
*** tflink has quit IRC01:13
*** greghaynes has quit IRC01:13
*** _ari_ has quit IRC01:13
*** cinerama has quit IRC01:13
*** jamielennox has quit IRC01:13
*** cinerama has joined #zuul01:14
*** _ari_ has joined #zuul01:14
*** tflink has joined #zuul01:14
*** greghaynes has joined #zuul01:14
*** Cibo has joined #zuul01:16
*** jamielennox has joined #zuul01:18
*** saneax-_-|AFK is now known as saneax01:21
openstackgerritJames E. Blair proposed openstack-infra/zuul: Verify nodes and requests are not leaked  https://review.openstack.org/41713601:24
openstackgerritJames E. Blair proposed openstack-infra/zuul: Verify nodes and requests are not leaked  https://review.openstack.org/41713601:28
jeblairthat stack is green now01:34
jeblairclarkb: when you have a moment, can you take a look at whether the tearDown() stuff in https://review.openstack.org/417136 is sane?01:34
jeblairalso, if anyone needs me to split up that last patch, i can.  i think it's comprehensible, but it's a little random as it fixes a lot of related bugs at once.01:35
jeblairi think the main thing left to do in the series is handle failed allocations01:35
*** saneax is now known as saneax-_-|AFK01:47
*** saneax-_-|AFK is now known as saneax01:55
*** saneax is now known as saneax-_-|AFK02:41
*** saneax-_-|AFK is now known as saneax03:40
*** Cibo_ has joined #zuul07:02
*** EmilienM has quit IRC08:24
*** greghaynes has quit IRC08:31
*** harlowja has quit IRC08:31
*** jamielennox has quit IRC08:31
*** phschwartz has quit IRC08:31
*** openstackgerrit has quit IRC08:31
*** jkt has quit IRC08:31
*** adam_g has quit IRC08:31
*** Cibo has quit IRC08:31
*** _ari_ has quit IRC08:31
*** jasondotstar has quit IRC08:31
*** rcarrillocruz has quit IRC08:31
*** TheJulia has quit IRC08:31
*** fungi has quit IRC08:31
*** nibalizer has quit IRC08:31
*** yolanda has quit IRC08:31
*** gothicmindfood has quit IRC08:31
*** SotK has quit IRC08:31
*** bstinson has quit IRC08:31
*** rmoe has quit IRC08:31
*** Cibo_ has quit IRC08:31
*** clarkb has quit IRC08:31
*** gundalow has quit IRC08:31
*** Shrews has quit IRC08:31
*** tristanC has quit IRC08:31
*** nigelb has quit IRC08:31
*** jeblair has quit IRC08:31
*** cinerama has quit IRC08:31
*** tflink has quit IRC08:31
*** timrc has quit IRC08:31
*** Zara has quit IRC08:31
*** dmsimard has quit IRC08:31
*** zaro has quit IRC08:35
*** jasondotstar has joined #zuul08:37
*** _ari_ has joined #zuul08:37
*** gothicmindfood has joined #zuul08:37
*** EmilienM has joined #zuul08:37
*** Cibo_ has joined #zuul08:37
*** jamielennox has joined #zuul08:37
*** greghaynes has joined #zuul08:37
*** tflink has joined #zuul08:37
*** cinerama has joined #zuul08:37
*** harlowja has joined #zuul08:37
*** openstackgerrit has joined #zuul08:37
*** Shrews has joined #zuul08:37
*** nigelb has joined #zuul08:37
*** phschwartz has joined #zuul08:37
*** timrc has joined #zuul08:37
*** nibalizer has joined #zuul08:37
*** yolanda has joined #zuul08:37
*** jkt has joined #zuul08:37
*** clarkb has joined #zuul08:37
*** adam_g has joined #zuul08:37
*** Zara has joined #zuul08:37
*** SotK has joined #zuul08:37
*** tristanC has joined #zuul08:37
*** dmsimard has joined #zuul08:37
*** TheJulia has joined #zuul08:37
*** fungi has joined #zuul08:37
*** rmoe has joined #zuul08:37
*** jeblair has joined #zuul08:37
*** gundalow has joined #zuul08:37
*** rcarrillocruz has joined #zuul08:38
*** _ari_ has quit IRC08:38
*** _ari_ has joined #zuul08:38
*** EmilienM has quit IRC08:39
*** EmilienM has joined #zuul08:39
*** bstinson has joined #zuul08:39
*** Cibo has joined #zuul08:39
*** TheJulia has quit IRC08:40
*** zaro has joined #zuul08:47
*** TheJulia has joined #zuul08:58
*** hashar has joined #zuul08:59
*** bhavik1 has joined #zuul11:19
*** jamielennox is now known as jamielennox|away12:08
*** saneax is now known as saneax-_-|AFK13:18
*** bhavik1 has quit IRC17:33
openstackgerritJames E. Blair proposed openstack-infra/zuul: Use constants for state names  https://review.openstack.org/41747018:16
openstackgerritJames E. Blair proposed openstack-infra/zuul: Handle nodepool allocation failure  https://review.openstack.org/41747118:16
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Set valid states per data model class  https://review.openstack.org/41748218:51
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Set valid states per data model class  https://review.openstack.org/41748218:55
clarkbjeblair: my biggest concern with that change is addCleanup() is a stack so you get nice reverse order of addition cleanups. tearDown() is called as soon as unittest believes the test case to be done, so as long as that ordering is fine I think y ou are ok18:57
clarkbjeblair: the other major difference is cleanups are called even when setup fails and teardowns are not. Which may be desireable in this case if I am reading it correctly18:58
clarkband double checkign assertFinal state it is good and does only seem to assert not change state so we don't need it to run when setup fails to clean anything up19:00
clarkbthe webapp one is the one I would be concerned about. Because it is affecting state we may actually want/need it to be a cleanup19:01
jeblairclarkb: yeah, we could make an argument that it's better to do our assertions in a cleanup, after some things have shut down, but actually figuring out which things are okay to shut down is kind of gnarley (it's okay to cleanup the fake nodepool.  it's not okay to cleanup the zookeeper chroot test fixture).  so i figure since all the tests are written to assume a stable null state at the end, doing it in the teardown should be okay, and less ...19:01
jeblair... likely to get us into trouble or otherwise be confusing19:01
clarkbor maybe have a trailing belts and suspenders cleanup for webapp if necessary19:02
clarkbfor the setUp() failed case and no teardown is called19:03
jeblairclarkb: yeah, though the webapp test was written to create the state in setup, so undoing that in teardown seems reasonable.  if the setup fails there, i don't think it's actually important to clean it up19:03
clarkboh /me reads setUp more closely19:03
clarkbjeblair: I think the concern would be if change A succeeds but B somehow fails then we wouldn't cleanup A19:03
clarkbbut that is all just in memory state looks like so probably fine19:04
jeblairclarkb: yeah, but that's just leaving a change in the queue, which is yeah, that19:04
jeblairclarkb: basically what happens any time a test fails19:04
clarkbyup so ya I think that teardown change should be fine19:07
*** Shuo has joined #zuul19:30
ShuoWhere can I see the total number of average commits per day (or hour/week are fine as well) on the dashboard? Also where can I see the total number of tests launched through the queue of zuul?19:33
clarkbShuo: Gerrit is probably the best source of data for commit info19:35
clarkbShuo: it has a REST api that you can query to get that sort of info19:35
clarkbShuo: zuul records job launches with graphite if you configure it with a graphite server. We do that and you can see some of the resulting data at http://status.openstack.org/zuul19:36
clarkb(graphs at bottom of the page)19:36
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Set valid states per data model class  https://review.openstack.org/41748219:37
Shuoclarkb: thanks a lot, I am using the stats from the graph at the bottom. Too lazy to query the API endpoint :-)19:40
Shuoclarkb: there is an "in use" and a 'building' in the Test Nodes graph, what does it mean for a node that is in use but are not building?19:41
clarkbShuo: those are nodepool states. Building means it is in the process of being nova booted and having its intial config applied. In use means that a job is running on it. Ready means it has finished building but has not yet had a job run on it. Delete means it is queued for deletion19:42
Shuoclarkb: thanks, I guess my interest is to get the ballpark number of how many machines are executing the testing work, which I should be using the number of 'in-use' (roughly speaking)19:44
clarkbShuo: yes19:45
Shuoclarkb: the other two numbers that I am interested in are probably 'patchset created' (how active developers your working), 'change merged' (how many effective work has been accpted to the product code)19:47
clarkbShuo: that data is also captured in graphite and graphed on that status page19:48
Shuothose two numbers look roughly ~100/hour, ~10/hour respectively.19:48
clarkbin the Gerrit events per hour graph19:48
clarkband if you want finer detail on that you can always query gerrit directly19:48
Shuothose two numbers look roughly ~100/hour, ~10/hour respectively in the graph of "Gerrit Event"19:48
clarkbyup19:49
Shuoyeah, ballpark number is sufficient to me at this moment19:49
Shuoclarkb: thanks.19:49
Shuoclarkb: is there the original graphite dashboard URL (is it publicly available)? the graph embeded in ZUUL has been tailored to a specific time scale.19:51
clarkbShuo: yes graphite.openstack.org19:52
clarkbor view image url and edit from there is what I tend to do19:52
Shuothanks!19:54
timrc_mordred, nibalizer: This spoke to me :) https://xkcd.com/1782/20:10
nibalizeryesssss20:10
nibalizerthey heard that twitter fight in your mentions last week20:10
timrc_nibalizer: lolol20:10
dmsimardxkcd, always so damn relevant21:10
timrc_dmsimard: ++22:42
*** Shuo has quit IRC23:10
*** saneax-_-|AFK is now known as saneax23:22
*** hashar has quit IRC23:38
*** jamielennox|away is now known as jamielennox23:39

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