[00:01] wgrant: I have a branch in progress that sends the email on needs review [00:01] wgrant: but it is blocked on two others [00:01] wgrant: to avoid the horrible edge cases [00:01] wgrant: one of them is done [00:01] wgrant: the one that adds a description to the MP [00:02] wgrant: the other isn't too hard [00:02] * thumper waves at beuno [00:03] * beuno waves back at thumper [00:06] thumper: Great. [00:13] thumper: Do you know about the Zopeless email thing I asked earlier? [00:20] wgrant: didn't see your question [00:25] thumper: Where do Zopeless emails go in the dev config? I cannot find them anywhere. [00:25] wgrant: haha, I remember looking for it too [00:25] wgrant: root@localhost I think [00:26] thumper: Normal emails go there. [00:26] But not Zopeless ones. [00:26] really? [00:26] AFAICT. [00:27] Which is perhaps not surprising, since it looks like Zopeless uses SMTP directly, and there is a zopeless/send_email config key which is set to false. [00:27] Hmmm. [00:27] How annoying. [00:45] AAAAAAA [00:45] * wgrant stabs ISD in the face repeatedly. [00:45] Gnarnrewwfwfew [00:46] please don't. [00:46] they are very nice people. [00:46] * ajmitch detects some rage there [00:48] hi jml [00:48] jml: how's pycon? [00:49] thumper, great! [00:49] thumper, I'm at the Twisted sprint now [00:49] thumper, it's exciting to be able to personally fix multiple bugs in a single day :) [00:50] (bug #525556, for anybody ISDish) [01:00] jml: :) [01:02] jml: \o/ [01:53] * thumper wonders how often the staging scanner is running [02:07] thumper: */15 i think? [02:08] The production scanner seems to be pretty slow at the moment. [02:08] (or maybe the puller) [02:48] beuno: Since you seem to have access, can you have a look at bug #525556? [02:50] sure [02:50] It seems like it should be fairly critical. [02:51] * beuno facepalms [02:51] That's what I said. [02:52] spm, if you or any other losa is around ^ [02:52] just to be aware, I know you can't do anything about it [02:53] beuno: Thanks. [02:54] wgrant, thanks for raising it, I'll make sure the appropriate people know ASAP [02:54] Great. [02:56] elmo, ^ === wgrant_ is now known as wgrant [04:58] I'm trying to write a Storm query to return a resultset of objects ordered by a column on an optional reference. [04:59] ie. I have a BinaryPackageReleaseDownloadCount, which has an optional Country associated. [04:59] I want to order them by Country.name. [04:59] any hints? [04:59] do a leftouterjoin on country [04:59] then sort on country.name [05:00] yes, but how do I do that in Storm? [05:00] maybe coalesced with something depending on which end of the results you want things without country to end up at [05:00] Hm, I guess a more manual select with a DecoratedResultSet might work. [05:01] http://paste.ubuntu.com/381372/ is the code at the moment, but it of course doesn't return objects with a NULL Country. [05:06] wgrant: http://paste.ubuntu.com/381376/ or similar i think [05:07] mwhudson: Oh, yes, of course. [05:07] Thanks. [05:25] * thumper settles down again [05:28] thumper: hi, i have some reviews for you :-) [05:28] mwhudson: sure, paste the links [05:29] https://code.edge.launchpad.net/~mwhudson/launchpad/smarter-code-import-scheduling-bug-236973/+merge/19841 [05:29] thumper: https://code.edge.launchpad.net/~mwhudson/launchpad/incremental-code-imports-bug-512683/+merge/19674 [05:31] * thumper looks now [05:32] mwhudson: are you around for a question? [05:33] thumper: just about, i should stop pretty soon [05:33] mwhudson: why does the interdiff for the incremental imports actually change anything? [05:34] thumper: because the tearDown raises NotImplementerError [05:34] mwhudson: and that does what? [05:34] thumper: and this is the signal to the zope test runner to not run any more tests in that process [05:34] so bad [05:34] so very very bad [05:34] have I mentioned bad? [05:34] thumper: it's what the functionallayer (i.e. the one that sets up the component architecture) does [05:35] lifeless: hey, if bzr supported unloading plugins... [05:35] mwhudson: so because the teardown isn't implemented, the test runner starts another process? [05:35] thumper: it seems so yes [05:35] thumper: i just cargo culted from layers.py [05:35] mwhudson: why do you need to unload plugins? [and it does to an extent] [05:35] mwhudson: can you add a comment saying as much? [05:35] mwhudson: I'd really like to avoid you needing this feature. Can we discuss? [05:36] lifeless: right now, no we can't [05:36] lifeless: some of our other tests fail if the plugins are loaded [05:36] thumper: ok [05:36] lifeless: some tests need it [05:36] lifeless: we'd like to be able to have plugins loaded for only some tests [05:36] is there a doc somewhere explaining this, so I don't en up playing twenty questions? [05:36] lifeless: probably not [05:37] so, lets play twenty questions. [05:37] why do some tests fail [05:37] * thumper shrugs [05:37] lifeless: probably worth playing 20 questions when mwhudson is working tomorrow [05:37] lifeless: as mwhudson is trying to finish up [05:37] mwhudson: can you ping me at a good time tomorrow? [05:37] lifeless: and I won't know answers to your questions [05:37] lifeless: ok [05:37] mwhudson: thanks [05:43] * mwhudson EODs [05:43] good idea [05:52] thumper: Whatever happened to my branch? [05:52] wgrant: not heard anything [05:53] * thumper checks ec2 thingy in firefox [05:53] wgrant: I have one instance that is terminated [05:53] wgrant: I submitted yours and one of mine [05:53] So it hates my branch again :( [05:53] wgrant: heard from one... [05:54] I ec2tested a branch last night and it emailed me OK. [05:55] wgrant: check your email [05:55] wgrant: id emails you not me [05:56] wgrant: I double checked, and it at least started off right [05:56] wgrant: there was a test fix issue [05:56] wgrant: so I'm resubmitting mine [05:57] wgrant: interesting [05:57] wgrant: I didn't get an email from ec2 either [05:57] wgrant: even though it submitted mine to pqm [05:57] wgrant: I should have got one but didn't [05:58] I haven't had an ec2 success notification since mid-December, although I have had successful submissions since then. [05:59] wgrant: your branch hasn't landed if that helps... [06:00] * wgrant looks through mail server logs. [06:04] thumper: It doesn't look like it tried to email me. [06:04] wgrant: sorry dude, no idea at all [06:04] thumper: Thanks for trying. [06:04] Lots of branches have been going missing lately. [07:37] noodles775: Morning. Do you have access to buildd-manager logs? It seems to have stopped dispatching builds about an hour ago. [07:39] wgrant: Yeah, but a losa will need to restart it I'd say. [07:39] * noodles775 checks logs [07:40] wgrant: ouch, another job without a builder: http://pastebin.ubuntu.com/381433/ [07:41] Gnarrrgh. [07:41] There are also two builders stuck (the usual two: samarium and bohrium), but that's probably unrelated. [07:42] Do we have no LOSAs today? I thought there was a Nagios check for that. [07:42] yeah, there should be... I'm just checking the bug and then I'll try to find someone. [07:43] wgrant: they are sprinting this week in europe [07:43] noodles775: morning [07:43] Hi thumper [07:43] thumper: Ahh. [07:43] noodles775: I'm working on a wiki page BuildBranchToArchiveUI/InitialCut [07:44] noodles775: nothing there yet, but I'm working on it [07:44] Great. [07:45] noodles775: actually I just hit save, but I'm still editing :) [07:46] thumper: sure. Do you think it wasn't clear enough on the other pages? (ie. what wouldn't be included in the initial cut?) [08:06] wgrant: the buildd-manager should be dispatching again now (as of a min. ago). [08:07] wgrant: thanks for the heads-up. [08:07] noodles775: I'm going to have a little more detail [08:07] noodles775: ordering of work [08:07] thumper: ah, great. [08:07] noodles775: Thanks. [08:08] noodles775: stuff broken up into ready to code chunks [08:08] noodles775: something where I can say "hey , do this chunk" and it has what they need to know [08:08] noodles775: at least, that's the plan :) [08:09] thumper: yeah, I was hoping the list of urls required could be turned into bugs for that reason, but you're right, they're a bit too coarse grained (and have interdependencies). [08:09] * thumper nods [08:20] good morning === jamesh_ is now known as jamesh [09:02] Morning === daniloff is now known as danilos [09:49] bigjools, hey, good morning :) [09:49] hey danilos - what do you want? :) [09:49] bigjools, ha! [09:49] bigjools, do you know if there have been any firewall rules set up to allow access to our bzr branches from the build farm? [09:50] bigjools, is that something build-from-recipe requires as well, or are translations special in that regard :) [09:51] danilos: no, BFB needs it too. So far I have it set up on dogfood so we can test stuff, but it's not done in production. [09:51] bigjools, ok, I am considering writing up an RT, but I am sure you can give me a few pointers on how to best word it so IS actually understands it :) [09:52] bigjools, i.e. what machines need what privileges :) [09:52] danilos: you don't need it yet [09:52] Do we actually know that it works on dogfood? [09:52] bigjools, heh, ok, if you say so :) [09:52] and you won't get it until you've testing on DF :) [09:52] It didn't after the first reuqest. [09:52] s/testing/tested/ [09:52] wgrant: huh? [09:52] bigjools, ok, makes a lot of sense, then I'll get on with the next phase to actually do it, and then we can see what happens [09:53] danilos: in all seriousness, dogfood is the way to go here so that we can establish that stuff works before altering production [09:53] bigjools: I remember that codehosting access from DF was supposedly set up during the sprint, but it didn't work. [09:53] wgrant: I don't remember us even trying at the sprint! [09:53] bigjools, of course, I am not disagreeing [09:54] it was all on your laptop [09:54] danilos: I'm always right.... 'cept when I'm wrong. [09:54] bigjools: We didn't try the code, but we tried branch access in anticipation. [09:54] wgrant: we only opened up access for the builders IIRC [09:55] bigjools: Isn't that what we're discussing? [09:56] wgrant: I just tried and it works fine [09:56] OK, great. [09:56] I even remember testing it at the time it was done [09:57] Hm. I remember you had to make a second request, but didn't remember if that was resolved. [09:57] I don't remember that but then I don't remember at lot of things at my age :) [09:57] Haha. [10:09] BjornT: Can you please re-review that branch know that we've clarified that ILFA isn't exportable? [10:09] s/know/now/ [10:11] Anyone used the with statement in a doctest yet? [10:11] I think I need to inject some flags somewhere [10:12] stub: Why not just use the import? [10:12] Because it doesn't work [10:12] Ah. Good rationale. [10:14] I think it is http://www.python.org/dev/peps/pep-0264/, but no english translation in the __future__ or doctest bits of the reference manual. [10:18] wgrant: sure, done. [10:20] bigjools: No violent objections to https://code.edge.launchpad.net/~wgrant/launchpad/export-das-chroot/+merge/19759? [10:20] stub: have you tried putting the __future__ import in the test harness (i.e., the file that sets up the doctest)? [10:21] stub: or maybe in the test runner, although that's a very big hammer... [10:21] bigjools, btw, does BFB already have the code which checks the branch out? [10:21] BjornT: Looks like more than that. I need to do the import at the top of the harness, and then pass a globs={'with_statement': with_statement} when constructing the suite. [10:21] icky [10:22] danilos: It's done by bzr-builder, so it's probably not useful for your purposes. [10:23] wgrant, right, so it's outside the LP tree? [10:24] danilos: Yes, and inside a script that takes a recipe. [10:25] wgrant: one sec [10:25] danilos: it's done in the builder code [10:27] bigjools, wgrant: ok, excuse me for not being certain where to look now, but... is there some code in LP I could generalize and reuse for translations? [10:27] danilos: If you really want to look at it, try sourcecode/bzr-builder. But it's probably just as easy for you to do it yourself. [10:27] danilos: nothing in LP - as wgrant says it's done in bzr-builder [10:28] bigjools, wgrant: ok, thanks, that clarifies it [10:33] wgrant: MP is ok, I commented on it [10:33] bzr pish [10:44] Is the branch scanner broken? [10:44] I pushed a new rev 7 minutes ago. [10:45] It has still not scanned. [10:49] BjornT/bigjools: Branch finally scanned -- can one of you please check the new revs and land it? [10:51] sure [10:52] bigjools: Thanks. Do you have a moment to talk about those test changes you requested last week? [10:53] wgrant: sure [10:56] bigjools: So, regarding your last comment on https://code.edge.launchpad.net/~wgrant/launchpad/p-u-sprb-handling/+merge/19380... [10:56] The security is there so the storeUploadLog test works. [10:56] It just needs some declaration of writeability. It does not care what. [10:57] The tests will fail if the security is removed, and I'm not sure it can be usefully tested otherwise. [10:59] wgrant: ah ok, so there is a test :) In that case, please document that fact on the test. [11:00] * bigjools is about to order a new Thinkpad [11:01] would love to get one w/Ubuntu pre-installed but the stuff at LinuxEmporium is all old models :( [11:01] :( [11:01] windows tax here I come [11:01] * wgrant removes the security to work out which test it was. [11:02] Morning, all. [11:02] danilos: can you give me a hint for how can I make a TranslationMessage to be the current translation? Basically I have this test http://paste.ubuntu.com/381520/, and the contributors for makeTranslationMessages are listed in the POFile details page, but not on the language global statistics [11:02] hi deryck [11:07] jtv: hi. when you have time, can you please test the fix for bug #127171 ? [11:07] Bug #127171: Rosetta experts not allowed to "Change translators" [11:08] adiroiban, looking at your test [11:09] adiroiban, fwiw, a lot of that data is maintained through triggers or nightly scripts, so that might be part of the problem [11:11] adiroiban, so, list of top contributors is based on karma, and karma is updated only with a nightly script [11:11] hm... how do you suggest I should write that test? [11:16] You need to populate the relevant Karma and KarmaCache tables. I don't think there are factory methods for that though :-/ [11:25] adiroiban: hang on, some high-priority stuff going on :) [11:26] adiroiban: ah, I guess danilos took care of it while I was otp :) [11:27] adiroiban, I am not exactly sure what would be the best way to do it [11:33] adiroiban, you can just add a method which updates karma for one particular user, or you can fake it by adding it directly [11:58] wgrant: hmmm, I am thinking about your security zcml [11:59] The upload processor is zopeless and doesn't need security, so what is falling over exactly? [12:00] bigjools: The test that I added the comment to. It appears to run in that semi-secure mode which doesn't care about users. [12:00] wgrant: your diff has got merge conflict markers in it [12:00] in the spr model [12:01] bigjools: Argh. [12:01] * wgrant fixes. [12:02] wgrant: which test? the comment was on the zcml itself [12:02] testSetsBuildAndState? [12:02] bigjools: I added a comment at both ends. [12:02] Yes, IIRC. [12:02] ah I see it [12:02] The one that tests UploadProcessor [12:02] buried in other comments :) [12:02] Indeed. [12:02] hmmm [12:03] Remember that Soyuz's Build has the same sort of thing, with little explanation. It would be nice to work out both. [12:04] hmm yes [12:04] it's very odd [12:04] ah I know I think [12:04] Hm? [12:04] those Build attributes get reset in the webapp when you retry the build [12:04] which explains why you need lp.edit [12:05] so I am still confused as to wehy SPRB needs it :/ [12:05] But shouldn't they be set from within retry()? [12:06] Once you're inside the object, security is irrelevant. [12:06] I didn't think it was but now you have me thinking [12:07] since IBuild is exported, lp.edit still makes sense anyway [12:08] For a dangerous value of sense that has caused security issues in the past! [12:09] yeah, we have a bad record there :( [12:09] I mean that particular line of ZCML has been problematic. === jtv is now known as jtv-afk [12:17] bigjools: That conflict's resolved. [12:17] Argh, wrong push location though. [12:17] heh [12:25] bigjools: That looks a bit healthier. [12:32] wgrant: approved [12:32] I can land it, it's db-devel right? [12:32] bigjools: It's db-devel. [12:33] bigjools: But watch out: thumper tried to land the prereq earlier, and the instance disappeared silently. [12:33] :/ [12:33] what happened to the pre-req? [12:33] Hm? [12:34] it landed, or is it still in limbo? [12:35] bigjools: It's not landed. The instance died, and we're not sure why. [12:35] ok I'll try merging it and having another go [12:35] So you might not want to land this headlessly. [12:36] I'll run tests on my box [12:36] Ah, good point. [12:36] I don't need no steenkin ec2 [12:36] I have a fork whore === mrevell is now known as mrevell-lunch === Ursinha-afk is now known as Ursinha [13:10] bigjools: It hasn't exploded yet? [13:10] wgrant: there's a test failure [13:11] Hrmph. [13:11] ProgrammingError: relation "sourcepackagerecipebuildupload" does not exist [13:11] for a few tests [13:12] test_DeleteExpiredBlobs test_cronscript test_PersonPruner and others - non soyuz, which is odd [13:12] Oh, damn. [13:12] I know about and have fixed that. [13:12] lib/canonical/librarian/tests/librarian-report.txt now [13:13] if you have a fix I'll quit this test run [13:13] I forgot to pump one of the DB patch changes through. Oops. [13:13] Sorry. [13:13] ok [13:14] (we can't drop SPRBU entirely due to replication limitations, so it has been moved to another schema, which confuses things that look for foreign keys referencing Person) [13:21] bigjools: r8934 has that DB change pumped through (it's already reviewed) and pushed. [13:21] But I guess it'll take about 10 minutes to appear on the public branch. [13:25] okay [13:27] wgrant: on your lp:~wgrant/launchpad/sprb-new-model-columns branch? [13:27] Stuart Metcalfe doesn't exist on Freenode, does he? [13:28] bigjools: The missing piece started on https://code.edge.launchpad.net/~wgrant/launchpad/sprbu-columns-to-sprb, but is now in p-u-sprb-handling [13:28] ok got it [13:29] ok off with another test run [13:29] Thanks. [13:29] doubt you'll be up in 3h huh? :) [13:29] I really hope not. [13:30] 3am while sick is not advisable. [13:32] hope you're feeling better tomorrow [13:40] wgrant: still failing [13:41] bigjools: Is this line in database/schema/patch-2207-32-0.sql? [13:41] ALTER TABLE SourcePackageRecipeBuildUpload DROP CONSTRAINT sourcepackagerecipebuildupload_registrant_fkey; [13:41] wgrant: yep [13:42] I suspect that when I run "make check" it deletes the table when doing make schema [13:43] anyway, I need food, back in a bit === mrevell-lunch is now known as mrevell [13:52] If dropping the table is too painful, comment out that line and open a bug. [13:53] See, the tests pass here. [13:54] Ah, no, there's one failure. [13:54] * wgrant pokes around. [13:55] * wgrant drops the rest of the foreign keys. [13:56] stub: No objections to dropping the other three foreign keys? [13:57] No - all the foreign key constraints on that table should die. [14:00] bigjools: OK, r8935 pushed, with all the foreign keys dropped. All the failures you've mentioned are fixed by that. [14:10] wgrant: ok trying again [14:24] adeuring, gmb, intellectronica, kfogel -- just a reminder, update the board before the standup. [14:24] deryck: oh, thanks! [14:24] I did some QA and moved things there. [14:25] deryck: I saw. We don't have to hit "save" or anything, right? Just move the post-it and it's done? [14:26] kfogel, right. Just move the card. [14:26] deryck: *nod* [14:26] ooi, why does the LaunchpadDatabaseRevision table contains multiple rows, instead of just the current revision? [14:26] intellectronica: know a good example of a usage of a standard Zope form somewhere? (I'm in bug #515584) [14:26] Bug #515584: BugsPatchesView:batchedPatchTasks() should use a Zope form, instead of validating form values manually [14:27] maxb: I don't know for sure, but it's probably something to do with the fact that a DB patch can live in a branch for ages. [14:27] kfogel: it's probably worth fixing that together with fixing it for the search form [14:27] ah - so in theory they might not actually be sequential? [14:27] maxb: Exactly. [14:27] kfogel: there's a bug for that. let me try and find that [14:27] maxb: In practice, too. [14:28] kfogel: https://bugs.edge.launchpad.net/malone/+bug/322130 [14:28] Bug #322130: Convert IHasBugs.searchTask(order_by) to use a real enumeration [14:29] intellectronica: thank! [14:29] * kfogel opens it up [14:29] kfogel: it's quite a lot of work, i think [14:30] but it would be even more work if we end up doing it twice [14:30] intellectronica: it's a lot of work? Just because of all the callers? [14:30] bigjools: If it's still looking good, I will head to bed. [14:30] intellectronica: if it's just a bunch of caller updates, well, Emacs and I can do that together. If you think it's a lot of work in terms of inherent complexity, then I'm not sure lumping the two bugs together is a good idea. [14:30] wgrant: yes, no issues so far [14:30] sleep well [14:30] kfogel: yes. also you need to arrange for backwards compatibility [14:30] bigjools: Excellent. Thanks. [14:31] intellectronica: backwards compatibility? This is an API issue? [14:31] mmmmm [14:31] kfogel: maybe the API, also the search form, since many users save URLs for later [14:32] intellectronica: okay, then I think we should keep these two bugs separate. I'm all for fixing 322130, but 515584 is its own separate piece of tech debt, and doesn't have any compat issues. [14:32] intellectronica: *nod* I see. [14:32] kfogel: ok, maybe you're right and it's worth fixing this first, don't know [14:33] intellectronica: This *is* a fair amount of work, then. Not against it, but I don't think we should just randomly start on it vs some other thing -- it needs to be triaged, and we probably want team input, or at least deryck's. There might be more presing stuff to do. [14:33] intellectronica: which we can discuss on the call now :-) [14:33] kfogel: indeed :) === jtv-afk is now known as jtv [14:34] intellectronica: in the meantime... know a good example of a zope form? :-) [14:45] are thunderbird 3 and enigmail conflicting packages these days [14:45] enigmail de-installs thunderbird 3 and vice versa [14:45] ECHAN [14:45] sorry [14:45] kfogel, looking at QA page, can you update bug 513608, to link branch, status, milestone, etc. I think this landed? [14:46] Bug #513608: community-contributions.py script should use Launchpad to determine who is not a Canonical employee [14:46] deryck: yup [14:48] deryck: oh, no -- wrong bug number there. 513608 is still open, it's just mentioned in an XXX comment now. the fix that landed is for another bug. I'll fix it all up. [14:48] (the qa page I mean) [14:49] kfogel, excellent. Thanks, sir. I think I marked something as OK, so sorry about that. [14:49] deryck: well, the change is indeed OK, it just needs to be associated with the right bug number. no worries. [14:49] ok, cool [14:52] deryck: so, it kind of disturbs me that if I do a bugs search across all projects, and put "community-contributions.py" in the search box, it shows no matches -- even though I know of bugs where that exact string is in the *summary* of the bug. [14:52] deryck: is this expected? [14:53] by "search across all projects" what exactly do you mean? [14:53] deryck: https://bugs.launchpad.net/, put that string in the search box, make sure "All projects" is checked, hit the button. [14:54] deryck: it also turns up nothing if I do "One project:" and put launchpad or launchpad-projects as the project name. === matsubara is now known as matsubara-lunch [14:56] kfogel, seems like a bug. This should work. Maybe something with the way full text queries handle the ".py" [14:57] deryck: urgk, sigh. I'll push stack once more :-) and ensure there's a bug report for this. [14:57] may already be one, we'll see [14:59] kfogel, note that search on "launchpad" shouldn't work but search on "launchpad-project" should, since that is the project group. yes, this is confusing, I know. [15:00] deryck: I knew the latter should work. I can never remember what the former is supposed to represent. [15:01] kfogel, it's a thing to catch bugs that no one knows where to file, *I think*. :-) [15:01] deryck: oic :-) [15:04] deryck: so, it turns out that in addition to that change (the one that is not for 513608), I also need to land https://code.edge.launchpad.net/~kfogel/launchpad/cc-script-new-world, which is approved. To land that, I need to find the bug number(s) relevant to it. On the way to finding those, I may be filing a bug about how I can't find them. There. I think that's everything at the current stack level. [15:04] :-) [15:05] heh [15:05] Not too bad for a monday, kfogel ;) [15:05] deryck: oy [15:14] deryck: okay! that's in the queue (https://pqm.launchpad.net/). No need to respond. I'm just feeling the work-at-home-cabin-fever this morning and so I'm yammering what I do at you. [15:15] :-) [15:32] deryck: are bug searches supposed to be case-insensitive? [15:34] kfogel, I'm sure they are supposed to be, but I can't confirm for certain yet. Never checked on that yet. [15:35] deryck: I'm assuming they should be too. Doesn't matter for the purposes of the bug consolidation I'm doing right now of some search failure bugs, but I was just curious. [15:46] gmb: hi. any news about the ever disappering branch ? [15:50] adiroiban: No, it's running on ec2 at the moment and hasn't died yet. [15:50] adiroiban: I'll let you know how it goes. [15:50] thanks [15:56] deryck: okay, it's all in bug #29713 now, which I think maybe should be high priority (search is supposed to work reliably!) [15:56] Bug #29713: bug search fails to find results despite exact search string being in bug titles [15:56] kfogel, yeah, jml is beating the search drum too. :-) [15:57] deryck: oh, I wonder if he knows of any dup bugs, then. jml? ^^ [15:58] kfogel, I don't. [15:59] jml: ok, thx === matsubara-lunch is now known as matsubara [16:19] I've got an ec2 instance that's hung during windmill tests... is this a known issue? http://pastebin.ubuntu.com/381681/ [16:19] BjornT: ^^ ? [16:23] jtv: thanks for doing the triage [16:23] sinzui: chr [16:23] jtv: I am thankful none-the-less [16:23] very gracious [16:26] sinzui: here, have a free desktop background made of 9th-century ceiling design: http://people.canonical.com/~jtv/DSCF0570.JPG [16:26] sinzui: took that in the Dome of Charles the Great at Aachen yesterday [16:27] Wow... [16:28] it was pretty stunning, yes [16:28] also the bust of the big man himself [16:29] jtv: thanks. [16:42] adeuring: looking for an example of standard, best-practices Zope form usage (for bug #515584) in our bugs code. Do you know a good place? [16:42] Bug #515584: BugsPatchesView:batchedPatchTasks() should use a Zope form, instead of validating form values manually [16:42] kfogel: not out of the box... [16:42] adeuring: np. If you spot anything, or you know of some good docs on this, let me know. I'll figure it out eventually. [16:43] .oO (he said, optimistically) [16:43] can help me configure my mail server launchpad [16:43] help mail [16:43] * adeuring is somewhat confused today. I contenated mentally at first "standard, best" to "bastard"... [16:44] kfogel: the best approach is to search for a simple from, but, in our case, one that does not use POST but GET [16:51] adeuring: I guess what I'm really asking is, how will I know a good example when I see one? [16:51] I'm not sure how to recognize the standard/best practice. [16:51] kfogel: when it is simple ;) [16:52] adeuring: It's a zen afternoon for you, I see. [16:52] kfogel: ;) let me try to find something [16:53] adeuring: btw, how long are you on today? (reason: bad cabin fever, really need to just go outside and walk to the store and get a muffin, get some sunshine) [16:53] if you'll be around for a bit, I'll do that and come back [16:54] kfogel: an hour or so, i guess, the I'll leave for one or two hour; after that (around 9pm my time) I'll be back [16:56] adeuring: you're coming back at 9pm?? [16:56] kfogel: yes [16:59] adeuring: ok; I'll be out for a few, then back here. If you happen to dig up a great example using an enum and standard zope form stuff, paste it to me. If not, no worries; I'm grepping around for method="get" etc, and I'm sure I'll find the right thing eventually. === henninge is now known as henninge-afk === jamalta is now known as jamalta-afk === jamalta-afk is now known as jamalta === jamalta is now known as jamalta-afk === jamalta-afk is now known as jamalta [17:37] mbarnett: If you happen to be around, what are your thoughts on the launchpad-dependencies Slony-I thread? === gary_poster is now known as gary-lunch === mrevell is now known as mrevell-dinner === danilos is now known as daniloff [18:38] bac: I updated bug 523891 with my findings. Do you think my proposal is sane? [18:38] Bug #523891: +needs-packaging includes packages that has upstream links [18:45] sinzui: yes, what you propose does make sense...i think [18:47] bac: My fix may also fix bug 512831. I have tried to fix the gtk+2.0 packaging link, but I cannot. Every time I try to edit Lucid's link, I get Karmic's, so I set the same object to the same state. It is not possible to correct the the data from the dsp/sp pages. [18:47] Bug #512831: Packaging records not editable [18:50] I just confirmed I can fix the lucid/+source/gtk+2.0 by creating the link from the upstream project. I think I will make my goal of week 3 to close the last of the packaging-link bugs === gary-lunch is now known as gary_poster [19:13] good morning [19:32] mwhudson: good morning [19:44] morning [19:51] thumper: Morning. [20:14] adeuring: I'm noticing a problem with +patches view, but it might just be an artifact of my local dev instance. After patching database/sampledata/current-dev.sql with the db diff I've been using for weeks to test +patches view, and then running 'make schema', I visited https://bugs.launchpad.dev/patches-view-test/+patches. There were no patch tasks listed, though! There should be six or seven of them -- the ones in my custom samp [20:14] ledata. Puzzled, I created a new bug on the 'patches-view-test' product, attached a patch to it, and refreshed the view. Now that bug alone shows up, but the old bugs in my sampledata still don't. I tried adding a new comment on one of those old bugs, to see if maybe that would cause a refresh in the 'latest_patch_uploaded' column, but it didn't cause the bug to appear in the view. [20:16] kfogel: that sounds really odd. Do you see the bugs missing on the +patches view on other bug pages for the test project? [20:16] adeuring: yes, they are missing on other entities [20:17] adeuring: assuming by "test project" you meant my test instance [20:17] kfogel: I mean that thingy (IProduct, IIRC) that you created first, and where you then added the bugs for [20:18] adeuring: btw, my db sampledata patch is here: http://paste.ubuntu.com/381809/ [20:19] adeuring: so when you say "+patches view on other bug pages for the test project", what does that mean? The product ('patches-view-test') has only one bugs page.... [20:19] kfogel: OK, let me look. As a guess without lookng: if the test bugs are missing on the other bug related pages for the test project as well, I'd guess that the ID of the test project changed [20:19] soryy... [20:19] I mean: Do you see the bugs on the http://bugs.launchpad.dev/testproject , for example? [20:19] adeuring: this isn't actually holding me up on bug #515584 work, since I can just create a bit of new data easily, but ... it's worrying, obviously :-). [20:19] Bug #515584: BugsPatchesView:batchedPatchTasks() should use a Zope form, instead of validating form values manually [20:20] adeuring: oh, yes, the bugs are there on bugs.launchpad.dev/patches-view-test, sorry, I should have said that. [20:20] odd... let me look at the sampledata [20:20] But the bugfilters stats portlet on that page says "0 bugs with patches", and going to ".../+patches" shows no patches. [20:24] kfogel: Trying to apply you patch to trunk r10326, I get the message "Hunk #1 FAILED at 1377", Did you get perhaps something similar? [20:25] adeuring: no, I did not. You're using db-devel, right? [20:25] adeuring: I branched my branch from an up-to-date db-devel this morning, AFAIK [20:25] kfogel: argh, no... let me try again [20:25] adeuring: :-) [20:27] adeuring: hey, hmm, how would I do a python "if ... else ..." in a tal:content tag using the "python" magic word? I can't use any indentation, obviously... [20:28] kfogel: use a browser class mehod? [20:28] ...method... [20:28] adeuring: oh, I see :-) [20:28] adeuring: sigh. ok. [20:28] ;) [20:28] adeuring: .oO (But why can't I just implement all of Launchpad in this .pt file?) [20:28] kfogel: but... what is your use case? perhaops there are other options [20:30] adeuring: in the menu that offers sort orders, the actual orders we offer sometimes begin with "-" and sometimes don't. But what we show do the user should never show the "-". E.g., although it might be "-importance" behind the scenes, it should display to the user as "importance" in the dropdown. So I was going to test the first char and do "value[1:]" if it was "-" ... [20:30] you see why it's tempting to just take care of that in the .pt file [20:32] kfogel: yes. But I think the "technical" values (with or without a leading '-') differ anyway from what we display to the user. the "technical" bvalues are all lower-case, while the displayed text might be capitalized [20:33] adeuring: hmmmm, ok. I'll run with that. I think the patch I first show you (soon) will be very much in need of review. but that's okay :-). [20:40] kfogel: I think I know why your old attachments/patches don't show up: We have meanwhile a cached column "latest patch uploaded" or somesuch in the tabkle bugs. And this column is normally updated by DB triggers. But your test data is probably "too old" to be "aware" of the triggers... [20:40] kfogel: but there is a simple way to fix this, let me looks [20:40] adeuring: thanks [20:41] kfogel: in the file database/schema/patch-2207-29-0.sql, there is an UPDATE command. Just run this command via psql. [20:42] adeuring: wow! thank you. [20:42] kfogel: welcome :) But I am the one to blame to for all the mess with this column ;) [20:43] adeuring: I think what I'll do after I run that is regenerate my db sampledata diff [20:43] that old one's getting stale [20:43] kfogel: rigth, makes sense. a classical case of bit rot? [20:46] jml: ping [20:47] adeuring: ezzatly [20:50] thumper, hi [20:50] jml: what was the state of your factory no-commit branch? [20:50] jml: landed, or work needed? [20:51] thumper, huge chunks of work needed. [20:51] thumper, it didn't even make it all the way through ec2 test -- it crashed it or hanged it or something [20:51] thumper, all I did was go through factory and delete all of the calls to commit [20:56] adeuring: ok, rtfm'ing but I think you know the answer quickly: what user and db do I invoke psql as? [20:57] adeuring: (I've never had to do it locally before for Launchpad) [20:57] kfogel: "psql -d launchpad_dev" . [20:57] you don't need to specify a user [20:58] adeuring: thanks [21:01] adeuring: that update command worked, thank you [21:02] kfogel: welcome. As I said, I am trhe one to blame for all this mess. background: the +patches view timed out for ubuntu, so I added this cached column bug.lastest_patch_uploaded . [21:06] adeuring: well, you're not to blame -- ubuntu is! [21:06] hi there kfogel [21:06] yeah, too many bugs ;) [21:07] how are the bugs? [21:07] poolie: hey, there. [21:07] poolie: we're down to the last couple of bugs in launchpad. Pretty cool. I guess we might all be able to go home after today. [21:07] good to hear :) [21:07] poolie: Oh, wait -- we already are home. And there are 2000 bugs, not 2. My bad. [21:08] adeuring: hunh, I just notice (now that I have all my old data back!) that the batch size for patch tasks is, like, 5, instead of 50. While that's useful for development, I'm worried that we built it into the code somewhere (temporarily for testing) and forgot to take it out. What controls the batch size again? [21:09] oh [21:09] adeuring: it's a personal pref, isn't it? [21:09] * kfogel sees [21:09] kfogel: do you perhaps use a bookmarked URL? [21:09] adeuring: nope [21:11] kfogel: but the page https://staging.launchpad.net/ubuntu/+patches shows more than 5 bugs [21:11] adeuring: not for me :-) [21:11] adeuring: sorry, i mean not in my launchpad.dev instance [21:11] adeuring: I wonder if we have a lower batch size in general for .dev instances, just for easier testing? [21:11] kfogel: odd. are you sure that you don't use a parameter like batchsize=5 or so? [21:12] kfogel: could be, I am not sure... [21:12] adeuring: if I do, it's not in the URL [21:23] adeuring: https://code.edge.launchpad.net/~kfogel/launchpad/515584-use-zope-form [21:23] adeuring: would love early review from you on the route I'm taking [21:23] adeuring: AFAICT, what I'm doing isn't more "Zope-y" than any other way, it just reduces some code duplication. [21:30] kfogel: I'll look [21:31] adeuring: thank you [21:36] kfogel: you can create a vocabulary with the right options and display that as a drop-down list. Tha's done more or less automatically by LPFormView [21:37] IOW, you don't need patchTaskOrderings() [21:37] kfogel: and for the form view, you need and interface class which defines the values you want to display onn the form [21:38] adeuring: aaaaah [21:38] adeuring: much clearer now, thank you [21:39] adeuring: (I don't think this work was wasted, though, as it still consolidated stuff outside the .pt file. Now it's just matter of moving code around.) [21:41] * maxb is unconvinced by mwhudson's docstring nargery [21:41] Does "Calculate the appropriate value for the BZR_PLUGIN_PATH environment." feel right to anyone? [21:44] oh oops [21:44] at least it follows the coding standard now :-) [21:47] jml: hey, something's come up, can I move our tomorrow call to Wednesday? (Or, hmm, it's not on cal for tomorrow anyway, so maybe it's cancelled this week anyway?) === matsubara is now known as matsubara-afk [21:48] kfogel, it's cancelled this week, I'm away. [21:49] jml: *nod* [21:50] jml: did you end up talking to james_w about multi-distroseries recipes? [21:50] adeuring: when does trunk freeze? Wednesday? [21:51] kfogel: Friday normally [21:51] thumper: oh, that's not so bad, okay [21:51] thumper: not yet [21:52] thumper, no. [21:53] james_w: so... what's the story with that then? [21:53] it's not clear yet [21:54] there will be some recipe format work needed to support it if that is the way we want to fix it [21:55] otherwise we could do it soyuz side [21:55] james_w: in which case, I'm going to say it is all go with what we have [21:55] james_w: so a recipe is going to have a base branch and an associated distroseries [21:57] thumper: I think you may be making a decision that makes it harder to provide the user experience that you want, but I can understand the desire to move forwards [21:57] james_w: well... [21:57] james_w: lets design for what we want then [21:58] james_w: if we really want multi distroseries recipes [21:58] james_w: then lets work out what we need to make that happen, and JFDI [21:58] yes [21:58] james_w: do you know what needs to happen? I don't [21:58] it's not me that is driving that requirement [21:58] who is? [21:59] someone on the LP side [21:59] thumper: no, I haven't thought it through yet. [21:59] ok [22:00] I would like to do so, but the water is a little over my head right now [22:00] it would only be a few hours work to design something and implement it though [22:01] james_w: ok... can I do anything to help? [22:02] either schedule something to force the issue, or lighten the load elsewhere to give me the time to do it [22:03] james_w: who do I need to talk to about your schedule and load? [22:04] thumper: that's not particularly clear right now [22:04] hi james_w [22:04] hi poolie [22:04] i'd like to catch up sometime [22:04] realize it's late right now [22:04] well, I am here [22:05] james_w: :-) however that doesn't help me help you [22:05] thumper: I realise that :-) [22:06] * thumper reboots server [22:08] thumper: we don't really have a manager right now, in the conventional sense at least. I guess it is split between Hugh and Robbie. [22:22] * rockstar reboots [22:41] * mwhudson heads out for an early lunch -- unproductive morning [22:45] mwhudson: when you get back [22:45] mwhudson: lets talk === Ursinha is now known as Ursinha-afk [23:12] wgrant, hi [23:14] jelmer: Hi. [23:15] wgrant: you have launchpad working on lucid right? [23:15] jelmer: Yes. [23:15] wgrant: what did you need to do to get it working? [23:16] And I tried to run the test suite overnight, but it died early on for un-Lucid reasons. [23:16] jelmer: Install an old launchpad-dependencies (since the new one needs slony for postgres 8.3 -- that's about to be reverted) [23:17] You will also need to install python-egenix-mx{datetime,tools} from ppa:launchpad, or better still merge the versions in there so they're up to date. [23:17] That's about it. [23:19] Also, Canonical's non-Launchpad webapp teams are utter failures at security. Grrr. [23:21] wgrant: heh [23:22] wgrant, thanks [23:22] I'm not entirely sure why the login.ubuntu.com became a different team [23:22] lifeless: Not just that, but yes. [23:22] wgrant, is that documented somewhere yet? [23:22] jelmer: Which? [23:23] how to use lp on lucid? [23:23] No, since the two blockers are bugs that are easily fixed by anybody with upload privileges to ppa:launchpad. [23:23] ie. anybody in ~launchpad or maxb. [23:33] hmm [23:33] wgrant: so I guess I should fix it rather than document it on the wiki? [23:34] jelmer: Definitely. [23:34] Don't fix lp-dependencies yourself for now, since that's a bit harder, but the two outdated packages are just trivial merges. [23:36] lifeless: hi [23:36] mwhudson: hai [23:37] mwhudson: IRC or voice. either is fine for me - but this did sound a little thorny. [23:37] lifeless: so plugin unloading/layers are bad etc [23:37] lifeless: i think irc will do, to start at least [23:37] ok [23:37] so plugin unloading is 'unregister + delete from sys.modules' [23:38] what interests me is why you need it [23:38] layers are just a poor implementation of testresources; we don't need to talk about that immediately :) [23:38] so there's a specific problem -- probably really a launchpad bug -- that some tests fail when bzr-git is loaded [23:39] is there a bug showing the failure? [23:39] or a pastebin or something I can see? [23:39] (it's because LaunchpadTransport rejects filenames at one level apart from '.bzr' and 'backup.bzr' and so on, and bzr-git probes for some files) [23:40] mwhudson: this suggests to me that bzr-git on the smart server may cause explosions? [23:40] however, there is a more general issue that we don't want bzr-git to be loaded when we don't expect it to be, i guess mostly because bad things could happen in the branch puller [23:40] (mirrored branches and imported branches should be made more similar, yes, but not by accident) [23:41] lifeless: it's possible, yes [23:41] mwhudson: so only loading a plugin when you want it is fairly easy: don't import it :> [23:41] lifeless: sure, that part works fine [23:41] mwhudson: but that doesn't help with the test failures [23:41] * mwhudson rummages for the failure [23:42] lifeless: http://pastebin.ubuntu.com/381912/ [23:42] there are many things one could do to make this failure go away [23:43] you could fix the codehosting vfs to not explode on attempts to _read_ disallowed filenames [23:43] (which we should probably do anyway) [23:43] or you could unregister the git formats [23:43] oh looks; test tools :) [23:44] so [23:44] or we could run all tests that use bzr-git in subprocesses i guess [23:45] I think you shouldn't blow up internally on read attempts to unexpected files: NoSuchFile is more appropriate [23:45] 'these are not the files you are looking for', I mean. That, or bzr-git should be catching the permission denied error (by making it subclass something it catches) [23:45] mmm [23:45] * change the vfs [23:46] * catch the error in bzr-git [23:46] * use subunit to run the git using tests [23:46] * use a resource to load git and unload it for tests that need it [23:46] the last one is pretty easy [23:46] if it is, that must be the better option [23:47] the first two are probably good ideas but only solve the specific problem [23:47] It seems like a workaround to me - is there evidence for or against having othe specific problems? [23:47] we probably wouldn't need the resource, it's only one testcase class (i think) [23:48] you'll probably need to reach around inside bzrlib guts in the first place, but its not hard. [23:48] and we can dress it up later. [23:48] I suggest encapsulating it as follows: [23:48] wgrant, jelmer: It's not even a merge, just a no-change rebuild. Also, it's not required [23:49] change bzr-git's __init__.py to not register stuff directly, rather to have a 'register()' function, which is called at the end of the module. [23:49] lifeless: i guess the only other specific problem i can think of is the branch puller [23:49] maxb: Not required? [23:49] and a deregister() function, which undoes - however ugly it is - what register did. [23:49] lifeless: but we're into 'unknown unknowns' on the cheney scale here [23:49] make them both idempotent [23:49] (or was it rumsfeld?) [23:49] mwhudson: I can write this for you in an hour or so, ifyou need [23:49] wgrant: the egenix thing is only a build-dep, not a dep [23:50] maxb: It causes me problems here if I don't have a 2.5-supporting one. [23:50] mwhudson: your test case would then do 'import bzrlib.plugins.git; bzrlib.plugins.git.register()' in setUp, and deregister in tearDown [23:50] * wgrant finds the import. [23:50] lifeless: that would work [23:50] wgrant: oh! Well we should add it to lp-deps then [23:50] put this conversation in a bug on bzr-git; assign to me [23:50] maxb: psycopg2 needs it. [23:50] the only reason I've been lazy about updating it is that aptitude wasn't whining at me [23:50] maxb: It depends on it, but not a specific version. [23:51] lifeless: to generalise slightly, you could say that the next level down of problem is that it's hard to be confident of what's going to happen when you call "Branch.open" on a URL you don't entirely trust [23:51] I don't think this is the best option, but it has clear limits which making things work with bzr-git being loaded doesn't. [23:51] mwhudson: uhm, I don't get what that means [23:52] * maxb runs 'lpnochange egenix-mx-base' ..... I should put that script somewhere :-) [23:52] lifeless: if you set up a branch reference at some url that points to http://bazaar.lp.internal/$id_of_private_branch and asked for a mirror of the branch [23:53] mwhudson: thats what the open hooks are for, no ? [23:53] if the puller wasn't careful, it would suck the private branch into public area [23:53] in the bzr-git case it would just be a performance screw up [23:53] mwhudson: and similarly for git, I guess. [23:53] mmm, maybe the open hooks are enough these days [23:54] mwhudson: so, I think that 'check policy' and 'plugin installed' are orthogonal. [23:54] mwhudson: we should make sure you can enforce whatever policy is needed, but that should be entirely different from 'is bzr-svn installed and loaded'. [23:55] wgrant: I can't find the import, where is it? [23:55] lifeless: that certainly sounds like a worthy goal [23:55] maxb: Probably _psycopg.so [23:57] mwhudson: so, with respect to bzr-git, opening a random url will 'try all the things that can open branches' [23:58] mwhudson: if you want a policy of 'we only support X types when we open a url' - file a bug on bzr, explain why you want it, and we can figure out how to do it. [23:58] maxb: That does have an mx.DateTime reference. [23:58] maxb: I would upgrade and see what breaks, but I have a test run going at the moment. [23:59] lifeless: if you know what the formats are precisely, that's easy enough already [23:59] i guess having an open hook that rejected non BzrBranch subclasses would do well enough for us