[00:06] * thumper still writing tests === lifeless changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | firefighting: - | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews/ [00:22] grr bug heat updates [00:23] wgrant: ID OOPS-1901QS5 [00:24] lifeless: you'd like my current tests [00:24] thumper: I will? [00:24] lifeless: they all have self.assertThat(recorder, HasQueryCount(Equals(0))) [00:34] with NoStormStatements: [00:36] lifeless: How? I changed the target of the original bug to a different project, and it sent me to the bug page as expected... [00:36] Using both +editstatus and the inline form of deprecation. === StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | firefighting: - | On call reviewer: StevenK | https://code.launchpad.net/launchpad-project/+activereviews/ [00:42] wgrant: I think I hit a redeploy [00:46] lifeless: How would that change things? [00:46] wgrant: transaction committed, appserver killed, refresh - boom [00:47] Mmm, I guess. [00:47] wgrant: have you seen https://devpad.canonical.com/~lpqateam/ppr/lpnet/2011-03/daily_2011-03-13_2011-03-14/categories.html - lots of requests :) [00:47] Anyway, once my branch lands it will just redirect instead. [00:47] Of course it conflicted with leonard's... [00:47] wgrant: even on post ? [00:47] lifeless: HTTP is just that awesome. [00:48] We already do it in some circumstances :/ [00:48] wgrant: sarcasm doth not befit thee [00:48] lifeless: That's daily? [00:49] lifeless: Is "sarcasm doth not befit thee" or did you make it up? [00:49] lifeless: Do we have a graph of 99% time over time? [00:49] Sigh. Is it a quote [00:50] mwhudson: Hi! [00:53] wgrant: thats one day, yes [00:55] wgrant: https://lpstats.canonical.com/graphs/PPR/ [00:55] lifeless: The translations graph is nice. [00:55] And should be even nicer tomorrow, I suppose. [00:56] wgrant: because of the drop ? [00:56] POFile:+translate was at 9.7seconds 99th percentile [00:56] lifeless: Right. [00:56] hopefully it will be better now ;) [00:56] but todays ppr failed to generate [00:57] lifeless: +translate seems to mostly complete in under 2 seconds. Nicely done. [00:58] wgrant: I think so [00:58] pure fluke that I bothered to try a with plan [00:58] there may be a fat index impeding regular queries; not sure [01:02] I want https://lpstats.canonical.com/graphs/PPR/ to be on a log scale [01:03] Indeed, most of our graphs should be. [01:04] spm: can tuolumne do that ? [01:05] log scale? not that I'm aware of. [01:07] Looks like pycairochart might not support it. [01:07] StevenK: hello? [01:09] mwhudson: I was talking to Julian yesterday about DSDs, and he was mentioning that we might want to delete DSDs -- which would remove comments associated with the DSD. Would you prefer the DSD hung around to preserve them? [01:10] Under what circumstances would you remove DSDs? [01:10] That is what I'm not certain about, but Julian seems to think the DSDJ runner needs to do it. [01:10] StevenK: dsd? [01:10] mwhudson: DistroSeriesDifference [01:10] I don't think removing them before a series is finished would be a good idea... [01:11] StevenK: you are asking me because i have linaro in my cloak i presume? [01:11] mwhudson: And you're in my TZ. :-) [01:11] mwhudson: we hear you are slightly technical [01:12] i'm not sure i'm the right person to ask about this though sadly [01:13] StevenK: i think i plead EINSUFFICIENTCONTEXT [01:13] StevenK: maybe get julian to talk to james_w ? [01:14] StevenK: or you can try to explain a bit more context i guess [01:14] Or I can in my morning [01:14] like, as wgrant says, "when would you remove them" ? [01:15] They need to be kept even between series if the difference persists. [01:15] Like I say, I'm unclear on why Julian wants to do that, and I want to get the simple cases working for the DSDJ runner before I bother diving into the harder stuff. [01:17] StevenK: i suggest we acquire some more clarity before discussing further then :) [01:17] * wgrant declares war on Makefile. [01:17] mwhudson: Do you know where to find some? :-P [01:17] StevenK: well, find out why julian wants to delete them? [01:18] data that is no longer interesting shouldn't be kept around in our primary tables [01:18] * StevenK teaches mwhudson about "humour" [01:18] mwhudson: ^ I suspect he's thinking about what is/isn't interesting [01:18] StevenK: heh [01:19] mwhudson: Something you might be able to help with -- I'm writing a run() method for a IRunableJob and I'd like to get at the log, so I can add messages to it, is that easy? [01:20] StevenK: isn't there a self.logger or something? [01:20] I have never worked out how to get the log from outside a RunableJob, either. [01:20] That would be really handy. [01:20] maybe i'm not thinking of the right object [01:20] maybe there just should be :-) [01:22] sigh, a coherent logging strategy would be nice [01:22] ... yes [01:22] a good logging framework would be too [01:22] thumper helped that by binning about 15 loggers from the tree [01:22] hi all [01:23] Hi poolie. [01:23] logging is one of those things that seems easy, but i've never seen it done satisfactorily [01:24] It doesn't matter how much it logs, you always want it to log more. [01:24] (or less, if it never breaks) [01:24] well [01:24] StevenK, wgrant: is a SourcePackage object _ever_ created without a distroseries? [01:24] jml added some overenthusiastic logging to the sftp server once [01:25] when the log got to 8 gigs within a day or something, that was decided to be "a bit too much" [01:25] Haha [01:25] StevenK, wgrant: see lp.bugs.model.bug line 1135 [01:25] ish [01:26] thumper: SourcePackage should be called DistroSeriesSourcePackage [01:26] lifeless: I realise that [01:26] thumper: there is a DistributionSourcePackage, which shouldn't exist [01:26] and a missing table which should exist [01:26] lifeless: but I've found some weird code in bugs [01:26] lifeless: it assumes that distroseries may be None in SourcePackage [01:27] I didn't think it could be [01:27] in ISourcePackage, not SourcePackage [01:27] one sec [01:28] thumper: I think you're right. [01:28] required = True [01:28] in which case, I'll simplify the bug code [01:28] thumper: But our sample data and/or tests are probably fucked. [01:28] Remove it and see what breaks, then fix it. [01:28] * thumper nods [01:29] thumper: ok, that looks bogus [01:29] lifeless: I've simplified the bug code [01:29] lifeless: as part of my work [01:30] what I don't understand [01:30] is the requirements of certain tasks [01:30] like... [01:30] what is needed for a source package task to exist? [01:30] a distroseries task [01:30] or a distro source package task [01:30] or either [01:30] or both [01:30] there seems to be implicit rules [01:30] A SourcePackage task has a DistroSeries and a SourcePackageName. [01:30] not enforced by the model code [01:30] A DistributionSourcePackage task has a Distribution and a SourcePackageName. [01:31] See determine_target [01:31] wgrant: yes... I understand that [01:31] wgrant: there are implicit expectations of certain tasks though [01:31] thumper: Ah, with regard to conjoinment? [01:31] you can't have a distroseries task without a distro task [01:31] Right. [01:31] Well, you can, but you're not meant to. [01:31] wgrant: well, exactly [01:31] eg. bug #43150 will make you cry. [01:31] <_mup_> Bug #43150: [SRU] maxima frontends fail to connect < https://launchpad.net/bugs/43150 > [01:31] the database nor model doesn't enforce it [01:32] thumper: \d bugtask [01:32] thumper: see the checl constraints [01:32] The current series task model only came about in late 2006, early 2007. [01:32] So there are old bugs (like 43150) that have invalid things. [01:32] lifeless: we don't have check constraints of other rows [01:32] indeed [01:32] I'd like to delete the conjoined concept [01:33] I see no benefit in cross-row rules [01:33] better to have a more powerful concept of 'target' and fix our seach [01:33] *search* [01:34] wgrant: wow, the rendering of that bug is --broken-- [01:34] OTOH, 2.38 seconds [01:34] I still don't understand the conjoined thing [01:34] kinda slow [01:35] lifeless: What's broken? [01:35] wgrant: no package name shown for the first two tasks [01:35] (I use that bug a lot, since it has lots of subscribers, lots of strucsubs, a few dupes, a few tasks, some series tasks, and various bits of activity) [01:35] lifeless: Right. [01:36] lifeless: There is no DSP task for them. [01:36] lifeless: Because they predate the new release management stuff. [01:36] Well, "new" meaning "4 years ago" [01:38] We need to discuss it with Ubuntu (to convince them to use milestones instead), but I think we can probably fairly sensibly just remove conjoinment. [01:42] Is there a function around to mash a string into valid_name? [01:43] not that I know of [01:44] Ah, sanitize_name. [01:46] wgrant: well, they don't have the conjoined layout [01:46] wgrant: but we could render them nicely regardless [01:46] lifeless: They are not meant to exist, so rendering them nicely probably isn't desired. [01:46] But I filed a bug on this a long time ago. [01:47] wgrant: I think we're either completely agreeing, or talking past each other [01:47] someone should write a script to add the missing bugtasks [01:47] wgrant: my point is that conjoined masters don't express anything that single bugtasks can't [01:47] Right. [01:47] wgrant: there is a /behaviour/ change needed when the default series is altered [01:48] possibly [01:48] anyhow - milestones are orthogonal I think [01:48] thumper: or we could just simplify things and get rid of the redundant data [01:48] lifeless: They're not orthogonal. [01:48] lifeless: Do you know how Ubuntu uses series tasks? [01:49] for guiding developer effort in backports [01:49] not 'backports' [01:49] Hah. [01:49] No. [01:49] I know what I mean [01:49] That's one use. [01:49] They are used for security updates and SRUs. [01:49] yes [01:49] But also for indicating release criticality. [01:50] Targetting something to the dev series makes it release critical. [01:50] thumper: wgrant: I am exhausted, but I can see that this conversation is a sequel to my predicament from last week. thumper the rules and sample data are bad. We may have fixed the factory in the last 12 hours. Have fun storming the castle [01:50] wgrant: so, conjoined masters are not needed for that [01:50] lifeless: Eeeeh. [01:50] lifeless: If there is no DSP task, then the bug won't show up in most listings. [01:51] wgrant: that is - and always was - a bug in those listings [01:52] our concept of 'bug target' doesn't map directly to obvious queries [01:53] if we fix that: e.g. search on distribution=1 or distroseries = distribution.development_focus - a lot of pain just disappears [01:53] Right. [01:54] make it so [01:54] arguably we should search on distribution=1 or distroseries in (distribution.distro_serieses) [01:54] that would be a behaviour change [01:54] my point here is that we can, without changing behaviour, eliminate conjoined bugtasks [01:54] make the bugtask table smaller [01:55] and make a bunch of code cleaner [01:55] Behaviour is still slightly changed. [01:55] But I agree fully. [01:57] I suppose I should go and get my kids from school [01:58] * thumper wanders off [01:58] and that using milestones, or not, is a different discussion, *because* we could do this separately [01:58] wow [01:59] 252 Time Outs [01:59] even *with* that search issue [01:59] Nice. [01:59] Less than 1500 critical OOPSes. [01:59] and a lovely long list of page ids [02:00] 2 / 0 https://api.launchpad.net [02:00] And full listings. [02:00] Yeah. [02:00] >< wadl [02:00] === Top 50 Exceptions (total of 96 unique items) === [02:00] :( [02:00] I guess that is potentially less bounded than the pageids. [02:01] nah, oops-tools code breaks my brain [02:01] sinzui: Did you get anywhere with the TP corruption? [02:01] We should be just below 1000 exceptions tomorrow. [02:01] Er, day after. [02:01] wgrant: I did not. I wanted to talk to henning. I wondered if he knew something about changes to launchpad translations coordinators [02:02] might drop us another second tomorrow [02:02] lifeless: Go all the way to 10. [02:02] wgrant: no [02:02] :( [02:02] wgrant: 1. I believe we could fix the data with a stealthy add remove using the UI, but I want to know how this state happened first [02:02] sinzui: The SQL breaks my brain. [02:02] lifeless: Isn't this our third drop in like a week? [02:02] sinzui: I assume there must be a bug there. [02:02] StevenK: Only the second. [02:02] Hence me wanting to go to 10. [02:03] wgrant: a second at a time mitigates the risk of multiple pages right on the boundary and not clear in the ppa [02:03] ppr [02:03] bah [02:03] Meh [02:03] oh, I can get jcsackett involved. It might bring back traumatic memories, but I think it will make him stronger [02:03] wgrant: this strategy is working, so I take your 'Meh' and raise you 'Meh' [02:04] lifeless: Meh. [02:04] 147.19s OOPS-1900K1313 Person:+contactuser <> [02:04] Someone's trying to talk to big teams. [02:04] wow 973 OOPS-1900M785 Product:+download [02:04] wgrant: yes, the 'spam me' button is alive and well :> [02:04] K, M, C, Q are all different appservers? [02:04] StevenK: yes [02:04] 2 ProgrammingError: permission denied for relation revisionauthor [02:05] In branchmail. [02:05] Huh. [02:05] lifeless: Okay, but we don't really care which appserver, right? [02:05] StevenK: if you suspect GIL contention [02:05] StevenK: then you will want to lookup and see if its a 1/2 thread server, or a 4-thread server [02:05] in lp-production-configs [02:05] We have had a mechanism for queuing emails to users for 2.5 years and it has exactly one call site, person.merge. I think we can speed up a lot of registry and answers reusing it [02:06] I think we can speed up some of soyuz by also reusing it [02:06] sinzui: +1 without looking at the code ;) [02:07] StevenK: Oh? [02:07] StevenK: Only queue accepts send email. [02:07] And then only two per package. [02:07] It's not great, but it's like 0.1% of the time. [02:07] POTemplate:+index 12529 37194.36 8.03 [02:08] translations will still have a high 99th percentile I think [02:08] till that page gets improved [02:08] PreviewDiff:EntryResource has a 54 second 99th percentile >< [02:09] Distribution:+edit - 33seconds [02:09] We need to use on the timing information if it exceeds the 99% [02:11] https://code.launchpad.net/~wgrant/launchpad/bug-456616/+merge/53556, anyone? [02:12] wgrant: do you mean by the uid ? and if its over our target 99th percentile? [02:14] lifeless: The one by the UID, but anything over the current 99th percentile. [02:14] That way it decreases without everything flashing. [02:14] With red 72pt bold. [02:15] wgrant: if you want to do it, I can describe how I'd do it. [02:15] No. [02:15] wgrant: I was thinking of a background stylesheet - like demo - with the word 'SLOW' on it. [02:15] Hah. [02:15] Oh, even better, an animated GIF background! [02:15] no [02:15] We can take slow pages back to the 90s. [02:16] green on black baby [02:16] switch the stylesheet [02:16] so - seriously. [02:16] in my original concept for this, I wanted a pervasive, unintrusive message on problem pages [02:17] I was sort of thinking an FF which highlights the time in red if it's exceeded. [02:17] the watermark idea was one way to do it [02:17] But your suggestion might be nice. [02:17] lifeless the background image is really easy. weather configured or using a onload event (life the query count), we can add a class to the body like we do private. huwshimi is landing a replacement for the private background soon too [02:17] yes, a new FF which sets the time to alert-if-exceeded would be the implementation I'd choose [02:17] sinzui: can you stack background images ? [02:18] no [02:18] sinzui: so I wouldn't want to break private pages and make them appear public [02:18] sinzui: how is that handled on staging etc? [02:18] but we also have the maincontent div which allows us to have multiple backgrounds with a little more effort [02:19] sinzui: if anyone wants to wire this up, I'd be ecstatic; if they need help or input on getting a value in the main template to trigger this - I can do that in ~ 5 minutes, and its -dead- easy. [02:19] sinzui: lifeless: css3 does actually give us the ability to have multiple background images, but they need to be defined differently. [02:19] lifeless: config.is_demo is checking in the base-template and it adds a class to body [02:19] like the time in the top right, it will need to be onload based. [02:44] lifeless: at least this one is solved :-) 2 / 0NullBugTask:+index [02:44] thumper: That class no longer exists. [02:45] It's unfortunate that it didn't time out much on its last day. [02:45] wgrant: exactly. Solved. [02:45] Heh. [02:49] wgrant, do PPAs not generate kernel udebs or something? [02:49] cody-somerville: AFAIK they should. [02:51] wallyworld_: ping [02:51] thumper: hi. hope things are ok with your friend [02:52] wallyworld_: he is feeling much better [02:52] wallyworld_: got mumble? [02:52] yep. give me a sec [03:32] poolie: what was the search you were making that timed out? [also, my preference is for new bugs please] [03:33] its much easier to dup than to split [03:34] poolie: bugsearch, for instance, has about 10/20 different components, all of which can be a problem, so theres no particular reason to think that a timeout in one search is meaningful for a timeout in a different search, unless its hitting the same code path with the same data [03:36] surely the search is in the oops? [03:37] for EOFError in /bzr iirc [03:38] poolie: oopses take up to 20 minutes to get visibility [03:38] 2.45 seconds for me : https://bugs.launchpad.net/bzr/+bugs?field.searchtext=eoferror&orderby=-importance&search=Search&field.status:list=NEW&field.status:list=INCOMPLETE_WITH_RESPONSE&field.status:list=INCOMPLETE_WITHOUT_RESPONSE&field.status:list=CONFIRMED&field.status:list=TRIAGED&field.status:list=INPROGRESS&field.status:list=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_pa [03:39] (if that didn't truncate) [03:41] Did [03:41] &field.has_no_pa [03:41] https://bugs.launchpad.net/bzr/+bugs?field.searchtext=eoferror [03:45] wgrant: hah, I had just started to look at 607954 [03:45] wgrant: enjoy :) [03:45] lifeless: Just finishing it up now. [03:45] The page is actually very lucky. [03:46] In most cases now it avoids another three queries per diff. [03:46] Because it's already preloaded them accidentally. [03:46] hahahahah [03:47] Oh, I hate circular imports. [03:47] ok, all soyuz errors are clearly visible in the new report [03:47] you should try circular servers some time. server A depends on server B being alive and working; B depends on C; C depends on A. Boom. [03:47] if it happens persistently i'll file a new bug [03:47] poolie: thanks [03:47] it does not seem as regular as it was yesterday [03:48] spm: we do that to keep you on your toes [03:48] i guess the one off will show up in the oops report? [03:48] poolie: we're down 50% on timeouts from yesterday [03:48] poolie: yes, it will [03:48] poolie: and 75% on timeouts from the week before [03:51] way to go [03:56] * StevenK looks for the critical bug graph [03:57] StevenK: http://webnumbr.com/.join(launchpad-oops-bugs.all,launchpad-timeout-bugs.all,launchpad-critical-bugs.all) ? [03:59] Huh. [03:59] I was going to say that that expression could be simplified. I didn't realise it was a real URL. [04:00] StevenK: its about to jump [04:00] StevenK: as I'm going to file bugs for all the timeouts [04:00] Heh [04:01] lifeless: Requested the timeout drop yet? [04:01] wgrant: *tomorrow* [04:01] wgrant: I want a full day without search index fail etc [04:02] Ah, right. [04:02] wgrant: so when the oops reports come out tomorrow, I'll get spm to drop it, and awaaaay we go [04:03] wgrant: I assure you, I'm ask keen as you are to get the cap down low [04:03] s/ask/as/ [04:04] Heh [04:04] bugs domain was 50% of our page renders last month [04:04] 20M/40M [04:05] lifeless: does that exclude robots? [04:05] mwhudson: its apparently bong [04:05] Or API scripts? [04:05] lifeless: :) [04:05] https://devpad.canonical.com/~lpqateam/ppr/lpnet/latest-monthly-categories.html [04:05] API scripts are excluded. [04:05] All Launchpad except operational pages [04:05] (? I don't trust that number, though. [04:05] API [04:05] ^https?://api\. 74901732 [04:05] Launchpad [04:05] . 164821045 [04:06] so, raw count is 164M [04:06] api 75M [04:06] but 'non opstats' is only 40M. [04:06] wtf [04:06] Yeah.; [04:06] That's what I'm wondering. [04:06] thus - 'bong' [04:06] fraaaaaaaanics [04:06] Since the daily non-opstats counts are much higher than 39000000/30 [04:06] And Bugs - search is zero [04:06] Which amuses me [04:06] thats a whack reges is all [04:07] lifeless: Tautology [04:07] ah [04:07] down the bottom [04:07] All launchpad except opstats [04:07] (? which is santer than the non-haproxy inclusive one >< [04:07] -no-freaking-idea [04:07] But look at daily categories.html [04:07] Registry is bong, too [04:07] 6.5m non-opstats-non-haproxy [04:08] * StevenK deletes shipit [04:08] Oh. But that might include API. [04:08] Yeah. [04:08] https://devpad.canonical.com/~lpqateam/ppr/lpnet/2011-03/daily_2011-03-05_2011-03-06/categories.html appears to have 3.2m non-API non-haproxy non-opstats requests. [04:09] wgrant: yes [04:09] wgrant: according to the daily ppr, most of our growth was scripts [04:09] Even assuming a conservative 20 working days a month, that's still 64m page views. [04:09] So where is 40m coming from,. [04:09] ah, I see what you're cross referencing [04:09] yes, its bong [04:36] lifeless: I'm looking at the feature flag controller. The handling of per_thread.features looks pretty messy — so I'm wondering if maybe there's some good reason why we're manipulating per_thread.features ad-hoc in so many places? (If not, I'd like to clean it up) [04:37] https://code.launchpad.net/~wgrant/launchpad/bug-607954/+merge/53567, anyone? [04:37] wgrant: oh, I'm OCR so I might as well === jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | firefighting: - | On call reviewer: StevenK, jtv | https://code.launchpad.net/launchpad-project/+activereviews/ [04:37] jtv: the right way would be a participation annotation, but - meh [04:38] lifeless: what's a participation annotation? [04:38] maybe I mean interaciton annotation [04:39] You probably want the interaction. [04:39] Participation could work too, but I like to pretend that participations don't exist. [04:41] jtv: anyhow, it doesn't seem like an overhaul here would help you at all [04:41] Would improving that be complicated in any way if I replaced all the various reads from and writes to per_thread.features with calls to the existing getter and a new setter? [04:41] jtv: and you were concerned about rabbit holes the other day [04:42] jtv: I suspect its a noop change [04:43] I find there's not a lot of cost to cleaning it up, but it saves some wtf in the code that we already have and the code that I need to add. [04:43] I was just wondering if maybe there's some clever grand scheme behind the current mess. [04:47] nope [04:49] ok, a single getter & single setter it is then. [04:56] The London Olympics countdown clock has clapped out after less than a day, the BBC reports. [04:56] The precision timepiece was triumphantly unveiled in Trafalgar Square yesterday, but failed to clear the first 24-hour hurdle and is now stuck on 500 days and 7:06:56. [04:56] * StevenK cackles. [04:58] jtv: fwiw, assignment is a single setter. [04:59] StevenK: it's probably running on windows :-) [05:01] I thought the Reg's joke of "Well, don't power it with one AAA battery ..." was funnier. [05:33] Project db-devel build #456: FAILURE in 4 hr 17 min: https://hudson.wedontsleep.org/job/db-devel/456/ [05:34] lifeless: it's not just assignment, it's setattr as well. Both encode both the per_thread variable and the reference at every instance. And then a mix of getattr and get_relevant_feature_controller to read it. [05:44] lp.services.job.tests.test_runner.TestTwistedJobRunner.test_timeout fails on db-devel on Jenkins again. :-( [05:44] Yeah. [05:45] jtv: Why createForPublication()? Every single other job uses create() [05:45] StevenK: this doesn't create a job though [05:46] it may create any number of jobs [05:46] So it deserves a different name from the existing create() method. [05:47] Also, I wanted to specify the relationship to the publication explicitly because it's not as simple as one might infer from just create(). [05:47] I note you don't actually create the job for distroseries [05:48] You create jobs for direct children (which is fine), and the parent (which isn't) [05:48] Ah damn you're right [05:48] It should be the children and the distroseries itself. [05:48] Right [05:48] Could you file a bug? [05:48] I'll fix it [05:48] Thanks, and sorry [05:50] And then test_createForPackagedPublication_creates_job_for_parent_series fails [05:50] Which is broken, anyway [05:52] Yes, what I got wrong was what the code should do, not just the code itself. [05:54] That test is far more broken, with a three-tiered distroseries on distroseries action [05:56] But I can use that. === _mup__ is now known as _mup_ [06:22] jtv: I have three reviews for you now... or should I throw them at someone else? [06:23] wgrant: I'll take one [06:23] StevenK: https://code.launchpad.net/~wgrant/launchpad/bug-390543/+merge/53568 is the most pressing. [06:23] Thanks. [06:27] wgrant: I can understand the culling of the first 40 lines of checkwatches.txt. Why the rest? [06:27] StevenK: I needed to move some of the bits further down, and switch DB users in a couple of places. So I changed the doctest to use the context manager. [06:28] More readable and shorter. [06:28] wgrant: This is a niggle, but you no longer test checkwatches oops use the 'CW' prefix [06:30] StevenK: That was why I hadn't fixed this earlier. But I decided that I don't care enough about testing that to keep that exception around. [06:30] Since no other script has a test like that. [06:30] Right. [06:30] wgrant: You could replace the login() call on 231 with 'with person_logged_in()' if you wished [06:31] StevenK: I could. [06:31] But I'm not certain how much of the rest of the doctest wants admin rights, so "Meh" [06:31] Exactly. [06:31] wgrant: r=me [06:31] Thanks. [06:32] How long I have waited to say that. [06:32] StevenK: The others are pretty simple. Could you look at them too? [06:32] wgrant: I dunno. What have you got to offer? [06:33] https://code.launchpad.net/~wgrant/launchpad/bug-734573/+merge/53572 and https://code.launchpad.net/~wgrant/launchpad/bug-607954/+merge/53567 are the MPs in question. [06:33] I am afraid I have no offering beyond the glory of reviewing them. [06:34] No beer? [06:34] Oh, that's right, you aren't old enough to buy it. [06:36] wgrant: Ah, and some trailing whitespace fixed. r=me for the first. [06:36] wgrant: https://code.launchpad.net/~wgrant/launchpad/bug-607954/+merge/53567 looks like it is errornously linked to bug 390543 [06:36] <_mup_> Bug #390543: Checkwatches shouldn't record an OOPS if there isn't an ExternalBugTracker for a given BugTrackerType < https://launchpad.net/bugs/390543 > [06:37] StevenK: Ah, good catch. I was committing to the wrong branch when I was working on 390543, then removed the problematic revs but forgot to unlink. [06:38] Fixed. [06:39] wgrant: my only concern with the second is line 71. Why are you changing it to a set? [06:40] StevenK: It eliminates duplicates, making queries more readable. [06:40] Since in most cases the archive and distributions will all be the same. [06:41] This will do 'id IN (1,)' instead of 'id IN (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)' [06:41] wgrant: Could I beg for a comment, since that's quite elegant. [06:41] I could do it in the callsite, but this is going to be useful everywhere. [06:41] Will do. [06:43] StevenK: Thanks. [06:44] wgrant: You're welcome. Three critical fixes is awesome. [06:45] That's eight for the day. Maybe I'll make it to 50 this cycle. [06:45] Crumbs. [06:45] Pity it is cheaper to file criticals than it is to fix them. [06:48] Heh. [06:48] Yeah. [06:51] StevenK: sinzui unfortunately did a lot of CSS fixes for 11.03, so he nearly caught up to me :( [06:51] Haha [06:55] * StevenK wields his nailgun and nails jtv to the Internet [06:56] wgrant: how many did sinzui do? === StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | firefighting: - | On call reviewer: jtv | https://code.launchpad.net/launchpad-project/+activereviews/ [07:03] lifeless: 25 bugs in total :( [07:06] wgrant: and you? what time period ? [07:06] wgrant: what did I do ? [07:07] https://launchpad.net/launchpad/+milestone/11.03 [07:07] I did 34, you 17. [07:08] I should stop reopening, or doing bugtask:=index :> - if I cared about the sheer counts [07:08] Heh, BugTask:+index is nearly under control. [07:09] It helps that I handled a lot of tiny incident-critical fixes last months. [07:16] helps both your stats, and the project :) winwin [07:16] Well, it had better be a winwin, because those incidents are damn annoying. :) [07:20] lifeless: I can has patch number for bug #715236? [07:20] <_mup_> Bug #715236: Validate architecturetag < https://launchpad.net/bugs/715236 > [07:30] wgrant: stub should be around soon, if you want to optimistically grab one - do so from the wiki page [07:30] wgrant: what needs changing ? [07:30] lifeless: distroarchseries.architecturetag needs valid_name applied. [07:30] as a check constraint ? [07:31] Yes. [07:31] kk [07:37] wgrant: sorry, got distracted and forgot about your review. What still needs reviewing? [07:38] jtv1: StevenK did them all. :( [07:38] So you are safe for now. [07:38] whoops [07:38] Terribly sorry about that. [07:39] 'tis fine. StevenK was glad to exercise his new superpowers, I am sure. [07:39] Ah yes [08:04] wgrant: 'Note that adding new users requires manual DB reconfiguration' - security.py might want to detect and error clearly [08:04] i like the new loggerhead skin [08:06] lifeless: Then we have DB upgrades failing instead of scripts. [08:06] == bad [08:06] And it's also really hard to detect that... [08:06] I'm not sure if it's even possible. [08:07] wgrant: security.py isn't part of the ddl scripts sequence [08:07] wgrant: it runs after [08:07] lifeless: True. [08:07] But it's still not really feasible to detect. [08:12] poolie: on b.l.n? [08:13] yes [08:14] its quite nice [08:14] I really want to ditch the b.l.n domain - incorporate loggerhead as routes within c.l.n. [08:15] poolie: your timeout was an 11 second count [08:15] poolie: something bong there [08:15] poolie: given that there are only 4 matching bugs [08:16] poolie: bug 735202 [08:16] it gives a 404 as expected when i try it locally [08:16] not sure why [08:16] http://pad.lv/735202 [08:16] it works locally but fails on lp.net [08:17] perhaps someone already fixed it and it's not deployed yet? [08:17] are you sure you're using the same data situation? [08:17] i try and access a private bug [08:17] it gives 404 [08:17] wallyworld: using launchpadlib [08:17] when i mark it non-private, it returns the data [08:18] lifeless: i used curl to api.lp.dev like in the bug report [08:18] wallyworld: Heh, that changed this morning. [08:18] kk [08:18] As of a few hours ago they 404. [08:18] I should probably take that bug. [08:18] poolie: ^^^^^^^^^^^^^^ [08:18] wgrant: i guess that may have been the case [08:18] It was an unrelated change. [08:18] oh great [08:18] Well, sort of related. [08:18] * wallyworld looks for another bug to fix [08:18] But not raelly. [08:19] deleting code good [08:19] only another 300KLOC to go [08:19] It's more than that. [08:19] wgrant: lp ? yes, I don't want to delete lp. Just the fat. [08:20] Heh. [08:20] ~/launchpad/lp-branches/clean-devel$ find -type f -name '*.py' | xargs wc -l | tail -n 1 605989 total [08:20] That's more than I expected :/ [08:21] wallyworld, i filed a couple of similar ones [08:24] poolie: ok [08:36] Urgh.... feels like the beginnings of tonsillitis :-( [08:46] stub: :( [08:50] good morning [08:52] hi adeuring [08:52] hi jtv! [08:53] Do we have any reviewers here who are very familiar with feature flags? [08:54] lifeless: I thought stub can set feature flags? [08:55] Power, yes. Understanding? [08:55] Na, who cares about understanding [08:56] Just the thing I needed to be saying at the exact point my boss walked into the room, at the opening of review season… [08:57] stub: I've got a patch up for review that, among other things, lets us disable scripts by feature flag (and the feature would also be suitable for tweaking log levels later). I thought that would let us reduce losa interrupts, but according to lifeless it doesn't help much in that regard. [09:00] * bigjools waves at jtv [09:01] so you saw that then :) [09:01] * bigjools averts eyes [09:03] jml, are you into feature flags in a big way? I need a reviewer for https://code.launchpad.net/~jtv/launchpad/bug-735319/+merge/53578 [09:04] (Or if not a review, at least a tie-breaker—see comments :) [09:04] thanks for tackling that jtv [09:04] i'll have a look too [09:04] oh thanks [09:08] bigjools: I'd be a lot more comfortable with rewriting cron.publish-ftpmaster knowing that it was tested [09:08] jtv: chicken/egg [09:09] we can do manual testing easily on DF [09:09] But sounds like the first thing to do is figure out what it does, and write tests for that. [09:09] "easily [09:09] " [09:09] yes, easily [09:09] wgrant is so negative! [09:09] Given how people tend to say "trivial" for things that turn out to be a lot of work, "easy" really worries me as well. [09:10] it's all relative jtv :) [09:10] jtv: I can do a pre-imp about it with you [09:10] Oh nice, a pre-imp sprint. Is next week good for you? [09:11] only if you come here :) [09:11] jtv: policy for FF changes is losas do [09:11] oic [09:11] jtv: and, as I say its overloaded with the non-db style of killing, and we *must not* attempt a db-style disable during db-deploys. [09:12] OK, I'll take that bit out then. Thanks for pointing it out. [09:12] thanks [09:13] lifeless: what makes bzr do a repack when I pull? [09:13] and can I put it off to a time when it's not inconvenient to wait 30 minutes? :) [09:14] bigjools, if your local repository passes a certain size threshhold [09:14] urk [09:14] ah thanks poolie [09:14] bigjools: Mine has done that twice today :( [09:14] I might file a bug about this, I think it should prompt/nag [09:14] meep - 665 OOPS-1900K1319 Person:+contactuser [09:15] bigjools: its an exponential backoff [09:15] bigjools: 30 minute ones should be -extremely- rare, but you can make sure it never happens by putting 'bzr pack' into cron [09:16] we could/should also permit backgrounding it automatically - packs don't block writers [09:16] *packing does not* [09:16] 30 mins might be exaggerating, but the last one on my desktop took 15-20, and I am now waiting for dogfood which has slow disks :( [09:16] s/disks/everything/ [09:17] backgrounding/nag/prompt all good :) [09:17] stub: Thanks. [09:17] * bigjools filez [09:17] Gnome apps really stand out on my desktop, they're the only ones that don't restore their state and throw a million error dialogs. [09:18] GNOME session saving used to work great. [09:18] I think I last used it in 2002, though.. [09:18] I know :/ [09:23] I think I last used gnome in 2002 :) [09:23] Hah. [09:23] apart from you watching me flinch at that UDS when I tried it [09:24] Yes, that was amusing. [09:26] * bigjools installed KDE4.6 yesterday, not a Unity in sight :) [09:26] Yes, we know KDE isn't unified. [09:27] bwahaha, you've seen the Gnome project? :) [09:27] I was hoping you weren't going to point out the irony, but you did ... [09:28] Unity has only crashed once this week! [09:28] sorry, I wasn't aware Australians did irony [09:28] And I actually quite like it now. [09:28] bigjools: Isn't that some kind of metal? [09:28] jtv, ok, done [09:28] StevenK: it's what your wife does [09:28] and so, goodnight [09:28] nn poolie [09:29] if China wants to buy irony we'll sell it [09:29] I can see this conversation going nowhere good. [09:29] oh, Blacktown? :) [09:29] West Sydney [09:29] /ragequit [09:29] lmao [09:29] :-P [09:29] good night gentlemen [09:33] lifeless, poolie (if you're around), my bzr pull took 24 minutes :) [09:33] I filed a bug anyway [09:39] cool [09:39] I filed 22 :P [09:39] night all [09:49] lifeless: :( [09:53] Yippie, build fixed! [09:53] Project db-devel build #457: FIXED in 4 hr 19 min: https://hudson.wedontsleep.org/job/db-devel/457/ [10:09] jtv: Want to review https://code.launchpad.net/~wgrant/launchpad/bug-715236/+merge/53576? [10:09] Almost as trivial as they get. [10:12] wgrant: r=me [10:12] how did we get 18 new critical bugs over night? [10:13] jml: One word: lifeless [10:13] lifeless filed a bug for all the timeouts. [10:13] StevenK: Thanks. [10:13] do we have new timeouts? === almaisan-away is now known as al-maisan [10:13] jtv: We now have a full list. [10:13] Er, jml [10:13] meh. I've been told that before [10:13] jml: The OOPS reports used to only have the top 10, but lifeless fixed that. [10:14] wgrant: ok. that gives some grounds for confidence. [10:14] jml: So, we will still have missed some that only occur a couple of times a week, but there probably aren't too many of those. [10:14] Hopefully. [10:15] it's been so exciting watching the number of critical bugs go down this last week [10:16] I've landed 10 fixes today... so we are only up by about 10. [10:16] \o/ [10:23] jtv: could you please review a small MP: https://code.launchpad.net/~adeuring/launchpad/translation-branch-sync-return-to-referrer/+merge/53597 ? [10:24] adeuring: otp [10:25] jtv: ? [10:25] on the phone === henninge_ is now known as henninge [10:37] bug 12345 [10:37] <_mup_> Bug #12345: isdn does not work, fritz avm (pnp?) < https://launchpad.net/bugs/12345 > [10:41] isdn! [10:43] adeuring: I'm back… still need that review? [10:43] jtv: yes please [10:47] can I url hack to change the batch size? [10:51] jml: yes, lots of people do [10:51] how do I do it? [10:51] don't ask me to remember that sort of thing :) [10:54] heh [10:55] well, my immediate need has passed. [10:56] adeuring: Hi! [10:56] hi henninge [10:56] adeuring: you have been reviewed [10:56] adeuring: Is that the ReturnToReferrer branch you are having reviewed? [10:56] jml: lib/canonical/launchpad/doc/batch_navigation.txt [10:56] Hi jtv! === jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | firefighting: - | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews/ [10:56] bigjools: ta [10:56] henninge: have had. [10:56] jml: fuck me, documentation :) [10:56] henninge: well, jtv said so ;) [10:57] and thanks, jtv! [10:57] adeuring: I put a card for that on the board but I'll leave the satisfaction of moving it to you ... ;-) [10:57] basically ?batch=N [10:58] adeuring: and added bug 735960 [10:58] <_mup_> Bug #735960: Return to translation sharing details page < https://launchpad.net/bugs/735960 > [10:58] henninge: thanks for doing my bureaucracy :) [10:58] adeuring: I know how you loath^Wlove it. [10:59] bigjools: thanks. [10:59] looks like it's batch=FOO [11:03] that's what I said :) [11:04] bigjools: oops, I missed that. [11:06] the standard library should have a tzinfo object for UTC. [11:06] Morning, all. [11:07] jml: pytz.UTC ? [11:08] bigjools: yeah, I'll use that, but it should be in the stdlib [11:08] why do you think that? [11:08] the Python documentation even has an example UTC object [11:09] bigjools: because it would be convenient for many people, and doesn't have the ridiculous politically-imposed maintenance cost of other timezones [11:09] (and because stacks of methods in datetime mention utc explicitly) [11:10] fair reasons [11:10] and, also, [11:10] there's an example in the documentation! so they have to maintain the code anyway. === al-maisan is now known as almaisan-away [11:15] heh === m4n1sh_ is now known as m4n1sh [11:49] http://paste.ubuntu.com/581050/ <- crit bug breakdown [11:51] launchpad-buildd? Really? [11:52] Huh, indeed. === almaisan-away is now known as al-maisan === henninge is now known as henninge-lunch [12:24] can someone point me to a real-life example of a bugtask with a conjoined master? i'm trying to qa bug 556515 [12:24] <_mup_> Bug #556515: OOPS when editing conjoined bugtasks via API < https://launchpad.net/bugs/556515 > === matsubara-afk is now known as matsubara [12:27] leonardr: Anything on https://bugs.qastaging.launchpad.net/ubuntu/natty should do. [12:36] wgrant: any idea why this happens? [12:36] >>> series [12:36] [12:36] >>> len(series.searchTasks()) [12:36] 0 [12:36] Hee hee hee. [12:37] Try omit_targetted=False, or something like that. [12:37] There's a bug. [12:37] Just one? [12:39] I can't find it. [12:39] But I didn't really try very hard. [12:39] Bug #320596 [12:39] <_mup_> Bug #320596: Series.searchTasks() always returns an empty collection < https://launchpad.net/bugs/320596 > [12:40] But it's meant to default to False. [12:40] Hm. [12:49] ok, now the proble [12:49] m is i don't have permission to edit any of these tasks [12:51] leonardr: You can set some things... [12:51] leonardr: Anyone can set a bug from Triaged to New, for example. [12:52] I can do just about anything, though, if you need more testing. [12:52] wgrant: i think i just need you to answer my dumb questions about how these bugs work [12:53] is this task conjoined? https://api.qastaging.launchpad.net/1.0/ubuntu/natty/+source/nvidia-graphics-drivers/+bug/711409 [12:53] <_mup_> Bug #711409: [MASTER] -nvidia broken after Jan 31st updates, because it does not yet support xserver 1.10 < https://launchpad.net/bugs/711409 > [12:53] i was able to edit its status [12:53] _mup_ says that's the master [12:53] leonardr: That's a conjoined slave. [12:53] [MASTER] is in the summary. [12:53] It doesn't indicate that it's a conjoined master. [12:53] ah [12:55] ok, so, i was able to edit a conjoined slave, which afaict shouldn't happen [12:55] Er, wait. [12:55] That is a *master*. [12:55] Confusing terminology is confusing. [12:55] The series task is the master, the distribution task is the slave. [12:55] https://api.qastaging.launchpad.net/1.0/ubuntu/+source/nvidia-graphics-drivers/+bug/711409 (no natty) is the slave. [12:55] <_mup_> Bug #711409: [MASTER] -nvidia broken after Jan 31st updates, because it does not yet support xserver 1.10 < https://launchpad.net/bugs/711409 > [12:56] i was also able to edit the slave [12:56] let's see what happens on the website [12:57] Erk. [12:57] The slave's details are hidden from the web UI, but you can see them through the API. [12:57] yeah, it says 'status tracked in natty' [12:58] ok, got it! === abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | firefighting: - | On call reviewer: abentley | https://code.launchpad.net/launchpad-project/+activereviews/ === mbarnett` is now known as mbarnett === henninge-lunch is now known as henninge [13:39] jml: ping [13:41] deryck: pong [14:01] henninge: ping for standup [14:04] deryck: oh yeah, coming === al-maisan is now known as almaisan-away [14:29] adeuring: for your search: files are placed in the import queue with a call to addOrUpdateEntry(FromTarball) [14:30] henninge: thanks [14:42] abentley: I guess the job creation is not hidden behind a feature flag? [14:42] Should it be? [14:43] Is that even doable? [14:43] henninge: It's not. I don't think it should be. [14:43] abentley: are the jobs being processed now on production? [14:43] henninge: Not yet, we need a config change. [14:44] abentley: https://code.launchpad.net/~henninge/launchpad/devel-735954-merge-job-display/+merge/53629 [14:49] abentley: sorry it's taken me so long. A few conversations developed. But I have a good head around all the mocking we've done so far.... [14:50] abentley: however, my call with henninge is in 10 minutes. Shall we chat after that? [14:50] deryck: no worries. [14:50] deryck: after henninge's call makes sense. [14:50] abentley: great, thanks. Chat soon then. [14:50] jam, jelmer: care to join mumble to test my new setup ? [14:51] meh wrong channel [15:02] henninge: coming.... sorry. 1-2 more minutes and I'll join you. [15:02] * henninge hurries to get there first ... [15:03] heh [15:06] deryck: i need some javascript help, and you seem to be the guy to talk to. :-) [15:07] got a few minutes? [15:07] oops, your otp. [15:12] jcsackett: yeah, call, sorry. [15:12] deryck: no worries, i should have been paying attention. :-P [15:12] jcsackett: np, really. so you're right. I am *the* guy ;) [15:12] jcsackett: however, you need to take a js-number :-) [15:13] jcsackett: I have a call with Aaron about js, and then we can chat :-) [15:13] deryck: sounds good. thanks. :-) [15:15] abentley: shall we chat now? Mumble? [15:15] deryck: sure. === almaisan-away is now known as al-maisan [15:42] deryck: http://pastebin.ubuntu.com/581151/ [16:00] abentley: so this works as I thought -- variable names are determined by var keyword. function names are bound to the closure. Which is why I was confused the first pass of the discussion. :-) [16:01] abentley: so a named function outside of a YUI block would be global, but because YUI blocks are closures, named functions are private to the closure. [16:01] deryck: Is var foo = function() equivalent to function foo() then? [16:02] abentley: inside a YUI block, basically yes. [16:02] abentley: it may be a bit slower to execute, but I can't say that for sure. I would avoid assigning to var names inside yui. [16:02] deryck: i'm unavailable for the next hour, so don't worry about me for a bit if your chat with abentley ends before then. :-) [16:03] deryck: okay. [16:03] jcsackett: it ended 5 minutes ago, but I had the above follow up hacking. ^^ I'm done now, though. [16:03] jcsackett: but I assume we'll chat later? [16:03] deryck: yup. will you be free in about an hour? [16:04] jcsackett: actually, no. I have team lead call top of the next hour. After that? [16:04] deryck: sounds good. [16:04] jcsackett: ok, chat with you then [16:06] abentley: I replied to your review and pushed a new version. Thanks a lot. I have to leave now but I hope you can approve this now. [16:07] henninge: Okay, I'll have a look. === matsubara is now known as matsubara-lunch === deryck is now known as deryck[lunch] [16:12] henninge: r=me [16:12] abentley: thanks a lot! [16:24] deryck[lunch]: could you comment on whether the YUI tests here should be Windmill tests? https://code.launchpad.net/~wallyworld/launchpad/inline-multicheckbox-widget/+merge/52943 (644-827) === deryck[lunch] is now known as deryck [16:56] hi sinzui [16:57] hi bac [16:57] abentley: just got off lunch and now tl call. I'll look closely shortly. === beuno is now known as beuno-lunch === al-maisan is now known as almaisan-away [17:29] abentley: I think that's a good YUI test. [17:30] deryck: Thanks for checking. [17:30] abentley: wallyworld had pinged me out of review about mocking, and I don't think we need a custom object there. I think he can use Y.Mock to simulate the patch request. Unless I'm missing something about Y.Mock. [17:31] abentley: but I'll reply to his mail to me about that. Unless he sees this chat first ;) [17:31] hmm [17:31] slow librarian performance [17:34] flacoste: I'm going to drop to 11 seconds today if the oops report looks good [17:34] https://lpstats.canonical.com/graphs/OopsLpnetHourly/20110315/20110316/ suggests it will [17:35] flacoste: if this concerns you , speak up now :) - we will have a full days data without index problems etc to work on [17:36] lifeless: I am concerned about distrseries:+queue [17:36] 3 / 10 DistroSeries:+queue ? [17:37] it will become a bigger problem the closer we get to natty release [17:37] it's not used much *now* but it will get more use [17:37] bigjools: if it starts to spike, raise its timeout [17:37] deryck: you available? [17:37] * bigjools gets the same complaints every 6 months [17:37] bigjools: ideally we'd fix it before then [17:37] lifeless: that's why I am mentioning it now, it'd be great if you could look :) [17:38] I think wgrant has been, I'll see if he's still doing so [17:38] jcsackett: oh, hello there again. ;) sure. mumble? [17:38] deryck: sure. [17:38] I have been ignoring my ta stuff this last 5-6 work days and just going out and killing timeouts... I suspect I rather need to buckle up and focus :> [17:39] lifeless: also, we'd like your input on doing background page updates via JS for some derived distros work, rvba will grab you tomorrow (his time) which is later today for you if you're about [17:39] sure [17:39] you're thinking poll for now ? [17:39] yes [17:39] lifeless: yes, same as the ppa page [17:39] seems no worse than we have now [17:39] but I wondered if thumper's work had changed any of that [17:40] not AFAIK [17:40] it would only poll until some state changes [17:40] sure [17:40] we can tolerate limited amounts of polling [17:40] when we get a callback mechanism we'll need to roll it out $everywhere anyhow [17:41] the other question is, exactly how much non-js fallback are we worried about these days [17:41] + I don't expect derived distros to be huge (like e.g. bugs - 50% of our web pages) [17:42] there's only one page that has JS but it has a lot of JS :) [17:42] bigjools: so, google have ways to index js only content [17:42] I can't remember why we wanted to do non-js fallback anyway [17:42] I would talk to the stakeholders for this project [17:42] w3m users :> [17:43] * bigjools has a 4 letter word forming [17:43] bigjools: anyhow, all sounds fine to me; jml / the derived distro stakeholders are the ones to check about non-js support: its not a technical choice, but a political one :) === matsubara-lunch is now known as matsubara [17:44] yes exactly [17:44] unless you count things like not being able to file bugs :) [17:44] we fixed that :) [17:47] \o/ [17:47] POFile:+translate is down by ~3 seconds on its 99th percentile [17:48] bigjools: for the bug subscription work, we are deliberately doing js only. (at least, as of last time I spoke about it) [17:48] jml: I think that's sensible [17:48] bigjools: we don't have a general policy yet (we will soon), but if you want to proceed assuming that you don't need js fallback, I think that would be fine. [17:48] although it does mean I need to learn JS again [17:49] cool, thanks for clarifying [17:49] bigjools: hey, deryck linked to a thing about that :) [17:50] JavaScript for people who know Python? I recommended that to abentley too, who found it useful. [17:50] what's the link? [17:50] or should I JFGI :) [17:50] bigjools: http://pycon.blip.tv/file/4882883/ [17:50] heh, no I didn't mind :-) [17:51] ah cool, thanks deryck [17:51] bigjools: np [17:51] bigjools: and then read the YUI docs, please :-) [17:51] ha :) [17:52] oh 30 min video, I was hoping I'd know everything there is to know in 5 :) [17:52] if only :-) [17:53] right, dinner's ready, good night all [17:53] bigjools: perhaps we should arrange another two week training course? [17:53] jml: **** *** *** *** ***** [17:53] :D [17:53] bigjools: g'night [17:53] ciao! [17:54] lifeless: like i mentioned to you on Monday, i'm fine with that timeout drop (and thought it already happened, fwiw) [17:55] flacoste: we dropped to 12 [17:55] flacoste: I wanted a clean, good signal before dropping to 11 [17:55] 11 is pretty exciting. [17:56] it goes to 11! [17:56] it feels like not so long ago we were at 30 [17:56] flacoste: I was sure you'd be ok, I wanted to make sure you were not caught unawares *if* something goes wrong [17:57] 11! right! [17:57] that was the follow-up reduction you talked about [17:57] still good with it [17:57] yes [17:57] + a lowering of soft timeout to 9 [17:57] exactly [17:57] [if we drop hard to 11] [17:58] Why not make 10 louder? And call that 11. [17:59] deryck: i didn't know you were making amps in your spare time ;-) [17:59] heh [17:59] side business === beuno-lunch is now known as beuno [18:22] lifeless: I'm thinking again about how much I dislike layers and how much I'd like to use a non-Zope test runner. [18:22] jml: \o/ [18:22] lifeless: I am thinking further of making a TestSuite that runs tests with layers properly [18:23] as in, doing what z.testrunner does but in a more compatible way. [18:23] that might be interesting [18:23] it seems easier than moving away from layers [18:24] jml: given that we're pretty close on fixtures, it might be better to just move on that [18:24] jml: I don't think compatibility is the issue with layers, its hte contract: the reinvoking stuff, for instance [18:25] lifeless: it's the compatibility issue that's tying us to test.py [18:26] jml: yes [18:26] jml: erm [18:26] jml: no, its not [18:28] lifeless: well, you'll have to explain why. also, I don't see a clear path from "improve fixtures" (presumably wrt the graphing stuff) to "run Launchpad tests without z.testing". [18:29] jml: there are several different things hanging around here [18:29] test.py [18:29] z.testing [18:29] requiring reinvoking to do ZCA testing [18:30] the graph of dependencies is: reinvoking requires zope.testing requires a test.py script [18:31] it is trivial to write a TestSuite wrapper than will obey a limited subset of the layers protcol - excluding reinvocation [18:31] lifeless: I don't see why re-invocation would be that hard. [18:32] so, (ignoring the bits of zope.testing that are harnesses for other bits of zope we use) to stop using zope.testing we need to fix the behaviour of our layers [18:32] jml: let me ask you a different question. What problem are you trying to solve? [18:32] (although I agree it would be better to not need to do it) === Ursinha is now known as Ursinha-lunch [18:34] lifeless: I am interested in removing friction from my development process. [18:35] jml: The highest priority problem I see on our testing framework list is reinvocation - it costs substantial time and increases peak memory requirements a lot [18:37] ok [18:37] lifeless: you are talking about the support when NotImplementerError is raised in a layer teardDown method? [18:37] oops. late for something. [18:37] * jml goes [18:37] flacoste: yes [18:37] flacoste: we have no good reason for raising that - its just a matter of code to fix the causes [18:38] lifeless: agreed, especially since upstream isn't using it much anymore (at least not as part of the default ZCA tests) [18:41] did someone delete ~launchpad-chr on late Friday or Saturday? [18:41] matsubara did [18:41] * matsubara whistles awaya [18:42] sinzui, hopefully that didn't break anything. AFAICT, it was used as an answer contact for launchpad [18:43] I think that is the event that broke team participation. I think merge with ~registry caused confusion in team participation. ~launchpad was a direct member of both teams [18:44] sinzui, ah, ok. so it's a known bug but you wanted to know the root cause for it to be triggered? [18:44] I still think we can fix immediate issue with a stealthy add/remove member combination. I just need to think which teams are involved [18:45] I did not know that merge would corrupt TP. That is a new bug. I am trust trying to see my participation page (bug 733881) [18:45] <_mup_> Bug #733881: +participation oops because membership and teamparticipation disagree < https://launchpad.net/bugs/733881 > [18:45] sinzui, not sure if it helps, but I have a list of ~launchpad-chr members before I deleted [18:47] matsubara: I can see them on staging [18:48] :-) [18:48] I think I will co-opt my call with jcsackett to discussing our mutual dislike of TeamParticipation and Person.merge [18:49] jcsackett: I think you should read https://bugs.launchpad.net/launchpad/+bug/733881 so that we can discuss it in 10 minutes [18:49] <_mup_> Bug #733881: +participation oops because membership and teamparticipation disagree < https://launchpad.net/bugs/733881 > [18:55] matsubara: you used the delete team link right? Is this the message you saw: https://staging.launchpad.net/~launchpad-chr/+delete [18:56] I wonder is delete handled pending members...well merge does not [18:57] sinzui, yes, that's the message I saw. [18:57] it took a couple of tries because the action timed out but eventually it did delete [18:58] thanks. I will use staging then to diagnose what merge did wrong [18:58] sinzui: i already saw that bug on the tl report. [18:58] jcsackett: I updated it a few minutes ago with what I see. I want to discuss the hack to make Lp put the data back, and the root cause in delete/merge [19:04] i hate TP. [19:04] i sort of dislike the whole team infrastructure, at this point. :-P [19:06] TeamParticipation is easy to hate, but combined with merge rules, I think I have disconcerting feeling of both despair and delight. [19:33] Chex: Hi - regarding that question you just replied to - the problem is that Launchpad's code import service is broken in respect of SourceForge Mercurial repositories. [19:34] A third party proxying solution to assist the Launchpad code import service seems a bit of a weird solution, so I'm wondering if you misread the question at all? [19:34] maxb: ok, so its not just a matter of post issues, then? [19:34] post? port? [19:34] s/post/port/ sorry [19:34] SourceForge have chosen to use a non-standard port. [19:35] It is of course up to Launchpad to potentially refuse to support it, but it seems like an unlikely decision to make, given how popular SourceForge is [19:36] Actually, is there any concrete reason why the importds do not have unrestricted outbound TCP access to the internet? [19:37] maxb: they did what? [19:37] maxb: we don't trust vcs libraries to be bug tree and have no security vulnerabilities [19:37] who did what? SourceForge? They have chosen to run their Mercurial hosting service on a non-standard TCP port [19:42] maxb: its just a general policy we have for only allowing what would be typically used, for security [19:42] lifeless: for reference to what we are talking about: https://answers.launchpad.net/launchpad/+question/147288 [19:42] inbound, totally. outbound, I guess my standards are more heavily pragmatic :-) [19:43] Chex: need an rt for it? I think its fine to open it to sf [19:44] lifeless: I already have one, and the response was for a HTTP Proxy to be setup for this situation. [19:44] Chex: thats crazy [19:44] Chex: a) it would require significant special casing in the code import infrastructure [19:45] Chex: b) it would permit trivial bypassing of our security policy (so we may as well just disable the outbound firewall if we were to do that) [19:46] lifeless: well, I can see your point on that [19:50] Chex: whats the rt ? [19:52] lifeless: so we already have a HTTP proxy setup, we would just configure this address to point to the remote port, outgoing connection for you [19:52] lifeless: RT# 44626 [19:53] Chex: I don't see any benefit in using an http proxy for hg [19:53] Chex: its all streaming data [19:55] Chex: I've commented (just now) on the question [19:55] Chex: I will do so on the rt too [19:55] lifeless: ok, great, thanks === Ursinha-lunch is now known as Ursinha [21:03] thumper, wallyworld: it would be great to get a review of https://code.launchpad.net/~leonardr/lazr.restful/entry-introduced-in-version/+merge/53704 sometime today [21:03] i'm eod but i'll stick around if one of you wants to take it and ask quESTIONS [21:03] or, abentley, if you want to take it [21:03] leonardr: i'll look but thumper will need to +1 [21:03] leonardr: I'm EOD. === abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | firefighting: - | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews/ [21:10] wallyworld: http://blogs.jetbrains.com/pycharm/2011/03/python-ides-panel-video-from-pycon-2011/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Pycharm+%28JetBrains+PyCharm+Blog%29 [21:11] leonardr: mumble? [21:12] thumper, 1 sec === Ursinha is now known as Ursinha-afk === matsubara is now known as matsubara-afk [22:03] wgrant: mumble> [22:03] mumble? [22:03] exit [22:04] sinzui: Oh, right, half an hour earlier. [22:04] Give me a sec. === MTeck is now known as MTecknology [22:23] jcsackett: I think Person.deactivateAllMembers() is the issue, which is not really merge or the remove super team rule. It implements a separate TP cleanup [22:23] And it does not handle recursion well [22:25] sinzui: it was at fault once before, but i thought we had cleaned it up. [22:25] this is more of the "we have too many ways to do the same thing." [22:25] I recalled we wanted to unify the code, We have not. I think now is the time [22:26] sinzui: yeah, we need one blessed way to handle TeamParticipation. [22:26] I can see that it will not know what to do in the case of multiple paths to a team [22:26] sinzui: we don't handle the multiple paths issue well anywhere. at best, we constrain things to where we ignore all but one path. [22:26] This gives me hope because the fix looks like deleting code! [22:27] sinzui: did Edwin finish the _cleanParticipation work he was doing before he left? [22:27] he was working on making that the Right Way (TM), and if he did, we want to use that. [22:27] since he knew better than anyone on registry what needed doing there. [22:28] TM's _cleanTeamParticipation does a recursive check to build a list of excludes. So I have some faith that wne the method tries to do the right thing, it will work deactivateAllMembers() is simple delete of everything [22:28] (the blessed way is probably triggers) [22:29] wgrant: triggers were once a problem for us as well. [22:29] or rather, they complicated diagnosing the problem. [22:31] basically, management of TeamParticipation is a mess. :-P [22:32] neo4j! [22:32] * mwhudson hides [22:32] jcsackett: That's why we should do it in one place that catches everything. [22:33] wgrant: i concur. we're on the same page here. i'm -1 on triggers, personally; having things fire off post changes with teams have failed us. i think adopting widespread use of Edwin's work is the way to go. [22:34] but i'm +1 on whatever, as long as we're consistent with it and cover all our bases. [22:34] We already have a set of triggers to do exactly this sort of graph work, for packagesets. [22:35] sinzui ^ [22:35] that i did not know. [22:44] I'm neutral on triggers [22:45] we use them [22:45] but htey have significant downsides [22:45] not the least of which is causing *more* db roundtrips [23:16] wgrant, was the bug you fixed recently one that can cause [23:16] 'SimpleViewClass from /srv/launchpad.net/production' object has no attribute 'status' [23:16] ? [23:16] poolie: No, that's a lazr.restful bug. [23:16] Which I believe is fixed now. [23:16] poolie: When did you last see that/ [23:16] OOPS-1901C853 [23:16] overnight, from a cron job [23:17] poolie: I think that was probably fixed by the first deployment this morning. [23:17] I've been seeing a few each night too. [23:17] It's lazr.restful failing to render a timeout error. [23:18] so i should just see if it goes away? [23:18] Yes. [23:18] no need to file? [23:18] ok [23:19] Bug 733293 [23:19] <_mup_> Bug #733293: API fails to render timeout errors < https://launchpad.net/bugs/733293 > [23:19] i thought it was familiar [23:19] thanks [23:21] biab [23:30] lifeless: https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1901C2059 [23:30] SQL time: 766 ms [23:30] Non-sql time: 5938 ms [23:31] wgrant: yeah, get a profile from qas [23:31] I suspect its parsing or something similar [23:31] Ah, forgot we could do that easily now. [23:56] jml: https://dev.launchpad.net/LEP/ReliableDBDeploys when you have time [23:56] flacoste: ^ [23:57] whee, http://webnumbr.com/.join(launchpad-oops-bugs.all,launchpad-timeout-bugs.all,launchpad-critical-bugs.all) really has quite a jump doesn't it