/srv/irclogs.ubuntu.com/2010/04/01/#launchpad-dev.txt

spmwgrant: what's the script name? (sorry getting pulled via about 3-4 diff conversations, + phone, + doorbell....)00:02
wgrantspm: parse-ppa-apache-access-logs.py00:03
* mwhudson splorfs at the test failure00:04
wgrantmwhudson: Which? The one that will hit only today and tomorrow?00:04
wgrantOr a real failure?00:04
mwhudsonregistry/tests/../stories/milestone/object-milestones.txt00:04
wgrantYeah, that one.00:04
mwhudsoni think it'll fail from today onwards won't it?00:04
spmwgrant: out of curiosity; how many guess do I get to work out what that script does?00:04
wgrantspm: One.00:05
sinzuiI think it will only fail for the next two days00:05
spmOooo. tricky...00:05
wgrantmwhudson: Won't it start working once the date passes?00:05
mwhudsonwgrant: maybe00:05
wgrantOr once somebody changes it to year 3000. Whichever is sooner.00:05
sinzuimwhudson, None-the-less, someone should ellipsis the dates00:05
mwhudsonyeah00:05
mwhudsonsinzui: want to be that person?00:06
mwhudsonor i can, i guess00:06
wgrantIf the release had been a few hours later, this could have been very inconvenient.00:06
mwhudsonhooray for easter being when it is this year?00:06
sinzuiIf this had been the usual release with last minute landings this would have been a disaster00:06
wgrantYep.00:07
sinzuimwhudson, I can submit branch for the test. I wasn't planning on landing anything until PQM opens though00:07
spmwgrant: I can't find any ref to a script of that name; so i suspect it hasn't been requested yet. Or! it hasn't yet been sorted into an RT queue we have access to. But that's likely only for stuff in the past few hours max.00:08
mwhudsonoh right yeah, we're not in 10.04 yet00:08
wgrantsinzui: Doesn't production-devel need it?00:08
wgrantOr we won't be able to CP critical stuff like the checkwatches fix for days.00:08
sinzuiwgrant, right.00:09
wgrantspm: Damn, I guess we'll be waiting a week then. Thanks.00:09
sinzuiI think the solution is obvious. The next person that has to land a branch verifies that the tests passes, and if not makes a trivial fix. ec2 will certainly tell us, and the test fails is dev so there should be no surprise00:11
* mwhudson stabby01:41
thumpermwhudson: ?01:50
mwhudsonthumper: oh, test environment fun01:50
mwhudsonalso, the tests concerned are the codehosting acceptance tests so very very slow01:53
wgrantspm: AARNet agreed!?01:57
wgrantYay.01:57
spmwgrant: to be AU offical? technically they asked; not agreed. :-)01:58
thumpermwhudson: yeah they are01:58
mwhudsonare tests allowed to depend on the hostnames being set up?01:58
mwhudsoni.e. on bazaar.launchpad.dev being in /etc/hosts ?>01:59
spmwgrant: The guy who is their tech manager, for want of a better description, is a good mate (as well as of mbp too); and they get impressive benefits to their network costs by doing all this mirroring.01:59
wgrantspm: Did they also agree to be a push mirror?01:59
wgrantVery convenient.01:59
spmnot sure tbh; but they are *very* keen to look into ways to better handle mirroring. so win win.02:01
wgrantExcellent.02:01
* mwhudson would like a pushConfig that works cross-process02:02
wgrantCan I whip up a branch that replaces the near-constant "Development"02:08
wgrant... status in branch listings with the MP status, if present?02:08
ctrlsoftwgrant: doesn't that assume there's at most one mp status?02:10
wgrantctrlsoft: Yes.02:11
wgrantWhich is a false assumption, but a rare case in which I'm tempted to just revert to the branch status.02:11
ctrlsoftwgrant: It's possible for a branch to be proposed for merging into multiple other branches02:11
ctrlsoftwgrant: Hmm02:11
wgrantNot optimal, but still much better than the current situation which is completely useless.02:12
ctrlsoftwgrant: I agree the current status is a bit pointless, but I'm not convinced this is the best fix02:12
wgrantIf I have a couple of WIP MPs, https://code.edge.launchpad.net/~wgrant/launchpad does not help me.02:13
wgrantI have to go through all of the branches with MPs to find them.02:13
ctrlsoftwgrant: my branch listing page is useless anyway, I tend to only use +activereviews02:14
wgrantctrlsoft: +activereviews doesn't help with inactive reviews, though :(02:14
ctrlsoft(although it's a bit better now that destroySelf() is exposed over the API :-))02:15
ctrlsoftwgrant: yeah, we need +reviews :-)02:15
ctrlsoftI'd also be nice to see reviews related to teams I'm in on that page02:15
wgrantctrlsoft: https://code.edge.launchpad.net/~jelmer/launchpad isn't that bad.02:16
wgrantBut I guess since you care about lots of other projects, it's not as useful.02:17
ctrlsoftwgrant: true, but that's mainly because I've done quite a bit of housekeeping lately02:18
ctrlsoftwgrant: I had about 3.5k branches registered, all set to development02:18
wgrantctrlsoft: ...02:19
wgrantWhhhhhhy?02:19
thumpermwhudson: you up for a 15 min max pre-mid-impl call?02:30
thumperctrlsoft: trying to hide?02:32
ctrlsoftthumper: Now that Branch.selfDestroy() is available over the web API I've deleted most of them :-)02:36
thumperctrlsoft: cool02:36
thumperctrlsoft: james_w is exposing code import registration02:36
thumperctrlsoft: so you could create git imports :)02:36
ctrlsoftthumper: (that should also be a significant part of your remote branches gone)02:37
thumper\o/02:37
ctrlsoftthumper: (-:02:37
wgrantWasn't the remote branch UI going to die at some point?02:37
ctrlsoftthumper: It'd be interesting to use the Vcs-* headers in Debian packages to set up automatic imports for all Debian packages once Launchpad starts supporting code imports for packaging branches02:38
lifelessctrlsoft: they aren't sufficient to do packaging improts02:38
ctrlsoftlifeless: not as the canonical branch perhaps, but it'd be interesting to have them around and be able to merge from them02:39
wgrantIt would be nice if there was some consistency in package version control.02:40
wgrantNobody in Debian seems sure whether they are meant to be versioning debian/ or everything.02:40
wgrantOr whether they are based on the upstream branch or not.02:40
mwhudsonthumper: sure02:41
thumperwgrant: how broken is the build branch into source package job?02:41
wgrantthumper: It works perfectly.02:41
thumpermwhudson: although I'm about to run and get a coffee before collecting the girls from school02:41
wgrantWe've run it on DF.02:41
thumperwgrant: I heard that there were bugs02:41
mwhudsonthumper: ok, ping me when you get back i guess02:41
thumperwhen bigjools tried recently02:41
thumpermwhudson: ok02:41
wgrantthumper: There were issues testing it on DF because of firewalls and broken slaves.02:42
wgrantOh, right, there are two sorta-bugs.02:42
thumperah, but on the whole it is good?02:42
wgrant1) Scoring isn't implemented.02:42
wgrant2) Things crash if you set it to non-virtualized.02:42
wgrantBut the latter should never happen.02:42
wgrantRight, apart from those couple of minor things it works fine.02:43
wgrantThe second one may well be magically fixed in the model rework.02:43
wgrantThe first we have no algorithm for.02:43
* thumper really afk for coffee run02:44
wgrantSo, cron.publish-ftpmaster now timestamps all of its steps nicely. Can I get hold of the log for a couple of runs to work out where I can cut out more time?03:05
james_wctrlsoft: that's exactly my plan for doing the work03:06
ctrlsoftjames_w: great :-)03:07
ctrlsoftgmta ;-)03:07
* james_w is wondering how to get Debian to adopt Vcs-*-upstream:03:07
ctrlsoftjames_w: wasn't there some talk about half a year ago about having that in debian/watch ?03:08
ctrlsoft(I prefer a control header as well, though)03:08
james_wyeah, I think so03:08
james_wbut every time you propose a new control header people complain about it bloating the size of the Sources file etc.03:09
ctrlsoftjames_w: I wouldn't mind debian/watch if it didn't have such an obscure syntax03:15
james_wyeah03:15
james_wwe'd need a new watch file format to do it properly03:15
thumpermwhudson: ping03:16
wgrantthumper: Also, bug #55297603:18
mupBug #552976: SourcePackageRecipeBuild security needs work <Launchpad Bazaar Integration:New> <https://launchpad.net/bugs/552976>03:18
thumpermwhudson: yeah, was just reading that in my inbox03:18
mwhudsonthumper: hi03:19
thumpermwhudson: skype?03:19
mwhudsonthumper: unless you want to try mumble, sure03:19
thumpermwhudson: haven't tried mumble03:20
thumperwhat do I need to do?03:20
mwhudsonah you need to get an account from IS03:20
mwhudsonskype it is then i guess03:20
wgrantWhy not use Jabber?03:20
wgrantEmpathy XMPP video chat works fine these days.03:21
wgrants/video/audio/03:21
thumperETOOMANYOPTIONS03:21
wgrantWhat's the official plural of 'series' these days?03:25
wgrantI thougt it was recently changed to 'serieses'03:26
wgrantBut I don't see that used anywhere.03:26
thumperwgrant: series03:43
thumperwgrant: all the serieses were changed to series03:43
wgrantOh.03:43
mwhudsoni think if you use anything else mpt kills you in your sleep03:43
* wgrant goes back to 'for das in archseries:'03:43
thumperTotal: 26259 tests, 54 failures, 6 errors in 224 minutes 52.774 seconds. ;-(04:00
thumperbest fix them then04:00
thumperah04:01
thumperI wondered if there'd be much fallout from that04:02
thumperglock tweak04:02
thumperhmm, lots of breaks04:08
mwhudsonah yeah04:14
* thumper afk for pizza04:18
thumperman some doc tests are slooooow04:50
* thumper is still fixing tests05:43
thumperwhat was the solution to the GpgmeError ?06:02
thumperGpgmeError: (32, 176, 'Unknown error code')06:02
* thumper tries make clean build06:02
wgrantthumper: Patch pygpgme.06:03
thumper?!?06:03
thumperwhy do I have to?06:03
wgrantBecause the fix hasn't landed yet.06:03
* thumper sighs06:03
wgrantIt's an incompatibility with the new gpg in Lucid.06:03
thumperwhere is the reference to the fix?06:03
wgranthttps://code.edge.launchpad.net/~jelmer/launchpad/new-gpgme/+merge/2209306:04
wgranthttp://bazaar.launchpad.net/~launchpad-pqm/pygpgme/devel/revision/46.1.23 is the actual diff.06:04
thumperta06:07
* thumper just merges jelmers branch06:09
thumperok, now it should pass06:17
* thumper runs the test again06:17
thumper:(06:17
thumperImportError: No module named _gpgme06:17
thumpergah06:17
wgrantmake?06:18
thumperyeah, doing that now06:18
thumperthis branch has become the one that won't die06:19
thumperor perhaps06:19
thumperthe branch that won't pass the freaking tests06:19
thumper\o/ passing now06:19
thumperat least that one06:19
wgrantWhich branch?06:19
thumperhttps://code.edge.launchpad.net/~thumper/launchpad/all-code-review-email-using-jobs/+merge/2243906:24
wgrantAh, yay.06:24
* thumper stops for now06:28
jtvwgrant: coming across one problem when simulating build slaves...  I think python-asn1 just dropped into universe.07:39
wgrantjtv: What is that and why is it important?07:40
jtvwgrant: it seems to be indirectly required by launchpad-buildd.07:41
jtvAnd the slave's sources.list is set up for main only.07:41
StevenKjtv: I can't find a package with that name at all07:42
wgrantjtv: The slave's sources.list doesn't matter, except for translations jobs which don't override it.07:42
wgrantStevenK: Same here.07:42
jtvStevenK: sorry, python-pyasn107:42
jtvwgrant: ahhh07:42
StevenKIt's been universe since .07:42
wgrantAh, right.07:42
wgrantIt's been in universe forever, yeah.07:44
wgrantconch requires it.07:44
wgrantand twisted requires conch.07:44
wgrantHmmm.07:44
wgrantjtv: Do you know of any further changes that will be necessary for the translations slave? lamont wants to push out a new lp-buildd tomorrow.07:47
wgrantI would also appreciate a review of my get-translations-jobs-working, so the buildd hunk can be included in tomorrow's buildd rollout.07:48
noodles775wgrant: did bigjools re-paste that buildd crash? Apparently I can't access the paste either ;) If not, I'll repaste it once I get access.07:48
wgrantnoodles775: bigjools was gone. lamont poked me a few hours ago and we worked it out.07:49
noodles775wgrant: ah, great.07:49
jtvwgrant: I can review that for you today, sure.  With pleasure, in fact.07:49
wgrantjtv: Thanks. It's tiny.07:49
jtvOkay, make that lots of pleasure.07:49
noodles775wgrant: what was the issue?07:49
wgrantnoodles775: Running post-Wellington code with a pre-Wellington buildd-slave.tac.07:49
noodles775Ah.07:50
wgrantEasy to do, because buildd-slave.tac is copied in by a non-standard target.07:50
jtvwgrant: I don't have any further changes for launchpad-buildd in the pipeline right now, but this one would be important.  I can file a bug and work on it today.07:50
wgrantjtv: While I remember: the branch that you create on the wiki page caused an odd crash in the slave, so I ended up using a real source tree, which worked fine.07:52
adeuringgood morning07:52
noodles775morning adeuring07:52
wgrantMorning adeuring.07:52
adeuringhi noodles775, wgrant!07:52
jtvwgrant: the branch that I create on the wiki page?07:52
wgrantjtv: The wiki page gives a sequence of commands to create a branch to pass to the slave.07:53
noodles775wgrant: I spoke with bigjools yesterday about the schema change, and updated the MP with his comments if you're interested. https://code.edge.launchpad.net/~michael.nelson/launchpad/db-build-generalisation-db-changes/+merge/2252707:53
jtvwgrant: ah... it's a pretty minimal setup, probably not sufficient.  It's never mattered in the past because things would break before it could.07:54
wgrantnoodles775: Hmm, I don't like BuildBase.07:54
noodles775wgrant: why not?07:54
noodles775(There's already a interface/class for it, it's just not yet a db-table)?07:54
jtvwgrant: if we pick a sample branch from LP that people could just pull and then push locally, that'd work too.  Do you know of a conveniently small one?07:54
wgrantjtv: No. I ended up hacking configure.ac or similar in hello to contain the GETTEXT_PACKAGE line that pottery looks for.07:55
wgrantI couldn't find one that worked OOTB.07:55
wgrantThough I didn't look hard.07:56
wgrantnoodles775: BuildBase seems a lot less obvious that BuildFarmJob.07:56
wgrants/that/than/07:56
wgrantI've always regretted calling it that.07:56
wgrantIt is ugly.07:56
noodles775wgrant: It is, but only because it should really be called simply "Build" right?07:57
jtvwgrant: there has to be at least one that works out of the box, or I'll feel terribly pointless.  :)07:57
noodles775And the only reason we don't call it Build right from the start is because that table already exists and will need to exist until we've got all the changes finished (in the pipeline of branches).07:58
noodles775So we could rename it to simply Build at the end?07:58
wgrantnoodles775: A SourcePackageRecipeBuild shouldn't have a Build.07:58
wgrantThat's going to be terribly confusing.07:58
noodles775wgrant: huh? It needs to have a build doesn't it? Now I'm confused. If a SPRecipeBuild is to have a date_started etc., that info is coming from the underlying build? Hrm, do you want to call about this and explain? or prefer IRC.07:59
wgrantBuildFarmJob makes it abundantly clear what it is, and where it runs.08:00
noodles775Yes, which is why I initiall suggested ServerFarmBuild (but from what you're saying, that's not nice either).08:00
jtvwgrant: bug 55307708:01
mupBug #553077: Build slave needs universe package <buildfarm> <Launchpad Translations:In Progress by jtv> <https://launchpad.net/bugs/553077>08:01
wgrantnoodles775: These jobs needn't all be builds. If we call them jobs, we are more generic *and* we avoid confusion when talking about the concrete build types.08:02
wgrantjtv: I am confused08:02
wgrantjtv: Why does the slave's sources.list matter?08:03
wgrantOne doesn't install the slave in the slave.08:03
jtvwgrant: ah, of course!  We're not emulating the chroot inside the chroot!08:03
jtvThis all gets so confusing08:04
jtvNo wait08:04
noodles775wgrant: OK, so some jobs are builds, others may not be. OK.08:04
* noodles775 remembers the discussion at the sprint now.08:04
jtvwgrant: we _are_ running launchpad-buildd on the slave, and that needs universe.08:05
wgrantjtv: But the slave host's sources.list is out of our control.08:05
wgrantWe only control the one in the chroot, where we don't need to install launchpad-buildd.08:05
jtvwgrant: okay, but launchpad-buildd started breaking for me.  It's gotta be pretty recent.08:06
wgrantjtv: What's it breaking with?08:06
jtvwgrant: no installable candidate08:07
jtvreferenced by another package but not available08:07
jtvso I guess one of the packages we depend on in lucid sprouted a universe dependency in the past few weeks.08:07
wgrantIt's possible that python-twisted's dependencies have been strengthened lately.08:07
wgrantI have to wonder if lp-buildd really needs more than python-twisted-core.08:08
jtvyes... iirc it pulls in something like python-twisted-conch which in turn depends on python-pyasn108:08
noodles775wgrant: is this the same crash as earlier? bug 55306808:08
mupBug #553068: buildd-retry-depwait.py crashing <Launchpad itself:New> <https://launchpad.net/bugs/553068>08:08
wgrantnoodles775: No, completely unrelated. It's code I've touched recently... but it hasn't landed yet.08:09
* wgrant looks.08:09
wgrantBut... what.08:10
wgrantOh, I think I recall that code changing around the middle of 10.03.08:12
* wgrant checks.08:12
wgrantIt shuffled in there from another private method.08:12
wgrantCome on, annotate...08:12
StevenKblame!08:12
wgrantqannotate, actually.08:13
StevenKI wonder if gblame works too08:13
StevenKEr, qblame08:13
wgrantYay it crashed.08:13
jtvwgrant: looking at your branch... these are changes I looked at a bit yesterday, in fact.  Tip for this kind of MP: explain why each of the problems can't be integration-tested (or if you can't, well...  ;-)08:13
jtvSaves lots of potential back-and-forth on the review, and sometimes leads to testing breakthroughs08:14
wgrantGood point.08:14
wgrantctrlsoft: /win 508:16
wgrantOops.08:16
wgrantStevenK: Ahahaha08:17
wgrantYou are to blame.08:17
wgrantNice of you to suggest it :P08:17
StevenKOh crap, I am?08:18
wgrantYeah.08:18
wgrant1056508:18
wgranter, 1056608:18
wgrantIt was the one I thought.08:19
wgrantYou probably meant selectFirstBy. selectOneBy raises an exception if there's more than one.08:19
wgrantStevenK: But why did you change from the list comprehension at all?08:20
* StevenK is looking for the branch locally08:20
wgrantStevenK: http://pastebin.ubuntu.com/407455/08:21
wgrantThe test which used to catch that sort of thing is... gone.08:22
StevenKwgrant: I thought ArchiveDependency only had one thing in it, though?08:22
wgrantStevenK: It maps an archive to zero or more dependency archives.08:22
StevenKI saw all through the ArchiveDependency code that only 1 depends is supported08:23
wgrantOne dependency per dependency archive.08:23
wgrantThat is, UNIQUE (dependent, dependency)08:23
wgrantNot just UNIQUE (dependent)08:23
StevenKGetting that test back would be nice, or was that I removed because it used expanded_archive_dependencies?08:24
wgrantI'm not entirely sure why you removed it.08:25
wgrantWhy you removed expanded_archive_dependencies, that is.08:25
StevenKThere was a bug about it08:26
StevenKcprov said it was only used by one bit and should die08:26
wgrantBug #30000408:26
mupBug #300004: Archive.expanded_archive_dependencies() is obsolete and should be removed <qa-untestable> <tech-debt> <trivial> <Soyuz:Fix Committed by stevenk> <https://launchpad.net/bugs/300004>08:26
wgrantIt seems odd that it's not used by the sources.list code.08:26
StevenKRight, I have a diff. But I'm unhappy that the tests didn't pick it up08:36
wgrantWell.. you removed them :P08:36
StevenKThe test was calling a method I removed, so ...08:37
wgrantIndeed.08:37
jtvoh damn, I just realized: we're not getting any launchpad-buildd fixes in today unless it's RC.08:40
wgrantjtv: lamont already has a change on top of trunk.08:42
wgrantAs long as they're reviewed and noodles is happy, he is happy.08:42
* jtv likes happy08:44
jtvhi henninge08:53
henningeHi jtv! ;)08:53
jtvhenninge: we're a lot closer to working buildfarm jobs... wgrant is working on integration-testing the tarball uploads, and I'm working on an accidental new dependency of launchpad-buildd on a universe package.08:56
wgrantjtv: So, I think just try relaxing the dep to twisted-core, remove the rest, and see what happens.08:57
henningejtv: great! what can I work on?08:57
henningeoh, the auto-approval ...08:57
henninge;-)08:58
jtvhenninge: enjoy :-P08:58
* wgrant wondered why it wasn't auto-approved.08:58
jtvwgrant: that's what I'm trying... except: what is "the rest"?08:58
wgrantjtv: python-twisted*08:59
wgrantAnything that python-twisted depends upon.08:59
jtvgah:09:00
jtv  File "/usr/share/launchpad-buildd/canonical/buildd/slave.py", line 20, in <module>09:00
jtv    from twisted.web import xmlrpc09:00
jtvexceptions.ImportError: No module named web09:00
wgrantDepend upon python-twisted-web.09:00
jtvSo we may have to add some twisted "sub-packages" as well09:00
henningeHi wgrant! ;)09:00
wgrantMorning henninge.09:00
jtvwgrant: there wasn't any other python-twisted* AFAICS09:01
wgrantjtv: python-twisted-web has existed since at least Dapper.09:02
jtvNo I mean, I saw no other python-twisted dependencies in launchpad-buildd besides python-twisted.09:03
wgrantjtv: Right, because python-twisted depends upon python-twisted-*09:03
jtvAnd that was where I got confused about the "remove the rest."  :-)09:03
wgrantHmm.09:04
wgrantBut.09:04
wgrantActually, this may not be a problem.09:04
jtvyay, launchpad-buildd is running!09:04
wgrantjtv: I meant to actually remove those packages from your system.09:04
jtvoh09:04
jtvI'm working in a chroot09:04
wgrantjtv: grep around for any more twisted imports.09:04
jtvAnd for this I set up a fresh one09:05
jtvgood idea.09:05
wgrantIt turns out that this wasn't actually our bug at all; it's archive brekage.09:05
wgrantBut we should do this dependency minimalisation anyway.09:05
wgrant(python-pyasn1 is a new dependency, and hasn't been promoted yet. it probably will be on Monday)09:05
mrevellMorning.09:05
wgrantStevenK: Is that known ^^?09:05
jtvtwisted.application, twisted.python, twisted.internet09:05
jtvhi mrevell!09:05
wgrantjtv: All of those are core.09:06
wgrantMorning mrevell.09:06
jtvgreat.09:06
jtvAnd from my despot days I seem to remember a rule: keep your slaves lean.  If you find yourself with a fat slave, unless it's your food taster, you have a problem.09:06
wgrantjtv: Heh.09:07
wgrantSo, yes, this was unnecessary, but a good idea anyway.09:07
StevenKwgrant: I can't recall seeing it. Does it have an MIR?09:07
jtvwgrant: I don't think it's unnecessary per se...  transient breakage in dev test setups is still a nuisance.09:08
wgrantStevenK: Ah, yeah. Bug #55286309:08
mupBug #552863: [MIR] please promote pyasn1 <pyasn1 (Ubuntu):New> <https://launchpad.net/bugs/552863>09:08
StevenKwgrant: Right, so the person to bug next is pitti.09:10
wgrantStevenK: Well, the longer it stays broken the more likely we are to fix the excessive deps...09:10
StevenKwgrant: I can promote before the MIR is approved, I just don't like doing it09:14
wgrantStevenK: I think my last statement was in support of making it take as long as possible.09:14
StevenKSorry, I misread it09:15
=== almaisan-away is now known as al-maisan
jtvwgrant: just found one more twisted import in buildd... twisted.mail.  Is that in core?10:31
wgrantjtv: It's not, but isn't that only used by sequencer.py?10:31
jtvYes.10:32
jtvIt wasn't installed with the rest of the stuff on the slave, which is why I didn't see it before.10:32
wgrantYeah, that is part of a very ancient master.10:32
wgrantIt probably hasn't been run in years.10:32
jtvI don't see it being used anywhere...10:32
wgrantAnd isn't part of the buildd, so it doesn't matter.10:32
jtvMaybe we should kill the file at some point then?10:32
wgrantI have a buildd cleanup campaign planned. And partly implemented.10:33
jtvyay10:33
wgrantAt the moment it's a mess of slave code, non-slave code, obsolete slave docs, obsolete non-slave docs...10:33
jtvbtw please let me know when that last test is pushed.  I'm itching to approve that MP!10:33
wgrantjtv: Yeah, got distracted again. Just committed it now.10:33
wgrantnoodles775: Ah, I just realised why you had to ask about the buildd crash earlier. I sent an email several hours ago explaining that lamont had poked me, but it was still sitting in my outbox for no obvious reason.10:36
* jtv just had his fs go read-only again and is about to disappear for a while.10:38
noodles775wgrant: heh, yep, the last email I had was you saying you didn't have access to the paste :)10:38
wgrantjtv: That started happening to me again yesterday.10:38
jtvnoodles775: I have to leave to deal with various broken systems, but would very much appreciate review: https://code.edge.launchpad.net/~jtv/launchpad/bug-553077/+merge/2259910:38
noodles775jtv: yep, one of us will do it asap :)10:38
wgrantIt happened twice, around a failed suspend. I hadn't had a suspend failure in years before then, so I'm not really sure which is the cause and which is the effect.10:38
jtvwgrant: for a while I thought it was just the temperatures...  I had one HD operating in a room that was about 40°C and it broke, and another broke while in a room that must have been around 10°C.  But now it's happening more randomly AFAICS10:39
jtvnoodles775: thanks10:39
wgrantjtv: Yeah, it's been happening to me since mid-December. But it only happened a couple of times between Wellington and yesterday.10:39
wgrantAnd it's fortunately only /, so /home doesn't get horribly corrupted.10:40
wgrantAlso, those new tests are pushing... slowly...10:40
jtv"only a couple of times"?  Ted T'so was sitting right in front of me at the bzr session, I could easily have whacked him over the head.  He even gave me an excuse.10:40
jtvSpilt milk I guess.10:40
wgrantHahaha.10:40
jtvyes, bzr has slowed down a lot it seems.10:40
wgrantIt's a combination of LP and bzr.10:41
wgrantAnd crappy upstream bandwidth.10:41
jtvthat reminds me to go buy that new switch10:42
jtv...and fsck10:42
wgrantPlymouth has this really nice feature where it breaks if your filesystem needs a manual fsck, like mine tends to after one of those.10:43
wgrants/Plymouth/mountall/, I guess.10:43
jtvGuess what I'm about to do again...10:44
wgrantjtv: It's not actually an FS problem, AFAICT.10:46
wgrantThe actual block device is read-only.10:46
wgrantI am on LVM - are you?10:46
jtvwgrant: your diff just updated; thanks for extending FakeMethod.  I had this feature in an early iteration but no use-case for it yet.  One tiny thing more: a full stop at the end of your assertion string.  :)10:46
jtvNo, not on LVM AFAIK10:47
wgrantHm. Damn.10:47
jtv(I haven't used LVM for a while... never really liked ti)10:47
jtv*it10:47
wgrantjtv: Full stop added.10:49
jtvwgrant: and approved.  Thanks again!10:49
jtvAnd now, off to deal with everything being broken10:49
jtvNO CARRIER10:49
wgrantnoodles775, jtv: Thanks for the reviews.10:50
jtvpleasure10:50
wgrantnoodles775: Can you please mark https://code.edge.launchpad.net/~wgrant/launchpad/bug-549340-fix-buildqueue-destruction/+merge/22286 as Rejected?10:51
wgrantApparently I cannot.10:51
deryckMorning, all.11:03
noodles775wgrant: no problem, and done.11:13
wgrantnoodles775: Thanks.11:24
henningeWhat could be the reason for the test framework to fail with "no module named meliae" and "No module named setproctitle" ?11:46
wgranthenninge: bin/buildout11:48
wgrant'make' might do it too, but didn't in a couple of branches here.11:48
henningeoic11:48
henningewgrant: yes, that's what I would have assumed.11:49
henningenow this:11:49
henningeError: There is a version conflict.11:49
henningeWe already have: zope.interface 3.5.311:49
wgranthenninge: Lucid?11:49
henningeyup11:49
wgranthenninge: I resolved that by installing Karmic's 3.5.2.11:50
wgrantIt probably needs some buildout god to fix it.11:50
wgrantOr we just upgrade Launchpad to use 3.5.3.11:50
henningewgrant: thanks.12:00
ctrlsoftis there a particular reason the buildd slave package lives in the main launchpad branch ?12:12
ctrlsoftit seems like it would be quite easy to split off12:12
wgrantctrlsoft: You are the third person to say that today.12:12
wgrantIt depends on the rest of Launchpad for two things: testing infrastructure, and tachandler.12:12
wgrantI believe jml was looking at that. Although that may not have ended up happening.12:13
jmleverything I look at withers under my gaze12:13
wgrantHm, is USSO meant to be read-only?12:13
jmlwgrant, I didn't do anything about it, I just got pissed off and wrote an angry note in my todo lists. I've got two branches on my plate now, which is basically my limit.12:18
wgrantjml: Heh.12:19
jmlctrlsoft, but I think it would be quite easy to split off.12:20
jmlthe toughest bit is deciding whether to extract the shared dependencies between it and LP, or whether to just duplicate them12:20
jmland if the former, deciding what to do.12:21
=== mrevell is now known as mrevell-lunch
ctrlsoftjml, wgrant: ah, ok12:42
jmlso, in case you weren't following on #twisted12:59
jmlthey think that tachandler is a bad idea, but that something like it could be achieved by giving twistd more of an API12:59
jml(something which has been a goal for twistd for ages)13:00
jmlif I were doing the buildd split, I would just copy tachandler.13:02
wgrantjml: Note that Translations' odd obsession with not having tonnes of untested code means that lp-buildd now has test dependencies on LP.13:02
jmlwgrant, which bits?13:04
wgrantjml: TestCase, FakeMethod and TestCaseWithFactory from lp.testing.13:05
wgrantThe last sounds awkward.13:05
jmlwgrant, I'm saying this in total ignorance of the code, but...13:06
jmlwgrant, I reckon we could come up with a better testing strategy.13:06
wgrantAlmost definitely.13:06
=== matsubara-afk is now known as matsubara
=== daniloff is now known as danilos
=== mrevell-lunch is now known as mrevell
leonardris anyone else having time-sensitive test failures for registry/stories/milestone/object-milestone.txt?14:00
sinzuiyes14:01
salgadoleonardr, it's been fixed on db-devel already14:01
gary_posternoodles775: does your release-critical landing fix the existing failure in the branch that is running?14:58
gary_posterwell, disable :-)14:58
noodles775gary_poster: yes, it disables the test and I created bug 553259.14:59
mupBug #553259: buildd-slave.txt has a timing issue <Soyuz:Confirmed> <https://launchpad.net/bugs/553259>14:59
gary_posterthank you noodles775, great14:59
sinzuibac: ping15:21
bacyes, sinzui?15:21
sinzuibac: I am looking at the end of tests/product-views and the start of product-portlet-packages-views ...15:21
sinzuiproduct-views doesn't seem to be doing much, and what it does is already tested in product-portlet-packages-views15:22
sinzuibac: do you agree?15:22
baclet me look15:23
* sinzui was looking for a test that the form creates a Packaging object15:23
bacsinzui: yes that looks like a c-n-p error where the cut didn't happen15:24
sinzuias I thought. I will remove it now15:24
Ursinhasinzui, hi, do you know what's this oops about? https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1551O275015:38
sinzuiUrsinha, someone using wget is trying to automate launchpad. He is not passing a referer so we do not trust him15:41
sinzuiUrsinha, gary_poster know the issue well. The user should be using API15:41
Ursinhasidnei, hmm, I see15:42
gary_posterUrsinha: yes, that should not be an OOPS15:42
Ursinhagary_poster, want me to file a bug for that?15:42
sidneiUrsinha, good to know! *wink*15:42
Ursinhasidnei, sorry :)15:42
gary_posterUrsinha: yes, thank you15:43
=== matsubara is now known as matsubara-lunch
Ursinhagary_poster, I have another oops here, do you know what's happening?  https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1552C76416:07
salgadoUrsinha, looks like someone attempting to login while login.lp.net was down.  (it was scheduled to go down for a few minutes at around 9:00UTC today)16:09
salgadoUrsinha, care to file a bug asking for better error handling when the OP is down?16:10
Ursinhasalgado, I see16:10
Ursinhasalgado, sure, will do that16:10
gary_posterthanks salgado16:10
Ursinhasalgado, thanks16:10
salgadonp16:13
Ursinhasinzui, have you seen this oops before: https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1552A102916:33
sinzuiUrsinha, maybe. I think this is cause by a deactivated product that is linked to a package...this should not happen, but I recall seeing this once in production and I reactivated the product16:35
sinzuiUrsinha, yes! that is the case. I will fix activate the project, or remove the link and report a bug that this is happening.16:36
Ursinhathanks sinzui16:37
sinzuiUrsinha, I can get a report of this cases in production from the staging db on Sunday,  can fix the data issues. We will need a code change to ensure projects linked to packages cannot be deactivated.16:39
Ursinharight16:40
Ursinhasinzui, want me to file the bug16:40
Ursinha?16:40
sinzuiI am doing that now16:40
Ursinhaok16:41
=== matsubara-lunch is now known as matsubara
UrsinhaChex, gary_poster, rockstar, bigjools, danilos, sinzui, allenap, production meeting @ Freenode #launchpad-meeting in 5 minutes16:54
gary_posterthanks16:55
sinzuime16:55
maxbleonardr: Can I trouble you to add a missing tag to the launchpadlib branch? I've checked the branch against the tarball to verify the revision. command: bzr tag -d lp:launchpadlib -r revid:leonard.richardson@canonical.com-20100304202437-68ykm4fpbio8jdid 1.5.616:55
leonardrmax, sure16:56
leonardri now have a scirpt that tags releases as part of the release process btw16:56
leonardrdone16:56
=== stub1 is now known as stub
Ursinhastub, are you joining us in the meeting? I'm not expecting that :)16:59
stubI just emailed my bit :)17:00
Ursinhastub, thanks17:00
stubI am supposed to be enjoying myself somewhere right about now...17:00
Ursinhastub, go for it then :)17:00
UrsinhaChex, gary_poster, rockstar, bigjools, danilos, sinzui, allenap, production meeting @ Freenode #launchpad-meeting now :)17:01
Ursinhaal-maisan, hi, want to join us in prod. meeting in behalf of bigjools? :)17:02
al-maisanUrsinha: sorry but I am not part of the launchpad team any more.17:02
Ursinhaal-maisan, oh oh sorry, it's true17:04
=== salgado is now known as salgado-lunch
maxbthanks leonardr17:05
leonardrnp17:05
al-maisanUrsinha: :)17:06
=== deryck is now known as deryck[lunch]
kfogeladeuring: got a sec?17:27
kfogelintellectronica: test suite question for you, got a minute?17:31
* kfogel rotates around the members of his team17:33
kfogelgmb: test suite question for you, got a minute?17:33
sinzuidid someone add distroseries data to sampledata?17:40
* sinzui is seeing a tremendous amount of insane packaging data now. This crack cannot be created using the UI17:42
=== salgado-lunch is now known as salgado
=== gary_poster is now known as gary-lunch
gary-lunchUrsinha: fix for https://launchpad.net/bugs/547054 ("AssertionError: Don't try to render this page when the user is logged in.") was not in roll-out; will be in CP18:09
mupBug #547054: AssertionError: Don't try to render this page when the user is logged in. <oops> <Launchpad Foundations:Fix Committed by salgado> <https://launchpad.net/bugs/547054>18:09
Ursinhagary-lunch, ah, cool, thanks!18:10
gary-lunch:-)18:10
=== Ursinha is now known as Ursinha-lunch
adeuringkfogel: sorry, i was away. how can i help?18:13
kfogeladeuring: ah, well, I think I've found a workaround, but in a minute I'll present you with a paste that contains the question18:14
kfogeladeuring: (just need to run a test first)18:14
adeuringkfogel: ok, no hurry ;)18:15
=== deryck[lunch] is now known as deryck
kfogeladeuring: ok, so http://paste.ubuntu.com/407667/ works (note the branch has code changes already committed, this is just about the test suite).18:21
kfogeladeuring: but http://paste.ubuntu.com/407669/ does NOT work18:22
kfogeladeuring: I'm wondering why I can't reuse bug_11.messages.  I realize its value might be out-of-date by now and I'd need to refresh it, but I shouldn't be seeing the failure I am seeing, AFAIK.18:22
adeuringkfogel: without having had a look at the complete test file: Did you perhaps call logout(9 before the failing line?18:27
kfogeladeuring: yep18:27
kfogeladeuring: I mean, I didn't call it, but pre-existing code does, to be preice18:27
kfogelprecise18:27
adeuringkfogel: OK, so, a login() might help :)18:28
kfogeladeuring: thanks.  Now that I understand what was going on, I think I'll stick with my existing method for finding the last index, which works fine too and doesn't require a login.18:30
adeuringkfogel: yes, makes sense18:30
adeuringkfogel: but: I think the test would be even better if you showed that the admin user _has_ accesss to the URL you are opening in user_browser. The "not Found" message might have completely different causes than what you want to test.18:33
kfogeladeuring: can do18:40
kfogeladeuring: why do our tests no longer seem to show +actual output?18:46
kfogeladeuring: or am I doing something wrong?18:46
adeuringkfogel: I didn't notice this problem yet...18:47
kfogeladeuring: I run bin/test -vvct foo, with dummy expected output, but when the test fails, it just shows the "-" lines, no "+" lines18:49
kfogeladeuring: you see + lines?18:49
kfogeladeuring: for example http://paste.ubuntu.com/407679/18:50
adeuringkfogel: admittedly, I did not ran failing doc tests todays18:50
adeuringlet me try...18:50
kfogeladeuring: oh, I think I might be making a braino, hold on18:51
* kfogel hates on the way every experiment costs 30 seconds18:51
adeuring;)18:52
kfogelyeah, braino18:52
kfogeladeuring: okay, I'm baffled18:59
kfogelI'm trying lots of ways to match the output, but I can't.19:00
kfogelhttp://paste.ubuntu.com/407683/19:00
kfogeladeuring: you can see the failure, with expected vs actual, and at the very end you can see the relevant part of the diff19:00
jmlg'night all19:02
adeuringkfogel: admin_browser.contents contains the enitre HTML page. You want to use extract_text(...)19:03
kfogeladeuring: erp19:03
kfogeladeuring: thank you.  It's been great having you help me today, my first day ever programming Launchpad, or Python for that matter.19:03
kfogelWhere's the on/off switch on this thing, now...?19:04
adeuringkfogel: there are these days, where everything fails :) Usually a sgin that you need some holidays ;)19:04
kfogeladeuring: "Holiday".  I've heard people use that word a few times in the last few days.  Is it defined in the internal wiki somewhere?19:05
kfogelOor should I just google it?19:06
adeuringkfogel: probably ;)19:06
=== al-maisan is now known as almaisan-away
=== gary-lunch is now known as gary_poster
kfogelderyck: how did bug #544843 get filed in Launchpad Bugs?  It seems like a change in Apport's behavior to me (and I'm not sure whether it's a bug or not, though the fact that Martin Pitt thinks it is is persuasive).19:30
mup_Bug #544843: Bug reports with +storeblob now attach the raw file <Launchpad Bugs:Triaged> <https://launchpad.net/bugs/544843>19:30
deryckkfogel, it is our bug.19:31
=== mup_ is now known as mup
deryckkfogel, something gmb did with the recent storeblob work for processing large data files offline has changed so that we store the raw file when previously we just did the attachments19:31
kfogelderyck: it sounds like there's some structure to these blobs that I don't know about :-)19:32
deryckkfogel, yeah.  was this on the easy bugs backlog?19:32
kfogelderyck: yep, it's next in line19:32
deryckkfogel, I think I was thinking this should be simple for gmb who will know exactly what he did wrong.19:34
kfogelderyck: ok.  I'll look at something else, in the interests of efficiency.  I can watch for gmb's change later to see what it was, anyway.19:35
deryckkfogel, yeah, good call.  might be a bit much for an afternoon's work.19:36
derycksorry to mislead you there earlier.19:36
kfogelderyck: I know it was intentional, you don't have to pretend.19:36
deryckkfogel, getting you back for your collusion in this god-awful april fools holiday the web takes.19:37
kfogelderyck: btw, I sent this review to abel, but if you want to do it it'd probably be quick (he's off now I think):19:38
kfogelhttps://code.edge.launchpad.net/~kfogel/launchpad/546943-really-hide-hidden-bug-comments/+merge/2264719:38
kfogelderyck: then I can move my card along :-)19:38
deryckah, you get me with my secret passion.19:38
deryckkfogel, sure.  looking now.19:38
kfogelderyck: oh urgh diff still updating even now -- taking a while19:39
kfogelthere, done19:40
deryckkfogel, done.  r=me.19:53
kfogelderyck: thx20:00
derycknp20:00
deryckkfogel, could you help me test a theory please?  (visiting a page on lp to subscribe me to something)20:31
=== bjf is now known as bjf-afk
deryckkfogel, (when you see this) never mind.  Found what I needed.20:55
=== mbarnett changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 10.03 | PQM is open | Release manager: deryck | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews | Use http://paste.ubuntu.com/ for pastes
kfogelderyck: sorry, was afk21:10
deryckkfogel, no worries.21:10
derycklater on, everyone...21:19
kfogelbarry: still on?21:51
kfogelhttp://paste.ubuntu.com/407748/   <<--  sinzui, if you're on: I seem to have h0rked my devel tree (I discovered this while trying to link-external-sourcecode for another very old tree that I hadn't updated in a while)21:52
kfogelsinzui: trying to figure out how to get back to buildability21:52
kfogelbfiller: know much about launchpad development?21:57
bfillerkfogel: played with launchpadlib api in python a bit21:58
kfogelbfiller: ah, cool.  Okay, I won't hit you up for advice on why my build is broken right now, then :-)21:58
bfillerkfogel: yeah, I wouldn't know about that :)21:58
salgadokfogel, just call link-ext-s passing the path to the parent branch to it.  after that you can 'make build'22:01
kfogelsalgado: except if you're in devel, and you pass devel, you lose22:02
kfogelsalgado: search://"infinite binary loop"/ :-)22:02
=== almaisan-away is now known as al-maisan
salgadokfogel, oh, in that case you have to pass /path/to/lp-sourcedeps I think22:03
kfogelsalgado: let me see22:03
james_whow do I change the person making the requests in webservice doctests?22:03
kfogelsalgado: it worked!22:04
kfogelsalgado: thank you.22:04
salgadonp22:04
=== al-maisan is now known as almaisan-away
kfogeljames_w: show me which file22:04
kfogeljames_w: (not that I will necessarily know the answer, but I can try...)22:04
james_wlib/lp/code/stories/webservice/xx-code-import.txt, but I don't know if it will be in your tree yet22:04
james_wbut anything in that dir should be similar22:05
james_wI want to do a webservice.named_post() from someone other that 'sal<PING AVOIDANCE>gado'22:05
kfogeljames_w: so login() and logout() are usually the way...22:05
james_wok22:06
james_wand I can pass a person object?22:06
kfogeljames_w: oh, I may be misunderstanding -- I don't know what named_post is22:06
kfogeljames_w: IOW, you're not doing this through direct URL requests?22:06
salgadojames_w, that's not easy, unfortunately22:06
james_wdamn22:07
* kfogel listens to what salgado says to james_w22:07
james_wI guess I can dig into sampledata to find a team that the default user is and isn't part of then22:07
salgadojames_w, there are only a couple users setup to use the webservice22:07
james_wor add them to a team I create?22:08
salgado    test.globs['webservice'] = LaunchpadWebServiceCaller(22:09
salgado        'launchpad-library', 'salgado-change-anything')22:09
salgado    test.globs['public_webservice'] = LaunchpadWebServiceCaller(22:09
salgado        'foobar123451432', 'salgado-read-nonprivate')22:09
salgado    test.globs['user_webservice'] = LaunchpadWebServiceCaller(22:09
salgado        'launchpad-library', 'nopriv-read-nonprivate')22:09
salgadoactually22:10
salgadoI think I lied to you22:10
salgadowebservice_for_person() in lib/canonical/launchpad/testing/pages.py seems to be what you want, no?22:10
salgadoyeah, it does the oauth dance for you22:10
james_wlooks like it, thanks22:11
=== matsubara is now known as matsubara-afk
kfogelbarry: in a launchpad.dev environment, how does one test bug email notification?22:19
kfogelbarry: I've instrumented BugNotificationBuilder.build(), but it doesn't even seem like it's ever invoked when I make a change to a bug.22:19
kfogelmaxb: ^^ if you know answer to my above question to barry, let me know22:20
=== salgado is now known as salgado-afk
maxbkfogel: sorry, no. I've barely got any insight into how LP code actually works... too much time spent poking karmic/lucid upgrade issues instead :-)22:34
james_whas anyone used webservice_error?23:19
james_wis there a knack to it?23:19
james_wmy tests are reporting it not to work as I thought23:19
james_wand in fact there's a code test asserting that it has the behaviour that I don't expect23:26
james_wBranchMergeProposalExists has webservice_error(400), but when it is raised in the webservice tests the response code is 50023:27
wgrantThere's no knack to it.23:29
wgrantIt just works.23:29
wgrantIt's not inherited or anything?23:29
james_waha!23:36
james_wI think I know what it is23:36
james_wsaid exceptions aren't imported by canonical.launchpad.interfaces23:37
wgrantAh. Of course. Import them into lp.code.interfaces.webservice23:37

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