/srv/irclogs.ubuntu.com/2010/06/25/#launchpad-reviews.txt

=== wgrant changed the topic of #launchpad-reviews to: On call: rockstar || reviewing: sinzui || queue: [wgrant] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
stubjtv: Can you sanity check https://code.edge.launchpad.net/~james-w/launchpad/archive-job-db/+merge/28437 with a quick db review?07:19
jtvhi stub!  Sure, just taking care of something hang on07:19
jtvstub: looking now07:29
jtvstub: why disable and immediately re-enable triggers?07:31
stubThat is just fluff from the sample data build script. There is no point to doing it, but pg_dump seems to do it anyway.07:32
stubActually, it might ensure that the triggers are enabled after the restore, which might be a desirable feature.07:33
stubBut it is still noise to us07:33
jtvOh, you're saying enabling them twice is an error but disabling them twice isn't, so you disable first?07:33
jtvIt's unfortunate that we end up with tables for "jobs of various sorts that happen to have a lot to do with a branch" and now one for "jobs that do stuff with an archive"07:35
jtvOh, call coming up07:35
stubI have no idea. Its an artifact from pg_dump anyway and the sample data generation script isn't smart enough to strip the noise.07:38
stubWhat do you find unfortunate?07:39
stubI was sort of hoping the separate queues would make things easier but maybe it needs rethinking07:40
stubI worry that having FooJob and Job mean we get neither the benefits of separate queues nor the benefits of a shared queue.07:45
jtvstub: sorry for being unresponsive—that call is currently in progress07:45
stubThere are things we could be doing with the central Job table, like centralised scheduling, but we are not doing that.07:46
stubNo worries.07:46
jtvstub: off call.  noodles775: g'day07:56
noodles775Hi jtv07:56
jtvstub: what I find unfortunate is what looks like a growing taxonomy of classes based on what they happen to contain.  I know it's more or less inevitable sometimes, so I'm not saying it's wrong—just a bit concerned over the trend.07:59
stubWell... its a database, not an object hierarchy. Or are you thinking of the code that uses these tables for storage?08:02
jtvstub: Bit of both.  IIRC we get to have a scheduler per table, and then use the class model to figure out what to do for each type of job.08:03
jtvSo a very mixed model, with class tagging etc.08:03
jtvMight be best to have a single scheduler that just outer-joins BranchJob and ArchiveJob and then delegates the "what does processing this job entail, anyway" part to the Python type system in some reasonably uniform way.  Maybe that's what's being done here; I don't know that yet.08:06
wgrantWe're also about to stuff buildfarm jobs into Job.08:06
jtvwgrant: your timing is impeccable08:07
wgrantjtv: Oh?08:10
jtvwgrant: I just mean it's great that you're bringing in this fact just now.  Could help avoid some future stumbling-in-the-dark.  :-)08:10
wgrantAh.08:12
jtvwgrant: though come to think of it, the same scheduler should probably ignore those, right?08:13
wgrantWell, 'about to' may be an exaggeration. It's designed, though I'm not sure if it's scheduled, and I'm hoping that someone gets sufficiently irritated by the insane queue structure that we have now.08:13
wgrantRight, this sort of thing would have to be ignored by any standard scheduler.08:14
wgrantSince it's handled by the buildmaster.08:14
jtvWhich has its own very extensive scheduling logic.08:14
wgrantUm.08:15
wgrantNot... exactly.08:15
jtvNo?08:15
noodles775Which could happily die a quick death IMO.08:15
noodles775(It's overcomplicated for what it does).08:15
jtvI was thinking of the stuff with architectures, availability, private archives etc.08:15
wgrantMm, I guess.08:15
jtvCompared to BranchJob scheduling, which is simple FCFS08:16
jtvAFAIK08:16
jtvSo I guess that the BuildFarmJob would simply attach to Job in the same way but live outside the BranchJob/ArchiveJob scheduling world.08:16
noodles775jtv: for example, couldn't private archives just be a *separate* queue if we used a messaging system/other scheduler?08:16
wgrantI think we need to move SPRBs and TTBJs over to the New World, rip out all the old stuff, and think about how we can kill even more given the new simplified design.08:17
wgrantBecause at the moment it doesn't really work.08:17
noodles775+10008:17
wgrantAnd is very overcomplicated for the whole not-working thing.08:17
wgrantNice simple buildfarm-related branch at https://code.edge.launchpad.net/~wgrant/launchpad/faster-and-more-general-getBuildQueueSizes/+merge/28476, if anyone's interested...08:20
noodles775Nice... more red than green :)08:21
noodles775And much simpler query. Is it worth adding tests that ensure the other build types are considered (or possible yet? or worth waiting to land this when it is possible?)08:22
wgrantIt's not possible yet.08:23
wgrantHm.08:24
jtvstub: but anyway, I was looking at that MP for you...  I'm tempted to ask whether json_data should be in Job, but that's got enough generic dead wood in it already.08:24
wgrantActually, it might be.08:24
wgrantSince this is just BuildQueue, not BuildFarmJob.08:24
noodles775Right - which means it's implied anyway (and doesn't need to be tested... as the BFJ table isn't even referenced)?08:25
wgrantIf it works for one it will work for the others. It would still be nice to test, though.08:26
wgrantLet's see how easy the tests are to change.08:26
stubjtv: A case could certainly be made for putting json_data on Job. I can also make a case for putting the job type on job too. Probably not on this branch though.08:26
noodles775And would ensure the implementation doesn't change in the future to exclude them... great, thanks wgrant.08:27
* wgrant throws in a new recipe build job.08:27
jtvstub: in that case, just for future reference, BranchJob has the json_data but AFAIK in most cases doesn't use it.08:28
wgrantHow I hate to make lp.buildmaster depend on lp.code, though :(08:28
stubjtv: Hopefully this design will hold together until we can revisit the messaging infrastructure.08:29
wgrantstub: Is that ever going to happen?08:30
jtvstub: No such thing as a temporary system.  I'm sure it'll hold together and we'll probably never get around to moving it over.  :-)08:30
jtvstub: I don't get line 98 of the diff in the MP...  Is it meant to say "job_type" (with an underscore instead of space) or is this a piece of syntax I'm not aware of?08:32
stubwgrant: Eventually. foundations got performance this round though, and other teams too busy chasing their features lists. I suspect bugs would have saved time if they had bit the bullet and did it with the bug heat stuff...08:33
stubjtv: Has an underscore here -- job_type integer NOT NULL,08:33
stubjtv: You installed some new fonts perchance?08:33
jtvstub: yes but this isn't using it...  Hang on, I'll reload.08:34
jtv...and now it renders correctly.08:34
jtvThat's a bit worrisome.08:34
jtvstub: trying hard to come up with stuff to bitch about...  are these jobs inserted and deleted by the same db role?08:37
stubI have no idea. They probably should add some security.cfg entries, yes.08:37
stuboh - there are some there.08:39
stubAhh... bad dev. [write] is deprecated. I've added a new comment.08:41
jtvstub: it's just that often you get one role inserting them and another deleting them.08:50
jtvstub: I've found about all I can bitch about... are you content with that?08:51
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: - || queue: [wgrant] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
wgrantnoodles775: It's actually not easy to test, since the SPRB and TTBJ factory methods are broken in various ways.09:24
wgrant(and fixing them causes widespread test failures)09:24
wgrantmakeSourcePackageRecipeBuild creates an arch-agnostic build, when SPRBs aren't actually arch-agnostic any more.09:25
wgrantAnd makeTranslationTemplatesBuildJob creates a virt-agnostic build, which doesn't make sense (bug #598390)09:25
_mup_Bug #598390: BuildQueue.virtualized and BuildFarmJob.virtualized should be NOT NULL <Soyuz:New> <https://launchpad.net/bugs/598390>09:25
noodles775ok. Is it possible (not as nice) to use queued BinaryPackageBuild's and then in one test, just manually change the job_type of one of them (as long as you're not trying to use it for anything, and it's only the duration of that one test, it may test what you're after)?09:26
wgrantI guess I could create an SPRB and then manually mangle its processor.09:28
wgrantThat's probably better.09:28
wgrantnoodles775: Test there now.09:51
noodles775wgrant: thanks... if it's ok, do you mind if adeuring does the review (hopefully the comments we've added will be helpful). I've just got my head in some other stuff atm.09:54
wgrantnoodles775: Of course.09:55
* adeuring is looking09:55
wgrantadeuring: Can you have a look at https://code.edge.launchpad.net/~wgrant/launchpad/faster-and-more-general-getBuildQueueSizes/+merge/28476 when you have a moment?09:55
adeuringwgrant: sure09:55
wgrantadeuring: Thanks.09:55
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: wgrant || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
adeuringwgrant: r=me; thanks for the additional test.10:23
adeuringwgrant: please remind me to land the branch once pQM opens again next week10:23
wgrantadeuring: Oh, PQM is closed already?10:26
wgrantThanks.10:26
adeuringwgrant: yes, it was closed yetserday10:27
* wgrant didn't see any emails.10:27
adeuringwgrant: gahh, I mixed that up, PQM closes _today-- 22UTC...10:29
* adeuring is starting the EC2 job10:29
wgrantThanks.10:30
wgrantThough I haven't seen any emails to that effect either -- I guess it must have been internal.10:30
jelmer_adeuring: it's been extended to today 2200 UTC10:30
adeuringwgrant: right, it was announced on an internal list only...10:31
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews abgeändert
=== matsubara-afk is now known as matsubara
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews abgeändert
bachi adeuring14:03
adeuringhi bac14:03
bacsorry i failed to show up to review last week until you'd already gone.  i'm still not used to the switch to friday14:03
adeuringbac: no problem --it was a quiet day :)14:04
bacadeuring: like today, it seems14:04
adeuringright14:04
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: -,sinzui || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews abgeändert
=== bac changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: -,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews abgeändert
bacadeuring: your MP has a huge diff.  is that a mistake?14:44
adeuringbac: yes, I assume due to the wrong target branch... I re-submitted it. (and aked already deryck to review it)14:44
bacoh, ok14:45
=== matsubara is now known as matsubara-lunch
adeuringwgrant: still around?15:35
=== salgado is now known as salgado-lunch
leonardradeuring, bac, request a review of this very small branch: https://code.edge.launchpad.net/~leonardr/lazr.restfulclient/load-relative-uri/+merge/2851116:13
adeuringleonardr: I can look16:13
=== adeuring changed the topic of #launchpad-reviews to: On call: adeuring, bac || reviewing: leonardr,- || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
adeuringleonardr: purely a matter of taste: you could use "url[:1] == '/'" instead of "len(url) > 0 and url[0] == '/'" in line 91 of the diff.16:25
adeuringleonardr: r=me16:25
=== adeuring changed the topic of #launchpad-reviews to: On call: bac || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
=== bac changed the topic of #launchpad-reviews to: On call: bac || reviewing: lunch || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
=== matsubara-lunch is now known as matsubara
=== salgado-lunch is now known as salgado
mrevellHi, can a non-lunching reviewer take a look at my what's new branch please? https://code.edge.launchpad.net/~matthew.revell/launchpad/whatsnew-1006/+merge/2851917:30
leonardrmrevell: couple questions17:37
mrevellsure17:37
leonardrwhat's the None by the surveymonkey link? shouldn't it be "take our survey"? or is it none because of the <strong> tag?17:38
mrevellleonardr, It seems to be due to the <strong> tag17:38
leonardrok, i bet that's beautifulsoup related, so i can't really complain17:39
leonardrit looks like you added two news items, and removed two older news items, but kept the 'launchpad is now open source' news item because that's really important17:40
leonardris that right?17:40
mrevellleonardr, That's right. I considered removing the open sourcing item but don't want to do that until we have some other mention of Launchpad being open source on the front page, and I don't have time to do that right now.17:41
leonardrmrevell: ok, r=me17:42
mrevellthanks leonardr17:42
=== deryck is now known as deryck[lunch]
=== bac changed the topic of #launchpad-reviews to: On call: bac || reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.edge.launchpad.net/launchpad/+activereviews
jmlI have a soyuz-related patch up for review.18:20
jmlhttps://code.edge.launchpad.net/~jml/launchpad/poppy-cleanup/+merge/2852518:20
* jml has been procrastinating18:21
jmleasy patch here:https://code.edge.launchpad.net/~jml/launchpad/git-and-hg/+merge/2852718:45
=== deryck[lunch] is now known as deryck
bacjml: both done19:37
jmlbac, thanks.19:37
bacleonardr: it looks like you reviewed mrevell's branch here but didn't update the MP.  i didn't see this conversation so i did the review again.19:39
leonardrbac: argh, sorry19:40
leonardri'm still somewhat flaky from my illness19:40
leonardr(not literally)19:40
bacleonardr: np.  hope you're feeling better19:41
=== 40FAA4R6V is now known as kiko
=== salgado is now known as salgado-afk
=== matsubara_ is now known as matsubara-afk

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