/srv/irclogs.ubuntu.com/2012/06/21/#launchpad-yellow.txt

gary_posterbac benji frankban gmb hiya https://plus.google.com/hangouts/_/3c71b053e171414b2ca8546d398b7f1d82bb2838?authuser=1&hl=en-US12:09
gary_posterin 1 (or 2 if necessary)12:09
gmbbac`, Gah. I think we just swapped hangouts. I'll stay where I am, you come to me: https://plus.google.com/hangouts/_/443840122746ffd12ced54df205ab403d9ad6852?hcb=1&hii=117034961047606128906&hit=1340281662992&htp=012:29
bac`i'm sort of there but only see your still and no audio12:29
gary_posterooh!  at least for one brief shining moment, we are at 95% success rate for our tests!12:29
gmbbac`, Okay, weird; let me reconnect...12:29
bac`gmb: you may need to make a new one12:29
gary_postergiven the usual rolling three day window approach, where the third day is today and I haven't run any tests yet :-P12:30
gary_posterbut still, we are 19/20 for the last 20 tests12:30
gary_posterwhich is our goal statistic12:30
gmbbac`, https://plus.google.com/hangouts/_/2a9476c4e3d0d3bfe4c77790592e40065cdbedc9?authuser=0&hl=en-GB# has me in it.12:30
=== bac` is now known as bac
gmbbac, lp:~yellow/zope.testing/fix-tests12:33
* gmb lunches12:41
* bac was momentarily distracted by a swarm of pileated woodpeckers. i saw three large adults and at least two juveniles. very cool. http://www.allaboutbirds.org/guide/Pileated_Woodpecker/id13:18
gary_postercool :-)13:21
gary_posterfrankban, approved EuroPython13:21
frankbanthanks gary_poster13:22
gary_posterfrankban, no rush but https://plus.google.com/hangouts/_/f4daf72d067dd6bdd9be0aa8b2c5c805abbf025a?authuser=1&hl=en-US when you are ready13:33
gary_posterbenji, I just realized that we missed something in our lpsetup description: we should be able to do something like rerun init and have the command update everything to the current "best" configuration.  Your card does not need to implement this--I like keeping your card small--but it *might* influence your thinking or your approach, so I mention it now. (should have mentioned it earlier)13:59
gary_posterthe spelling is up for grabs14:00
gary_posterit could be "rerun init"14:00
gary_posteror run some other command14:00
benjihmm; ok, thanks14:00
gary_posterugh.  I don't know what we should do about this now.  Another instance of lp.services.webapp.tests.test_error.TestDatabaseErrorViews.test_disconnectionerror_view_integration failing, with "TimeoutException: Launchpad did not come up after 60 attempts." :-(  This is already with the 20 instances on a 32 core machine.14:19
gmbbac, How are we looking with that branch?14:23
bacgmb: good, but running the full suite ends oddly:  http://paste.ubuntu.com/1052716/14:26
bacnote it just stops, no summary14:26
bacalso note that our new tests get run way at the beginning, so should not be influencing the summary output14:27
bacgmb: thoughts on what might be going on?14:27
bacgmb: changes pushed to lp:~yellow/zope.testing/fix-tests14:29
gmbgrabbing...14:29
gary_postergmb, we have our call now, but I see you are in the middle of looking at stuff, and no rush in any case.  whenever you want, come over to https://plus.google.com/hangouts/_/cadff6c4e5227f872dd2392ff9ac5b51740d0d3e?authuser=1&hl=en-US14:30
bacgmb: tried to interest murphy in my 70-200.  no bite.14:30
gmbgary_poster, Okay, I'll be along when I've poked at this a bit.14:31
gary_postercool14:31
gmbbac, Hah, unlucky :)14:31
gmbbac, So, I can confirm your results... it looks almost as though stdout is getting redirected somewhere14:33
gary_posterwho would do such a thing?14:34
gmb:D14:34
gmbAh, wait.14:35
gmbMaybe it isn't...14:35
gmbbac, Let's hang out. I'll start one.14:37
gmbbac, https://plus.google.com/hangouts/_/ae3a1c590e25a692ca618cd9b43312bf592778ac?authuser=0&hl=en-GB#14:40
bacgmb: and i cannot tell if this is a reversion or not, since in trunk the tests are so messed up14:40
gary_posterlp.services.webapp.tests.test_error.TestDatabaseErrorViews.test_operationalerror_view_integration failure happened again, which is unusual.  If it happens a third time, I'll say it is something new and different, and maybe repeatable...14:51
gmbgary_poster, I'll just grab a drink then I'll be right with you.14:59
gary_postergmb, heh, ok, was just called away, but will be back in just a few myself15:00
benjifrankban: how does one get /usr/bin/lp-lxc-ip installed?15:11
frankbanbenji: python setup.py install15:14
benjifrankban: I'm confused.  Since lxcinstall requires it, shouldn't it get installed by it?15:15
frankbanbenji: detup.py install is actually called by `apt-get install lpsetup`, so the subcommands can assume the script to be there15:16
frankbans/detup/setup15:16
benjigary_poster: do I remember that we wanted to create bugs for the lpsetup cards as we got to them?  if so, I'll create one for the one I'm working on so I can attach the MP to it.15:45
gary_posterbenji, yes, sounds great, thank you15:45
gary_posterbenji, I looked through the code and thought it looked good at first blush.  Maybe we want frankban to do some starter reviews as we all get familiar with the code?15:50
gary_posterstarter reviews == reviews that help us all get started, since he knows the code very well15:50
benjiThat sounds like a good idea.  We essentially did a pre-implementation call this morning because I treated my first branch as a prototype, this branch is the result of that call.15:51
bacgmb: any progress?15:57
gmbbac, Yes. It's fun stuff this. hang on, let me fire up the hangout again...15:57
bacrt15:58
gmbbac, https://plus.google.com/hangouts/_/cf98abf879ccb5bcaa52dc687ba22e9fe6fbabe3?authuser=0&hl=en-GB#16:00
gary_posterbenji, ok, I'll just review it since you already have a preimp, I guess.  Maybe we can ask frankban for a follow-up later.  So, my belief/impression is that a lot of this stuff I can skim over because it is just moving code.  In that vein, can you help me identify what I should look at more carefully?  I'll go through and write what I see, and then you can look (live, or after I've gotten to the end and ping you)16:07
gary_poster and see if you think I missed anything.16:07
gary_postertags: ok :-)16:08
gary_posterinthost registration: cool16:08
gary_posterinithost subcommand is almost all just moving stuff around, except you have a new pattern:16:08
gary_posterdefine the steps as class globals16:08
gary_posterso other subclass commands can use them easily16:08
benjigary_poster: the inithost and initialize __init__s are the most important part; mostly code just moved from initialize to inithost; also "fetch" was broken out of one of the functions that moved and left behind16:09
gary_postercool16:09
gary_posterbenji, you say __init__ but I think you mean the "steps" attribute that the base class __init__ works with, yeah?16:12
benjigary_poster: ah, right: initialize doesn't have an __init__16:12
gary_postercool16:13
benjior the other way around16:13
gary_posterneither one does I think16:13
gary_posterthey both use the base class I think16:13
benjiright, that was the prototype branch; it did some nasty things with slicing and dicing the install.steps to generate inithost.steps16:14
gmbbac, Changes pushed to the ~yellow branch.16:15
bacthanks!16:15
gary_posterbenji, I approved, mentioning I'd like to see a testing story in the next branch.  Do you have thoughts on how to do that?16:19
frankbanbenji, gary_poster: I have some comments, do you prefer here or in the review?16:19
benjigary_poster: frankban and I had a potentially fruitful idea of using ephemeral lxc instances to run whole-machine tests of the subcommands16:20
benjiwe should think of why we want to test before deciding too firmly on what and how, though16:20
gary_posterfrankban, in the review definitely, and here if you think it is valuable16:20
gary_posterbenji, why: thoughtful and good point.  balancing goals with test speed might or might not be interesting too16:24
gary_poster(that is, I expect the lxc instance tests will be much slower than basic "are we doing the right thing" tests, but the former is much more thorough, and I question the value of the latter beyond a Python syntax check)16:25
gary_posterbut I think we need to put the workaround in for 1014916 next; and then make our testing story, before we do anything else.16:26
gary_posterThe ephemeral tests, unless they install launchpad and verify that it works, which would take an hour or so, would actually not be much better than the mock-based "did we do what we expected to do" tests...16:28
bacbenji or gary_poster, would one of you have a moment to review the (excellent) work gmb and i have done to zope.testing?  https://code.launchpad.net/~yellow/zope.testing/fix-tests/+merge/11144216:36
* bac notes with horror i'm the lead contributor now to the lp:zope.testing project. ugh.16:37
gary_posterI currently vote for the mock approach.16:38
gary_posterbac, reviewing16:38
bacthx16:39
gary_posterooh, look, we can fix 1013921 without changes to zope.testing!  We just have to add -vv in our call to bin/test --subunit!16:50
gary_postercool16:51
gary_posterhey bac, where does out zope.testing for take over __stdout__ for the subunit stream?16:52
bacgary_poster: in options.  when it instantiates the subunit formatter16:54
gary_posterah!  right, thanks16:55
gary_posterbac, __stderr__ is overridden there but not __stdout__ right?16:57
gary_poster(I'm looking at p14 while staring at the MP)16:59
frankbangary_poster, benji: I've added suggestions to the MP, and  I hope they makes sense, because it's 7pm and hot as hell here in Italy...17:00
gary_posterfrankban, :-) I skimmed them and they made since to me.  Go relax.  Thank you!17:01
bacgary_poster: yes, sys.__stderr__ and sys.stdout are overridden there.  and sys.__stdout__ is used by the subunit formatter as its output stream17:06
gary_posterbac, oh, I thought we had to override __stdout__ too but I was mistaken?17:07
bacwe temporarily override it in some doctests17:07
gary_posterah, ok17:08
frankbangary_poster: :-) thanks and have a nice evening.17:09
benjithanks frankban; stay cool17:09
gary_posteryou too :-)17:10
gary_posterbenji, I still see some stdout in subunit. :-/  try "lp.codehosting.sshserver.tests.test_session.Test_WaitForExit.test_dataReceived_bad_data" and you'll see "Got invalid exit information: 'bogus\\n'"17:12
gary_posterI'll make a card for it.  no biggie, hopefully17:13
benjigoodness17:13
gary_poster(and in a similar "ugh" vein, "lp.services.webapp.tests.test_error.TestDatabaseErrorViews.test_operationalerror_view_integration" now fails consistently :-/17:16
gary_poster)17:16
gary_poster(it was intermittent; I'm assuming the cause is different)17:16
gary_posterbac, I approved https://code.launchpad.net/~yellow/zope.testing/fix-tests/+merge/111442 with some relatively small requests17:42
bacgary_poster: cool17:42
bacgary_poster: interesting suggestion.  i'm happy to make the change.17:45
gary_postercool17:48
bacgary_poster: i'm also making this trivial change: http://pastebin.ubuntu.com/1053030/17:54
bacas you can see, options.module can be True even if -m is not specified so the warning gets emitted erroneously sometimes17:55
gary_posterbac, ah, thanks yeah.  I've seen that behavior.  +117:55
bachmm, new drobo with thunderbold/usb3.  i'll bet that will be NotCheap18:00
bac"thunderbold" -- i should trademark that18:01
gary_posterbac, naah, there's a domain squatter there already http://thunderbold.com/18:03
bacdang18:03
gary_posterbenji, I haven't taken lunch yet, and I'm feeling peckish.  And like I need a break.  Do you mind if we start a bit late on our call today?18:03
benjigary_poster: sure, that's fine18:04
gary_posterthank you18:04
benjianyone know how to run the docests in lpsetup?  nose doesn't run them by default and I get ImportError: No module named pkg_resources when I use --with-doctest18:39
benjiarg! the doctests were decoys!  there are equivelent unit tests that /are/ actually run18:56
gary_posteryes, I think he left them as docs19:19
gary_posterbenji, hey19:19
benjihey19:19
gary_posterbenji https://plus.google.com/hangouts/_/2f068ac30c507beee7b6527c6dd4e8e857f25c81?authuser=1&hl=en-US ?19:20
bacgary_poster: when shall we talk?19:29
gary_posterbac, would 20 min from now be ok?19:29
bacgary_poster: post review changes: http://pastebin.ubuntu.com/1053150/19:29
bacgary_poster: ok.  16:00 is better19:30
gary_postercool bac, will talk then19:30
* bac goes for beverage20:02
bacyo yo gary20:06
bacgary_poster: you about?20:10
gary_posterbac hey https://plus.google.com/hangouts/_/2f068ac30c507beee7b6527c6dd4e8e857f25c81?authuser=1&hl=en-US sorry20:10
gary_posterbac, lines 191-193 of http://pastebin.ubuntu.com/1053150/ maybe unnecessary?20:44
bacgary_poster: yep.  good catch20:46
gary_postercool20:47
bacgary_poster: actually it is called at line 21320:48
benjigary_poster: if you are so inclined you can review the changes I made in response to frankban's comments (https://code.launchpad.net/~benji/lpsetup/add-hostinit/+merge/111429) or we can wait for him to do so tomorrow20:56
gary_posterbenji, looking20:58
gary_posterbenji, I have an incident going on again in ops.  It looks like you did what you asked but I'm pretty distracted.  I'm happy to approve if you feel comfortable, but I can't focus. :-(21:06
benjigary_poster: no worries, lets let it ride until tomorrow21:06
gary_postercool, benji, ttyl21:06

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