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

jmlwgrant, there's still a BRANCH.TODO in that patch01:00
wgrantjml: I was about to fix that.01:00
wgrantI must have used the wrong prereq.01:00
jml:)01:00
wgrantr something.01:00
jmlI'll review the branch then.01:00
wgrantThanks.01:01
wgrantAh, yeah, I based it on the integration branch, but forgot ther was still that one change remaining.01:01
* wgrant pushes.01:02
wgrantjml: Diff is fixed now.01:06
jmlwgrant, cool.01:06
wgrantHm, odd import diff.01:07
jmlwgrant, I've reviewed it. Thanks for the patch :)01:07
wgrantjml: Why not 'queueBuild'?01:09
jmlwgrant, that could work. Took me a moment to see that 'queue' was a verb though...01:09
jmlwgrant, but it is a better name. :)01:10
wgrant_estimateDuration was private before, so it wasn't on the interface.01:10
jmlahh ok.01:10
* mwhudson stabs buildmailman in the lungs01:11
* mwhudson widens his stabbing to the build process in general01:14
* elmo joins in the stabbing from the sidelines01:21
* wgrant stabs both the Launchpad and Soyuz build processes.01:21
jmlgargling stabby lungs01:24
=== jamalta-afk is now known as jamalta
wgrantjml: Want to review the second bit? It's 500ish lines01:31
jmlwgrant, sure. It'll be a couple of minutes before I start though.01:32
jmlwgrant, ok. ready01:41
jmlwoot.01:41
wgrantThis is landable, as thefinal in a series of three unmerged branches.01:43
wgrantThe first is noodles', and was reviewed last week.01:43
wgrant(that's the remaining unmerged bit of the integration branch)01:43
jmlwgrant, why the new tests in lib/lp/soyuz/tests/test_sourcepackagerecipebuild.py ?01:45
jmlwgrant, also, is there a bug filed for the bad names?01:45
wgrantjml: There is a bug filed. Shall I add it there with an XXX?01:45
jmlwgrant, that'd be nice, thanks.01:46
wgrantThe new tests are because there are new bits on the interface that have been implemented.01:46
jmlwgrant, ah, I see now.01:47
jmlwgrant, r=jml01:48
wgrantjml: Thanks. I'll add the XXX, then convince you to ec2 land it.01:49
jmlwgrant, ok.01:49
wgrantjml: OK, pushed (also with the year corrected in all of my XXXs. oops)02:04
wgrantCan you please ec2 land it?02:04
jmlwgrant, sure. got a commit message on the MP?02:04
wgrantjml: Yep.02:04
jmlwgrant, just to be clear, I'm landing lp:~wgrant/launchpad/ibuildbase-compliance right?02:05
wgrantjml: That's the one.02:06
jmlcool.02:06
wgrantjml: How's your process-upload branch?02:09
* jml does some local make build crap02:09
jmlI had forgotten about it.02:10
wgrantThat's all that's unlanded, apart from my Friday afternoon hacks which I'm isolating now.02:14
jmlok.02:17
jmlwgrant, ec2 land is broken :(02:41
jmlwgrant, or maybe I am.02:41
wgrantjml: What went wrong?02:46
jmlI gave it the url of the branch, not the mp02:46
jmlit raised a stupid error message02:46
wgrantAh.02:46
jmlprocess-upload-checks had some conflicts02:47
jmlI've resolved them fairly brainlessly, but I think correctly02:47
wgrantSo, bug #507783, bug #507784 and bug #507363 remain as blockers for a full run-through.02:47
mupBug #507783: RecipeBuildBehaviour has no security declarations <wellington> <Soyuz:Triaged by jelmer> <https://launchpad.net/bugs/507783>02:47
mupBug #507784: SourcePackageRecipeBuild.getLogFilename() is not implemented <wellington> <Soyuz:Triaged> <https://launchpad.net/bugs/507784>02:47
mupBug #507363: Generalise rescueBuilderIfLost <wellington> <Soyuz:New> <https://launchpad.net/bugs/507363>02:47
wgrantYeah, it was trivial to merge that.02:47
wgrantjml: Since jelmer's branch has landed, somebody should probably sneak that first one in.02:48
jmlwgrant, the process-upload-checks branch is waiting for a review, but no one has02:48
* wgrant fixes the middle one.02:48
wgrantjml: Ah. I guess that's probably a bigjools thing.02:48
jmlyeah02:51
jmlwgrant, I think my branch fixes bug 50778302:51
mupBug #507783: RecipeBuildBehaviour has no security declarations <wellington> <Soyuz:Triaged by jelmer> <https://launchpad.net/bugs/507783>02:51
jml12 conflicts encountered.02:51
jml:(02:52
wgrantjml: Your p-u-c?02:52
jmlyeah, after merging db-stable in02:52
wgrantjml: Merge ibuildbase-compliance into it. It is reasonably up-to-date.02:53
wgrant(and will be landed soon... maybe)02:53
jmlthe instance is up & running, fwiw.02:53
wgrantGreat, thanks.02:53
jmlmerging your branch in doesn't really help02:54
wgrantHmmm.02:55
jmlI'll do db-stable & get that going02:55
jmlI have nfi why I get code import conflicts02:57
jmlcriss-cross ftl02:58
wgrantYay criss-cross?02:58
wgrantYeah.02:58
wgrantjml: I need a common base class for BuildFarmJobs that have an associated BuildBase. Any hints for names that don't suck?02:59
jmlwgrant, start by picking a non-crappy name for BuildBase, I guess.02:59
wgrantJulian's against renaming that for the foreseeable future.03:00
jmlwgrant, such BFJs are building package stuff, right?03:00
wgrantjml: Yes.03:00
wgrantSourcePackageRecipeBuildJob and BuildPackageJob, but not TranslationsRecipeBuildJob or whatever they call it.03:00
jmlwgrant, PackageBuildFarmJobs?03:00
jmloh wait03:01
wgrantThey're not necessarily building packages, but all the current candidates do.03:01
jmlBuildPackageJob is _also_ terribly named03:01
wgrantIt is.03:01
wgrantWe intend to rename it.03:01
wgrantto BinaryPackageBuildJob.03:01
jmlwgrant, what's the thing they have in common?03:01
jmlother than building packages?03:01
wgrantjml: {SourcePackageRecipeBuildJob,BuildPackageJob}.build is an IBuildBase03:01
jml_handleStatus_OK should be on Build, right?03:02
wgrantNo, it should be on BuildBase.03:02
wgrantWell, until somebody else needs a different implementation.03:02
jmlwgrant, yeah, but conceptually -- you say they aren't necessarily for building packages?03:02
wgrantRight.03:02
wgrantI don't want to make the inheritance hierarchy more horrible than is necessary.03:02
wgrantIf somebody wants to add a BuildBase derivative that doesn't do package stuff, they can create another layer.03:03
jmlwhat could they possibly be for other than building packages?03:03
wgrantjml: Is there anything package-specific on IBuildBase?03:04
wgrantJust about any other job running in an archive context could use it.03:04
jmlwgrant, I guess not.03:04
jmlwgrant, there's nothing about archives there either.03:04
wgrantjml: Not in trunk. Check my branch.03:05
jmlwgrant, I'll take your word for it :) I want to resolve these conflicts before digging into even more code.03:05
wgrantAh, yeah, good idea.03:05
jmlwgrant, perhaps the name should have something to do with archives.03:06
wgrantIt also has distroseries, pocket, etc.03:06
jmlyeah. that sounds pretty package-y to me.03:09
jmlor at least, very focused on stuff to do with debian-derivatives.03:09
wgrantMm, possibly.03:09
wgrantYeah.03:09
wgrantHmm.03:10
wgrantWe actually have some build-specific stuff in BuildFarmJobBehaviorBase.03:11
wgrantJulian suggested that when we asked him about a name for the build-specific version of that.03:11
wgrantI wonder if we should do the same here.03:11
jmlanother thing to consider is that maybe our current object/class model is forcing us to choose bad names.03:11
jmlon db-stable, which is correct:03:18
jml        specific_class = self.specific_job_classes[self.job_type]03:18
jml        specific_class = specific_job_classes()[self.job_type]03:19
* jml picks one03:19
jmlOK. After that bloody merge, I'll run the tests.03:20
jmlhmm. I should have done that merge in the 'wellington' branch.03:20
wgrantPossibly.03:21
jmlor I should abandon the branch.03:21
wgrantOnce my branch lands, the branch is merged.03:21
jmlfair enough.03:23
jmlI'll abandon it then.03:23
wgrantSo probably best to abandon it.03:23
wgrantYep.03:23
* jml goes back to gtg hacking03:25
wgrantjml: Before you vanish, do you have anything more to say on the naming thingy?03:25
jmlwgrant, I think I'd give it a name that emphasises the archive-y or package-y nature of it.03:26
wgrantjml: OK. Thanks.03:26
jmlwgrant, I also think that once the translation stuff lands, it would be worth writing a document that explains the current system, and how to add a new type of job03:26
wgrantProbably, yes.03:27
jmlwgrant, by seeing all of the cruft described to other humans, we'll all suddenly get good ideas on how to make it better.03:27
jml(also, subclassing for code sharing sucks)03:27
wgrantWhat's a better solution?03:27
jmlwgrant, often composition is a better solution.03:28
jmlwgrant, but also sometimes just having different kinds of objects :)03:28
wgrantTrue.03:28
jmlC++ folks have some sort of proverb for this, IIRC. thumper might know.03:29
thumperjml: for what?03:42
=== jamalta is now known as jamalta-afk
freimHi. I have installed launchpad as described on launchpad.net and it seems to be running correctly. I do however start to wonder if I got the right branch build since everything seems hardcoded to launchpad.dev, has dummy data in it, mail configured to only go to local root, etc. Should I use a different branch for a production server?07:09
spmfreim: no you have the right code - same as what we use on the prod servers; you should (I believe) have a file configs/README.txt that should take you thru some of the config stuff and vaguely how it all works. The defaults are all wired for .dev as you've noticed.07:17
freimspm: ok, thanks07:20
freimguess I need to learn zope then :)07:21
=== Ursinha is now known as Ursinha-afk
wgrantAnybody around who can check if PQM knows about my branch?07:48
wgrantAn ec2test started 5 hours ago, but I haven't been emailed either way yet.07:48
wgrantjml: ^^?07:48
wgrantYay, landed.07:51
al-maisanYep!07:51
wgrantThis leaves jml's branch, my other branch, and two more diff hunks until trunk can do an end-to-end recipe build.07:52
al-maisanhmm..07:52
al-maisanwgrant: maybe it would be worthwhile sending a bigjools an email outlining what you just said i.e. what branches are still outstanding and mee07:53
al-maisan.. and need to land07:54
wgrantI might, yeah. i'm just proposing my latest branch now.07:54
* al-maisan goes back to packing07:54
wgrantOh, yeah, you're leaving :(07:55
al-maisanyup, tomorrow, bright and early :)07:55
wgrant6am?07:56
al-maisanfrom the hotel, yes.07:56
jmlwgrant, hi07:59
adiroibanhenninge: Hi, regarding bug 507498 , any idea why the bug was not catched by xx-potemplate-index.txt test ?07:59
mupBug #507498: AttributeError on potemplate page <oops> <Launchpad Translations:In Progress by adiroiban> <https://launchpad.net/bugs/507498>07:59
jmlwgrant, my branch has broken zcml, so doesn't get past the build step07:59
jmlwgrant, I'll look at it tomorrow or maybe later tonight, off to dinner now.07:59
wgrantjml: OK, thanks.08:00
henningeHi adiroiban!08:19
adiroibanhenninge: hi. I'm investigating why the bug 507498 was not prevented by the current tests (xx-potemplate-index.txt)08:28
mupBug #507498: AttributeError on potemplate page <oops> <Launchpad Translations:In Progress by adiroiban> <https://launchpad.net/bugs/507498>08:28
henningeadiroiban: yes, I am looking at that08:29
henningeadiroiban: it's because that permission got only checked on a corner case that the page test does not cover.08:30
henningeadiroiban: it is only checked if the project has rosetta *not* enabled and the template is *not* active (current).08:31
adiroibanhenninge: but why. I can see the potemplate-index, is accessing a POTemplateSubset (+pots) using anon_browser08:31
henningeadiroiban: then, in the check itself the owner check was only done if the potemplate was not for a productseries.08:32
henningeadiroiban: consider these two lines:08:33
henninge        if ((official_rosetta and potemplate.iscurrent) or08:33
henninge            check_permission('launchpad.Edit', potemplate)):08:33
henningeadiroiban: check_permission will only be called if on of official_rosetta iscurrent is false.08:34
henninges/on/one/08:34
henninge(there was a term for that but I forget)08:35
adiroibanhenninge: thanks. got it now :)08:35
adiroibanso normal user are not linked to that page... wondering how Diogo spoted this bug08:36
henningeadiroiban: also, for anon_browser, checkAuthenticated will not be called at all.08:36
henningeadiroiban: Diogo is just looking at oopses that occur on the production, edge and staging servers.08:37
henningeadiroiban: so this did not happen to Diogo but a user on edge.08:37
adiroiban:)08:37
adiroibanyes, but since that page is not linked from any other page visible to normal users08:37
adiroibanthen is should have been a webcrawler or such :)08:38
adiroibanthanks for the explanations :)08:38
henningeadiroiban: or a book mark or a user hacking the url ...08:38
wgrantbigjools: Morning.09:08
bigjoolsmorning09:08
wgrantDid that buildd-manager warning actually cause any problems/09:08
bigjoolsnot that I can tell09:09
wgranthmm.09:09
bigjoolsbut I wasn't paying much attention09:09
wgrantMight just be the generally broken logging.09:09
bigjoolsyeah the logging is pitiful09:09
wgrantI mean, we broke it somehow last week.09:09
wgrantIt works in the tests, but not in real life.09:09
* wgrant hunts for a reviewer for https://code.edge.launchpad.net/~wgrant/launchpad/bug-507784/+merge/1772209:13
mrevellHi!09:27
bigjoolseyup mrevell09:27
mrevellbigjools, Back in GMT yet?09:28
bigjoolsmrevell: yeah since sunday09:28
wgrantHe abandoned us.09:28
bigjoolswell - my body is in GMT09:28
mrevellbigjools, Yeah, I meant your mind, rather than your body :)09:28
bigjoolsI've been waking up at 5am every day since sunday09:28
mrevellnice09:29
bigjoolswgrant: how's lca?09:29
wgrantbigjools: Pretty good. Some very interesting talks.09:29
bigjoolsand do you have any unlanded branches from last week?09:29
wgrantAnd the wireless even works now.09:29
bigjoolsgosh09:29
wgrantbigjools: Three branches landed a couple of hours ago.09:30
wgrantOne is outstanding -- the one I linked 15 minutes ago.09:30
bigjoolsok09:30
wgrantThen jml's needs to land (he's requested a review from you, but the diff looks utterly broken), and somebody needs to fix rescueBuilderFromSlave.09:30
bigjoolsE_too_many_new_classes09:30
wgrantThen everything is merged.09:31
wgrantYES.09:31
bigjoolsI'll review his todau09:31
bigjoolstoday even09:31
jmlbigjools, thanks.09:31
bigjoolswas busy fixing that private build cockup yesterday09:31
wgrantjml: Any idea what's wrong with the diff?09:31
wgrantbigjools: What was the actual problem? Private->public PPA copies worked fine here...09:31
bigjoolsjml: no problem Stephen09:31
jmlwgrant, no, I'm working on other more interesting failures right now09:31
bigjoolswgrant: the bug you reported about the missing _sendFileToSlave09:32
jmlbigjools, :)09:32
wgrantbigjools: Oh, that one.09:32
bigjoolsyes that one :)09:32
jmlbigjools, I was saying to wgrant (re the too many classes thing) that it'd be good to write a doc on how to add a new build farm job after this & the translations one are done09:32
jmlbigjools, such a doc would show us quite clearly the bits where it's All Too Hard09:32
bigjools+109:33
bigjoolsI want to document all the new classes separately09:33
bigjoolsand then we can rename them if needed09:33
bigjoolsit's too bloody confusing09:33
wgrantYep.09:33
wgrantAnd we can shuffle stuff out of lp.soyuz. Once everything is merged.09:34
bigjoolsjml: where do we normally put mixin classes in our hierarchy?09:34
bigjoolsyep09:34
wgrantAt least the Translations jobs seem to be keeping to lp.translations09:34
jmlbigjools, well, a "how to" guide might show you why some of them don't need to be separate (or exist!) at all. Or maybe not.09:34
jmlbigjools, probably lp.services normally. lp.buildmaster seems a good place for a lot of these though.09:35
bigjoolswell wgrant has added one in the model dir.  I question if that taints the purity of everything actually being a model class09:35
wgrantI suspect that lp.buildmaster actually wants to go to lp.services.buildfarm eventually.09:35
bigjoolsor just rename buildmaster -> buildfarm09:36
jmloh right09:36
jmlbigjools, on the 'model' or not, opinion is divided09:37
jmlbigjools, I personally think that the word 'model' means more than just "db wrappers"09:37
bigjoolswell I don;t mind either way, as long as it's clear :)09:37
bigjoolsand that we all know where to put them and look for them09:38
jmlbigjools, probably 'model'09:38
jmlhardly anyone actually uses the 'adapters' subpackage09:38
bigjoolsapart from Soyuz :/09:38
bigjoolswhich wasn't my doing09:38
jmlalso, lp.services.buildfarm would better fit the intent of the new tree than lp.buildfarm. But I'll save that argument for when someone gets around to moving it. :)09:39
bigjoolsI don't like lp.services09:42
bigjoolsit seems ill-defined09:42
wgrantIf the build farm isn't a service, what is?09:43
bigjoolswhat's a service?09:44
wgrantGood question.09:44
bigjoolswgrant: ok I'll approve your branch - is jml landing it?09:45
jmlbigjools, lp.services is supposed to be stuff that the rest of Launchpad uses that isn't really worthy of an external library09:45
jmlit's a terrible name09:46
bigjoolsyeah09:46
jmlbut I haven't heard anyone come up with a better one, or a better place to put generally useful code.09:46
bigjoolslp.stuff would even be better :)09:46
wgrantbigjools: I've not organised a landing.09:46
wgrantI wonder if I should sneak the fix for bug #507783 in with it, given that it wasn't included in jelmer's branch.09:48
mupBug #507783: RecipeBuildBehaviour has no security declarations <wellington> <Soyuz:Triaged by jelmer> <https://launchpad.net/bugs/507783>09:48
bigjoolsfeel free09:48
jmlwgrant, it's in my branch.09:50
jml(I think)09:52
jmlI remember fixing it at the sprint anyway09:52
wgrantjml: You attached a patch to the bug.09:54
jmloh.09:54
* wgrant checks your branch, though.09:54
wgrantI didn't see it when I merged it earlier.09:54
jmlno, that makes sense.09:55
jmlbigjools, wgrant: ok. I'm running my branch through ec2 test, now that its zcml is fixed10:00
wgrantbigjools: OK, security stuff there. Can you ec2 land it?10:01
wgrantjml: Great.10:01
bigjoolswgrant: I can't ec2 land it :)10:01
* wgrant will look at rescueBuilderIfLost tomorrow.10:01
wgrantbigjools: Oh, true.10:01
* bigjools runs into the house and turns on the beast10:01
bigjoolswgrant: so the branch I just reviewed, you added zcml stuff?10:02
wgrantbigjools: Right. http://bazaar.launchpad.net/~wgrant/launchpad/bug-507784/revision/1020310:02
bigjoolsok10:02
wgrantStolen from jml's diff.10:02
bigjoolsI guess I should sort my ec2 access out10:02
wgrantIt's pretty handy.10:03
wgrantjml: Is it expected that I didn't receive an email about the earlier test completion?10:03
jmlwgrant, umm. no.10:04
wgrantIt looks like I normally do, but this time I did not.10:06
jmlwgrant, I didn't get one either.10:10
wgrantOdd.10:10
jmlyeah.10:10
jmlI'm not going to debug ec2 test / land now though10:10
wgrantGood policy.10:11
wgrantI suppose we should fix the data model this week.10:21
* wgrant considers the whole sleeping thing.10:44
bigjoolswgrant: you can sleep when you're dead10:50
adiroibanhi. any idea why factory.makeProduct() is getting an error for wikiurl, when running from make harness ? http://paste.ubuntu.com/359492/10:58
=== matsubara-afk is now known as matsubara
bigjoolsjml: still around?12:03
marsBjornT, what format was the js-play.prof file that you took?  Firebug Profiler?13:26
=== jamalta-afk is now known as jamalta
bachi henninge_14:27
=== henninge_ is now known as henninge
henningeHi bac!14:32
=== mrevell-lunch is now known as mrevell
bachi henninge -- i'm re-reviewing the branch adi worked on yesterday.  he had a problem with date_last_updated14:32
henningeyes14:33
bachenninge: i recall you advised him to use removeSecurityProxy instead of updating the permission14:33
bachenninge: problem is you can't set the new value using rSP14:33
baci was wondering why not just move date_last_updated to use lp.Edit14:34
henningebac: The reason I opted for rSP is that date_last_updated should only be changed in that context.14:35
bachenninge: right, but it just doesn't work.  :)14:35
baca = removeSecurityProxy(b)14:35
baca = new_value14:35
bacdoes not change b14:35
henningebac: but if that 's not possible, allowing lp.Edit is ok.14:36
henningebac: hm, something about flushing or comitting?14:36
bachenninge: ok, i just wanted to run it by you to ensure i wasn't missing something14:36
bachenninge: on the phone be right14:37
henningeadiroiban: what's the login on that virtual machine?14:42
adiroibanhenninge: good question :)14:43
adiroibansomething like d3v3l0p3r14:43
adiroibanuser: developer14:43
bachenninge: nm, i found out what he was doing wrong14:43
henningebac: oh, what was it?14:44
bachenninge: he was calling rSP(context.date_last_updated) ... getting an unwrapped attribute not the unwrapped object14:44
henningebac, adiroiban: oh, I thought we had talked about that.14:45
=== Ursinha-afk is now known as Ursinha
henningeadiroiban: the login was correct14:46
adiroibanbac: thanks14:46
=== salgado is now known as salgado-afk
=== salgado-afk is now known as salgado-lunch
bacadiroiban, henninge:  http://pastebin.ubuntu.com/359563/14:48
henningebac: yes, that's what I would have expected.14:49
marsok, I'm a bit confused by our setup docs here.  maxb, around?14:50
maxbhello14:50
marshi maxb.  Do you have a moment to help untangle the docs for a system reinstall?14:51
marsmaxb, I'm trying to figure out why the 'launchpad-developer-dependencies' package isn't mentioned anywhere in the setup docs14:51
marsand it is no longer in the ~launchpad PPA?14:51
maxb!14:52
maxb'launchpad-developer-dependencies' is a binary package built by the 'launchpad-dependencies' source package. the PPA webpages display source packages14:52
maxbIt is in the PPA14:52
marsah14:52
marsthat makes sense14:53
marsI know I have to install 'launchpad-dependencies' as a dep of lp-dev-deps, but I didn't know they came from the same source14:53
adiroibanbac: I've pushed the change14:53
bacadiroiban: ok, i'm including a few other bits in my review.14:54
marsmaxb, cool, thanks.  You wouldn't happen to know if installing the ~launchpad PPA, and then installing launchpad-developer-dependencies must be done *before* running rocketfuel-setup?14:54
marsmaxb, because the docs don't even mention the ~launchpad PPA14:54
marshmm14:55
maxbUnless you're missing something really fundamental, like bzr, it should be fine to let rocketfuel-setup add the PPA14:55
marsah, it does?14:56
* mars checks the source again14:56
bacadiroiban: MP updated14:56
marsmaxb, got it, ~line 177 in rf-setup.  Cool, thanks for the help!14:57
mars"2 packages upgraded, 153 newly installed, 0 to remove and 11 not upgraded.14:59
marsNeed to get 310MB of archives. After unpacking 737MB will be used."14:59
mars!14:59
mars^ that is the launchpad dev system footprint.15:00
bigjoolstell me about it, my nice lean VM image ballooned after installed the deps :(15:19
marswell, that nixes the idea of downloading a full VM.  You'll have to grow the VM from a seed image.15:22
bigjoolsyep15:22
bigjoolsI have a script to make one15:22
marsbigjools, how big is a 'lean' VM?15:22
bigjoolsI can't really remember15:23
bigjoolsat a guess it was about 30MB15:23
bigjoolsmaybe less15:23
marswow15:24
marsbig size difference there15:24
=== matsubara is now known as matsubara-lunch
marsgary_poster, ^ so that makes the story around "downloading a seed VM for LP developers" sound a little more appealing, eh?15:25
marsargh.  rocketfuel-setup went without a hitch, but 'make schema' barfed on a CSS error: make: *** [css_combine] Error 115:27
gary_postermars, yes.  bigjools, is that lean vm something we could offer to open source devs?  Or does it at least show us a way we could do it?15:28
bigjoolsyeah we could15:29
marsbigjools, and what does your "script to make one" do?  Build the VM, or the VM+lp-dev ?15:29
bigjoolsI was using the vmbuilder script to make mine15:29
bigjoolsjust the VM, running rf-setup obviously bloats it15:29
marsjust the VM15:29
bigjoolshowever we could work out a minimal set of scripts that sets up basic stuff15:30
marsand then some sort of easy way to run rf-setup inside of it15:30
bigjoolsthen let the dev run rf-setup15:30
bigjoolsor a subset of it15:30
bigjoolsit's very easy to set up with vmbuilder15:30
marsbigjools, how do you access the vm from your local system?  Fuse?15:30
gary_posterbigjools: I hadn't heard of vmbuilder.  That's cool.  What does the vm run in?15:30
bigjoolsmars: I run it as a VM and ssh into it15:31
gary_posteroh, I guess, many of them...15:31
bigjoolsgary_poster: any vm manager :)15:31
marsbigjools, how do you hack on the source tree then?15:31
bigjoolsI used qemu15:31
gary_posteryeah, nice little script!15:31
bigjoolsmars: it's COW15:31
marssurely you don't run the editor in the VM15:31
bigjoolswhat editor?15:32
marsbigjools, "I need to hack on this feature, then run the branch".  How do I hack the branch with my local editor, but run the branch using the VM?15:32
marsfuse is one way to do it15:33
marsseamless integration15:33
bigjoolsI think I was pulling off my host, or pushing to the VM15:33
gary_posterI use fuse for my vm stuff.  It is nice.15:33
bigjoolsI guess you can use fuse15:33
bigjoolsbut if the VM is running...15:34
marsright, if the branch resides on the VM, then it needs to be running15:34
gary_posterbigjools, I don't understand how the vm is only 30M.  Does it rely on the Ubuntu source hanging around?15:34
marsbut if the branch resides locally, and fuse pulls it into the VM...15:34
bigjoolsgary_poster: it's only that size until you install the lp deps15:34
bigjoolsand yes it pulls in a load of packages to build it in the first place15:35
bigjoolsit helps if you have apt-proxy15:35
bigjoolsfor repeated runs!15:35
marsbigjools, trying to work on your xvfb problem.  Does 'make css_combine' work in your copy of trunk?15:36
bigjoolsmars: let me check15:37
bigjoolsmars: yep it's fine15:37
marscrap15:37
bigjoolsmars: my big problem now is that I can't even run my tests using bin/test :(15:38
bigjoolsit won't start the browser over an ssh-proxied X session15:38
marsbigjools, yeah.  Did you see my reply?15:38
bigjoolsoh not yet15:38
bigjoolsmars: I replied to your reply, I have a different problem15:38
bigjoolsunless you replied to my reply to your reply15:39
=== leonardr is now known as leonardr-market
marsbigjools, maybe an xset command is called for?15:41
kfogelgmb: when you get a chance, take a look at our fix for that "XXX" in https://code.edge.launchpad.net/~kfogel/launchpad/505845-affects-person-from-dups/+merge/17721 (which I've resubmitted, so you should get a new diff)15:42
bigjoolsmars: to do what?15:42
bigjoolsI mean, other X stuff works fine over ssh15:42
bigjoolsit's very odd15:42
marshmm15:42
=== salgado-lunch is now known as salgado
bigjoolsI think we should remove js tests from blocking landings until this is all resolved15:43
gmbbigjools: +1.15:48
bigjoolsgmb: do you find it flaky as well?15:49
gmbbigjools: Not on this system, but I've had it do weird things to me last week (which I got around nicely by just killing the Windmill process)15:50
marsbigjools, is that the correct display number in your error message?  10:0 ?15:54
Ursinhabigjools: hello :)15:54
Ursinhabigjools: is this a known error? https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1480EC81915:54
bigjoolsmars: yes, it's the ssh proxy15:55
bigjoolsUrsinha!15:55
bigjoolsUrsinha: hmmm that's odd15:56
bigjoolsUrsinha: someone is copying between private/public yet again15:57
bigjoolsit's not really tested15:57
bigjoolsI need to disable it :(15:57
Ursinhabigjools: :(15:57
Ursinhabigjools: may I file a bug about it?15:57
bigjoolsI already have one15:58
bigjoolsUrsinha: bug 50933315:58
mupBug #509333: LP should not allow a user to copy from a private to a public PPA <Soyuz:Triaged by julian-edwards> <https://launchpad.net/bugs/509333>15:58
bigjoolsyou can add the oops there if you like15:59
Ursinhabigjools: just did that :)16:00
Ursinhabigjools: thank you very much16:00
bigjoolsthank you16:00
=== bigjools is now known as bigjools-otp
=== bigjools-otp is now known as bigjools
=== matsubara-lunch is now known as matsubara
marsbigjools, I'm wondering if some debugging info in test_on_merge.py, around line 140, may be in order16:34
bigjoolsmars: happy to help16:34
marsbigjools, perhaps a call to subprocess.call(['/usr/bin/bash'], shell=True) ?16:35
marsto open a shell on the terminal16:35
marsbigjools, either that, or a print statement16:36
bigjoolsmars: which? :)16:38
marsbigjools, still reading.  does the xvfb-run script use xauth?16:38
bigjoolsmars: looks like it16:40
marsbigjools, can you call something like "xvfb-run -s '-screen 0 1024x768x24' /usr/bin/xclock" on the local/remote sysytem?16:41
marsbigjools, run xclock in the same way that windmill would run16:41
bigjoolsmars: it just exits with no error16:42
marsbigjools, I guess it would have to run on the remote system, because that is where test_on_merge.py is run16:42
bigjoolsI tried local and remote16:42
marsbigjools, how about: xvfb-run -s '-screen 0 1024x768x24' /home/ed/canonical/lp-branches/missing-slave-method-bug-509383/bin/test -vv16:44
bigjoolsmars: same thing, it just exits16:45
marsbigjools, no processes left over?16:45
bigjoolsand leaves an xvfb running in the background16:45
marsno test process, eh?16:46
marsbigjools, ok.  So you get a "cannot connect to display" error when running bin/test on the remote system16:49
marsand 'make check' fails on the remote system when you use the xvfb-run step16:50
bigjoolsmars: yes, after about 3 hours when it starts the windmill layer tests16:50
mars:)16:50
bigjoolsso I landed the fucker anyway :16:50
marsbigjools, 'make jscheck' on the remote system does... ?16:50
marsheh16:50
bigjoolsone sec16:50
bigjoolsmars: working fine over the ssh tunnel16:52
bigjoolsmy screen is full of FF16:52
marshmmm16:52
marsbigjools, reading man xvfb-run:  The following command should execute successfully: "$ xvfb-run --auto-servernum --server-num=1 xlogo"16:55
marsbigjools, if it does not, grab the exit code16:55
marsecho $?16:56
bigjoolsone sec16:57
bigjoolsmars: exit code is 116:58
=== Ursinha is now known as Ursinha-nom
marsok, perhaps something with the way that xvfb-run is using server numbers16:59
marsbigjools, I had to ^C that call on my local system, and it gave an exit code of 13016:59
bigjoolsboth my remote and local boxes have the problem here17:00
bigjoolsI suspect you have a package installed I don't17:00
marsbigjools, does it say anything in the terminal?  ""Xvfb failed to start" >&217:01
marsbigjools, you do have the xlogo program on your system, right?17:02
marsthe remote system17:02
bigjoolsyes :)17:02
bigjoolsmars: ok this is weird, now it works locally17:03
bigjoolsbut nothing in the terminal for the remote system that fails17:04
marsbigjools, ok, "$ cp /usr/bin/xvfb-run $home/xvfb-run", edit the script, around line 182 add 'echo "Return value: $RETVAL"'17:05
marsbigjools, then chmod +x $home/xvfb-run && bash $home/xvfb-run17:05
marser17:05
marsand finally, run it with: $ xvfb-run --auto-servernum --server-num=1 xlogo17:06
marsbigjools, that should give you /something/ in the terminal17:06
marsthere is a slight confounding of the script return variables at work here17:07
marsI can't tell if xvfb-run is failing, or if the command you are passing to it is failing17:07
bigjoolsmars: on a call now, I'll be intermittent, one sec17:08
marsok17:08
bigjoolsmars: line 182 is "exit 1", is that the right place?17:11
marsbigjools, uhm, no.  "exit 1" is line 175 on my system17:11
mars$ apt-cache policy xvfb17:12
marsxvfb:17:12
mars  Installed: 2:1.6.4-2ubuntu4.117:12
marsbigjools, ^ ?17:12
bigjools2:1.6.4-2ubuntu417:13
marsrunning lucid?17:13
bigjoolshell no :)17:13
marsah, wait17:14
bigjoolsah but wait!17:14
mars2:1.6.4-2ubuntu4.1 is greater than 2:1.6.4-2ubuntu417:14
marsbigjools, so it looks like there is at least some teeny, tiny ten line difference between our xvfb-run scripts.  I wonder what the .1 package version bump did?17:16
bigjoolsmars: I have that version in an update17:17
bigjoolslet me try again17:17
marsI lack the apt-fu to pull the change from the command line17:17
bigjoolsmars: ok line 182 is "set -e"17:18
marsbigjools, ok, then please add: echo "Proxied command return value: $RETVAL"17:19
marsbigjools, and then you should be able to see if command failed, or if xvfb-run failed, or if Xvfb failed17:19
bigjoolswell it doesn't fail any more17:20
bigjoolslol17:20
bigjoolsmars: https://edge.launchpad.net/ubuntu/+source/xorg-server17:22
bigjoolssee the changelog for karmix17:22
bigjoolsit was published 14 mins ago and fixed xvfb17:23
mars'Universal Troubleshooting Process, Step 1: "Is your system up to date?"'17:23
marsbigjools, what?!17:23
bigjoolsquite :)17:23
marsok, next up: converting Bjorn's .prof file to KCacheGrind17:32
=== leonardr-market is now known as leonardr
leonardrflacoste, gary: we have declarations @operation_returns_entry and @operation_returns_collection_of17:57
leonardrwe do not have @operation_returns_nothing_in_particular17:58
leonardrwhich means that in a multiversion scenario you can go from returning nothing in particular (ie. nothing the wadl needs to know about) to returning an entry, and then to returning a collection, but you can't go back to returning nothing in particular17:58
leonardrshould i define @operation_returns_nothing_in_particular as part of this work, or just mention it in case we need it later?17:58
gary_posterleonardr: I don't really understand.  flacoste is away.  What does the wadl not need to know about?  Is this for the case of a function that returns None?  Or...18:02
leonardrgary: if a named operation returns a data model object, we put that information into the wadl18:03
leonardrotherwise it's assumed that the operation returns arbitrary json18:03
gary_posterleonardr: but if it returns a scalar we do not?18:03
gary_posterah18:03
leonardrand launchpadlib does not make any attempt to wrap the json in a launchpad object18:03
gary_posterleonardr, so, @operation_returns_json18:04
leonardrso we're talking about the unlikely case where a named operation returns a data model object in one version and arbitrary json in the next18:04
leonardryeah18:04
leonardrgood name18:04
leonardrexcept it doesn't even have to be json18:04
gary_posterexample?18:04
leonardrit could return html (assuming the client requested html)18:05
=== Ursinha-nom is now known as Ursinha
gary_posterOK, I'm assuming we have these already.  It sounds like these methods are specifically for returning to the webservice?  @webservice_operation?  @direct_webservice_operation?  If it is easy to do this, it seems reasonable to do this now.  If it takes more than an hour, and we don't need it, move on.18:09
gary_posterwith a note18:09
gary_posterleonardr: ^^^18:09
leonardrgary: we do have such methods already18:10
gary_posterack18:10
leonardrit's somewhat likely that they will trend towards returning data model objects18:10
leonardrit's less likely that anything will go in the opposite direction18:10
leonardrbut it should be easy to add18:10
gary_posterleonardr: are the methods typically specifically for the webservice?18:11
leonardrgary: yes, these declarations only apply to methods _as published in the webservice_18:12
leonardrnow that i think about it, if a method changes that heavily, it's more likely that we'll define two different methods and expose them as the same name in different versions18:14
leonardrwe've got a similar problem with @mutator_for. what if the method stops being a mutator?18:16
gary_posterleonardr: I don't think that's what I mean.  Yes, operations_* describe the webservice.  However, typically, they are annotating methods that are often used in other ways, yes?  They are often just internal API methods for which we say "expose this".  My question was whether these methods that return JSON or HTML are methods that are typically written for the webservice, rather than merely exposed by the webservice.  ...If i18:16
gary_posterimportant, then whatever.18:16
leonardrgary: in a multi-versioned environment you will not longer be able to just 'expose this'18:16
leonardrdepending in how serious you are about backward compatibility you will have to keep old code around18:17
leonardrgary: i'm leaning towards just implementing a general @not_exported or @reset declaration, which i believe i was going to implement anyway18:20
leonardryes, it's @no_longer_exported18:20
gary_posterleonardr: ok sounds good18:21
leonardrgary: so you can use @no_longer_exported to stop it, and then if you want to be really crazy you can use @export_*_operation again to bring it back18:21
gary_poster+118:22
gary_posterIs anyone around who can tell me how bzr-builder is supposed to be knit into the db-devel tree?18:29
* maxb knows nothing, but really hopes it's the same way as the other bzr plugins18:40
wgrantgary_poster: Run update-sourcecode.18:44
wgrantBefore yesterday you would have needed to run it in db-devel, but the changes seem to have been pushed into devel yesterday as well.18:44
gary_posterwgrant: yeah, I was the one who pushed them into devel to work around lameness in some of our test scripts.  what I actually need to know is how bzr-builder is supposed to find its way into optionalbzrplugins, because db-devel is failing, I've duped locally, and it is because bzr-plugins is not importable, and I can't figure out how it should have gotten into optionalbzrplugins, or the python path.  do you know?18:46
gary_postereh, should have been a period after "is failing."  Blame it, and other run-on constructions, on writing too fast :-)18:47
maxbI thought it was in bzrplugins, not optionalbzrplugins?18:48
gary_poster(to be clear, my two concrete observations are that I don't see it in optionalbzrplugins, though I assume it should be there; and it is not importable by lib/lp/soyuz/model/sourcepackagerecipedata.py during wadl generation)18:49
gary_postermaxb: ah, yes, builder is in bzrplugins, and hg, git, and the like are in optionalbzrplugins18:50
mwhudsonbuilder should be in bzrplugins18:51
mwhudsonoh18:51
mwhudsonmaybe you have to import lp.codehosting before you import it?18:51
mwhudsongoddamn import order dependencies18:51
gary_postermwhudson, ok will try :-/18:51
wgrantIs buildbot happy now?18:53
gary_posterwgrant, no it is sad18:53
gary_postermwhudson: no, did not solve18:54
* mwhudson actually looks at buildbot18:55
gary_postermwhudson: will try looking at python path before import...18:55
mwhudsongary_poster: i think bzrlib.plugins.__path__ is also worth looking at18:55
gary_postermwhudson: ack, that would be more pertinent thanks18:57
gary_posterdisabling SHHH would help...18:59
gary_poster...sigh, or maybe not...18:59
mwhudsongary_poster: 'make' in db-devel works for me, of course18:59
gary_poster:-) of course18:59
gary_postermwhudson: here is the recipe that worked for me fwiw19:00
gary_posterget db-devel19:00
mwhudsonthough that's perhaps because i have bzr-builder installed in ~/.bazaar...19:00
gary_posteroh, maybe19:00
mwhudsonnope19:00
gary_posterok, so to continue recipe, link-external-dependencies19:01
gary_posterrm the symlinks to the new packages (bzr-hg and bzr-builder) in sourcecode19:01
gary_posterrun update-sourcecode-dependencies19:01
gary_posterand, if you are me or buildbot, fail when you try to run make19:01
* mwhudson tries19:02
gary_postermwhudson (and any others): http://paste.ubuntu.com/359690/ shows sys.path followed by bzrlib.plugins.__path__19:05
mwhudsonbzrlib.errors.BzrError: xmlrpc protocol error connecting to https://xmlrpc.edge.launchpad.net/bazaar/: 302 Found19:06
mwhudsonyay hotel internet!19:06
gary_postermwhudson: so, bzrplugins/builder/ is empty for me19:06
mwhudson!?19:06
gary_posterit is also a real, not symlink19:06
gary_posterhard19:06
gary_posterI am guessing it should be a symlink?19:06
mwhudsonyes19:07
gary_postermwhudson, who was supposed to put it there?19:07
mwhudson!?19:07
mwhudsoni _did_ put it there19:07
gary_posterheh19:07
mwhudsonbut it seems db-devel 8894 unsymlinked it19:07
gary_posteroh!19:08
mwhudsonkind changed:19:08
mwhudson  bzrplugins/builder@ (symlink => directory)19:08
gary_postermwhudson: I assume that should be a symlink to sourccode/bzr-builder?  Would you like me to do the honors?19:11
gary_posterOr I can go have lunch :-)19:11
mwhudsongary_poster: i would like to go and have breakfast, so if you could...19:11
gary_postermwhudson: sure.  Thanks so much for your help19:11
mwhudsonfwiw it was gmb in db-devel r8889.1.1 that done it19:12
gary_posteryeah, I saw :-)19:12
mwhudsoni guess related to the general sourcecode confusion19:12
mwhudsonoh well19:12
gmbgary_poster, mwhudson: sry.19:12
mwhudsongmb: not to worry, at least it's easy to fix :)19:12
gmb:)19:12
gary_posterabsolutely :-)19:12
* mwhudson goes to see if loggerhead explodes over the kind change19:12
mwhudsonhm, doesn't display it usefully, but at least it doesn't go bang19:14
* mwhudson breaks fast19:14
gary_posterok, not out of woods yet, fwiw19:15
gary_posterChanging the symlink reveals the following19:15
gary_posterhttp://paste.ubuntu.com/359700/19:16
gary_posterof which the important bit is ImportError: No module named debian_bundle19:16
gary_posteroh19:16
gary_posterduh19:16
gary_posterI bet I need to update my dependencies19:16
mwhudsonyes19:17
mwhudsonthat's in python-debian which is depended on by launchpad-dependences 0.6219:17
gary_posteryes, should have done that first, sorry19:17
mwhudsonnp19:17
flacosteso the failure was because of a bad merge conflict resolution i guess19:17
gary_posteryeah19:17
* mwhudson really goes away19:17
gary_poster:-)19:17
gary_posterflacoste: actually, probably because gmb was trying to get things to work before devel had the sourcecode branches, and did so by mutating the tree19:18
gmbYep.19:19
bacrockstar: hi, you're the only one from the asiapac reviewer meeting who's around, right?  what say we cancel this week?19:47
bacgary_poster: do we have a build engineer this month?19:48
gary_posterbac: no.  Considering canceling the program.  Maybe will ask for volunteers for next cycle, give it one more whirl, then discuss.19:49
bacgary_poster: so your team would just pick it up?19:50
gary_posterbac: yes.19:51
bacgary_poster: ok.  i may hunt you down for a  pre-imp call for a fix i want to do to ec2 in my spare time.19:52
gary_posterbac: cool19:54
jamaltaso is login_anonymously gone from launchpadlib?20:04
jamaltai can't find it in help() and it tells me the method doesn't exist20:04
jamaltaor is it a new feature that isn't in the karmic version of launchpadlib?20:04
salgadojamalta, it's brand new20:05
jamaltasalgado: ah ok, thanks20:06
dobeyhow do i get a bug_target for a project, with launchpadlib? i don't see how in the +apidoc on edge20:06
wgrantdobey: A project *is* a bug_target.20:11
=== salgado is now known as salgado-afk
dobeyok, well i didn't know that, and it's in no way clear from the documentation that it is the case20:13
wgrant"Examples include an IDistribution, an IDistroSeries and an IProduct.20:14
wgrant"20:14
dobeyyes20:14
thumperwgrant: perhaps it should say "examples include distributions, series, and projects"20:16
dobeythere are only vague insinuations that IProduct == "project" in other places in the doc. nothing concrete, or that makes me say "oh, a project, ok"20:16
dobeythumper: indeed. i'm seeing lots of places where the docs could be clearer in that respect :)20:17
wgrantProbably. A lot of Launchpad docstrings are awful.20:17
thumper:)20:17
wgrantEven moreso when exposed over the API.20:17
dobeyguess i'll file bugs about them20:17
thumperdobey: DO IT!20:17
wgrantthumper: Why does make run_all sometimes clobber my push branches?20:18
thumperwgrant: I dunno20:18
thumperlook at the Makefile20:18
dobeyi will. have to file all these bugs to track my own work first, since i barely have enough time to get it all done by feature freeze :)20:18
jamaltaregarding, https://help.launchpad.net/API/launchpadlib20:19
dobeythanks20:19
jamaltayou can't bzr branch lp:oauth20:19
jamaltabecause it doesn't have a main branch20:19
=== mwhudson_ is now known as mwhudson
=== matsubara is now known as matsubara-afk
thumperjamalta: should it have?20:44
jamaltathumper: well, the instructions in the wiki say to branch lp:oauth20:45
jamaltabut you can't20:45
thumperI'm looking at it20:45
thumperalthough I'm tempted to change the trunk branch to use bzr-svn20:45
jamaltathumper: to pull from code.google.com?20:46
thumperjamalta: yeah, currently the import is using cscvs20:46
thumperbut we'd have to change our launchpad branch if I did that20:46
thumperI'll take it to the dev list20:46
jamaltathumper: cool :)20:47
jamaltaalso, it seems that lazr.restfulclient is broken (or my pull is)20:47
jamaltait fails to import from lazr.restfulclient.authorize20:47
jamaltahttp://paste.ubuntu.com/359738/20:48
wgrantCan somebody please ec2 land https://code.edge.launchpad.net/~wgrant/launchpad/bug-507784/+merge/17722, since it looks like bigjools ran into issues last night?20:48
thumperjamalta: email sent20:49
jamaltathumper: thanks :)20:50
thumperjamalta: are you on the launchpad dev list?20:50
jamaltathumper: yeah20:50
thumperok20:50
jamaltashould i just report a bug for the lazr.restfulclient issue?20:52
thumperjamalta: yep21:03
jamaltathumper: thanks21:07
dobeythumper: i think leah might have moved the "canonical" trunk for python-oauth to github now21:27
jmleoasuheoasuheoauseoathisuaheosnideoasuhaei21:50
jml!!!##!$$#@!#!$!$#@#!21:50
jmlI'm unhapppy.21:50
leonardrgary: i think the next step is to start building multiversioned adapter classes for named operations21:50
gary_posterleonardr: cool, sounds good21:51
leonardrjml, why unhappiness?21:52
jmlbecause merging db-devel into my branch has 16 conflicts21:52
jmleven though I merged db-stable in yesterday and resolved about the same number of conflicts.21:52
wgrantMorning jml.21:53
jmlit makes me very upset.21:53
wgrantMore criss-crosses?21:53
jmlwgrant, good morning21:53
jmlyes.21:53
jmlok, down to ten with some smarter merging.21:53
* wgrant violates the mandatory community pre-imp call rule and puzzles over how to do rescueBuilderIfLost.21:54
gary_posterheh21:58
wgrantCan someone please ec2 land https://code.launchpad.net/~wgrant/launchpad/bug-507784/+merge/17722?22:03
wgrant        channel = logging.StreamHandler(log.StdioOnnaStick())22:05
wgrantHuh?22:05
jmlalmost done22:06
jmlwgrant, what's the huh about?22:06
wgrantjml: StdioOnnaStick22:06
* wgrant finds it.22:06
jmlit's a Twisted thing22:07
wgrantI see.22:07
jmlon the whole, I think it's a better name than SourcePackageRecipeJobBuild22:07
wgrants/JobBuild/BuildJob/22:07
wgrantBut yes.22:07
wgrantHow bad were the conflicts?22:08
jmlwgrant, some of them were the same as the ones I fixed the other day22:10
wgrantFun.22:10
jmlwgrant, lots of them were because of your renames to stuff in my branch.22:10
wgrantAh :(22:10
=== mwhudson_ is now known as mwhudson
mwhudsondarn it, --headless should just be the default for ec2 test22:11
jmlpain pain pain.22:18
mwhudsonjml: good morning22:19
jmlmwhudson, pain22:19
jmlzcml is such a terrible, terrible idea22:19
wgrantMartian, Martian, Martian.22:19
mwhudsonjml: i see22:19
jmlsomeone added zcml declarations for the classes added in my branch in the same file but a different location22:22
ajmitchjml: is zcml causing you a world of pain?22:23
BjornTmwhudson: you know a lot about pdb and python. if i have a multithreaded app that is using 100% CPU, is there an easy way of seeing which thread is busiest, and what it is doing atm?22:23
mwhudsonBjornT: you can attach to it with gdb and wangle your way to a (python) stack trace22:24
BjornTmwhudson: do you have time to show me how?22:24
mwhudsonif one thread is using 100% cpu, it's pretty likely to be the one that you get when you attach, i guess22:24
mwhudsonBjornT: even better, it's documented on wiki.c.c i think22:24
mwhudsonBjornT: https://wiki.canonical.com/InformationInfrastructure/OSA/LPHowTo/BacktraceFromCoredump22:25
mwhudsonBjornT: going offline for a bit now, biab22:26
BjornTok, let me try that22:26
BjornTmwhudson: hmm, didn't work. when doing apply pystack, it complains with: No symbol "t_bootstrap" in current context22:30
=== Chex_ is now known as Chex
wgrantArrrrgh massive doctests kill kill kill.22:38
jmljelmer_, how do you feed testr failing stuff into ./bin/test22:42
jelmer_wgrant: good morning to you too :-)22:42
jelmer_jml: ./bin/test --subunit | testr load22:43
jmlthe other way around22:43
jmlrun the tests that just failed22:43
jelmer_jml: Oh, I haven't done that22:43
jmlok. me neither.22:43
jelmer_I'm not aware of a way to do that yet22:43
wgrantMorning jelmer_22:44
BjornTmwhudson_: hmm, didn't work. when doing apply pystack, it complains with: No symbol "t_bootstrap" in current context22:46
mwhudson_hm22:47
mwhudson_that means threading isn't loaded22:47
=== mwhudson_ is now known as mwhudson
mwhudsonBjornT: are you connecting to the right process?22:47
mwhudsonthere's a bit of a forest in make check22:47
mwhudsonalternatively,,,22:47
mwhudsonBjornT: try this .gdbinit instead: http://pastebin.ubuntu.com/359793/22:48
BjornTmwhudson: i think so. i'm running bin/test manually. i'm attaching to it with 'gdb /usr/bin/python2.5 $procid'22:49
mwhudsonBjornT: just gdb -p $pid should be enoough22:50
mwhudsonBjornT: i guess you can check which process is hogging the cpu in top...22:50
BjornTmwhudson: right. i'm attaching to the process with 100% CPU. with the new .gdbinit i get this output, which i guess isn't expected: http://pastebin.ubuntu.com/359796/22:53
mwhudsonBjornT: which gdbinit is that with?22:54
BjornTmwhudson: http://pastebin.ubuntu.com/359793/22:54
mwhudsonBjornT: try the one from the wiki page22:54
=== flacoste is now known as flacoste_afk
jmlwhat's the right way to make a distroarchseries?22:55
wgrantjml: In a test?22:56
jmlwgrant, yeah.22:56
wgrantjml: I think there's IDistroSeries.newArch22:56
jmlwgrant, thanks.22:56
wgrantBut normally we just use sample data.22:56
BjornTmwhudson: with the one from the wiki page i get: http://pastebin.ubuntu.com/359798/22:57
wgrant(yes, evil, but so is the Soyuz data model)22:57
mwhudsonBjornT: :(22:57
mwhudsonmaybe it's a 2.4/2.5 difference or something22:58
mwhudsonBjornT: where are you?22:59
mwhudsoni can come and try to help in person after the talk22:59
jmlwgrant, the problem is that the test_recipebuilder tests no longer work now that processor info is used :)22:59
mwhudsonBjornT: oh23:00
mwhudsonBjornT: do you have python2.5-dbg installed?23:00
* jml pounds away23:00
wgrantjml: Ah :(23:00
BjornTmwhudson: i'm in the main auditorium now. although, i don't have that package installed... let me try installing that23:01
mwhudsonBjornT: i'm in renouf1 so it should be easy enough to meet up after the talks if needed23:01
mwhudsonalthough i'm running out of battery23:03
BjornTmwhudson: ok. i'll try to grab you after the talks. installing python2.5-dbg mad things better, but still no information from pystack :(23:05
mwhudsonbah23:05
jmlis it too late to say "don't use threads"?23:08
mwhudsonjml: yes23:12
derycksinzui, ping23:12
mwhudsonBjornT: catch you in a bit23:12
mwhudsonenobatter23:12
jml:( :(23:13
jmlmwhudson, str(self.build.recipe.builder_recipe) doesn't do what I thought it should do23:14
=== EdwinGrubbs is now known as Edwin-afk
sinzuihi deryck23:15
derycksinzui, so I have a failing registry test in a new branch for me, that I think we should remove...23:15
derycksinzui, see http://pastebin.ubuntu.com/359803/23:15
jmlall of these tests passed last week23:16
derycksinzui, the work flow is no longer supported because of my changes.  if a project doesn't use LP for bug tracking, there is only a message on the bugs page saying "you don't use LP for bug tracking, enable bug tracking here." type link23:16
derycksinzui, and this is well tested in the bugs tests.  so I think we should kill the bits I show you in the paste.  you okay with this?23:16
sinzuideryck: great: I was writing that I think that test is a bogus exercise of a form23:17
derycksinzui, excellent.  thanks, sir!23:17
sinzuideryck: the registry team will re-invent the set bug tracker forms in March as a part of our effort to improve drive-thru-registration23:19
derycksinzui, sounds good23:19
jmllifeless, do you have any thoughts on making test selection better?23:30
jmldoes anyone have any idea at all about this error? http://pastebin.ubuntu.com/359816/23:45

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