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

gmbfrankban, Do you have any idea how I can ssh in to an ephemeral lxc instance on the buildbot slave?10:42
gmbuser: ubuntu password: ubuntu doesn't work...10:43
frankbangmb: you have to use '/var/lib/buildbot/.ssh/launchpad_lxc_id_rsa' as ssh key (or something like that). you can use lp-lxc-ip -n lptests to get the container's ip10:50
gmbfrankban, Ah, thanks.10:50
frankbangmb: remember to stop buildbot master while you are working on lptests lxc, otherwise you can generate a time/space fault...10:53
gmbWow.10:53
gmbI'll bear that in mind :)10:53
frankban:-)10:53
bacmorning y'all11:33
* bac wonders how this google hangout event will work. is the hangout pre-created for us?12:06
gary_posterbac, yes12:08
gary_posterI went to event page12:08
gary_posterthen there is a link to hangout12:08
gary_posterbac benji frankban (gmb) https://plus.google.com/hangouts/_/b52c1a893347c571cd1a315088194860867fb396?authuser=0&hl=en-US in 212:09
bacit is annoying that google events don't allow you to set up recurring ones...takes a lot of the utility out of it for a daily call.12:26
gary_posteragreed12:39
bachi gary_poster, YetAnotherDistributeTypeQuestion12:43
gary_posterbac, heh, ok12:44
bacgary_poster: benji and i ran into this on our dev boxes and for expediency decided the simple thing to do was use sudo to go ahead and let it install in /usr/local/lib12:44
bachttp://paste.ubuntu.com/1064215/12:44
gary_posterbac, I'd try sudo apt-get install python-setuptools first12:45
baci don't want to use 'sudo' in the verify_command for tarmac.  is there another solution?  or just use 'sudo' once manually and let it do the deed?12:45
gary_posterI think once it is installed, even the official package, things will work12:45
gary_posterand that's nicer12:45
gary_posterthe official package installation is nicer I mean12:45
bacoh, ok.  just make a dependecy on python-distribute?12:47
bacer, python-setuptools12:48
bacwhich, unfortunately, is already installed12:48
bacso installing python-setuptools does not help12:48
gary_posterah :-/12:49
gary_posterit worked for lpsetup :-/12:49
gmbbac, question bout STDERR: and STDOUT: stuff in subunit from zope.testrunner...12:53
gmbShould it be:12:53
gmbSTDERR: [text]\n12:53
gmbor12:53
gmbSTDERR:\n12:53
gmb[text]12:53
gmb?12:53
bacgmb: the latter12:54
gmbok.12:54
gmbbac, So, my question is, how would testr handle this:12:55
gmbsuccessful: lp.codehosting.codeimport.tests.test_worker.TestSubversionImport.test_sync [ multipart12:55
gmbContent-Type: text/plain;charset=utf812:55
gmbSTDERR:12:55
gmb6312:55
gmbNo handlers could be found for logger "root"12:55
gmbWARNING:root:N changeset 212:55
bacgary_poster: yeah, you see at line 11 of the paste that it sees the debian pkg is installed but is unhappy b/c it isn't an egg12:55
gmbWARNING:root:N changeset 312:55
gmb012:55
gmb]12:55
gmbIs that safe because it's in the multipart []?12:55
bacgmb: i don't know what you mean by safe?  it is just informational and should be ignored b/c it is in the multipart12:56
gmbbac, I mean "will it cause testr to choke and give us an unknown worker?"12:56
bacgmb: i wouldn't think so12:56
gmbOkay.12:57
gmbHmm.12:57
gary_posterbac, maybe is that an older ez-setup?12:57
gary_postertry the distribute-setup you have and see if it is more polite?12:57
gary_posteras I said, lpsetup worked with python-setuptools for me yesterday12:57
bacgary_poster: you mean bootstrap.py?12:58
bacgary_poster: yeah but lpsetup isn't using buildout12:58
gary_posterbac, no...I meant ez_setup.  but yeah, I guess the part that is unhappy is bootstrap :-/12:59
bacright, so there is no ez_setup as bootstrap fetches it12:59
gary_posterdoes it fetch ez_setup or the distribute version?  There is a --distribute falg now I think12:59
gary_posterflag12:59
bacgary_poster: could we move our call up to 3pm today?13:00
gary_posterbenji, could we move our call up to 2pm today?13:00
benjigary_poster: sure13:01
gary_posterthanks13:01
gary_posterbac, sure :-)13:01
bacgary_poster: it is this version: $Id: bootstrap.py 110538 2010-04-06 03:02:54Z tseaver $13:01
baci don't see any option for using distribute.13:01
bacif there is a newer bootstrap.py i could replace with it13:01
gary_posterbac, <shrug> http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py?rev=12300613:02
gary_posterthat has a --distribute13:02
gary_posterbac, oh one other idea.  if that falls over, try this one:13:04
gary_posterbac http://svn.zope.org/*checkout*/zc.buildout/branches/1.4/bootstrap/bootstrap.py?rev=11686913:05
bacgary_poster: i tried with the first new boostrap.py you referenced.  with it 'python bootstrap.py' worked, no new option needed13:07
gary_posterbac, great, hopefully13:07
bacit is ashame that those bootstrap files often don't have any date or versioning information embedded within them13:10
gary_posterthat's one of the reasons benji probably advocates not including bootstrap in packages, and forcing people to download them.  I disagree, but I see where he is coming from. :-)13:17
bacgary_poster: well, i'd like you to review this instead of benji:  https://code.launchpad.net/~bac/zope.testing/newbootstrap/+merge/11256213:18
gary_poster:-)13:19
bacgary_poster: i did not bump the version as it does not need releasing13:19
gary_posterbac, ack.  I made an "approve" comment but did not approve the mp (should I, as a matter of best practice, do you think?)13:20
bacgary_poster: if it does not require any code changes then i think the reviewer should do it.  that prevents any subsequent versions from getting merged...which has good and bad points to it.13:21
gary_posterbac, cool.  approved mp13:21
bacgary_poster: well this is odd:13:24
bac2012-06-28 13:24:03 INFO     No approved proposals found for lp:~launchpad/zope.testing/3.9.4-fork13:24
gary_posterfrankban, I was just reviewing the results log.  bug 974617 showed up on 2012-05-15 .  then it was completely silent till 2012-06-21, when it had two instances--and after which we've had two more instances in the next seven days.  Do you remember anything off-hand that might have re-triggered the problem?  Did we reduce the timeout again?13:26
_mup_Bug #974617: test_operationalerror_view_integration fails intermittently in parallel tests <paralleltest> <qa-untestable> <Launchpad itself:Fix Released by benji> <Python PGBouncer:Triaged> < https://launchpad.net/bugs/974617 >13:26
gary_posterISTR we had some very large timeout13:27
gary_posterand then we reduced it to 6013:27
gary_posterand then increased it to 18013:27
gary_poster(we reduced it to 60 when you improved the retry code somehow)13:27
gary_posterbac, uh?13:27
gary_posterbac, I'm afraid I don't know what to do about it.13:28
gary_posterdo you have any thoughts?13:28
bacgary_poster: was just informational13:28
gary_posteroh cool13:28
bacgary_poster: i'm chatting with dobey13:28
gary_postercool13:28
frankbangary_poster: the connection is now retried for 180 times13:31
bacgary_poster: despite the vague message, the problem was the MP lacked a commit msg so it was ignored.  boo.13:32
gary_posterbac, bah13:33
benjifrankban: https://bugs.launchpad.net/lpsetup/+bug/1016645 calls for positional arguments for repo and branch; is there an easy way to do that in the current lpsetup structure?13:33
_mup_Bug #1016645: lpsetup: get command <launchpad> <lpsetup:In Progress by benji> < https://launchpad.net/bugs/1016645 >13:33
benjiI might be better off using switches instead.13:33
gary_posterbac, a vague message that you could only see if you logged on to the tarmac machine, no less13:34
gary_posterfrankban, https://plus.google.com/hangouts/_/777c438088f7788065d36f022db674481b12d167?authuser=1&hl=en-US when you are ready13:34
frankbanbenji: you can add positional arguments as you usually do with argparse13:35
bacbut now when people are confused there are two of us to ask "did you set a commit message"?13:35
gary_posterbenji, argparse supports that, and we're on top of that; don't have a ready answer to your question, but am hopeful that there is one.  That said...there's probably reasonable defaults for those values, which suggest switches, and it seems to be the path of least resistance anyway, so +113:35
gary_posterbac, heh, true13:36
benjigary_poster: it probably wouldn't be hard, but switches make more sense to me anyway13:36
gary_postercool13:36
frankbanbenji: however: http://stackoverflow.com/questions/4480075/argparse-optional-positional-arguments13:38
benjifrankban: thanks13:40
gmbgary_poster, Do you have some time to help me debug our parallel testing 2.7 problems? I've been having issues getting into the LXC containers on the slave in order to be able to follow the steps you outlined in your email.14:13
gary_postergmb, on call, wil ping14:15
gmbSure14:15
benjifrankban: am I right in thinking that "repository" referenced in https://bugs.launchpad.net/lpsetup/+bug/1016645 is the same as the already-existing --directory option?14:20
_mup_Bug #1016645: lpsetup: get command <launchpad> <lpsetup:In Progress by benji> < https://launchpad.net/bugs/1016645 >14:20
frankbanbenji: looking14:45
gary_postergmb, hey sure.  how would you like to pair?14:45
gmbgary_poster, Sure thing.14:45
gmbI'll start a hangout.14:45
gary_postercool14:45
gary_postergmb, I will "prepare."  Back in 2.14:45
gmbO.o14:46
frankbanbenji: yes, it's the same14:46
benjifrankban: cool; I got half-way into implementing it when I realized it was already done but with a different name.14:47
frankban:-(14:47
benjino worries14:48
gary_postergmb, hangout?14:51
gmbgary_poster, G+ is teh suck.14:51
gmbBear with me...14:51
gary_poster:-/ k14:51
gmbgary_poster, https://plus.google.com/hangouts/_/713717cf5af4c438fee987556699093cd56fd288?authuser=0&hl=en-GB#14:53
bacgary_poster: the next step for tarmac-controlled branches would be to move them to be owned by lpqabot so that people cannot just push to them directly as currently done with the launchpad branches and the PQM user.  for the two under our control now i don't think that's a high priority but should be done before we hand it off to lp-proper.  agree?14:54
gary_posteragree bac14:55
benjiI have an MP ready for review: https://code.launchpad.net/~benji/lpsetup/bug-1016645-add-command-line-options/+merge/11258815:26
gary_posterbenji, I'll review after lunch if no-one beats me to it.  I request/suggest a low priority card for branch option.  Also, if I were reviewing, I'd ask your opinion on the spelling of directory vs repository.  I'd have to think through it myself, and asking you would help. :-)16:06
benjigary_poster: I don't love "directory" but not being steeped in bzr-lore, "repository" doesn't seem to mean the right thing either; at least "directory" is meaningless enough that it can mean whatever we want it to mean given the context16:10
frankbangary_poster: do you thing initlxc should stop the container at the end of the process?16:22
frankbans/thing/think16:22
gary_posterfrankban, good question.  thinking...17:02
gary_posterfrankban, to make our normal story as smooth as possible, the answer would be, by default, no.  Maybe an option to turn it off at the end would be good.17:03
gary_posterLeaving it on make me kinda nervous, but I think it makes the most sense.  Telling the user that the container is running woud be a good thing to do17:04
frankbangary_poster: cool, that's what I was thinking.17:04
gary_postercool17:04
gary_posterbenji, repository vs. directory: aren't we talking about the argument to initrepo?17:08
gary_posterstepping away, back soon17:09
benjigary_poster: I don't know about initrepo, but it's an argument to just about all of the commands because it's where all the files go17:09
benjiNow I'm doubting my understanding of the situation... but frankban said I was right...17:10
frankbanbenji: I think gary_poster meant "bzr init-repo" and yes, directory is the argument init-repo in this case. so, it's actually a bzr shared repository. +1 on renaming directory to repository17:12
gary_posterbenji, what frankban said :-)17:28
benjigary_poster: k17:29
benjigary_poster: the changes to rename "directory" to "repository" are done18:26
gary_posterbenji, thank you.  I've had some other things come up, sorry18:26
benjino worries18:27
gary_posterbenji https://plus.google.com/hangouts/_/096fce3ced6cd2c17da53177decc22d9ae8a5b43?authuser=1&hl=en-US ?18:37
gary_posterwhen you are ready18:37
gary_posterno rush18:37
bacgary_poster: ping19:09
gary_posterbac, I know, five more mins max, sorry19:09
bacgary_poster: ok19:10
gary_posterbac https://plus.google.com/hangouts/_/096fce3ced6cd2c17da53177decc22d9ae8a5b43?authuser=1&hl=en-US19:18
* benji enjoys a mango lassi.19:37
* bac braces for leankit-pocalypse tomorrow21:42
bacgmb you must share with frankban tomorrow.  i concur.  https://sphotos.xx.fbcdn.net/hphotos-ash4/s720x720/293727_10150902819136845_208774280_n.jpg23:36

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