/srv/irclogs.ubuntu.com/2012/04/18/#launchpad-yellow.txt

bacmorning11:21
benjifrankban: I reviewed and approved https://code.launchpad.net/~frankban/launchpad/bug-974585-unclean-reactor-error/+merge/10247311:58
benjifrankban: I also reviewed the two MPs about adding to fstab12:02
frankbanthank you benji12:04
benjinp12:04
gary_posterbac benji frankban gmb call in 1 or 212:09
gmbOkay12:09
bacok12:09
bacgary_poster: quoth jml "soon.  sorry for the delay"12:19
benjigary_poster: I can't think of anything to add to the progress report.12:47
gary_posterack thank you benji12:47
frankbangary_poster: I am going to change "974585: in progress (frankban)" to "fix committed" in the document, do you agree?12:48
gary_posterfrankban, agreed, thank you12:49
gary_posterbac, fwiw I added comment 3 of https://bugs.launchpad.net/launchpad/+bug/98111412:50
_mup_Bug #981114: LP tests fail in lxc due to 'bzr whoami' failure <paralleltest> <qa-untestable> <Launchpad itself:Fix Released by bac> < https://launchpad.net/bugs/981114 >12:50
bacthanks gary_poster, that looks good12:53
gary_postercool bac, thanks for looking12:53
benjihmm, that's odd:13:06
benji% grep '^tags:' .testrepository/7 | cut -d' ' -f2 | sort | uniq -c13:06
benji      1 worker-013:06
benji     88 worker-113:06
benji     88 worker-213:06
benji     87 worker-313:06
benjiwell, maybe not that odd, that one tests took 0.6 seconds which is about the length of the test run13:08
gary_posterbac gmb, have you reviewed the doc for the past two weeks?13:41
gmbgary_poster: The biweekly progress doc for today?13:42
gary_posterfrankban, I replaced all the old lpsetup changes in the doc (that were from an earlier copy) with "various lpsetup improvements".  I reviewed the recent changes and they seemed relatively small, but I may have missed something.  Did I?13:42
gary_posteryes gmb, https://docs.google.com/a/canonical.com/document/d/1JsnEKxxID8GijjZcUOTQ671w9zeKNwoA4dbIhoSbGjA/edit13:42
bacgary_poster: looking13:42
gary_posterty13:43
gmbgary_poster: I'm looking now, too.13:43
gary_posterty13:44
frankbangary_poster: you are right, I think the only changes for these two weeks are just those you can see in done-done13:49
gary_postercool frankban, ty13:49
bacbenji: in charm tools we have this:14:32
bacjuju_status = lambda: command('juju')('status')14:32
bacany reason that is better than the more straightforward14:32
bacjuju_status = command('juju', 'status')14:32
gmbbac: Testing.14:32
gmbbac: The charm-tools tests monkeypatch juju_status so that it doesn't call out to juju, IIRC.14:32
bacgmb: er?  how so, for the slow?14:32
bacgmb: ok, i'll look for that14:33
bacjust curious, no biggie14:33
gmbbac: Yeah, it was a speed thing. However, it of course means that we need a test to make sure our mocker is actually accurate, which, also IIRC, it actually isn't.14:33
gmb(anymore)14:33
gmbbac: So feel free to actually make it, yanno, do what it should :)14:34
benjibac: I think the second should work, the first is probably from the time before the command function grew the second parameter14:34
bacgmb: i may have already14:34
bacit seems a juju_status command can be monkeypatched regardless of how it is originally defined.  benji i think you're right it may be a leftover14:35
bacgmb: the tests all passed in my latest branch after i updated them to account for 'agent-state' returned by 'juju status'14:36
gmbbac: Ah, cool.14:36
* gmb -> late lunch / changing locations14:38
bacgary_poster: as a slack time task i'm gathering information about the juju SSL failures so i can file a bug.  spurious juju failures were the doom of our scripting.14:57
gary_posterbac, sounds great, ty14:57
frankbancould someone please request a build here? https://code.launchpad.net/~frankban/+recipe/python-shelltoolbox-daily-lucid (I have reached the quota)15:28
gary_posterfrankban, on it15:32
frankbanty gary_poster15:32
gary_posterfrankban, destination should be "Yellow Squad PPA" right?  and Lucid, to state the seemingly obvious.15:33
frankbanyes gary_poster15:33
gary_postercool15:33
gary_posterpending frankban15:33
frankbanthanks gary_poster15:34
gary_posterwelcome15:34
gary_posterbenji, am I right that you are working on "Add worker ID tagging to testrepository" but not on the buildbot changes necessary for 974622?  If I am right, bac and/or I could look at that.  If I am wrong, woohoo!  more slack time!15:36
benjigary_poster: you're right, specifically testing at this stage15:37
gary_posterbenji, cool.  bac, I'm going to try futzing around with the buildbot stuff.  If you want to join me at some point, I strongly suspect that you would make things move much faster.15:37
gary_poster(but please feel free to finish the valuable juju bits you are doing)15:38
bacgary_poster: here is the error i see doing repeated calls to 'juju status':  http://paste.ubuntu.com/935599/15:39
bacgary_poster: i'll be glad to help with that in a bit.  i'm about to leave to go biking15:39
gary_posterbac, benji, I only see testtools and testrepository in yellow PPA.  we need the newest subunit, or at least the revision I identified in one of my emails, also.  Is that somewhere, like in the LP PPA, or do we still need to add that too?15:40
gary_posterbac, cool, have a good time15:40
benjigary_poster: I don't know of any changes we have made to subunit.15:41
gary_posterbenji, we didn't make a change to subunit, but as I outlined in the "steps we need to take" email, we need a newer revision than is released.  lemme find that...15:41
gary_posteryay, jml merged!15:42
benjigary_poster: oh, ok15:42
gary_poster> - add test in subunit for TestProtocolClient.tags method15:43
gary_poster> - add .tags method to TestProtocolClient (see patch below)15:43
gary_posterThese were added in revno 158 of subunit (unreleased).  We just need to make our own release (after the work on subunit-filter, below).15:43
gary_posterback in a moment15:57
* gary_poster going to lunch. subunit tests are failing, which means it won't build as is, which means we have work to do.16:38
gary_poster(I was wrong, confused by old builds)17:53
gary_posterbut python-testtools does fail because of def _merge_tags(existing, (new_tags, gone_tags)):18:06
bacbenji: do you know what needs to be done wrt subunit for ppa?18:08
baca ppa already exists here: https://code.launchpad.net/~testing-cabal/+archive/archive that jelmer looks to be working on to get r162 built18:09
benjibac: we need the head of subunit trunk packaged18:09
gary_posterbac, I was just going to copy that over when it was done18:09
gary_postera slightly bigger problem is that testtools does not build18:10
gary_posterbecause of that code I gave above18:10
gary_posterSyntaxError in py318:10
gary_posterso build fails18:10
gary_posterso unavailable18:10
bacgary_poster: it looks like support for py3 was only added recently to the packaging branch, but testtools looks to have lots of issue wrt py318:23
bacnot just the paramater format problem18:23
gary_posterbac, agreed18:23
gary_posterbac, I just said the next thing I found to jml18:24
gary_posterI think we should mae a branch with py3 build stuff removed, as I said to jml on -dev18:24
bacgary_poster: oh, ok18:24
gary_postertestrepository is failing too?  according to mail to yellow18:26
bacgary_poster: and also stuff like : AttributeError: 'range_iterator' object has no attribute 'next'18:26
gary_posterheh18:26
bacabout 15 test failures for py318:26
* bac looks at testr upload log18:27
gary_posterbac, so what's the most efficient way to rip out by3 build bits and get something working in the yellow ppa18:27
bacgary_poster: branch the vcs packaging, fix it and push to ~yellow.  they recreate build recipe referencing the new packaging18:28
bacgary_poster: i'll do that now18:28
gary_posterwe are using http://pastebin.ubuntu.com/935822/18:28
bacs/they/then18:28
gary_posterargh18:28
gary_posterbac, we are using "merge packaging lp:~vcs-imports/testtools/unstable"18:29
gary_posterperhaps there is a "stable"?18:29
bacbenji: it looks like testr recipe failed b/c the 'ppan' was not incremented.  correct?18:29
bacgary_poster: oh, maybe18:29
gary_posterbac, not that I see :-/ https://code.launchpad.net/~vcs-imports/testtools18:30
benjibac: it did once yesterday, but I fixed it that time; did it fail again?18:30
bacbenji: yes, recently18:30
benjihmm18:30
gary_posterand also http://anonscm.debian.org/bzr/collab-maint/python-testtools/18:30
bacgary_poster: i wonder if the build recipe lets you specify a revision number for the packaging branch18:30
gary_postergood question18:31
bacwould be nice18:31
bacjust roll back one or two rev18:31
benjiI just looked at the error in my email, it looks like incrementing the ppa# is all it needs.18:31
gary_posterr35 of testtools build won't be good enough bac18:32
gary_posterwe could fork it though18:32
gary_posterand up the revision number18:32
gary_posterbut r35 is 0.9.14-1 and we have 0.9.14-2 I think18:32
bacgary_poster: no i meant a new recipe that uses an old version of the packaging branch but trunk of the source tree18:33
gary_posterbac I understood18:33
gary_posterbac, my point is that their is not an old version of the packaging branch that is simply usable18:33
bacdo we need to talk, gary_poster?  i think we may be missing each other.18:33
gary_posterthere18:33
gary_posterok18:33
gary_posterI am in https://talkgadget.google.com/hangouts/_/extras/canonical.com/goldenhorde18:34
benjiit shouldn't matter but just in case it becomes important: I just merged the testrepository branch that I'm proposing to Robert into our testrepository "latest" branch18:57
benjigary_poster: I /think/ all the tasks for Tasks for bug 97462218:58
_mup_Bug #974622: cannot determine order of test execution in a parallel worker <Testrepository:Triaged> <testtools:New> < https://launchpad.net/bugs/974622 >18:58
benjigary_poster: I /think/ all the task for bug 974622 are done now.18:58
_mup_Bug #974622: cannot determine order of test execution in a parallel worker <Testrepository:Triaged> <testtools:New> < https://launchpad.net/bugs/974622 >18:58
bacgary_poster, benji: i've changed the testtools recipe to use trunk and created a packaging branch to get rid of the py3 build.19:08
bacthe recipe is at https://code.launchpad.net/~yellow/+recipe/testtools-daily19:09
bacunfortunately, we have the same versioning problem now.  trunk is at r253 where ~yellow/testtools/latest is at 265, so the latest ppa has that bzr revno19:09
gary_poster...19:10
gary_posterbenji, we still need to hook it up to buildbot...but we can make a separate card for that.  This adds value, I agree.  I'd like to sat that once the PPA is set up and works (we can show that all the tools we added can be used), we are done.19:12
gary_posterwith this card I mean19:12
gary_posterthen a separate card for the buildbot integration19:12
gary_posterbac, :-/19:13
gary_postersuggestions, bac?19:13
benjigary_poster: sounds good19:13
benjibac: you are working on the PPA, right?19:13
gary_posterAIUI...bac is working on getting testtools in the PPA, and benji is working on getting the newest testrepository in the PPA (the complaint that we all got from the build system was for a problem we actually care about)19:14
gary_poster(because we want --full-results)19:14
benjigary_poster: ok, I can do that (put testrepository in the PPA).19:15
gary_posterbenji, cool, thanks.  AIUI, you have to manually increase some number or other, from 2 to 3?19:15
bacyes, i am working on testtools ppa19:16
benjiI have the feeling that we should have decomposed that 974622 card a little more.19:16
bacbut i am stuck19:16
benjigary_poster: yep, that should be it19:16
gary_posterbenji, maybe.  I thought about it for a bit.  We had a bit of decomposition.  <shrug>19:16
gary_posterbac, if we simply merged trunk into our own branch would that be good enough?19:17
gary_posterthen we would be building from our branch19:17
gary_posterwhich would have a high-enough revno19:17
bacgary_poster: yeah19:17
benjiyeah, it wasn't too bad; I just think a tad more would have been nice19:17
gary_posterbenji, cool.  maybe see if you can come up with a suggestion for the future for our Friday call? (assuming we remember to have it :-P )19:18
gary_posterif not, no biggie19:18
benjik, I'll think about it19:18
gary_posterbut now, when things are fresh, is the time to see if you can turn that hunch into something actionable :-)19:19
gary_posterthanks19:19
gary_poster<cynicism> oh good, another linked in sort of thing for people to connect with: http://www.naymz.com/19:20
bacgary_poster: ~yellow/testtools/latest merged and PPA building19:21
gary_postergot an email from someone wanting to "connect with me"19:21
gary_postergreat bac thanks19:21
gary_poster(from a canonicalite I suspect I've never met, no less)19:22
gary_posterand to continue my cynicism, look, it's not buildbot, it's not jenkins, it's not hudson, it's...travis! http://travis-ci.org/ kills my chrome though19:26
gary_posterfine on midori though19:27
benjigary_poster: testrepository has been updated in the PPA, build successful19:41
gary_postergreat benji, thanks.  I saw that it was bopping along19:42
gary_posterbac, how goes it?20:03
bacgary_poster: had a mis-start but it is rebuilding now20:03
gary_posterbac, cool.  this is in https://launchpad.net/~yellow/+archive/ppa/+packages ?  I don't see the rebuild20:04
bacgary_poster: this go looks better: https://code.launchpad.net/~yellow/+recipe/testtools-daily20:04
bacgary_poster: not done yet20:05
bacgary_poster: 0.9.14-bzr266~ppa39~oneiric1 just published.  precise is finishing up.20:06
bacgary_poster: 0.9.14-bzr266~ppa39~precise1 is available20:11
gary_posteryay bac, thanks20:12
gary_postertrying20:12
bacgary_poster: false start.  it looked like it built but then didn't publish20:16
gary_posterbac, yeah, was going to say I didn't get it20:16
bacok, i missed something in the rules file.  sorry.20:16
bacgary_poster: it claims 13 minutes20:18
gary_postercool np20:19
benjigary_poster and bac: who is going to test the software in the PPA once that build completes?  I was assuming I was, but I should make that assumption explicit so if not I can start on something else.20:20
gary_posterbenji, the next task (I just made a card and then deleted it) is "buildbot results show subunit streams filtered by workers"20:22
gary_posterthat depends on this stuff working...20:22
gary_posteranyone who wants to work on that task should see if they have a working version of stuff that does what we want.20:22
gary_poster(sorry, I'm thinking this through)20:22
gary_posterso...I was planning on trying out what I expected to work for buildbot (via running testrepository tests, since they are parallel)20:23
benjioh, wait, I thought "verify that the stuff in the PPA does what we want" was the last bit of 974622, not the first bit of the next thing20:23
gary_posterwell...20:23
benji:)20:23
gary_posterverification and usage are darn similar I guess is what I was trying to think through20:24
gary_posterI was not planning on verifying except to the degree that I was going to see if I could use20:24
gary_poster it20:24
benjitrue, and if verification fails, then that will spawn new cards20:24
gary_postersomeone actually verifying and coming at it from that perspective would probably be wise20:25
benjiyep20:25
benjiok, in that case I don't have anything to do :)20:25
gary_posterbenji, oh, I thought you were going to be the verifier!20:25
gary_poster:-)20:25
gary_posterand I was going to hang out as the user, or sneak past you and see if I could use it while you were verfying it and not looking20:26
gary_posterSo, behold A Decision20:26
benjigary_poster: oh, I can be... even then, I'm blocked, but I suppose not for long.  Although, I've been thinking that it wouldn't be much longer for a while now.20:26
gary_posterheh, yeah me too20:26
gary_posterbenji, have you already watched inventing on principle, http://vimeo.com/36579366 ?20:27
benjiI have.  Good stuff.20:27
gary_posterthen I have no suggestions :-P20:28
bacgary_poster: lifeless' clarification of the whoami situation doesn't help me.20:30
gary_posterbac, we can move card for bug 949950 right?20:30
_mup_Bug #949950: Feature request: an option to show full subunit stream of running tests <Testrepository:Fix Committed by bac> < https://launchpad.net/bugs/949950 >20:30
gary_posterthen we have a spot free20:30
bacgary_poster: indeed20:30
gary_posterbac, remind me that bug please?20:30
gary_posterthe one with lifeless' comment20:30
bacbug 98111420:31
_mup_Bug #981114: LP tests fail in lxc due to 'bzr whoami' failure <paralleltest> <qa-untestable> <Launchpad itself:Fix Released by bac> < https://launchpad.net/bugs/981114 >20:31
bache's still thinking it is a test isolation problem.20:31
benjigary_poster: I'm going to move the 974622 card to... somewhere, because it's "done"20:34
gary_posterbenji, you verified?20:35
benji...20:35
gary_posterheh20:35
gary_posterI guess we talked past one another20:35
benjino, that is part of the next thing; isn't that what we just talked about20:35
gary_posternot exactly.  we can talk about it to clarify things later.  Please move the card once you have been able to verify.  I apologize for the confusion largely caused or at least exacerbated by my earlier indecision.20:36
bacgary_poster: ok, for real, the testtools are in the ppa:  https://code.launchpad.net/~yellow/+archive/ppa/+packages20:36
gary_posterbac, great20:36
gary_posterbac, I think I understand what Robert is saying now20:36
* benji is saved by the HVAC guy knocking at the door.20:36
gary_posterbut it is a pretty odd way of saying it20:36
gary_posterbac, I *think* Robert is making the point that we can set whoami explicitly in that test20:37
bacplease translate, slowly20:37
bacoh20:37
gary_posterand then it will give a nice value, irrespective of whether /etc/mailname is set20:37
gary_posterwhich makes sense20:37
gary_posterand Robert's ideas often make sense20:38
gary_posterso I choose to interpret his message in that way. :-)20:38
bacok20:38
bacso what do you want to do?  unwind the /etc/mailname change and do it this way?20:38
bacif that's the case i'd make a new card for it and, uh, get to it when we get to it.20:38
baci need to run to town for a bit.  bbl.20:40
gary_posterbac bye20:40
gary_posterand yes, let's unwind and add20:40
gary_posterI'll make a card20:41
gary_posterI made a card20:45
gary_postertesttools is not actualy available yet20:45
gary_posterbenji, AFAICT the worker tags are not included, but maybe my test sucks...20:56
gary_posteroh20:56
gary_posterwait20:56
gary_postermy test sucks20:56
benjihope springs eternal20:56
gary_posterno it doesn't :-P20:56
benjihope dies instantly20:56
gary_posterlol20:56
gary_posterno, hope springs eternal, but I don't think my test sucks20:57
benjipfft20:57
gary_posterso I have newest versions of three packages from ppa20:57
benjihope VERBS ADVERBly20:57
gary_poster--subunit works20:57
benjik20:57
gary_poster--full-results works20:57
benjik20:57
gary_posterbut --parallel does not give me worker tags20:57
benjiare worker tags added in your most recent .testrepository/## file?20:58
gary_postergood q looking20:58
benji(worker tags are always added, not just when --parallel is used)20:58
gary_posterno they are not20:59
gary_posterI've checked testr and subunit version20:59
gary_posterchecking testtools...20:59
gary_poster0.9.14-bzr26621:00
gary_posteryeah that's right21:00
benjigary_poster: I'm going afk now.  The next thing I would check is to see if the code is actually in testrepository.  You want to see a _wrap_result function in testrepository/commands/load.py that is fed to ConcurrentTestSuite.21:11
gary_posterbenji, ack, on call.  ttyl21:11
benjik21:11

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