[00:01] lifeless: It's actually much easier than that. [00:02] Use self.request.stepstogo.consume() [00:05] wgrant: mumble? [00:06] sinzui: I'm there. [00:06] ... but in the wrong room. [00:06] I think my audio is buggered again. I will leave and return [00:06] I can hear you. [00:28] lifeless: QuestionMessage doesn't have indices in the DB. [00:29] wgrant: well then. [00:29] wgrant: it needs them or spam marking is racy [00:33] wgrant: any idea why the df app server wasn't running? [00:34] jtv: None. [00:34] Oh well, I started it. [00:34] Well, unless "bigjools" is an idea. [00:34] Also, it's 9:30am here, you should not be here. [00:35] jetlag [00:38] 'zcly [00:38] Plus, my UPS can't sleep. [00:41] lifeless: Try to assign/unassign a private bug on qastaging. [00:41] wgrant: why? [00:42] lifeless: Because it crashes for me. [00:42] what bug were you trying on [00:43] 1234 [00:43] Indirect subscribers found on private bug. A private bug should never have implicit subscribers! [00:43] Yes. [00:44] Can you change status/importance? [00:44] win [00:44] They OOPS for me without a traceback. [00:44] But it's possibly just a timeout. [00:44] OOPS-1955QASTAGING103 [00:44] ID:OOPS-1955QASTAGING104 [00:44] Yeah, been waiting for a sync for a while :( [00:44] 3 seconds, not a timeout [00:44] Thanks. [00:44] uhm [00:45] is ~launchpad in malone-alpha [00:45] no [00:45] But I am. [00:46] so i'm getting this with the 'normal' notification stuff [00:46] On qas. [00:46] yes [00:46] It works fine on dev. [00:46] I wonder if a custom filter has to exist. [00:48] I also wonder if it's related to the fix for bug creation subscribers. [00:48] If I can find it... [00:49] No. [00:50] now, is indirect 'via a team' or 'via a pillock' ? [00:50] Pillar. [00:50] Not team. [00:50] fuuu [00:50] ECONFUSINGTERMINOLOGY [00:50] lazr.restful suppresses the traceback. [00:50] Let's use non-AJAX... [00:50] theres a bug on that [00:50] OOPS-1955QASTAGING107 [00:51] Module lp.bugs.subscribers.bug, line 151, in add_bug_change_notifications [00:51] level=BugNotificationLevel.METADATA) [00:51] Module lp.bugs.model.bug, line 1050, in getBugNotificationRecipients [00:51] "Indirect subscribers found on private bug. " [00:51] AssertionError: Indirect subscribers found on private bug. A private bug should never have implicit subscribers!
[00:51] Not too helpful. [00:51] But it's something. [00:51] Surely not. [00:51] This would have been broken for weeks. [00:52] I envy you; you're getting to code. [00:52] You're not? [00:53] I'm architecting at the moment [00:53] https://dev.launchpad.net/ArchitectureGuide/Services [00:53] which is harder than you might think [00:53] Ah, yes. [01:02] * wgrant comes dangerously close to deleting bug heat. [01:02] \o/ [01:02] which reminds me [01:03] to do an analyse of bug heat top-20 or whatever with and without decay [01:03] I'm totally convinced that in successful projects the sort order is identical [01:03] but ENEEDSDATA [01:17] Project windmill-devel build #56: STILL FAILING in 1 hr 15 min: https://lpci.wedontsleep.org/job/windmill-devel/56/ [01:31] StevenK, perhaps you would care to review a small fix for automatic index creation in publish-ftpmaster? https://code.launchpad.net/~jtv/launchpad/bug-780214/+merge/60444 [01:36] Project db-devel build #531: FAILURE in 5 hr 20 min: https://lpci.wedontsleep.org/job/db-devel/531/ [01:40] Or wgrant maybe? Need a small fix reviewed. [01:47] No antipodeans in the review market today? [01:48] * wgrant returns. [01:49] jtv: What creates that normally? [01:50] wgrant: I don't even know tbh [01:50] Also, why always PRIMARY, never PARTNER? [01:51] generateConfigForPocket does this. [01:51] As long as it's given some components. [01:51] I presume this failed on DF? [01:51] There are no separate PARTNER runs for this, as far as this script is concerned, so it uses PRIMARY as the place to keep track. [01:51] Project windmill-db-devel build #255: STILL FAILING in 1 hr 7 min: https://lpci.wedontsleep.org/job/windmill-db-devel/255/ [01:51] Yes. [01:52] Do you still have the traceback? [01:52] I can make one. Hang on. [01:54] wgrant: http://librarian.dogfood.launchpad.net/71105515/hyYRRP1nMvTD9b3OKTaVtUZy789.txt [01:54] jtv: querulous hasn't been initialised, has it? [01:54] Nope [01:54] It has no components. [01:54] There's a bug for that. [01:55] But why are you writing out indices before initialisation? [01:56] Skipping a few steps in testing, I guess. [01:57] So this won't be the case in production? [01:57] what triggers the index generation? [01:57] publish-ftpmaster. [01:57] That's what runs it. [01:57] In what case does it run? [01:59] wgrant: little accident with chat window here... index generation is triggered by publish-ftpmaster being run on the distro and seeing that one or more suites in a frozen series do not have indexes yet. [01:59] jtv: Hmm, that's too early. [01:59] It needs to wait until it's been populated. [02:00] Bug #675042 covers the bug that you've fixed here, but it reveals that it's being run too early. [02:00] <_mup_> Bug #675042: Release file generation fails for series without components < https://launchpad.net/bugs/675042 > [02:00] tsekci times [02:00] Pardon? [02:00] just being silly [02:01] a riff on other interpretations of 'populated' [02:01] wgrant: you are taking into account that publish-ftpmaster will not be running around the time a new series is created? [02:02] jtv: Hm, why not? [02:02] He's good at that. [02:03] 11:02:06 < wgrant> jtv: Hm, why not? [02:04] We currently stop the publisher so the manual index generation can be run. [02:05] If we're doing the manual index generation automatically, there's not much point stopping the publisher. [02:06] My understanding is that stopping the various cron jobs was still needed for other reasons as well. [02:07] That sounds like a temporary situation that we don't want to add more reasons to. [02:07] * wgrant invokes StevenK. [02:12] wgrant: when we get close to the point where the cron jobs no longer need to be disabled, we'll also have a better view of what else is needed to manage the various jobs that need to be done. [02:13] wgrant: Oh? [02:13] StevenK: Why do we still have the publisher off during initialisation? [02:14] I hadn't done any work on it -- but we don't want to publish a half-initialised series [02:14] jtv: Regardless, this fix should probably be in ftparchive.py. And it's almost tempting to keep the crasher to indicate that something has gone wrong. [02:14] StevenK: Sure, but that's probably better handled by IDS signaling that it's finished and enabling publication of the series. [02:15] Agreed [02:16] How do you enable publication of a series? I thought that was per-distro. [02:16] Perfect may be the enemy of good and all that, but perfect is not difficult here, and making it easier to silently do things wrong is also the enemy of good. [02:17] jtv: Indeed, but that doesn't make much sense. [02:17] What is "that" in this case? [02:18] jtv: DistroSeries needs an "initialised" flag or so. At the moment we have series like p-series sitting around and only not being published because they have nothing to publish. [02:18] The publisher should only consider initialised series. [02:18] And that solves this problem. [02:18] This is separate from the "initialised" flag on DSP, I take it. [02:18] I don't think that flag should exist. [02:19] But perhaps it should. [02:19] That's actually a recurring problem here, I think. [02:19] Oh? [02:19] A proliferation of status flags for what is really a process flow. [02:19] That's why I think it should be a DBEnum [02:19] The larger problem is that it is apparent nobody has though about how this is all going to work. [02:19] s/though/thought/ [02:19] Exactly. [02:20] thinking is overrated [02:20] * lifeless goes back to thinking [02:20] I don't think it belongs on IDistroSeries, but only because it's enormous. [02:20] I have thought about fixing DS.status. [02:20] It is possible taht we could reuse that. [02:21] We need to think how it will interact with Debian. [02:21] But it seems reasonable. [02:21] StevenK: I don't think thats a good reason not to do it [02:22] StevenK: thats a good reason to make it smaller, but if you hold of on genuine improvements because its not [yet] small, you hamstring yourself. [02:22] StevenK: you could say 'we won't make it bigger' and go yak shaving to make it smaller to let you put this field in and keep it hte same size [02:22] jtv: I am really worried that there is no design for any of this. [02:22] jtv: It's just a set of cards. [02:22] jtv: With people working it out as they go. [02:22] but that seems like saying 'making the class smaller is more important than making this part of the process reliable' - which I wouldn't agree with. [02:23] wgrant: same here, but I'm not a big fan of chucking in an enum right away either. [02:23] jtv: Sure, we should actually talk about this. [02:23] With Julian and stuff. [02:23] Yes. [02:23] I think we're sort of racing past an underlying problem, [02:23] Rather than just piling more hacks onto the pile of hacks that is already a significantly larger pile than before DDs. [02:23] which is that we don't have a clear map of the dependencies between actions. [02:24] We have the current Ubuntu process, which is a serialization of actions--out of some set of possible ones. [02:24] Riht. [02:25] So I'm thinking: the first thing we ought to do is figure out what the dependencies are. [02:25] Which is hard, and involves goat sacrifice. [02:25] That sounds dangerously close to planning ahead of time... [02:25] Or some other way of seeing into the nether realm of soyuz. [02:26] Planning what ahead of what time? [02:26] A feature. [02:26] Or development thereof. [02:27] ? [02:28] I'm saying we should understand what it is that we're already doing. That doesn't strike me as premature feature development planning. [02:28] jtv: wgrant is showing his bitterness again. [02:28] He's too young to be bitter. [02:28] (For a non-Windows user, that is) [02:28] It was a derogatory implication that much of this work lately has been quickly patching over immediate problems without considering the underlying problems. [02:30] Some post-release updates need to go to -updates? Hardcode -updates when datereleased is set! We need to create distroseries indices after a series has been initialised? We turn the publisher off during initialisation because we haven't quite fixed that yet, so we can just assume the publisher will be off! [02:30] etc. [02:30] The feature was initially planned well, but the issues that have cropped up during development have had no planning at all. [02:30] And this is how Soyuz got as bad as it is now. [02:31] I think these are two separate issues though. [02:31] The new requirements were thrown into the design in a hurry. Very bad. [02:32] But what we were discussing is old design, and there a few hackish small steps may actually bring us to a better ultimate situation. [02:33] But there has been no consideration of the ultimate solution before implementing the hackish small steps. [02:33] So we don't know if we're going in the right direction. [02:33] Or if we're going the direction soyuz did for its first three or so years. [02:34] Part of the problem is that we don't know what the ultimate initialisation procedure for a new series will look like. [02:34] (which was possibly not unreasonable, due to time constraints, but that's not the case here) [02:34] jtv: We need to sit down and work that out, I guess. [02:35] But I suspect trying to design that up front may lead us to decisions that turn out to be wrong at a later stage. In which case it's more effective to let a pattern emerge first, and then design for the pattern. [02:36] What is in question? [02:37] wgrant: this isn't how soyuz got to its current state [02:37] lifeless: Oh? [02:38] Parts of it are very clear layers of hacks. [02:38] yes [02:38] Much moreso than the rest of LP. [02:40] wgrant: there was a lot of BDUF done early on [02:40] wgrant: and it was wrong and never corrected [02:40] Sure. [02:40] I'm not asking for BDUF on that scale. [02:40] I am asking for a minimal amount of design. [02:40] wgrant: I'm arguing that that is the root cause of many of the hacks [02:40] Not 5-year speculative design like Soyuz. [02:40] Hmm. [02:41] Partly, yes. [02:41] But not entirely. [02:41] now, subsequent work hasn't fixed the root issues, and has yes papered over stuff [02:42] I'm all for aiming for a good design and root cause fixes [02:42] I don't think you're wrong to argue that some more analysis is needed [02:42] I think its false to say that incremental development got us here [02:42] what got us here was overly focused designs that didn't address the root causes which /made/ the basic facilities hard to reuse. [02:43] for instance, picking something arbitrary we publish archives in two different ways for no good reason [02:44] That's because Celso got cold feet about NMAF. [02:44] No. [02:44] PPAs need to be done, NMAF wasn't fast or complete enough for primary. [02:44] Completion never happened. [02:44] Nothing about getting cold feet. [02:45] Ah. And since it worked fine for PPAs, it was good enough. [02:45] or we could have used apt-ftp for ppas [with different tradeoffs] [02:45] It turns out it didn't work fine, but the minor additional fixes were made. [02:45] But yes. [02:45] but the choice to bring in a different stack was done with sprints and design; the underlying issue wasn't, and hasn't been addressed. [02:46] lifeless: For big stuff like that, yes, incremental development is not at fault. But there are so many special-cases and other gross hacks throughout Soyuz which are labelled as temporary hacks that will be discussed at $nextsprint, dated 2005 or 2006. [02:47] wgrant: I think that shallower stuff is due to the overall 'we don't get to finish things' issue. [02:47] wgrant: I give you e.g. blueprints [02:47] :) [02:47] lifeless: And we still don't get to finish things. [02:47] Even with feature squads. [02:47] thats interesting [02:47] I thought we were doing a lot better [02:48] We set a deadline for feature completion weeks beforehand. [02:48] Then the last couple of weeks are very conservative. [02:48] I think you should raise this on one of the two lp dev lists [02:48] Feature completion is not based on completion of the feature. [02:50] we have a glass display case for well, glasses [02:50] it has a bottom draw thats wood [02:50] so the glass starts about 25/30cm from the floor [02:51] our newest kitten tries to jump into the cabinet [02:51] so there is this patter patter patter ... THUMP [02:51] Ahaha. [02:51] as he propels himself up that 30cm gap aiming at where he can see stuff... and whacks into the glass front [02:51] Smaaart. [02:52] Wait, newest kitten? You have acquired multiple now? [02:52] we have 2 (the desired number) now [02:52] And then shakes himself off and goes to lay in the sun? [02:52] Sun in NZ? lol. [02:52] Oh. Right. [02:52] s/sun/slightly warmer bit/ [02:52] sun, no. chases the other cat, then tries again a bit later [02:53] (although it was around 0 here this morning, so I guess I can't really talk) [02:53] It was 10 degrees when I went to bed [02:53] That's cold enough [02:54] Yay, bug heat timeouts on production now. [02:55] OOPS-1956BA33 [02:56] * StevenK waits the 30 seconds that OpenID seems to take [02:57] Sigh, searching for oops makes me sigh [02:59] wgrant: some prolonged disconnectivity there... What is in question? Well currently, how we trigger and track the various steps in setting up a new series. [03:01] jtv: Right, but why can this not be determined now? [03:03] I'm on thin ice there, but perhaps because so many things are shifting: we're generalizing beyond Ubuntu, IFP is becoming a job, we're introducing multiple parent relationships. [03:04] Right. [03:04] And the LEP basically only specifies +localpackagediffs UI. [03:05] You'll hear no argument from me there... [03:05] Oh! [03:05] ? [03:05] Someone agrees that the design is insufficient :) [03:06] I've been saying that for quite a while now I think. You may not have heard all of it because it was on team calls. [03:07] I have seen nothing other than a continuous stream of branches that reveal woefully inadequate design. [03:07] I am glad that there has been some discussion or at least realisation that this is the case :() [03:07] But again, I see different considerations for the design we inherited and the one we're trying to implement. [03:07] *:) [03:08] I don't think anyone particularly disagrees that we have a hurried design and it's not exactly a work of fine art. But what we _do_ about it is another kettle of fish altogether. [03:10] * wgrant sighs and lunches. [03:22] 3 rollbacks in 24 hours :( [03:23] new record? [03:23] I think so, yes. [03:23] We've had two a couple of times. But not three. [03:30] silver lining - is new record in our QA process to ensure that quality code lands on the LP prod branch. We're not afraid to rollback bad versions on discovery! [03:32] Heh [04:04] waheeee [04:04] 548 KeyError: 56589 [04:08] that's expressing just plain disdain for humans [04:08] lifeless: That's the send-bug-notifications crap. [04:08] You might have noticed there were tens of thousands of them yesterday. [04:09] It is happy now. [04:14] kk [04:14] thanks [04:16] is wallyworld doing uds? [04:20] lifeless: The first couple of days, I think. [04:21] Ian Booth [04:21] 2011-05-09 till 2011-05-10 [04:21] thanks [04:21] jtv: Hi. [04:22] https://answers.launchpad.net/launchpad/+questions?field.search_text=&field.sort=RELEVANCY&field.sort-empty-marker=1&field.actions.search=Search&field.language=en&field.language-empty-marker=1&field.status=OPEN&field.status=NEEDSINFO&field.status-empty-marker=1 has four questions assigned to Launchpad Translations Administrators/Coordinators. Who is meant to handle that sort of thing now? [04:23] aren't we all rosetta admins now? [04:23] Yes [04:23] hi wgrant... my life is so nice and interruption-free now that I'm no longer notified of messages [04:23] Some of these are policy. [04:23] Heh. [04:24] * jtv looks [04:25] By the way, Launchpad Translations Coordinators are a very different team. They run our reference translation group. [04:26] Of the ones for rosetta admins, one is in Needs Information. [04:27] Another actually should have been un-assigned. [04:30] jtv: Right, I know they're a different group, which is why I was asking about them :) [04:30] Because I doubt they watch LP questions. [04:31] Good point. [04:34] I need a proof reader [04:34] Someone that will read a doc and make a list of wtf moments to give to me [04:40] wgrant: tag, you're it ^, if you have time. [04:41] I'm not going to get any useful code done today, so I might as well. [04:41] * wgrant looks. [04:44] wgrant: you were right by the way--IFP fixed my directories problem. [04:45] jtv: Great. [04:45] jtv: Are bug #55211 and bug #777941 deployable? [04:45] <_mup_> Bug #55211: shouldn't require careful publisher run when cloning new released distrorelease < https://launchpad.net/bugs/55211 > [04:45] <_mup_> Bug #777941: Create distroseries indexes from regular publisher run < https://launchpad.net/bugs/777941 > [04:45] wgrant: yes, because we're not using that script yet anyway. [04:46] That's what I thought. Thanks. [04:46] Also, I just got it working on df. :) [04:46] Excellent! [04:48] Now to fake those marker files for O. [04:49] Or rather, figure out whether we need to. [04:50] Well, what's it going to do? A no-op index publication when we set it to frozen? [04:51] Project windmill-devel build #57: STILL FAILING in 1 hr 7 min: https://lpci.wedontsleep.org/job/windmill-devel/57/ [05:11] wgrant: I was told that doing a publish-distro -A on the suites at such a later stage would be harmful. [05:13] StevenK: where is IDerivedDistro as mentioned in bug 643369? [05:13] <_mup_> Bug #643369: IDistroSeries.deriveDistroSeries() should use the security adapter < https://launchpad.net/bugs/643369 > [05:13] jtv: I don't believe that to be the case. [05:13] It's not ideal. [05:14] But it shouldn't break anything. [05:14] Undesirable, but not harmful beyond possibly wasting a few minutes. [05:14] * jtv suffers a mild gust of despair from hearing these contradictory requirements [05:15] It's safe to run publish-distro -A on a series (and suites) that has already been published? [05:15] Yes. It will do bad things if it's released, but frozen is not release. [05:15] +d [05:16] All it does it forces the pockets to be dirty. [05:21] wgrant: that doesn't sound so bad, for a one-off migration issue [05:21] Hmmm this looks useful: http://justinhalpern.tumblr.com/post/5135237870/office-e-mail-translator [05:24] jtv: I hoped it would be something to de-Outlook HTML. [05:25] Alas. [05:25] wgrant: I'll ignore the marker files issue then, but leave it on the table for a double-check with jools. [05:26] jtv: Sounds good. [05:26] Meanwhile, trying to make sense of bug 643369, which is marked as a high priority. What is this IDerivedDistro it speaks of, and why should Ubuntu not count as one once it's marked as derived from Debian? [05:26] <_mup_> Bug #643369: IDistroSeries.deriveDistroSeries() should use the security adapter < https://launchpad.net/bugs/643369 > [05:26] jtv: Because 2005, that's why. [05:27] Ah yes, 2005, the explanation for everything. :) [05:28] wgrant: still, what would determine whether a distro is an IDerivedDistro? [05:28] I think the owner is a more sensible check, but using IDerivedDistro is stupid and wrong. [05:28] IDerivedDistro itself is stupid and wrong. [05:29] In its current definition, at least. [05:29] I believe it's currently != ubuntu. [05:29] Which is obviously crap. [05:29] So... debian would be an IDerivedDistro!? [05:29] Yes. [05:29] When it is in reality the only non-derived distro. [05:29] if self.name == 'ubuntu': [05:29] alsoProvides(self, IBaseDistribution) [05:29] else: [05:29] alsoProvides(self, IDerivativeDistribution) [05:30] IDerivedDistro is effectively "Any distro which isn't Ubuntu" [05:30] (From Distribution._init) [05:30] jtv: I think that bug is hard to fix, too [05:31] Ah, "Derivative." That's why I got no hits for "Derived." [05:31] Ah, IDerivativeDistribution is, in its current form, used for Ubuntu-specific permissions. [05:31] So you might want to rename it to IHaveBadlyDefinedUbuntuDrivers. [05:32] Heh [05:33] Maybe I shouldn't be working on this bug then, especially since it doesn't say why the change is needed. [05:34] It's certainly not pressing. [05:34] It's marked as a high priority. [05:34] Unlike all other pending tasks. [05:34] It's needed because currently you need to be a member of soyuz-team or an admin to derive a series. You should be a driver or owner of the destination d [05:35] Oh, that [05:35] *distribution (since the series may not exist) [05:35] That's much clearer, thanks. [05:59] StevenK, wgrant: how weird to have deriveDistroSeries on DistroSeries... I would have expected it to be on the derivative distribution. [05:59] Project windmill-devel build #58: STILL FAILING in 43 min: https://lpci.wedontsleep.org/job/windmill-devel/58/ [06:00] jtv: The DistroSeries you call it from is the one you're deriving from? [06:00] Yes. [06:00] But ISTM you only need read permissions on that. The derivative distro is what you're appending to. [06:00] Yes ... [06:02] And then it checks if the derived series you want to create may already exist, and if it does, initialize it. [06:02] jtv: Completly seperate. [06:03] jtv: We use the object were calling deriveDistroSeries() on as the parent series -- so it doesn't need to be fed into the argument list. [06:03] And deriveDistroSeries() is happy enough to create the series if it can't find it. [06:04] Frightening. [06:04] * StevenK goes back to fixing tests [06:05] ISTM this wants to be a method on the parent Distribution plus a method on the derived DistroSeries, rather than a single method on the parent DistroSeries. [06:06] What?! You're making no sense, and I'm getting cross. [06:14] wgrant: ping [06:28] wallyworld: Hi. [06:29] jtv: Possibly, but it may be sensible to do them in one operation sometimes. [06:29] Sensible or easy? [06:29] wgrant: i have had a go at moving the gpghandler stuff to the tac file but am unsure a) if it's correct and b) how to test. could you have a look? [06:30] wgrant: i've not seen or used the tac stuff before. here's a draft mp https://code.launchpad.net/~wallyworld/launchpad/poppy-sftp-gpgconf/+merge/60454 [06:30] wallyworld: I didn't do it myself precisely because I couldn't think of a quick way to test it. [06:30] Twisted people and/or lifeless may have ideas. [06:31] wgrant: ok. what's the bit of code that event loads and runs the tac files? [06:31] even [06:31] wallyworld: They're run by twistd. [06:31] * StevenK reads the MP and vomits [06:31] Surely there HAS to be a better way [06:31] wallyworld: See utilities/start-dev-soyuz.sh [06:32] wgrant: ok. [06:32] StevenK: you're welcome to tell me a better way [06:32] Extending gpg handler that didn't use directory that gets reaped would be nice [06:32] StevenK: the bug report had a bit of discussion and what's been done seems to be the best that could be though of [06:33] StevenK: apparently there's issues with that approach [06:34] We could possibly use /var/tmp. But this isn't *that* bad. [06:34] I meant a IDaemonGPGHandler or so -- unless there is an easy way to overwrite methods [06:34] wgrant: It's a hacky kludge, and it makes me sad. [06:36] StevenK: makes me sad too. but it seems to be the "accepted" approach according to the bug report comments [06:37] wallyworld: I'd rename GPGHandler job to something more obvious, but apart from that it looks OK. Still not sure how to test. [06:37] I don't think an integration test is worth doing [06:38] tac files are astonishingly hard to test and I have never understood why they are way they are [06:38] I always write regular functions [06:38] and then make my tac files [06:38] from foo import bar [06:38] bar() [06:39] lifeless: ok. so doing it that way you just unit test bar separately [06:42] right [06:42] and take it on faith that the tac calls bar [06:43] but you keep it to those literal two lines [06:43] wallyworld: what was the architecture of the stuff @ caterpillar [06:44] wallyworld: I mean, did you have one big tree like we do, or a bunch of small trees; did you write micro services or have a single big DB [06:45] lifeless: it was one big tree (project started over 10 years ago before EJB spec had even hit 1.0) but it's slow evolving to a more modular approach using stuff like OSGi [06:45] lifeless: there is currently a single Oracle instance but separate schemas for BI reporting etc [06:46] wallyworld: I'm starting the socialisation process of this - https://dev.launchpad.net/ArchitectureGuide/Services - and given how recently you've joined the team, I think you'd make a good early-draft reader of it... if you have the time [06:46] wgrant: did you have any feedback ? [06:47] lifeless: cool. will look. [06:47] lifeless: I have no real suggestions for improvement. It's not yet really at a stage where I can tell you you're wrong. [06:47] It looks very good so far. [06:47] wgrant: s/you/if/? [06:47] No. [06:47] oh, right. [06:48] +that, potentially. [06:48] do you think I'm wrong and waiting for evidence, or hope I'm not but didn't find any (due to lack of concrete data) [06:48] I believe you're right, and that page gives me no doubts. [06:50] Project windmill-db-devel build #256: STILL FAILING in 1 hr 17 min: https://lpci.wedontsleep.org/job/windmill-db-devel/256/ [06:51] I think I need more pessimistic colleagues :) [06:57] lifeless: *very* brief look before going to breakfast - the proposal also needs to mention domain modelling changes - the sort of stuff we've discussed previously wrt business objects vs persistent objects. also inter-service apis which exchange object references need to do so using external/business key references etc. in short, this aspect is a whole topic worthy of discussion in the lep [06:59] * wallyworld off to breakfast [07:00] wallyworld: those are good things to talk about [07:00] But I don't think this is the place. [07:00] /stage [07:01] wallyworld: on the latter I was assuming we'd use a locally unique key - its a well known and solved issue. On the former the template/api service would be sane, the current core would not change (but would lose all view code). [07:01] wallyworld: so I concur with wgrant; I think those things are truely orthogonal to the business case [07:07] wgrant: why did you mark the bug for creating ds indexes from publish-ftpmaster as qa-untestable? [07:08] jtv: Because it was about 30 seconds before you told me you'd tested it, and I wanted to clear up the QA state. [07:08] Which is currently an unprecedented mess. [07:09] I thought our current procedure for "safe to deploy even if not actually Q/A'ed" was to mark the bug as qa-ok. [07:09] I'm asking because I could easily have missed a change. [07:09] either is fine [07:09] untestable is what --no-qa sets when you pass it to ec2 land [07:09] I've been told off for using qa-ok for OK-to-deploy before. [07:10] using qa-ok will add confusion if folk want to assess 'fixes bug' vs 'ok to deploy' [07:10] when I say either is fine, I mean I don't care :) [07:11] * jtv wishes we had deploy-ok and so on [07:15] someone just needs to do it - patch up qatagger [07:19] wgrant: have you landed that backout? [07:20] lifeless: Yes. [07:20] Will be out of buildbot in a couple of hours. [07:20] cool [07:20] Thinking about it again I should have had buildbot killed. [07:20] I'm just looking for a good rev to test this rabbit branch [07:20] Since it landed soon after a new run had started. [07:29] Yippie, build fixed! [07:29] Project db-devel build #532: FIXED in 5 hr 52 min: https://lpci.wedontsleep.org/job/db-devel/532/ [07:42] man the pypy bug tracker is -fail- ui [07:42] filing a new bug asks for a 'change note' [07:43] Sounds like two bugs, then [07:48] StevenK: well, they use roundup [07:48] https://codespeak.net/issue/pypy-dev/issue718?@ok_message=msg%202507%20created%3Cbr%3Eissue%20718%20created&@template=item [07:49] lifeless: ah, so you are trying lmirror on pypy? [07:49] Ewwwww [07:49] I was going to suggest that over rewriting it in Go. [07:50] wgrant: I wanted to evaluate it yes [07:50] wgrant: real 0m7.188s [07:50] user 0m6.760s [07:50] sys 0m0.390s [07:50] vs [07:51] real 0m9.227s [07:51] user 0m8.880s [07:51] sys 0m0.340s [07:51] Which is which? [07:51] to capture a delta of a mirror push on a 500K file tree whose shape was given by the ls -lr from archive.u.c [07:51] wgrant: the faster one is pypy [07:52] Right. [07:52] Less good than I would have expected. [07:52] wgrant: even with the extra 0.8 seconds from the parsing split [07:52] Oh. [07:52] Hmm. [07:53] you probably really want an itersplit, anyway. [07:53] yes [07:53] I've rewritten the parser to use a generator, which was ~0 saving in cpython [07:53] so I shelved it [07:54] But could be massive in PyPy.. [07:54] yeah [08:01] lifeless: Your bug report title says string.plit, by the way\ [08:02] s/\\// [08:02] heh [08:06] lifeless: awesome! [08:09] jml: I know! and now we have a user we can't change the api!? :( [08:09] lifeless: uhhh, I reckon we could work with him [08:09] lifeless: also, we could just make something better & make it part of fixtures [08:09] jml: yes, I was teasing about the API [08:10] I'm sure he'd adapt to a nicer API if we get it togethe [08:10] r [08:10] I got mail from him out of the blue [08:10] saying that this was nicer than the layer he had before [08:13] :) [08:25] What's the best way to create test packages for Soyuz? I need to implement a test suite which causes an arch-any/arch-all skew [08:25] s/suite/case/g [08:25] What are you trying to do? [08:26] wgrant: with ec2 demo, should it appear to hang on buildout ? [08:26] wgrant: or is it just -darn- slow? [08:26] lifeless: No, but it will take several minutes. [08:26] Unless you are asuka, then 30 minutes is common. [08:27] wgrant: cause publisher to retain older binaries during an arch any/arch all skew which has been the primary cause of image breakage on armel [08:27] NCommander: You should talk to the Soyuz developers about that first oh wait. [08:27] wgrant: well I want the test case so I can show the problem before any solution is implemented [08:28] wgrant: what should it do ? [08:28] wgrant: end up in a shell? return to the prompt and wait for manual shutdown? [08:28] NCommander: You don't want to use real packages for that. Use SoyuzTestPublisher. [08:28] lifeless: It will tell you that the webapp is running now and then give you a Python REPL. [08:28] wgrant: apparently not [08:28] Lies. [08:28] wgrant: I disagree, since the test validation should be if APT can still install packages from LP [08:29] utilities/shhh.py PYTHONPATH= ./bin/buildout \ [08:29] NCommander: That's a very high-level complex integration test at a scale we do not currently have. [08:29] configuration:instance_name=development -c buildout.cfg [08:29] was the last I have seen from it [08:29] lifeless: Is buildout eating CPU? [08:29] wgrant: *grumble* :-/. [08:29] NCommander: doing that is fine to demonstrate the problem [08:29] NCommander: Can you imagine how slow the test suite would be if we did that for everything? [08:29] NCommander: but its at a huge remove from the source of the issue [08:29] But we are well aware of that problem. [08:30] It does not require demonstration. [08:30] NCommander: and there is a bug for this case already :P [08:30] lifeless: was not aware of this, I was simply poking LP with a big stick to try and work towards this [08:30] NCommander: cool [08:30] lifeless: My initial idea was to simply implement the publishing algrothmin used by dak to retain old binaries until the arch any/all skew is resolved in unstable [08:31] (and I poked cjwatson on it who pointed me to the original Debian spec on this subject) [08:31] For us it's far easier than that. [08:31] ? [08:31] To fix it is basically a matter of deleting code. [08:31] Since we explicitly supersede them atomically now. [08:31] we do this deliberately you see :> [08:31] lifeless: it causes a lot of issue with ARM ports. [08:31] \o/ bug search timeouts [08:31] (and to a lesser extent PPC) [08:32] OOPS-1956EB151 [08:32] stub: Hi and thanks for the review! [08:32] rvba_: Hi. Did you get anywhere with your traversal? [08:32] lifeless: wgrant: where's the existing LP bug? [08:32] wgrant: is it bug 402935 ? [08:32] <_mup_> Bug #402935: Domination of architecture independent binaries is not restricted to the source publication boundaries < https://launchpad.net/bugs/402935 > [08:32] lifeless: No, but that would be fixed by this. [08:33] lifeless: Because it's a bug in the code that would be deleted. [08:33] wgrant: I'll start with that just now. [08:33] rvba_: grep for stepstogo.consume [08:33] rvba_: No need for an intermediate object. [08:33] wgrant: ah ... I'll take a look at stepstogo.consume, thanks! [08:33] wgrant: do you know the bug fo rthis? [08:34] Bug #34086 [08:34] <_mup_> Bug #34086: morguing arch-all packages can result in uninstallable binaries < https://launchpad.net/bugs/34086 > [08:34] Mmm, I guess it does have to be aware of dependencies, so it is a bit of work. [08:35] * NCommander notes that dak handles this now */comment* [08:35] NCommander: thats nice dear :) [08:35] Yes, but dak doesn't suck. [08:35] And is improving. [08:35] So it is doubly much better than LP. [08:36] * NCommander helped rewrite much of dak long ago :-/ [08:36] wgrant: hey, LP is improving [08:36] NCommander: we'd love a patch for this for lp [08:36] lifeless: I'd be glad to do the foot work, but I'm not a LP guru [08:36] 'leg work' :-P [08:36] lifeless: Yes, but glacially. [08:36] this is the dak spec for how Debian fixed it http://ftp-master.debian.org/wiki/projects/arch-all-tracking/ [08:37] I think its probably pretty sane if we simply implement in a similar fashion [08:39] "We remove all arch all packages that are not referenced by existing source packages but to be safe we always keep the newest version similar to the source removal case. The process is called 'old_and_unreferenced', too." [08:39] That's not an entirely useful description of how referencedness is calculated. [08:39] jml: the ec2 postmortem console is interesting [08:39] jml: but it lies: [08:39] wgrant: a lot about dak is simply looking at the code :-P [08:40] EC2Instance is available as `instance`. [08:40] er, is only explainable by looking at the code [08:40] >>> instance [08:40] Traceback (most recent call last): [08:40] File "", line 1, in [08:40] NameError: name 'instance' is not defined [08:40] lifeless: the postmortem console isn't my feature (although I probably broke it). [08:40] jml: and here I was giving you undue credit :) [08:41] lifeless: :) [08:41] wgrant: I'm guessing the way to start is drafting a LP spec which describes how dak does it and how we want to implement their braindamage^W process [08:42] good morning [08:42] NCommander: uhm, probably not. [08:43] NCommander: a LEP /may/ be useful, but probably isn't. [08:43] NCommander: I'd refine the bug until its implementable, make sure you have input from experienced folk like Julian, and then start doing it. [08:44] * NCommander is beginning to under Soyuz's design ... [08:44] *understand [08:46] I think we probably want to undo ArchiveRemovalRedesign :( [08:47] wgrant: what is ArchiveRemovalRedesign? [08:47] * NCommander is writting a comment on the bug [08:47] NCommander: 2006 stuff. [08:47] I've bumped the bug [08:47] Which is mildly relevant here. [08:47] I am pondering how this will work. [08:47] lifeless: I'm also putting some comments on why this is important now [08:47] We need to only drop things from the indices when all binaries from a source on a particular arch are superseded. [08:48] Which probably means we need an intermediate status. [08:48] wgrant: superseded-or-not-built-anymore [08:48] wgrant: the dependency check is more accurate [08:48] Which dependency check? [08:48] Wouldn't the solution simply be keeping the old binaries published until superseeded? [08:49] We do [08:49] (i.e., change when the superseeded status is applied to a binary record) [08:49] NCommander: They are superseded already. [08:49] wgrant: modelling this as 'no version locked rdeps exist' [08:49] NCommander: https://blueprints.launchpad.net/launchpad/+spec/archive-removal-redesign [08:50] lifeless: That's taking it to another level entirely. [08:50] lifeless: that's like making testing exist in Soyuz [08:50] NCommander: You can make that joke only after fixing the testsuite [08:51] StevenK: Debian testing [08:51] not testing in general [08:51] Testing does exist? [08:51] Does it not? [08:51] zomg [08:51] celso wtf [08:51] ... its like implementing britney's functionality in Soyuz [08:51] Grumble [08:51] lifeless: ? [08:51] lifeless: Where? [08:51] https://launchpad.canonical.com/SoyuzArchiveRemovalRedesign/ - see the explain analyze and assertions about fineness [08:51] NCommander: We also run britney [08:51] lifeless: Oooooh I can see the spec now. [08:52] StevenK: yes, but we don't split out a specialize archive of packages that are only installable [08:52] * NCommander can't see that wiki page ... [08:52] NCommander: Testing doesn't mean the package is installable, just that it built [08:53] And it isn't a seperate archive, it's a seperate *series* [08:53] StevenK: britney doesn't allow a package to migrate from unstable->testing unless its installable on all release-candidate architectures [08:53] NCommander: click on 'login' [08:53] NCommander: it should let you see it [08:53] lifeless: yeah, figured that bit out [08:54] lifeless: What about that assertion is particularly faulty? [08:55] wgrant: review? :-) https://code.launchpad.net/~wallyworld/launchpad/poppy-sftp-gpgconf/+merge/60454 [08:56] wgrant: seqscan == seqscan [08:57] wgrant: both are horribly inefficient [08:57] wgrant: as an assessment for its utility on production data (even of the time) its utterly useless [08:57] lifeless: I didn't even consider the possibility that it was a seq scan, because that would just be stupid. [08:57] wgrant: Aggregate (cost=5909.43..5909.44 rows=1 width=0) (actual time=543.342..543.346 rows=1 loops=1) [08:57] -> Seq Scan on securesourcepackagepublishinghistory (cost=0.00..5754.15 rows=62112 [08:57] So I just looked at the filter and time. [08:58] Impressive. [08:58] securesourcepackagepublishinghistory? [08:59] bigjools: I'm lamenting a previous performance analysis which I happened to run into fallout from just last week [08:59] as in 'things are slow because of this' [08:59] * NCommander is getting in the feeling he's stepped into something old and crufty [08:59] NCommander: What, you mean Launchpad? :) [09:00] wgrant: heh [09:02] Is it possible to reorder a bzr pipeline? [09:09] Hello all === almaisan-away is now known as al-maisan [09:44] wgrant: jml: ec2 demo seems reproducibly broken for me [09:44] lifeless: Probably. [09:44] It's not used very much. [09:44] at all. [09:47] allenap, got a mo' to chat about PackageCopyJob? [09:47] jtv: Sure. [09:48] Thanks. This is about the "only sync up to 100 packages" work. [09:48] jtv: Mumble or MS Skype? [09:48] If you put it like that, then mumble please. :) [09:51] MS Skype, lol [09:51] bigjools: you've seen the news, right? [09:52] yeah [09:52] trying to work out what I can use instead [09:53] Yeah, this could be interesting. [09:54] its a damn shame [09:54] their echo detection is awesome [09:56] yes, it is [09:57] the biggest problem for me is finding a skypeout replacement [09:57] dial 9 for an outside line? [09:57] jml! [09:58] lifeless: if I can use that for personal calls as well, sure :) [09:58] * bigjools considers remaining critical bugs as just high on June 26th [09:58] bigjools: Host asterisk on a VPS? [09:59] bigjools: speaking of criticals [09:59] so that jml gets a pie [09:59] bigjools: I want to nuke that soyuz specific oops report [09:59] I have three Netgear land-line phones with Skype built-in. MS have pwned my base. [09:59] lifeless: is there a way of including it in the prod report? [09:59] bigjools: you've had a month or so of low oops counts in the main report to see if that wil lcause you grief or not [09:59] allenap: :-( [09:59] bigjools: the oopses are there [09:59] lifeless: that's not the issue [10:00] lifeless: the issue is that occasionally there's a ZOMG problem that is only apparent from that report [10:00] bigjools: that applies to all services though [10:00] bigjools: a spike of oopses is a problem [10:00] lifeless: yes, but the single oops that we need to see is not visible enough buried in the other report [10:00] bigjools: if you still need it, we'll leave it, but I fail to understand what makes it special [10:00] visibility [10:01] if you can guarantee that we'll see that single oops in the main report, I am very happy to lose one more email from my inbox [10:01] we'd get -one- oops and it would be a zomger? [10:01] the report is based around volume of oopses as opposed to their criticality [10:01] yes [10:02] how does that work? [10:02] * bigjools racks brain [10:02] also, relatedly - 285 OperationalError: FATAL: Ident authentication failed for user "sync_packages" FATAL: Ident authentication failed for user "sync_packages" [10:02] -really- needs fixing. [10:02] allenap: ^ [10:02] like really really. [10:03] it needs a config dir setup, the cronscript set to use that dir, with a new OOPS prefix, and the db user created. [10:03] about 15 minutes work. [10:03] lifeless, bigjools: Rats, I meant to fix that last week. Sorry. I'll do that today. [10:03] allenap: thank you [10:03] bigjools: thanks! [10:04] cheers allenap [10:05] lifeless: I can't remember the specific instance now, sorry :( But there have been times in the past where a single or few oopses would have been buried in a sea of timeouts in the main report. [10:05] bigjools: kk, thanks for trying :) [10:05] lifeless: what I'd like to see is all those routine oopses removed in the current reports, they should not be oopses, and then we could consider putting soyuz oopses at the top of the prod report. [10:06] lifeless: the publisher has the odd problem where corrupt data is caught by an assertion once an hour [10:07] lifeless: but believe me, fewer emails is good, I am all for that :) [10:08] so lets leave the status quo for now [10:18] wgrant: lifeless: so where do we go from here on re:arch-all/any? [10:18] NCommander: code [10:19] NCommander: and talk to julian [10:20] lifeless: I guess I need to start with writing a test case ... [10:29] check_permission in model code is still verboten, right? [10:30] rvba_, bigjools: checkCopy calls check_permission... this is probably not legal. [10:31] In fact, yeah, that's buggy. [10:31] I can't remember why it's verboten [10:31] It always checks the primary archiev. [10:31] Fourth rollback in 24 hours woo. [10:31] what are you looking at? [10:31] rvba_ is no around this morning BTW [10:32] bigjools: CopyChecker.checkCopy [10:32] if reason is not None [10:32] It checks launchpad.Append on the primary archive. [10:33] Bad for at least two reasons: [10:33] :/ [10:33] 1) check_permission in model is bad. [10:33] 2) main_archive is mostly not the right thing. [10:34] bigjools: What do you think? [10:35] wgrant: main_archive is clearly wrong [10:35] when we have self.archive [10:36] Project windmill-db-devel build #257: STILL FAILING in 1 hr 7 min: https://lpci.wedontsleep.org/job/windmill-db-devel/257/ [10:36] bigjools: And I think using check_permission is a bad idea, given that the method takes a Person already. [10:36] wgrant: agreed [10:36] bigjools: I really don't want confusing security in this sort of code :) [10:37] wgrant: agreed [10:37] But rather than roll it back for a second time, I shall fix it. [10:37] Or at least try to quickly. [10:37] Should be a matter of deleting that block and adding check_permissions=False to the do_copy call in syncSource. [10:37] wgrant: thanks [10:38] wgrant: assuming the security adapter already DTRT [10:39] bigjools: The security on syncSource hasn't changed. [10:39] wgrant: where was the lp.append for security enforced, I can't remember [10:39] bigjools: It's enforced by the Archive securityproxy. [10:39] Archive.syncSource(s) is hidden behind launchpad.Append [10:40] right [10:40] They're on IArchiveAppend. [10:40] Still. [10:42] wgrant: goes to show, we need experienced soyuz people carefully checking soyuz branches :/ [10:42] bigjools: Surely not! [10:43] There's a reason I'm not unhappy that most deploys happen during my day where I can watch :) [10:44] heh [10:45] wgrant: IIRC this was added because you said to rvb that security would lose lp.append without it [10:46] bigjools: Yeah. But I intended that syncSource would call do_copy with check_permissions=False, to limit the security hack as far as possible. [10:46] Not that check_permissions=True would handle the hack itself. [10:46] ok [10:47] (check_permissions=False turns off all the new code, so we just get the old behaviour) [10:47] hi all [10:48] wfm === al-maisan is now known as almaisan-away [10:48] Great, thanks. [10:48] wgrant: we only want the new behaviour in the job [10:48] hi poolie [10:48] nice blue hair :) [10:51] bigjools: so I think this is 'new to lp coding' not 'new to soyuz' - I've seen other similar thinkos [10:52] lifeless: the reviewer missed it [10:52] bigjools: yes, yes they did [10:52] wgrant: we need to talk about build dependencies for multiple parents [10:52] and our current schema [10:53] bigjools: So we do. [10:53] Do you want to mumble tonight? [10:53] I was hoping to get jtv and StevenK involved too [10:54] but yes [10:56] stub: still around? [10:59] adeuring: yes [11:00] stub: I'm trying to figure out how to avoid the timeouts from bug 739075. AS I understand it, most time is spent in joining QuestionMessage and Message in order to find messages from given person [11:00] <_mup_> Bug #739075: Person:+questions timeouts < https://launchpad.net/bugs/739075 > [11:01] stub: I'm wondering if we should add a column questionmessage.owner, simmilar to bugmessage owner [11:01] adeuring: We fixed that for bugs recently by denormalising Message.owner onto BugMessage.owner [11:01] That. [11:01] adeuring: The way it was solved for BugMessage was to add an owner column [11:01] right [11:01] "recently" meaning "last week" [11:01] adeuring: I'd work from that template. The garbo.py job is still there for you to cargo cult. [11:01] ok, so I'll try that too for questions [11:02] Although for questions, we can probably just do all the data migration in the db patch since it is much smaller. [11:02] That will save the overhead of multiple db patches etc. [11:02] ok, sound more conveniet :) [11:07] wgrant: can you remember the exact reason for not using check_permission in model code? [11:09] In this particular case I would forbid it anyway, since a user is taken explicitly. But check_permission is pretty terrible in model code in general because it's executed from scripts and other situations without a user context, so it's fairly meaningless. [11:10] ah that was it === gmb changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: gmb | https://code.launchpad.net/launchpad-project/+activereviews [11:50] I am moving an exported method from IDistroSeriesPublic to IDistroSeriesEditRestricted. Unfortunately the copy_field directives in the @operation_paramters now refer to fields in the other class. Is there a way to make it work or do I need to repeat the actual field declaration again? [11:52] bigjools: You can't just refer to the other class? [11:52] Or are they in the wrong order? [11:55] wgrant: wrong order, but that's easily fixed [11:56] Otherwise use one of the usual patchers. [11:57] nope, doesn't work [12:00] !doesn't work [12:00] Bah, no ubottu [12:01] * bigjools scratches head [12:01] 21:01:09 Doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. [12:01] * bigjools slaps wgrant with a large haddock [12:02] I'm doing something so obviously wrong I can't see the wood for the trees. [12:02] Hmm, work from couch. [12:02] I've got name=copy_field(IDistroSeriesPublic.name .... [12:02] bigjools: slapping people with Tintin characters is a bit extreme! [12:02] which errors out with AttributeError: 'InterfaceClass' object has no attribute 'name' [12:02] bigjools: Oh. [12:02] IDistroSeriesPublic['name']? [12:02] spiv: Python reference! [12:03] wgrant: EUARGH [12:03] bigjools: a weakref :P === mrevell is now known as mrevell-lunch [12:04] spiv: not counted properly [12:04] bigjools: An interface is not a class! [12:04] yes it is [12:04] it says "class" :) [12:04] gmb: Here is a nice little branch for you, if you'd be so nice to take it, please. ;-) [12:04] That's just because Python sucks. [12:04] https://code.launchpad.net/~henninge/launchpad/bug-196679-language-packs-value-error/+merge/60487 [12:05] sometimes, yes it does [12:05] and coming from a C++ background it confuses the shit out of me sometimes [12:05] henninge: Ah, the perfect size to review just before lunch. [12:05] gmb: great, thanks [12:05] bigjools: also, wikipedia, the source of all true and indisputible knowledge, says the fish-slapping dance involved pilchards and a halibut. [12:06] I bow to wikipadeoia [12:08] henninge: r=me. [12:08] * gmb -> Vittles [12:11] If there is something bad in r13009 or r13011, I am going to be very sad. [12:13] wgrant: Python's class statement doesn't suck, it's great. It allows stuff like class Ten(1,2,3,4): __metaclass__ = type('', (type,), {'__new__': lambda *a: sum(a[2])}) [12:14] How could that be a bad thing? ;) [12:14] spiv: Did you pull that off the quotes page? [12:14] I'm sure I've seen it there. [12:14] No, but it's probably due to me that a version of that is already there. [12:15] * bigjools vomits [12:15] Indeed, https://wiki.canonical.com/Quotes/2005 [12:15] "Evil Python" [12:15] I think last time I made that remark I didn't condense it into a one-liner though! [12:15] gmb: thanks [12:31] Project db-devel build #533: FAILURE in 5 hr 2 min: https://lpci.wedontsleep.org/job/db-devel/533/ [12:33] bigjools: I can talk DSPs for a while now if you still want, and the others are around. [12:33] wgrant: sure [12:35] -> mumble === henninge is now known as henninge-lunch [12:37] jtv, StevenK, are you free to mumble with wgrant and me for a little while? [12:37] coming [12:38] oh no not this problem again [12:38] 'fraid so [12:39] gmb, hey-hey, I've got a review for you when you find some time :) https://code.launchpad.net/~danilo/launchpad/bug-771204/+merge/60493 === mrevell-lunch is now known as mrevlel === mrevlel is now known as mrevell === almaisan-away is now known as al-maisan [13:03] danilos: I'll take a look at that now. [13:04] gmb, thanks [13:13] danilos: Looks good. r=me [13:23] gmb, ta (sorry, lunch :) [13:25] hum, is it just me or has all the ajax stuff stopped working on the MP page? [13:25] * danilos tries in firefox [13:25] Worked for me a few hours ago. [13:26] works in firefox and chromium, a problem with bare webkit JS engine? [13:30] bigjools: Sorry, I was dinner-ing. [13:31] StevenK: np, we're just finishing :) [13:32] hum, false alarm: launchpad.js was misloaded, some garbage at the beginning — I suppose some of my hardware is acting up [13:33] bigjools: Anything earth-shattering? [13:33] haha, who did the tweet about jml's pie being meaty? [13:33] StevenK: I'kk summarise in an email [13:33] I'll, even [13:33] bigjools: Will I'kk help? === henninge-lunch is now known as henninge [13:37] * henninge reloacates [13:41] * bigjools -> food [13:58] Morning, all. [13:58] wgrant: (I just got back ...) thanks for taking care of the fix ;). [14:00] Project windmill-devel build #59: STILL FAILING in 1 hr 7 min: https://lpci.wedontsleep.org/job/windmill-devel/59/ [14:01] rvba_: It all looks good. Sorry, I should have been more clear when I rolled it back the first time. [14:02] allenap: do you know what would be a simple way for a test to verify whether a package had been copied? [14:02] wgrant: and I think I should have been more careful before modifying the callsites. Thanks anyway. [14:03] jtv: I think I know the answer to that... [14:03] jtv: See PackageCopyJobTests.test_smoke. [14:03] ah thanks! [14:04] jtv: The last 3 lines actually. It's quite simple. [14:04] Archive.getPublishedSources? [14:04] I tend to check that getPublishedSources(name=whatever) returns nothing before, and one row after. [14:26] Do either staging or qastaing process incoming mail? i.e. MP discussions [14:29] henninge: they both do i think? [14:29] process-mail.py may not be run very often though [14:31] ok, I'll try it out once qastaging stops timing out on me ... [14:31] oh, it's not a timeout [14:31] MPs don't work. [14:31] Because they need restricted librarian access. [14:31] You might want to create a new MP. [14:32] MPs synced from production don't work, that is. [14:33] wgrant: I just got a LookupError for an LFA AFAICT. Is that what you mean? [14:33] henninge: yes. [14:33] aha [14:33] They try to look up the LFA in the staging librarian. That would normally forward to the production librarian, but that can't happen for restricted files. [14:34] how do I simulate mail processing locally? [14:35] lib/canonical/launchpad/doc/mailbox.txt [14:35] But I'd try creating a fresh MP on qastaging first. [14:35] wgrant: cheers [14:35] It won't have a diff. [14:35] but it will receive emails OK. [14:35] oh, ok [14:35] thanks [14:36] code update in progress ... [14:43] henninge: Nice catch. [14:43] henninge: I hadn't noticed that the . had wrapped in both cases. [14:43] ;-) [14:43] It may still be a problem in the MTA stack in front of LP, but now we'll be able to find out :) [14:44] righit, that's what I figure. [14:45] wgrant: but I think that MTAs and MUAs watch for things like that and escape single dots. [14:45] just like "From" [14:45] henninge: Yes, but our MTAs do all sorts of strange crap. [14:45] :( [14:45] ok, I'll see if I find something [14:45] To add extra headers like X-Launchpad-Original-To [14:48] Night all. [14:48] wgrant: night [14:50] oh ****, is that why mails to mps sometimes get truncated? because they contain '\n.\n.? [14:50] mwhudson: yup [14:50] henninge: wow [14:50] mwhudson: although it looks like we create these by wrapping lines. [14:51] ha, that's the SMTP end of data line [14:52] eeeeeeeeeeeeeeeeeeeeeeeeeee [14:54] that's just so messed up [14:55] so how does the wrapping happen? presumably it must be before lp gets to see it, if smtp-level corruption is what's causing the problem [14:56] I don't know yet [14:57] good luck finding out :) [15:06] Project windmill-db-devel build #258: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/windmill-db-devel/258/ [15:22] gmb: afternoon m'lad, I have a small branch for your perusal if you're still reviewing? [15:23] bigjools: Sure. Diff me. [15:23] gmb: https://code.launchpad.net/~julian-edwards/launchpad/derive-permissions-bug-643369/+merge/60515 [15:23] cheers [15:24] * gmb looks [15:25] wallyworld_: https://bugs.launchpad.net/launchpad/+bug/184737 is relevant to the thing you just said [15:25] <_mup_> Bug #184737: No tag autocomplete in +filebug extra options < https://launchpad.net/bugs/184737 > [15:26] wallyworld_: about tag completion on bug subscription forms. [15:26] jml: wow. that's an old bug :-) [15:26] wallyworld_: yeppers. [15:26] wallyworld_: classic case of a bug that's not too hard to fix, very useful, but no one getting around to it [15:27] gmb: I wish diff generators could be more useful sometimes, the one on that MP looks like a dog's breakfast [15:27] jml: i hear you. hopefully *this* particular one will now be fixed since it's tied to a feature sprint :-) [15:28] hey wallyworld_ are you at UDS? [15:28] bigjools: It's okay, I'm used to it these days. [15:28] But yer not wrong [15:28] gmb: it needs a "moved but not changed" marker [15:28] +1 [15:28] bigjools: yep :-) [15:28] wallyworld_: will see you Thursday arvo then [15:29] bigjools: sadly no. i'm leaving tomorrow :-( [15:29] wallyworld_: ah bugger [15:29] yep. bollocks all right [15:30] bigjools: brad c is doing a session on the new bug subscription stuff. looks good [15:30] * gmb is listening in. [15:30] hi gmb [15:31] Hey wallyworld_. Glad you like :) [15:31] gmb: to quote borat - "niiiiiiice" [15:31] Indeed. You should ask sabdfl to do his Borat. [15:32] gmb: so long as there's no mankini involved :-) [15:32] I have the vid on my laptop.... [15:32] * gmb goes to bleach his minds eye [15:32] lol :-) [15:33] * StevenK has it here somewhere too [15:33] I'm guessing jml is sat near the mic, based on the typing and the deep sound of his voice. [15:33] gmb: heh heh [15:34] what's the bug for seeing all subscriptions across LP? [15:34] don't know [15:35] wallyworld_: which room? [15:35] jml: Looking now for you [15:35] bigjools: krudy [15:35] room 6 [15:35] ta [15:35] gmb: thanks. [15:35] also in topic of #launchpad [15:36] jml: https://bugs.launchpad.net/launchpad/+bug/110953 seems to be the one being referenced in the most recent thread about this. [15:36] <_mup_> Bug #110953: Can't easily see everything I'm subscribed to < https://launchpad.net/bugs/110953 > [15:36] gmb: thanks. [15:36] is everyone sat nowhere near the mics as usual? :) [15:37] bigjools: bac, mordred & I [15:37] bigjools: everyone else is in the back row. [15:37] jml: figures [15:37] bigjools: including flacoste [15:37] ! [15:37] bigjools: so we can heckle easier :-) [15:38] If we didn't draw the line somewhere on this feature I was going to have to self-trepanate in order to make 8 months' worth of brain juice drain away. [15:39] No definitions found for "trepanate" [15:39] StevenK: Try trepanation or Trepanning === al-maisan is now known as almaisan-away [15:40] Oh, using a trepan on yourself [15:40] Sounds gruesome. And hard to get right. [15:43] is gmb using difficult words again ? [15:43] Be thankful I aten't prattling in Lanky. [15:44] garr. now I really have to spend some quality time with my dictionary. [15:45] jelmer: s/\(is gmb\) \(using difficult words\)/\1 still \2/ [15:45] Oh bah, that won't drop the again. Oh well [15:45] spectacular backfire [15:46] bdmurray: No, that doesn't work right now, but there probably should be some way to do it - we just haven't figured it out yet. I don't think there's a bug for it though. [15:46] It's nearly 1am, and I'm trying to fix Jenkins [15:48] Right, new build slave finally started [15:50] jml: you still have etherpad open? [15:50] wallyworld_: yes. [15:50] jmL: 780568 [15:50] wallyworld_: thanks [15:54] Is there a way to determine why a PPA upload is dropping into the void? [15:54] NCommander: https://answers.edge.launchpad.net/launchpad/+faq/227 [16:03] cody-somerville: could you please try to access https://qastaging.launchpad.net/%7Ereprepro/+archivesubscriptions ? the timeout should be gone there -- but I can't test it myself -- permission denied [16:07] adeuring, qastaging doesn't have enough subscriptions to cause it [16:08] cody-somerville: really? It should use the same DB as the production server [16:09] adeuring, really [16:09] :( [16:09] * cody-somerville is in a session, can chat more about this later. [16:13] Project db-devel build #534: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/db-devel/534/ [16:32] deryck: Am I high on context managers? http://pastebin.ubuntu.com/605743/ [16:32] gmb: I have a small branch ready for review (no particular rush): https://code.launchpad.net/~benji/launchpad/bug-778689/+merge/60520 [16:33] abentley, looking.... [16:34] benji: I'll take a look shortly [16:35] abentley, high as in too many? Or high as in floating wild and free in the joy that is context managers? :-) [16:37] abentley, I like the code, though. nice approach to the problem. [16:37] deryck: Well, really, is there a better way to do this? [16:37] abentley, I can't think of one. I think this is spot on. [16:37] deryck: Okay, cool. [16:40] bigjools: Your branch is r=me. Has been for ages but I got distracted by the UDS session. [16:40] gmb: ok ta :) [16:41] benji: Your test needs a comment stating what it's testing for so that lazy gits like me don't have to go and look up the bug report. [16:41] Other than that, r=me. [16:42] gmb: heh, will do [16:42] jcsackett: mumble? === gmb changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews [16:43] And that's quite enough of that for today. [17:19] are there known issues with LP on natty? postgresql is puking when I try to make schema === deryck is now known as deryck[lunch] [17:27] sinzui: when you're available, https://code.launchpad.net/~jcsackett/launchpad/spam-button-ui-bugs/+merge/60437 [17:27] i assume the one you need is https://code.launchpad.net/~sinzui/launchpad/person-merge-oopses-0/+merge/60521 ? [17:27] jcsackett: I will start it now, and yes [17:28] cool. i will start yours momentarily. === matsubara is now known as matsubara-lunch [17:43] I may be disappointed when developers stop cargo culting my "// Lock, stock, and two smoking barrels." comment [17:46] :-) [17:46] it's a fantastic way to wrap up a test. [17:46] It is one of my favourite films [17:49] it is pretty fantastic. [17:52] i clearly do not actually understand IStore/storm stores. I would have thought that creating a store of IPerson would only let you get person objects. [18:00] sinzui: r=me. as i mention in the comment, there may be some value to moving the reload utilities to something accessible for other tests as it could be handy, but the argument of YAGNI may very well apply. [18:02] jcsackett: I will move it into lp.testing [18:04] sinzui: cool. :-) === deryck[lunch] is now known as deryck [18:10] Night! === matsubara-lunch is now known as matsubara [18:56] sinzui: thanks for the notes, i'll make those changes. [18:56] though i may do the test changes as part of my tech-debt branch. [19:04] Project windmill-devel build #60: STILL FAILING in 1 hr 7 min: https://lpci.wedontsleep.org/job/windmill-devel/60/ [19:05] * deryck looks around the room for yellow squad.... [19:06] benji or gmb maybe? I have fixed a critical js bug related to the subscriptions story. [19:06] maybe one of you would want to review it? [19:06] deryck: sure [19:07] benji, thanks! https://code.launchpad.net/~deryck/launchpad/dupe-unsub-no-remove-name-775335/+merge/60538 === Ursinha-afk is now known as Ursinha [19:12] deryck: looks good [19:12] benji, thanks! [19:12] np [19:15] Project windmill-db-devel build #259: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/windmill-db-devel/259/ [19:25] mbarnett, hey. any time to look at that disappearing merge yet? [19:40] deryck: To determine the correct timeout for branch upgrades, I decided to look at the logs. [19:41] abentley, ah, cool. what did you end up with then? [19:41] deryck: These are the durations I was able to find: http://pastebin.ubuntu.com/605825/ [19:41] * deryck looks [19:42] deryck: It doesn't feel like there's really enough data to have a good guess. [19:42] abentley, yeah. based on that, most everything finishes in under 10 minutes, right? [19:42] deryck: No, many things are +30 [19:43] abentley, is it: HH:MM:SS ? [19:43] the log format? [19:44] Yes, it's HH:MM:SS. [19:45] I think the ~0 second durations don't count. They're prolly cases where the upgrade was already performed. [19:45] abentley, so I see 36 lines, with 8 items > 10 minutes. so roughly 20%. [19:45] ah [19:46] so somewhere around 8/18. closer to 50% over 10 minutes. [19:46] abentley, yeah, that's a hard call what to set then. [19:47] deryck: On the plus side, we can't be wasting a lot of resources if upgrades are this rare. [19:47] true [19:48] abentley, maybe we don't need the timeout then? Or else a high number, i.e. 1 or 2 hour cap? [19:48] Yes, I think we need a timeout for outliers, but 1 hour seems reasonable. [19:49] abentley, cool. agreed. [19:50] deryck: thanks. [19:50] np! [19:52] jcsackett: can you put some thoughts about the effort needed to hide merge comments in the UI: https://bugs.launchpad.net/launchpad/+bug/697495 [19:52] <_mup_> Bug #697495: need SQL to hide/edit comments from merge proposals < https://launchpad.net/bugs/697495 > [19:55] jcsackett: I can see that ICodeReviewComment is exported, we may only need to add the setVisibility() method and extend the js to work with the page [19:59] Project windmill-db-devel build #260: STILL FAILING in 43 min: https://lpci.wedontsleep.org/job/windmill-db-devel/260/ [20:04] FYI, a bug that appeared randomly a few days ago is preventing us (Fluidinfo) from seeing milestone views. :( [20:04] A sample OOPS: OOPS-1956CO39 [20:04] Should I file a bug about this or is the presence of the OOPS enough that someone will get around to looking at it? [20:09] sinzui: i believe you are correct. since the interface is already exported, we should only need to copycat the setCommentVisibility + js work. [20:10] i have just discovered there is a comment.js thing as well; i may explore putting the hide-comment code in there and then we can extend to each comment type. [20:10] jcsackett: I am tempted to commit to this if we could land it by Monday [20:11] sinzui: i think monday is possible. [20:11] did you just come across this bug, or has it come up as a problem recently? [20:11] It is a bug linked to a question we cannot resolve [20:11] ah. [20:12] so, let me finish my tech-debt branch, and i'll commit to 4 hours to explore MP comments? [20:12] jkakar, hi. I would recommend filing the bug to be safe. [20:12] if i don't have a good feeling of scope at the end of that (which will probably be tomorrow) we won't commit to doing the work? [20:13] sinzui ^ [20:13] deryck: Awesome, I'll do that, thanks! [20:15] jcsackett: I want to be sure that we are not getting bug reports when we switch to features. I image we want to be able to land a branch to fix any issued after Monday. I [20:26] sinzui: next week is theoretically our last week before switching, or week after next? [20:27] We are in our last two weeks of maintenance. [20:34] ok. [20:39] benji: hi [20:39] hi [20:39] https://bugs.launchpad.net/launchpad/+780703 [20:40] benji: I *think* thats a better-notification-regression [20:40] benji: its definitely a regression, the regressor is what I'm unsure of [20:41] benji: (they are a paying customer FWIW, but I suspect its much more widespread) [20:41] it's tangentially related to the better-notification story; I'm working on it as we speak [20:42] oh cool - you were already looking at the regression ? [20:42] more specifically, it's working it's way through ec2 as we sppeak [20:42] wowsers, even better [20:42] yep, there is another bug; let me find it [20:43] here it is: https://bugs.launchpad.net/launchpad/+bug/778689 [20:43] <_mup_> Bug #778689: ProjectMilestone:+global-actions: oops rendering the structural subscription link < https://launchpad.net/bugs/778689 > [20:44] thanks! [20:44] I'll mark the new one a duplicate of the one I was working on [20:45] I've just done that [20:46] cool [21:00] deryck: ready when you are [21:00] lifeless: ok, firing up skype now [21:01] lifeless: call when you're ready [21:05] Project windmill-devel build #61: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/windmill-devel/61/ [21:36] sinzui: do you have a minut to do a teeny, tiny JS review? (of a branch that fixes a bug that you reported (notifications close if you click on a link inside them)) [21:37] I can do it now [21:38] sinzui: great! https://code.launchpad.net/~benji/launchpad/bug-779538/+merge/60552 [21:40] benji: I select text in the notifications sometimes.I think the function will never let me copy the text to report a bug [21:41] hmm, good one; let me look at it real quick [21:42] sinzui: yep, that's a problem; back to the drawing board [21:42] I may well revert the feature if I can't figure something sane out quickly. [21:42] benji: can the action be wired to a the links id? [21:42] We know the text of the link is Hide x [21:43] well, that's not really a link; that's style; there's no element there [21:43] ah, right [21:43] I see your point about reverting. [21:49] Project windmill-devel build #62: STILL FAILING in 43 min: https://lpci.wedontsleep.org/job/windmill-devel/62/ [22:07] sinzui: if you had very similar testcases in questions and bugs, and were creating a base class for them to share, where would you put that class? lp.testing doesn't feel right, since the base test case won't be *that* generally useable. [22:08] jcsackett: lp/coop/bugquestion [22:08] excuse the muddy thinking; a shared mixin is what i'm talking about. [22:08] sinzui: thanks! [22:09] benji, could you add the hide link with js? That would allow you to create an actual element with a onClick behaviour? [22:10] jcsackett: lib/lp/coop/answersbugs/ actually. but may lib/lp/coop/comments if we add merge proposals [22:10] james_w: I'm trying to avoid that because I want on-page JS to be able to add message boxes after page load time [22:10] sinzui: i like lib/lp/coop/comments, since some day we want that all to be shared properly. [22:10] benji, ah, ok [22:11] the only way I can think of doing that right now is useing setInterval, but that feels a bit gross [22:16] jcsackett: I would avoid creating a base class :) [22:16] jcsackett: what does the code you want to share do [22:16] lifeless: base class was the wrong statement. mixin is what i'm looking at. [22:17] jcsackett: same dealio [22:17] i have *very* similar tests that deal with question messages and bug comments. i would like to not have repeating code. [22:17] jcsackett: indeed! [22:18] lifeless: so, a mixin that provides those shared things seemed like a good idea to me. what's the argument against? [22:18] http://rbtcollins.wordpress.com/2010/09/18/maintainable-pyunit-test-suites-fixtures/ and http://rbtcollins.wordpress.com/2010/05/10/maintainable-pyunit-test-suites/ may interest you [22:18] jcsackett: what are the shared things [22:19] lifeless: aside from slight diffs in setup and the context being thrown at a test browser, the tests are looking at the same series of things. [22:19] jcsackett: ah, so you want to test their adherence to the contract? [22:19] pypi.python.org/pypi/testscenarios for that :> [22:20] jcsackett: a mixin is fine, but its not all that maintainable [22:20] jcsackett: you don't need to do anything different, I'm just gathering data about the things we do and why [22:24] lifeless: well, if what i'm doing is going to perpetuate problems we have, i'd rather not. [22:24] i'll take a look at testscenarios. i may have descibed my issue wrong. [22:24] jcsackett: cool [22:24] in essense both cases have "test_thing_one", "test_other_thing", "test_thing_one_with_edge_case" [22:25] so, I *love* test-by-contract [22:25] * jcsackett is not really sure what is meant by that. [22:25] uhm [22:25] testing that two objects that implement interface I obey the behaviour of the interface [22:26] so bugmessage and questionmessage are two classes that need the same behaviour [22:26] I wrote http://people.canonical.com/~robertc/interfaceverification.txt back in 2005 about doing this for persistence layers :) [22:27] ah, okay. [22:28] jcsackett: anyhow it seems to me that you have some common do-stuff code, a different factory (or fixture) for each class and perhaps variant 'did it do the right thing' for each class [22:28] I haven't integrated testscenarios into launchpad yet, but using a per-file test_suite hook should let it integrate pretty easily on a case-by-case basis. [22:29] I would be inclined to structure these tests as fixtures for the bugmessage/questionmessage construction, matchers for the things to check and a single test class in the message area which is parameterised by the fixtures and matchers [22:29] *but* [22:30] this is sucking away your activation energy bringing in different ways of doing stuff [22:30] so I really do think its fine to do a mixin [22:30] like I said, I meant just to do data gathering [22:31] matchers are something i am using, per a suggestion you had on an earlier branch. [22:31] yeah, they are pretty cool :) [22:31] and already integrated in [22:31] fixtures are already integrated in too [22:32] yeah, i used matchers on some snapshotting work. [22:32] Later on, everyone. [22:44] Project windmill-db-devel build #261: STILL FAILING in 43 min: https://lpci.wedontsleep.org/job/windmill-db-devel/261/ === cinerama_ is now known as cinerama [23:58] sinzui: Hi. [23:58] hello [23:58] sinzui: Can you QA your answer contact API stuff? [23:58] I can [23:59] It looks like we may finally not have any bad revs. [23:59] statik: yo