[00:19] StevenK: I -really- prefer stub to get a lookin with the narrow exception of him being away for an extended period; he is back today. [00:21] lifeless: I would have really prefered to already have it landed, but you disappeared yesterday afternoon. Fine, I will wait for stub. [00:22] StevenK: I EOD'd at 1700 here :) [00:22] StevenK: and cynthia has a cold, so it really was EOD [00:22] StevenK: in any event, I would have said the same thing yesterday [00:27] so bigjools, tell me about messaging servers [00:32] Do we have some report that reports if any patch in db-stable/devel isn't applied to prod? [00:49] no, but we have a bug asking for one [00:52] wgrant: Product done. Would about Distribution? [00:53] StevenK: Yes [00:53] Bah, okay. [00:54] You expected otherwise? [00:54] I didn't, actually. [01:23] wgrant, wallyworld__: https://code.launchpad.net/~stevenk/launchpad/product-distribution-accesspolicy/+merge/96499 [01:25] * wallyworld__ has a look [01:27] StevenK: you probably also need to create a proprietary policy when a product has a commercial subscription created for it [01:30] Hmmm [01:31] wallyworld__: So I'm not sure if products go from non-commercial to commercial, or if they are created as commercial [01:32] StevenK: i *think* they are created as non commercial and then the subscription is added by an admin [01:32] ? [01:33] * StevenK can't see what method on IProduct is called for that. [01:34] i don't think it's on IProduct [01:35] StevenK: didn't you add a factory method to create a subscription? [01:35] That just creates a CommercialSubscription [01:36] We don't have CommercialSubscriptionS{et,ource}, just it. [01:37] i think redeemSubscriptionVoucher does it perhaps? [01:37] which is on IProductPublic [01:37] Have you managed to read that function without your eyes bleeding? [01:37] not yet [01:38] yes, it looks like that is the one [01:39] Right [01:39] The garbo job doesn't handle that process either [01:40] not sure what to do when the subscription expires though. do we remove the policy? [01:40] Right, that's the tricky question. [01:40] wgrant: ? ^^^^ [01:42] wallyworld__: We don't know how that will work yet. [01:42] wallyworld__: This is just for the initial migration. [01:42] ok, just checking :-) [01:42] At what stage we create the policies once the New World is complete, we don't know. [01:43] lifeless: helleau [01:43] bigjools: hellauo [01:44] like the accent [01:44] what do you want to know then? [01:45] were they useful, what interface did they have, would you use one again, and whatever you think I should know about them [01:46] wgrant: so, for StevenK's branch, do we want to add a proprietary policy when a voucher is redeemed? [01:46] wallyworld__: No, proprietary doesn't exist yet. [01:46] wallyworld__: We'll redefine at what point any policies are created at all later on. [01:47] The first step is to get bugs onto the new model, which just needs these two created at all times. [01:47] ok. the current work i've done in the ui shows proprietary as an option in the disclosure picker for commercial projects [01:47] This is just a dirt cheap way to achieve that. [01:47] bigjools: can go voice if that would be easier ;) [01:47] lifeless: can do [01:47] lifeless: I'll make it quick - I am starving :) [01:48] skype/hangout? [01:48] StevenK: r=me [01:49] lifeless: I'll skype you [01:50] lifeless: well I would do if you were on [01:50] ah skype is being crap [01:52] I despair about my ADSL [01:53] I despair about random desktop lockups [01:54] lifeless: In your case, the A is not Asynchronous, but Abominable. [01:56] lifeless: frozen [02:00] lifeless: for f.... [02:03] lifeless: reliable internets in NZ then? [02:03] will be if you answer, switching to tablet's skype rather than faildsl [02:04] lifeless: not geting your call [02:04] tried to call you and you didn't answer either :) [02:44] StevenK: Any test failures from that branch yet? [02:44] StevenK: I'd expect some in test_bug_mirror_legacy_access_triggers [02:48] wallyworld__: are you at home? [02:48] yeeees? [02:49] * wallyworld__ is nervous now [02:49] wallyworld__: eeeexcellent, can I pop round in a bit and print and scan sumting pleez :) [02:49] it will cost you [02:49] wine? [02:49] I can pay in wine [02:49] we'll discuss it [02:51] ooerr missus [02:51] * bigjools out [03:19] could someone check out my headers and see if im missing anything when doing an authenticated call to me?ws.op=searchTasks? http://pastebin.ubuntu.com/873995/ [03:20] it times out, but doing an anonymous call works [03:25] i dont have OAuth realm="https://api.launchpad.net/" but that is optional according to the oauth specs [03:26] wgrant: StevenK: what would i need to do to get a review of a branch which merely renames stuff, but the line count is high [03:26] timeout -> do you get an OOPS in the response headers ? [03:26] wallyworld__: Beg. [03:26] lifeless: yea [03:26] ... which is ? [03:26] * wallyworld__ is on his knees [03:27] https://code.launchpad.net/~wallyworld/launchpad/fix-sharing-terminology-948083/+merge/96506 [03:27] lifeless: one sec :) [03:27] lifeless: apparently a code update is in progress at this very moment [03:28] im not sure how long those take [03:30] stokachu: you're testing on staging ? [03:30] lifeless: yea [03:30] try qastaging [03:30] ok [03:30] it should be up [03:31] lifeless: OOPS-7f4c62461a1ee30fcb05df7f03a8a3ef [03:31] lifeless: fwiw i just tried on production and it worked [03:33] Heh, GitHub seems to have lost all their CSS [03:33] they had ssh problems earlier [03:33] stokachu: Bug searches except in small projects will tend to time out on staging. [03:33] wgrant: So I have an attribute that requires view to see and edit to change. Do I need a decorator for that? [03:33] And qastaging. [03:33] StevenK: That applies to most attributes in Launchpad. [03:33] StevenK: It goes on IBugView [03:34] We don't usually use interfaces to specify edit permissions. [03:34] wgrant: ok, is this not the correct approach i should take then? [03:34] wgrant: Okay, so the IBugEdit I'm making is pointless? [03:34] StevenK: Although in some simple cases (eg. if launchpad.Edit grants edit privileges on everything that launchpad.View can see) you can use interfaces. [03:34] StevenK: IBugEdit would conventionally be things that you require launchpad.Edit to see. [03:34] stokachu: I don't know... what are you trying to do? :) [03:35] wgrant: There's a bunch of methods you need .Edit to call [03:35] wgrant: im just trying to get my profile and see bugs (public/private) im assigned to [03:35] StevenK: Then they belong on IBugEdit [03:35] so far ive just been investigating searchTasks [03:35] Also, it should be illegal to have two people talking with the same first two letters. [03:35] then ill append like &assignee='adam-stokes' ? [03:35] One of you needs to go awawy :) [03:35] LOL [03:36] it is getting late i could go play some dawn of war [03:36] stokachu: So, if you just want assigned bugs, specify assignee=, yeah [03:36] Let's get stub in here too! [03:36] Then we can have three! [03:36] stokachu: By default it will do things like search by bugs you've commented on. [03:36] stokachu: Which can be very very slow. [03:36] wgrant: ah ok [03:37] stokachu: so yeah, thats a simple code/performance issue for us [03:37] so with assignee can it be just my name? like searchTasks&assignee=adam-stokes [03:37] stokachu: however [03:37] User: Anonymous User [03:37] DB id: Anonymous [03:37] stokachu: Probably needs to be assignee=/~admin-stokes [03:37] -> it hasn't logged you in [03:37] Er [03:37] s/admin/adam/ [03:37] wgrant: ok :) [03:38] lifeless: ah i didn't get new credentials on qastaging [03:38] can never have to many staging servers i guess :) [03:38] stokachu: so you probably should if you want confirmation that the auth works ;) [03:38] lifeless: haha ok ill re-auth, in your opinion is it better to test against qastaging or staging? [03:39] i dont want to anger the gods by messing with production [03:40] you can use either [03:40] ok cool.. thanks for everyones help :D [03:41] wallyworld__: I think this branch I'm in the middle of will turn out bigger. [03:43] wallyworld__: addPillarSharee -> sharePillarInformation? [03:43] I've already tried to make nouns out of these; it doesn't work well :) [03:43] wgrant: that sounds reasonable [03:43] i have bigjools here at the moment [03:43] wallyworld__: Why did you remove 2011 from the copyright in sharingservice? [03:43] because i only started that file in 2012 [03:43] But it's a renamed file :-) [03:44] the original file was started in 2012 also [03:44] Not according to the copyright :-) [03:44] it was just a drive-by [03:44] the copyright was originally wrong [03:44] cut and paste [03:44] from elsewhere [03:44] Fine [03:44] I was mostly trolling [03:45] :-) [04:06] Hmmmm. [04:07] A bunch of methods that are in IBugEdit are mutators for properties in IBugView. [04:07] I might split them all out into IBugPrivacy [04:14] confused [04:14] StevenK: What? [04:17] wgrant: So private and security_related are defined in IBugView, but there are few methods in IBugEdit that opperate on them [04:18] Same for duplicateof, which is in IBugView, but markAsDuplicate is in IBugEdit and marked as a mutator of it. [04:20] StevenK: Right, that's normal. [04:21] Or does lazr.restful really not like cross-interface mutator_fors? [04:21] It should work... [04:21] As long as you define them in the right order/ [04:22] wgrant: pyflakes is complaining [04:22] Oh? [04:22] lib/lp/bugs/interfaces/bug.py:840: undefined name 'private' [04:22] lib/lp/bugs/interfaces/bug.py:841: undefined name 'private' [04:22] And so on [04:23] Well, yes, that's not going to work. [04:23] IBugView['private'] [04:23] This is Python, not magic :) [04:23] haha [04:23] But, it should be! [04:24] bigjools has left the building [04:26] Right, fixed.\ [04:26] So now pyflakes is happy. [04:26] * StevenK tries 'make' [04:28] @mutator_for(IBugView['private']) [04:28] File "/home/steven/launchpad/lp-sourcedeps/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/interface.py", line 552, in getDescriptionFor [04:28] raise KeyError(name) [04:28] KeyError: 'private' [04:28] IBugPublic['private'] [04:29] Oh damn it, I should have realised that myself. [04:32] wallyworld__: back now and I can't stop thinking about your special offer === jtv1 is now known as jtv [04:33] Oh, bwahaha [04:34] * StevenK tries VERY hard to not quotefile that comment [04:34] wgrant: http://pastebin.ubuntu.com/874044/ Zope hates me [04:34] bigjools: i've been thinking about you too [04:34] and other things beginning with w [04:35] watermelon! [04:35] StevenK: One of your interfaces probably inherits another one. [04:35] StevenK: That is wrong. [04:35] And bad and evil. [04:35] And won't even work. [04:35] I don't think [04:35] so [04:36] wgrant: http://pastebin.ubuntu.com/874045/ [04:36] Perhaps the wrong interface is inherited IPrivacy? [04:36] StevenK: Recall that one of those interfaces redefines bits of IPrivacy [04:37] So declaring access on both won't work. [04:37] Right, and linked_branches is probably in the exactly same boat [04:37] I would assume so. [04:44] wgrant: Working, but I'm not sure about IBugPublic inheriting from IPrivacy. [04:45] It's fine if it's OK. [04:45] wgrant: are you or anyone else able to see private bugs assigned to me specifically? [04:45] i keep pulling up 0 bugs [04:46] stokachu: How are you filtering to private bugs? [04:47] 'request' => 'GET /1.0/~adam-stokes?ws.op=searchTasks&assignee=https%3A%2F%2Fapi.launchpad.net%2F1.0%2F%7Eadam-stokes [04:47] thats my urlencoded request being made, after ive retrieved my oauth token [04:50] http://pastebin.ubuntu.com/874054/ heres my full response request [04:50] stokachu: https://launchpad.net/api/1.0/~adam-stokes?ws.op=searchTasks&assignee=https%3A%2F%2Flaunchpad.net%2Fapi%2F1.0%2F~adam-stokes shows a private bug for me (it uses normal webapp cookies, so you can use your browser rather than an OAuth client) [04:50] So I suspect you're not authing properly. [04:52] stokachu: Alternatively, are you sure you authorized your token for private data? [04:52] hmm I have a header defined with my Authorization credentials [04:52] i used the change anything button [04:52] That should be fine. [04:52] What happens if you just "GET /1.0/~" with appropriate auth headers? [04:53] Hm [04:53] I'd expect the Authorization header to start with 'OAuth ', I think. [04:54] so OAuth realm is not optional? [04:54] wgrant: I'm getting a bunch of ForbiddenAttribute failures, including one that is in the ZCML, but not the interface. [04:54] http://pastebin.ubuntu.com/874061/ here is the response to a /~ [04:56] stokachu: That's a response to /~adam-stokes [04:56] stokachu: Which? [04:56] Bah [04:56] StevenK: Which? [04:57] Oh, hahaha. maybeConfirmBugtasks is listed in the ZCML, not in the interface, but is defined in the model. [04:57] stokachu: 'OAuth realm' isn't an atom. 'OAuth' is the authorization scheme, realm is a field like oauth_nonce [04:57] wgrant: ForbiddenAttribute for things like name, tags, date_last_updated [04:57] You may be able to omit the realm field [04:57] StevenK: On what operation? [04:58] current_bug.date_last_updated = now [04:58] ForbiddenAttribute: ('date_last_updated', ) [04:58] StevenK: Right, you need to define set_schema or set_attributes [04:58] wgrant: http://pastebin.ubuntu.com/874063/ :( [04:58] stokachu: That's more like it [04:58] wgrant: I should keep the enormous list of set_attributes for lp.Edit? [04:58] stokachu: Prepend 'OAuth ' to your Authorization value [04:59] StevenK: Probably, yes. [04:59] StevenK: Note that some of them are obsolete. [04:59] Particularly on BugTask [04:59] Attributes that don't exist any more. [04:59] I'll try setSchema IBugView [05:00] No. [05:00] Unless all those attributes were formerly settable. [05:00] But I suspect they were not. [05:00] You spoil all of my fun [05:00] See Branch for a reasonable example of how to do things. [05:00] But okay, grabbing the list [05:02] I think it's only hits{,timestamp} [05:02] Oh, community{score,timestamp} [05:03] See what I mean? [05:03] And a few others [05:03] Right, so there's 9 left [05:03] I think that's a reasonable list [05:03] Most should have setters. [05:03] So not too many should need naming explicitly. [05:05] SUCCESS! [05:05] Hm, this branch isn't too bad. It's just going to be hell to get reviewed. [05:05] stokachu: It works better when you specify an auth scheme? :) [05:06] wgrant: lol sooo much better [05:06] wgrant: My branch that makes ProductSet add AccessPolicy fails with missing db perms. :-( [05:06] StevenK: I am unsurprised. [05:06] StevenK: Grant INSERT on AP to anything with INSERT on Distribution or Product [05:06] Problem solved. [05:07] That's disgusting. [05:07] But yeah. [05:09] Looks like just write and updateremoteproduct [05:09] Oh, bah [05:10] Forgot to add maybeConfirmBugtasks to IBugSomething [05:33] wgrant: I think I've got it working. [05:33] Which is kind of awesome, considering what I did to IBug. [05:35] :) [05:36] Sadly, the branch is 1215 lines, but I don't think that can really be helped given just how big IBug is. [05:38] Indeed. [05:38] I won't kill you. [05:38] Oh, are you offering to review it, then? :-) [05:38] Depends on when it's proposed :) [05:38] I'll be reading the diff anyway... [05:39] Passed tests: 1159 [05:39] Failed tests: 2 [05:39] 1 failed test due to the fact that the stream is still being written to, and another which I've fixed. [05:40] I think that's enough to prove the changes are okay enough to toss at ec2. [05:42] Sounds reasonable. [05:43] I'm not in danger of the instance terminating after 20 minutes because make failed, or getting the dreaded message that it tried to send a mail and failed because the message was so damn large. [05:48] wgrant: https://code.launchpad.net/~stevenk/launchpad/force-ibug-into-line/+merge/96513 [06:02] linux_source_bug_dupe.syncUpdate() [06:02] ForbiddenAttribute: ('syncUpdate', ) [06:02] I can't see syncUpdate() in either the model or interface, but the ZCML allows it. [06:03] StevenK: Done [06:03] syncUpdate is probably an SQLObject method [06:03] Anything using it is probably wrong [06:03] Delete the call and see if the test still works. [06:04] There's a bunch of them [06:04] Does the test explain why they're there? [06:05] I've not checked, just noticed they were failing [06:05] No [06:05] So, delete them. [06:05] Flushes are largely implicit now. [06:05] wgrant: maybeConfirmBugtasks is in the model, and was in the ZCML, so by rights it should be on the interface? [06:07] StevenK: You're probably not going to be confirming tasks due to an edit if you can't edit the bug. [06:08] Hmmm, it's only called by the bug model itself [06:08] Not by BugTask? [06:09] No [06:09] So kill it from the interface. [06:09] Are there any plans to rename the arm restricted arch family to armel? [06:10] It's unprecedented manual SQL with minimal benefit. [06:10] Doable, but there are no plans. [06:11] How much trouble would it be to do? With it being 'arm' currently, I have to special case the arch in our automated project setup code. [06:11] wgrant: personIs{DirectSubscriber,AlsoNotifiedSubscriber,SubscribedToDuplicate} were also declared under IBugSet, their docstrings meantioned IBug and they were in IBug's ZCML. [06:12] bigjools: Around? [06:12] yes [06:12] wgrant, or alternatively, would it be possible to introduce armel and just leave arm there as legacy? [06:12] cody-somerville: No [06:13] bigjools: UPDATE processorfamily SET name='armel' WHERE name='arm'? [06:13] (see above) [06:13] * bigjools tries to think what that will break [06:13] The DAS archtags are already all armel. [06:14] yeah [06:14] The only people it can break are commercial admins. [06:14] And I don't care about them :) [06:14] pfff [06:14] wth can see proc family? [06:14] But PFs should not change. :-( [06:15] y'know [06:15] this should not change, as StevenK says [06:15] Why not? [06:16] It's wrong, and nothing except the UI and API use the anem. [06:16] name [06:16] why is there not an armhf? [06:16] There is an armhf. [06:16] arm is armel [06:16] armhf is armhf [06:16] oh ok - feh I was looking at dev data not prod [06:17] 6 | arm | ARM Processors | The ARM family of processors, primarily used in embedded applications. | t [06:17] 9 | armhf | ARM hard float processors | ARM processors with an FPU | t [06:17] File "/home/steven/launchpad/lp-branches/force-ibug-into-line/lib/lp/bugs/model/bug.py", line 2071, in _markAsDuplicate [06:17] duplicate_of.maybeConfirmBugtasks() [06:17] ForbiddenAttribute: ('maybeConfirmBugtasks', ) [06:17] wgrant: ^ [06:18] That is what prompted me to add it to the interface. [06:18] StevenK: Ah, of course. It's called from the other bug. [06:18] Also, does anyone know why https://api.launchpad.net/1.0/unr/+milestone/unr-9.10 is returning a HasBug object instead of Milestone object? [06:18] wgrant: ok do it [06:18] cody-somerville: launchpadlib is thpecial [06:19] wgrant: Okay, I'll re-add it to the interface. [06:19] wgrant, lol. say again? [06:19] cody-somerville: unr is a project group [06:19] Project groups are evil. [06:19] Don't do it :) [06:22] wgrant: So I drop IBugAdmin, where should heat_last_updated and setHeat() go? [06:23] StevenK: Well, I was going to say to just drop them from the interface. But setHeat seems to be entirely unused. [06:23] Except by tests. [06:23] And heat_last_updated is used by garbo [06:23] Yes. [06:23] what download limits does internode have? [06:23] But not through the interface. [06:23] bigjools: About 10 different ones. [06:24] wgrant: Right, so I should remove the setHeat tests and then IBugAdmin can just die? [06:24] Ranging from probably 10GB to a terabyte. [06:24] oh well, hope I don't blow this place's limit [06:24] You can probably ring up and ask [06:24] StevenK: Assuming the tests aren't doing anything interesting, yep. [06:25] wgrant: It seems to just be doc/bug-heat.txt [06:27] wgrant: So I can drop those sections of the doctest [06:27] StevenK: Sounds reasonable. [06:29] cody-somerville: Should be renamed. [06:29] wgrant, Okay, thanks. [06:30] wgrant: is there a broadband comparison/guide site that lists all providers instead of just the crappy ones? [06:31] Haha [06:31] bc.whirlpool.net.au [06:31] Although I can't talk to it... [06:32] Whirlpool down. That's amusing. [06:32] broadbandguide is a joke [06:33] Looks like it's been down for about 15 minutes. [06:33] bigjools: I heard broadband down there is a joke anyway ;) [06:33] How odd. [06:34] nigelb: an ISP walked into a bar ... [06:34] hehe [06:35] wgrant: Now where people complain about NBN? [06:35] Coalition headquarters? [06:35] Haha [06:36] Which is even more pointless than complaining about it on Whirlpool. [06:39] odev setup, why u wear out my ssd [06:51] wgrant: I've had to remove a bunch of bug-heat.txt [06:57] Ah crap. I need IHasLinkedBranches on IBugView due to linked_branches, but that causes a test failure because linkBranch and unlinkBranch require Edit [06:59] StevenK: Probably best to have IHasLinkedBranches inherited by IBug directly, and name the attributes in configure.zcml [07:01] bigjools: Whirlpool is back, btw [07:01] wgrant: yeah looking at it [07:02] wgrant: it's a bit confusing for a newb [07:02] I dunno what half the terms are [07:04] bigjools: Did you search? [07:05] StevenK: for what? [07:05] bigjools: From bc.whirlpool.net.au there's a "or your can search for ..." which is a link [07:05] wgrant: http://pastebin.ubuntu.com/874142/ [07:06] wgrant: Oh, this is not helped that IBugView has its own definition of linked_branches [07:06] is it worth doing the phone via internode? [07:07] wgrant: And IBugView['linked_branches'] is subtly different [07:08] StevenK: don't see that link [07:08] internode is expensive [07:08] bigjools: Oh, bc.whirlpool -> QLD, search [07:08] StevenK: ta [07:08] wallyworld__: you're a stuck record :) [07:09] but it's true [07:09] it's your money i guess [07:09] wallyworld__: I'm comparing all on offer before I decide [07:10] Just note that TPG couldn't run a reliable network if their lives depended on it. [07:10] np. i'm just trying to stir up StevenK [07:10] wallyworld__: +1 [07:10] StevenK: tpg has been 10000% reliable for me [07:10] not one issue [07:10] only 10000? [07:10] fast and unlimited [07:11] what d/l speeds? [07:11] And yet you ping timeout at least 4 times a day and your IRC nick keeps growing underscores. [07:11] pwned. [07:11] hah [07:12] 10000 is not enough of a superlative, let's say 1000000% [07:14] bigjools: i get about 9000Mbps [07:14] StevenK: i don't timoeout [07:15] i disconnect when i change rooms etc [07:15] nothing to do with tpg [07:15] sometimes my wireless router craps out also [07:15] tpg is innocent [07:16] they are popular on whirlpool [07:16] for good reason [07:16] Yes, they're cheap and crap. [07:18] why do you say crap? [07:18] evidence? [07:18] StevenK: be specific? [07:18] wgrant: Right, the only thing I can't figure out how to solve with my current horrible solution is the @accessor_for() for getVisibileLinkedBranches() [07:18] i know several people who use them [07:18] and they are all very happy [07:19] I have had a few friends here who got random dropouts, slow speeds, and the support would follow a script [07:19] I miss my UK ISP [07:20] It depends on region. [07:20] i reckon 9000Mbps is ok given i'm a fair way from the exchange [07:20] They're massively oversubscribed on most Melbourne nodes. [07:20] and have a rats nest of cabling to the socket [07:20] People struggling to get 1Mbps [07:20] Don't know how it is in QLD [07:20] StevenK: What about it? [07:21] StevenK: This should be no different from before. [07:21] wgrant: http://pastebin.ubuntu.com/874160/ [07:22] wgrant: I had to remove linked_branches from IBugView, since IHasLinkedBranches also defines it. [07:22] StevenK: Just move it into IBug [07:22] I did === almaisan-away is now known as al-maisan [07:22] What's with that insane "Please Zope" thing, then? [07:23] wgrant: Because with linked_branches in IBugView and IHasLinkedBranches under IBug, Zope de-pramed its toys with the protectName traceback === al-maisan is now known as almaisan-away [07:24] StevenK: That's why I said to move it to IBug [07:24] Oh, move everything, right. [07:24] And getVisibleLinkedBranches ? [07:24] Everything that conflicts. [07:27] Right, that looks ... acceptable. [07:28] Certainly a fuckload better than it was. [07:29] Hey wow, due to ripping out most of bug-heat.txt, I think I can remove dangerousGetAllBugs() [07:30] Did you only rip out the relevant bits? [07:31] wgrant: http://pastebin.ubuntu.com/874168/ [07:31] It uses setHeat with gay abandon [07:32] StevenK: And the award for test that is rendered useless for no good reason goes to... [07:32] Oh, so I can just remove the whole thing then? :-) [07:32] I suggested that you rip it out, not remove every block that uses setHeat and then mangle the expected output of every other block to fit :) [07:33] wgrant: Oh, you wanted me to delete the entire test? [07:33] No [07:33] I thought so. :-( [07:33] Delete the *relevant* bits of the test. [07:33] Not delete parts of it, and render the rest useless. [07:34] Well, setHeat is still on the model, so I can just rSP call it [07:34] Where that is unavoidable, yes. [07:34] In most cases you don't need to use setHeat, however. [07:34] I don't see how [07:34] Given my reading of the test [07:35] -First, we'll set the heat of all bugs so that none of them are out of [07:35] -date. [07:35] That doesn't not require setHeat [07:35] Oh, IStore(Bug).set(heat=0) ? [07:35] I *think* [07:35] It's been a while [07:35] Read the test. [07:35] It cares about the timestamp. [07:35] Not the heat value. [07:37] (Your solution is almost valid, but it's probably not what the test wants to test.) [07:39] Right, so I should set all heat_last_updated = now [07:39] Most likely. [07:40] * StevenK tries to work out how to do that with Storm [07:41] And then dangerousGetAllBugs() can die too [07:41] IStore(Bug).find(Bug).set(heat_last_updated=UTC_NOW) [07:45] stub: Hai, can you look at https://code.launchpad.net/~stevenk/launchpad/db-add-information_type/+merge/96290 ? [07:51] k [07:55] StevenK: Is it possible to describe what an InformationType is? [07:55] Its a very 'long cat is long' type comment description at the moment :-P [07:58] 'Enum describing what type of information is stored and used to determine how the access policy is applied', or something like that if that isn't quite riht [07:59] I do see that it will not be changing frequently, so I guess adding yet another column to Bug and Branch is fine. [07:59] It will change infrequently and we're about to stop doing searches over Bug anyway :) [08:00] It replaces the private and security_related flags. === almaisan-away is now known as al-maisan [08:08] wgrant: Do you agree with stub's comment for the two columns? [08:08] I haven't looked at the MP. [08:08] * wgrant looks. [08:09] I meant the SQL comment above [08:09] 'Enum describing what type of information is stored and used to determine how the access policy is applied' [08:09] There's a better one in the MP [08:09] Right, I'll update the comment [08:11] stub: Thank you for the review. [08:11] np [08:13] stub: FYI, https://code.launchpad.net/~wgrant/launchpad/bugtaskflat-db/+merge/96520 will be happening once StevenK's stuff is finalised and migrated on prod. [08:13] Be afraid. [08:14] I feel like a lot of conversations in this channel should be preserved in a QDB. [08:18] Think I've seen most of that already. [08:18] Yeah === al-maisan is now known as almaisan-away [08:20] stub: We can't set user-specific connection limits in pgbouncer, can we? [08:20] stub: That was garbo's problem. [08:22] Bug #949740 [08:22] <_mup_> Bug #949740: No connection timeout makes transaction timeout unreliable < https://launchpad.net/bugs/949740 > [08:23] Ah, interesting. [08:23] * stub looks into user-specific connection limits [08:23] Although there's no timeout in garbo. [08:23] stub: I couldn't see any way to do it. [08:23] But you may have more luck. [08:25] We can, but we need to define it as a separate database (so connection to session_prod_garbo rather than session_prod) [08:27] But we still need nagios checks that the pools are not full, so I don't think we gain much except complexity. [08:27] Well... maybe protect against processes with potentially unlimited numbers of connections like the Librarian or django servers [08:36] stub: hey [08:37] ho [08:37] stub: so, cynthia is having a terror night, going to pass on catching up if thats ok [08:37] No probs. Want to make a time for tomorrow? [08:37] stub: lets give it a shot :) [08:37] my 4pm would be great [08:38] You're at +13 now? [08:38] stub: https://bugs.launchpad.net/launchpad/+bug/948786 - I spoke with Tom; if we automate master-slave cutovers we can allow safer upgrades of pg etc rather than squashing it into the schema change window [08:38] <_mup_> Bug #948786: add an option to full-update.py to not restart pgbouncer when finished < https://launchpad.net/bugs/948786 > [08:38] stub: yeah [08:38] (+13) [08:40] Ok. In bed by 1:30am :) [08:40] *snort* [08:40] ok, /wave then see you tomorrow [08:42] lifeless: Switching master/slave is pretty heavyweight, and if all you are doing is upgrading PG to a new point release way overkill. [08:43] lifeless: Also, I certainly would want to defer any automated switchover to PG 9.1 + new replication [08:44] Switchover with WAL streaming involves a bit of rsync. [08:44] But I trust it to be a bit more reliable. [08:44] lifeless: But it might just be a big catch-22, as switching master/slave roles requires a bit of downtime [08:46] A neutered version of readonly mode would work extraordinarily well here :) [08:46] (at least until we are able to use transaction pooling across the board, at which point we could pause db access, wait for all transactions to complete or kill them, switch roles, reconfigure pgbouncer, reenable access) [08:48] stub: Can't we tell eg. pgbouncer to hold new connections, wait a few seconds for old ones to clear, then do the switch? [08:48] That sounds nearer-term than letting us switch to transaction mode. [08:48] (although I just opened a bug that would cause requests to OOPS if their connection attempts timed out) [08:48] wgrant: Er, so, I think we should allow date_last_updated [08:48] wgrant: steven@liquified:~/launchpad/lp-branches/force-ibug-into-line% grep Forbidden lp.log | cut -d\' -f2 | sort | uniq -c | sort -k1 -rn | head -n 1 [08:48] 300 date_last_updated [08:48] StevenK: What broke? [08:48] LOTS [08:49] eunhelpful [08:49] wgrant: Thats what I wrote. But it requires transaction pooling mode, as pgbouncer only notices when a transaction completes in that mode. It won't interrupt transactions in session mode as that might be interrupting cross-transaction resources like cursors or temporary tables. [08:50] wgrant: Not sure how to get a list of failing tests from a subunit stream. [08:50] stub: Bah, I meant s/pgbouncer/haproxy/ [08:50] stub: To avoid that issue [08:50] Still requires that we turn evil scripts off. [08:50] Yes. And appservers, as they don't reopen connections each transaction [08:51] oh nm. [08:51] Make haproxy hang, wait $TIMEOUT, stop pgbouncer, switch, reconfig pgbouncer, start pgbouncer, unhang haproxy [08:52] (hopefully timeout will be <5s by then :)) [08:52] you can replace haproxy with pgbouncer there [08:52] Can we? [08:52] oic. [08:53] Maybe if we taught the appserver that connection start hangs were to be expected. [08:53] But ideally we'd somehow just hang master connections. [08:53] Since slave connections aren't a problem. [08:53] good morning [08:54] wgrant: They are, which is why this is rather pointless for the most part. When we do a point release, we do it everywhere. [08:54] pg point release upgrade [08:54] wgrant: Failing tests: http://pastebin.ubuntu.com/874240/ [08:54] stub: But we don't have to do them all at the same time. [08:54] No. If we want, we could do it three times with more downtime. [08:54] Assuming we rework our store management to be HA [08:54] Rather than failxploding [08:55] stub: LP should pick an available slave or the master if no slave is available. [08:55] Then we can murder slaves at will. [08:55] And nobody will notice. [08:55] StevenK: Tracebacks? [08:55] s/s// [08:56] With a suitably complex system, we might be able to catch all the states. But a system that complex will have more overall downtime because it is more complex. [08:56] wgrant: I can copy the log to carob/something else if you like. [08:56] StevenK: No. How widespread are the calls? [08:56] wgrant: It's 2.3MiB uncompressed. [08:57] wgrant: Like the count above, there are 300 calls to set date_last_updated that fail. [08:57] StevenK: There are 300 tests that fail. [08:57] StevenK: They won't all be distinct calls. [08:58] No, there are 165 tests that fail, 300 calls. [08:58] s/calls/callsites/ [09:00] A fair whack of them are in doctests. [09:00] Where they are calling it directly. [09:00] StevenK: cat stream | subunit-filter --no-skips | subunit-ls [09:00] StevenK: Setting it directly!? [09:01] stub: How is basic client-side DB failover complex? :) [09:01] wgrant: Yes, setting date_last_updated directly. [09:01] File "/home/steven/launchpad/lp-branches/force-ibug-into-line/lib/lp/bugs/subs [09:01] cribers/buglastupdated.py", line 31, in update_bug_date_last_updated [09:01] current_bug.date_last_updated = now [09:01] That's another callsite. [09:01] ForbiddenAttribute: ('date_last_updated', ) [09:01] StevenK: or load it into testr [09:01] StevenK: Oh, directly except not. [09:02] * lifeless goes again (someone rang our house phone... at 10pm!) [09:02] StevenK: That function is probably the source of 99% of the exceptions. [09:02] It is not [09:02] From unittests, sure. doctests are fiddling with date_last_updated directly [09:03] $ bzr grep '\.date_last_updated =' | grep -v tests | grep -v doc | grep -v translations | grep -v stories | grep -v answers | wc -l [09:03] 1 [09:03] wgrant: scripting haproxy + pgbouncer was what I was talking about. [09:03] (and that one is update_bug_date_last_updated) [09:04] wgrant: Which is probably that callsite then [09:04] wgrant: Right, but I can't rSP that :-( [09:05] StevenK: Why not? [09:05] wgrant: client-side db failover? yer, but that is for unexpected slave outages. For expected outages, we just do the redirections in pgbouncer. [09:05] subscribers do it occasionally [09:05] I don't like using rSP in non-test code [09:05] StevenK: Sometimes it's justified. When there's a single callsite that's outside the model class only because someone thought subscribers were awesome, I think it's justified. [09:06] stub: Why do them in pgbouncer? ISlaveStore can pick the first available slave. IMasterStore can pick the master, or display a "come back in 10 seconds" page if it's not available. [09:08] wgrant: Because then the clients need to know where all the slaves actually *are* so it can make that choice. And because one use case is for reshaping the cluster, that means pushing configuration changes out and having them take effect. [09:10] stub: Well, yeah, would need some means for determining the master dynamically. Not entirely sure how that would work. It may be by pgbouncer, but it would be nice to not have to reconfig pgbouncer in a reshape situation. [09:12] We have to reconfigure something. pgbouncer is easy because it is running on the same host as we are run these admin scripts from. [09:13] At minimum we have to reconfigure the databases to have a new master, so the ideal situation is that the appservers get that from postgres. [09:13] But that seems like it could be hilariously awful. [09:14] Yer. complex, leading to downtime because this sort of thing always breaks unless you invest hugely in all the testing. [09:14] Anyway, I mainly suggested the sensible client-side slave fault tolerance as a solution to the 3x pg upgrade issue. [09:15] If we can take a slave down without anybody noticing, things become easier. [09:15] Except the other half of the connections that need a master :) [09:16] It means that we no longer need to SSH across 3 hosts during downtime. [09:17] And it paves the way to full nodowntime :) [09:17] We can take a slave down with nobody noticing with pgbouncer. We just redirect launchpad_prod_slave_1 to a different database and deal with the existing sessions. [09:18] And that is easy to automate, and even easier if we are running in transaction mode and have server connections returned to the pool after every transaction. [09:19] That handles scheduled downtime, indeed. [09:20] And admittedly the DB servers have been rather more reliable than the rest. [09:21] But it seems sort of odd that we have this nice replicated DB setup, yet if any one of the three nodes goes down, LP goes down with it. [09:23] It takes a lot of work and resources to do automated failover properly. It is pretty rare to be able to justify those sorts of resources, and because of this more often than not you end up causing downtime than stopping it. [09:26] redundant slaves is the easier problem, and can be handled by the connection pool [09:26] (in pgbouncer's case, it involves putting haproxy between pgbouncer and the databases) [09:30] Perhaps. [09:31] But we want things like SSO to get their noses out of our DB, which really requires us to have good availability. [09:31] Read availability, that is. [09:38] wgrant: can you recall the lp way to disable anchor? add "disabled" to the class? or something like that? [09:40] wallyworld__: This isn't client-side rendered? [09:40] wgrant: yes, but i need to dynamically disable a link depending on what the user clicks [09:41] wallyworld__: The bug "Also affects" links use private-disallow, so perhaps there's not a real convention. [09:41] wallyworld__: Or do you mean something other than hiding? [09:42] wgrant: i want the "Submit" link to be there but greyed out until the select at least one info type [09:43] Do we have any existing things like that? [09:43] All I know of is disabled buttons. [09:43] ah, the auto bug/branch linking code disables links [09:43] i'll look at that [09:44] Mm [09:44] Sort of. [09:44] They're not really disabled. [09:44] link.addClass('invalid-link') [09:44] Just greyed out and making odd popups. [09:44] clicking is disabled and they are grey [09:44] perfect :-) [09:45] well, not sure about clicking, but i;ll handle that in my code. the css class works [09:48] Is this going into the picker infrastructure, rather than something specific to disclosure? [09:48] We already have about 4 submit patterns in pickers. [09:48] Would be nice to not introduce more. [10:01] hi all, I've got a couple of launchpadlib/API questions: given a project name, is it possible to find out if that project has any distro packages in Ubuntu? [10:02] I've read the api docs, but I couldn't figure that one out === matsubara-afk is now known as matsubara === mrevell_ is now known as mrevell [12:22] hi all, would anyone have an aswer to the earlier question re: the Launchpad API? [12:22] hi all, I've got a couple of launchpadlib/API questions: given a project name, is it possible to find out if that project has any distro packages in Ubuntu? [12:22] I've read the api docs, but I couldn't figure that one out [12:22] hi dpm [12:23] hey jelmer :) [12:23] dpm: I'm pretty sure the reverse is possible (ubuntu pkg -> project), not sure about project -> ubuntu pkg [12:23] * dpm looks at the reverse in the API docs, which might be a workaround [12:26] dpm: lp.distributions["ubuntu"].getSourcePackage(name="bzr").upstream_product [12:26] hm, at a quick glance I cannot see how the reverse is possible from https://api.launchpad.net/devel.html#source_package [12:26] ah, cool, thanks jelmer :) [12:26] I was looking for project instead of product [12:27] product is the old name for project [12:51] sinzui, around? did you get a failure email from that ec2-land you did for me yesterday? === almaisan-away is now known as al-maisan [13:42] I'm getting an error submitting a branch using either pqm-submit or ec2 land, has anyone seen this one: https://pastebin.canonical.com/61922/ [13:44] heh, my AWS newsletter includes a new instance type that might work for our buildbot stuff: m1.medium. It's half the cost of the m1.large we're using now. [13:47] benji: your bzr is too old for your version of bzr-pqm [13:48] jelmer: how does one go about rectifying that? [13:48] benji: install a newer version of bzr (are you on precise yet?) [13:49] jelmer: lets see... the VM I'm using at the moment is oneiric [14:01] Morning, all. [14:01] morning [14:02] deryck: on the new hardware this morning? [14:02] rick_h_, indeed [14:02] rick_h_, feels nice :) [14:02] as shiny as hoped? [14:02] hehe [14:02] yeah, definitely. very nice laptop/ [14:15] deryck: convoy has no release? [14:15] deryck: Daviey is packaging it for precise for the maas project [14:16] deryck: how has your team managed all the questions/issues re private bugs in the last few weeks ? [14:16] deryck: can you see private bugs or do you like me see oops ? [14:17] flacoste, I don't think it has a release. rick_h_ do you know for sure? [14:17] czajkowski, no, I can't see them either. Usually, you just have to ask follow up questions to the person to figure things out. [14:18] flacoste: no release? it's in a daily build setup by StevenK and we use that [14:18] deryck: am fairly stuck on https://answers.launchpad.net/launchpad/+question/188450 [14:18] flacoste: it's not on pypi, but I need to bug the guys about that one [14:19] rick_h_: it's not on lp either (i mean there are no releases on lp either) [14:19] rick_h_: how's pycon? [14:19] pasting for bot link: OOPS-dd4660fd4f3a19b43f9d6649dc99eda [14:19] flacoste: there's a recipe to build everyone uses (landscape has one, etc) but yea, no releases done [14:19] flacoste: leaving for pycon this afternoon, so hopefully awesome! :) [14:20] oh the bot doesn't giving me a link here. hmmm [14:20] what's the oop site URL? new lappie and all. ;) [14:20] deryck: https://lp-oops.canonical.com/openid/+login [14:24] czajkowski, so I would have thought it would have redirected to the correct URL then said unauthorized to you and I. [14:24] czajkowski, maybe this is different now with purple squad's new work. [14:25] sinzui, can you see bug 924475? [14:27] sinzui, I guess you didn't see my question earlier? did you get a failure email from that ec2-land you did for me yesterday? [14:31] I do indeed have a failure === jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett | Firefighting: - | Critical bugtasks: 4*10 [14:38] salgado, did you get the email. I read it 10 minutes before you pinged me, not I do not see and it is not in my trash? [14:39] sinzui, no, I didn't get it [14:39] :( [14:39] * sinzui keeps looking === al-maisan is now known as almaisan-away [14:53] jcsackett: ping, can you peek at this when you get a sec please? https://code.launchpad.net/~rharding/launchpad/fix_cal2/+merge/96584 [14:58] rick_h_: r=me. [14:58] jcsackett: ty [14:58] aren't you supposed to be pyconning? :-P [14:59] I leave this afternoon [15:06] I have an API question [15:06] if I have a Branch object from launchpadlib, is there a way to get a list of all the branches that have been previously merged into it? [15:09] salgado, I found the email, well in a manner of speaking. I can see the email and will forward it to you. I do not know where thunder(shite)bird moved it too) [15:09] salgado, one failure. Looks easy to fix [15:09] sinzui, heh, that's fine. thanks a lot! [15:10] salgado: mails now being sent and post done [15:11] czajkowski, thanks! the blog post will be held until everything is live, right? [15:15] salgado: the blog post is just a copy of the mail annoucment you sent me [15:15] is thre another more detailed post ? [15:16] czajkowski, mrevell said in the email that he'd be writing the blog post as well. but maybe the idea is to have two posts: one with the warning and another one when the changes are live? [15:17] salgado: thats how I read it [15:47] lifeless: ping [15:49] wgrant: ping [15:53] mhall119: wrong times for both of them [15:53] hmmm, who's awake at this time of day? [15:54] * mhall119 will try the on-call reviewer [15:54] jcsackett: ping [15:57] oh sweet, LP support for work items! [15:57] czajkowski: \o/ [15:58] has that been deployed yet? [15:58] nope not yet [15:59] mhall119: pong. [16:01] jcsackett: if I have a Branch object from launchpadlib, is there a way to get a list of all the branches that have been previously merged into it? === matsubara is now known as matsubara-lunch [16:01] mhall119: not sure. one sec. [16:01] * jcsackett takes a look at API docs [16:02] the API will get me branches currently in MPs, but I don't know about past-merged MPs [16:02] and I guess it wouldn't be able to give me branches merged manually, without an MP [16:03] mhall119: I'd expect that to be the job of bzr history more than LP api [16:03] rick_h_: yeah, me too, it's just that I'm already using launchpadlib to generate stats about MPs [16:04] and trudging through bzr branch history is likely to be orders of magnitide sloper [16:04] slower [16:04] mhall119: you can get merged MPs from the API. so you could construct a script that gets all the MPs for the branch with a date_merged, and get the branches from that. [16:04] mhall119: yea, I guess need to split bzr merge vs MP records in LP. [16:04] mhall119: but it's likely to be convoluted. [16:05] ok, thanks, that's all I needed to know [16:05] and yes, it'll only get you branches that were merged with an MP. if someone just merged in a branch on their own that's not going to show up. [16:09] sinzui: i see there is a pending request for ui review from you on a loggerhead change. https://code.launchpad.net/~cruzjbishop/loggerhead/ui-changes/+merge/95090 [16:09] did you actually want to weigh in on that, or shall i just move it along? it's a switch of browser-specific rounded corners to the generalized version. [16:11] I don't see why I need to review, but... [16:12] sinzui: you don't. [16:12] i'm asking if you want to. [16:12] I think we can drop -webkit-border-radius -moz-border-radius because firefox and webkit switched to the official property about 3 years ago [16:12] i don't think it's necessary, and was prepping to just move it along. === Ursinha is now known as Ursinha-lunch [16:13] sinzui: dig. i'll move this into approved and get it merged into loggerhead. [16:14] jcsackett, could you bear having another look at https://code.launchpad.net/~linaro-infrastructure/launchpad/workitems-widget/+merge/94790 for me? We found just another little bit we needed to add. [16:15] jcsackett, FTW.., why do we have border-radius at 4px, 5px, and this example of px. There can be only one [16:15] sinzui: FTW? or WTF? [16:15] I think 5px is the standard [16:16] Consider -2 WTF, consider -1 FTW [16:17] I think the CSS in the review should use 5px for the radius. I think Lp's own CSS also need fixing and we might be able to delete a few rules [16:18] jcsackett: sorry, added sinzui because I wasn't sure on how only some corners were rounded and if that was something that should be ui reviewed/standardized [16:19] jcsackett: and sinzui was listed in the wiki for ui reviews :) [16:19] rick_h_, that is ancient history...but you were right to get me to look at the oddness [16:19] sinzui: ok, i'll leave a comment to the effect of plz change to 5px. [16:19] or you can, if you like. [16:20] * sinzui could land an rs branch to just fix all the references tomorrow [16:20] sinzui: it'd be two branches, right? one for LP and one for loggerhead. [16:21] jcsackett, yes. The logger head fix can be made in the branch that is being reviewed [16:22] sinzui: dig. just wanted to make sure i was on the same page as you. [16:24] I feel like I am flipping though a book at the moment. I hate editing moin [16:24] adeuring: chat? [16:25] When I am lord god-emperor of the Earth, the Universe, and Canada, Moin syntax will be 100 papre-cut offense. [16:25] sinzui: if you are creating new pages, allenap created a method to use rst. [16:25] or you could update the entire page you're editing and use his method. :-P [16:25] second offenders will get lemon juice on the cuts [16:26] sinzui: +1 [16:26] jcsackett, i am editing information is a large table [16:26] jcsackett: I just wish rst table headers had consistent meaning. [16:26] mabac: this branch is getting sort of unwieldy. are you merging in branches approved in other MPs as well? [16:28] abentley: +1 [16:28] jcsackett, sorry about that. yes we thought that the help-popup belonged in this branch for landing [16:28] jcsackett, and we really believed this branch was done. [16:28] jcsackett, which is not a (good) excuse for messing it up [16:28] mabac: i'll take a look at these later revisions. but an ongoing branch for weeks is a recipe for problems. :-) [16:29] jcsackett, I promise that I've learned a lot in the process? :D [16:29] mabac: :-P [16:29] jcsackett, but yes, I'll keep it neater next time [16:31] mabac: i'm seeing changes to the Makefile in those revisions? it looks like you've got a weird diff going on with rick_h_'s recent js_watch work ... [16:32] rick_h_: did your js_watch stuff ever land? i don't see it in devel, but i think i'm seeing it in mabac's diff. [16:32] jcsackett, I can see that we merged devel just recently. perhaps something more changed since then. I'll take a look [16:35] mabac: i've sorted it. i was looking at changes in the recent revisions, which includes when rick_h_'s stuff was introduced; there's an update from devel in those revisions i missed. [16:35] jcsackett, ok good [16:36] mabac: b/c of that, though, i can't get a diff of just the things you've added that need to be looked at. can you generate a diff of just the new stuff and throw it up on pastebin or something? [16:37] otherwise i'm going to have to look at the whole diff again, which i can do today but not anytime soon. [16:37] jcsackett: yes, the js watch stuff landed [16:37] jcsackett, is it better if I merge from devel and push again? [16:38] mabac: no, that won't sort it. :-) [16:38] jcsackett, ok diff coming right up [16:38] mabac: if you don't have time to do that, it's ok. i can review this today, just not now. [16:43] jcsackett, http://paste.ubuntu.com/874794/ [16:43] jcsackett, thanks [16:46] hullo. [16:46] popey: boo [16:47] I saw czajkowski's announce about blueprints and wondered if it would adversely affect http://status.ubuntu.com/ (given that site directly plucks work-item text in specially formatted ways from blueprints) or whether you've all thought about that and I should stop worrying ☺ [16:47] salgado: ^^^ [16:51] mabac: perfect, exactly what i needed. [16:51] reviewing now. [16:55] popey, we planned it so that for users there are no visible changes (i.e. they will continue to enter the work items in a text field using the exact same format as before) and the tools will keep working (there was a trivial change to launchpad-work-items-tracker which I did to make it work against the new API and it was accepted yesterday) [16:56] mabac: new revisions look fine. thanks. [16:58] salgado: groovy [16:58] jcsackett, great thanks for reviewing it again :) [16:59] jcsackett, will you make another go at landing it too? [17:08] abensure. mumble (sorry for the delay...) [17:13] mabac: sure. [17:14] jcsackett, actually, let's wait a bit. see discussion on #launchpad-ops :) [17:20] salgado: got it. :-P === matsubara-lunch is now known as matsubara [18:01] morning [18:13] lifeless: good day [18:18] hi czajkowski === Ursinha-lunch is now known as Ursinha [20:26] jcsackett, do you have time to review this long branch: https://code.launchpad.net/~sinzui/launchpad/remove-register-branch/+merge/96649 [20:34] sinzui: sure, i can review it. it's mostly big b/c you're ripping stuff out, right? [20:34] Yes -800+ lines of unused views and tests [20:36] sinzui: cool. i'll be happy to review it. these things needed killing for awhile. [21:09] sinzui: r=me. [21:09] and now i need more coffee. :-P [21:09] thank you === matsubara is now known as matsubara-afk [21:43] lifeless, or deryck can I have your +1 to try this script on staging, then production: http://pastebin.ubuntu.com/873679/ [21:44] sinzui: the statement timeout is too high; needs to be 2000 to be sure we won't cause timeouts [21:44] okay [21:45] if someone had some spare time could they answer https://answers.launchpad.net/launchpad/+question/190103 so I can book mark it as well for me to learn. [21:45] thank you [21:46] sinzui: other than that +1 - or perhaps we should drop the rows? [21:48] lifeless, we do not as yet (merge doesn't and the merged team continues to exist as a historical record if the team leaves before being merged). I am pondering deletion though; only someone with db access can see the data [22:10] lifeless: 2000? Er, what? I thought the policy was 2500. [22:11] pretty sure it was a round 2 seconds [22:11] For manual SQL? Look it up, it's 2500. [22:12] whats the wiki pge [22:13] No fair if you edit the wiki page to claim you're right. [22:14] "The write lock holding portion of the script must complete in 2.5 seconds to avoid causing timeouts in appserver requests." [22:14] https://wiki.canonical.com/InformationInfrastructure/OSA/RequestLogging/LP/SQL [22:21] StevenK: I considered it, but it wouldn't be fair. [22:21] however, I probably should drop it down to 1s [22:22] In either case, I'm right. :-) [22:22] twitch [22:26] wgrant: http://pastebin.ubuntu.com/875283/ [22:45] wgrant: http://pastebin.ubuntu.com/875299/ [23:24] sinzui: YOU ROCK [23:24] sinzui: thanks for lp:~sinzui/launchpad/remove-register-branch [23:25] I said you'd be interested :) [23:27] :) [23:45] jelmer: does any of these errors look familiar for recipe builds? https://bugs.launchpad.net/launchpad-buildd/+bug/940157 [23:45] <_mup_> Bug #940157: PPA builders have corrupted filesystem < https://launchpad.net/bugs/940157 > [23:46] bigjools: I don't recall having seen those for any recipe builds [23:48] jelmer: ok. Very weird then. [23:49] bigjools: Given that no other package has ever seen it, it seems unlikely that it's not a package bug. [23:49] wgrant: quite possibly yes [23:49] but I want some opinions from more people first [23:50] Everyone agrees that there's no reason to believe it's not a package bug. [23:50] who is everyone? [23:50] infinity, me [23:50] ie. most of the relevant people who weren't away when this came up originally. [23:51] I agree too, but I still want to ask around [23:52] poolie: ping [23:52] how rude [23:52] bigjools: I agree too btw [23:53] someone even check the first accused build; there's nothing wrong with the FS [23:53] I'm not quite sure why gustavo doesn't add more output, -v to rsync or cp, strace or whatever [23:53] And palmer, vernadsky and rothera aren't exactly untested machines. [23:53] wgrant: I've been meaning to ask - can receipe builds install from PPAs? [23:54] Perhaps Go is really so amazing that it exposes bugs that no other piece of software in the world does. [23:54] elmo: Yes. [23:54] wgrant: so, umm [23:54] wgrant: why are they running non-virtualized? [23:54] isn't that a gaping security hole? [23:54] elmo: It's a non-virt PPA, I assume. [23:54] ah, hmm [23:55] Possibly because ARM, but I'm not quite sure. [23:55] ok, so normal receipe builds will only happen on a PPA? [23:55] Yes. [23:55] cool, I'll stop freaking out quite so much [23:55] We're not entirely stupid. [23:55] I hope. [23:56] speak for yourself. wheeeeeeee [23:56] elmo: furry muff, ta