[00:07] sinzui: It is not an error if the DSP has no publishing_history [00:58] StevenK, Really? How can it be legitimate if it has not even gotten to the pending state. How do we ensure that https://launchpad.net/ubuntu/+source/html5-browser (ubuntu/html5-browser) is not accepted as an Ubuntu package? [00:58] My latest branch touches on that for bug targetting. [00:59] But only in terms of erroring, not restricting vocab results. [00:59] lifeless, I never want to see an open-team membership notification. I was tempted this weekend to hack a fix for team mail notification so that I can have a rule to delete them [00:59] I will see that in a few minutes then [01:00] sinzui: Hmm. You may be right. I will investigate today. [01:00] sinzui: https://bugs.launchpad.net/launchpad/+bug/815623 [01:00] <_mup_> Bug #815623: Mail notifications sent to team admins on joins / leaves to open teams < https://launchpad.net/bugs/815623 > [01:00] sinzui: I have a branch that nukes the notifications [01:00] sinzui: it has one wart [01:00] rs=me [01:00] But it looks like some poeple want the notification [01:00] sinzui: it squelches notification about folk that become / leave the admins of the team, which is still actually restricted; I think thats undesirable but not a Big Deal [01:01] lifeless, yes. that is a bad [01:01] sinzui: so I'd like your input on two things [01:01] sinzui: does the admin changes not being notified matter ? [01:01] sinzui: -and- [01:01] lifeless, this wart is one if underlying issue team notifications were not an easy fix. [01:02] sinzui: do we care about the folk that care about these spam messages ? [01:02] sinzui: I can fix it to retain admin notifications by checking the status field of the teammembership change, I suspect. [01:03] sinzui: but I don't know if we need to do that, or if we can file a high bug to come back and reinstate just those messages. [01:04] lifeless, I am not aware of a team admin that wanted the those notifications. I would not want to put a switch in. I think this class of issue is really structural subscriptions for team, which is a request of sorts in our bug tracker already [01:05] sinzui: so you support - squelch the notifications; when we do explicit subscriptions to team changes, then we can default a subscription for non-open team admins, default to no subscription for open team admins, and moderation etc will still be automatic ? [01:05] lifeless, yes [01:06] do you happen to know the bug # for subscriptions-to-team-changes ? [01:07] I can find it quickly [01:08] lifeless, bug 507515 [01:08] <_mup_> Bug #507515: want to subscribe to changes in a team < https://launchpad.net/bugs/507515 > [01:08] thanks [01:08] lifeless, you may be fixing the root cause of bug 285414 [01:08] <_mup_> Bug #285414: There should be an option so that team admins don't receive notifications < https://launchpad.net/bugs/285414 > [01:08] I will comment to this effect in the bug, file a bug about no admin notifications on open teams, and land my branch. [01:10] I think I am [01:11] lifeless: I just think landing your branch will lead to more bugs along the lines of "I used to be notified, now I'm not." [01:12] StevenK: which we'll dup onto bug 507515 [01:12] <_mup_> Bug #507515: want to subscribe to changes in a team < https://launchpad.net/bugs/507515 > [01:12] Fairy nuff [01:26] sinzui: can admins make someone else an admin ? [01:27] No. [01:27] no. I can find the bug. [01:27] thats ok [01:27] it means that this notification change w.r.t. admins is ok [01:27] because there is also no action the admins can take [01:27] in fact, we shouldn't be notifying admins in that case, we should be notifying the owner. [01:27] They can demote others. But that's it. [01:30] sinzui: https://bugs.launchpad.net/launchpad/+bug/816196 [01:30] <_mup_> Bug #816196: new / deactivated admins of teams are not notified to the owner < https://launchpad.net/bugs/816196 > [01:30] sinzui: and https://bugs.launchpad.net/launchpad/+bug/815623/comments/8 [01:30] <_mup_> Bug #815623: Mail notifications sent to team admins on joins / leaves to open teams < https://launchpad.net/bugs/815623 > [01:31] thanks [01:39] sinzui: you might want to add tags to the new bug, I'm not sure what it should have [01:46] lifeless, done: this is my short list of team email issues: https://bugs.launchpad.net/launchpad/+bugs?field.tag=teams+email&field.tags_combinator=ALL [01:47] cool [01:52] sinzui: surely we've fixed https://bugs.launchpad.net/launchpad/+bug/120037 as a drive-by by now ? [01:52] <_mup_> Bug #120037: Action reported in email as done by owner rather than administrator < https://launchpad.net/bugs/120037 > [01:53] lifeless: hi [01:53] hi poolie [01:53] why use a pretty printer at all, rather than just having recommendations for code style? [01:54] poolie: I thought I covered that earlier in the thread; because its easier for contributors. [01:55] hm maybe i misunderstood [01:55] i think bouncing changes because they're not pep8 clean raises the bar [01:56] lifeless, maybe. I thought there were one or two emails that were hard coded to admin [01:56] would using a pretty printer make things easier? [01:56] poolie: we could eliminate all code review formatting discussion [01:56] poolie: that seems easier to me. [01:57] if it happens at pqm post-commit, and if the contributor uses 200-character wide lines, reviewers will still complain [01:57] or tell them to run the formatter themselves [01:58] oh, i guess that was mentioned [02:03] poolie: are you against the use of a pretty printer ? [02:05] only slightly, because it seems to have some risk of breaking things and i don't think it gains very much [02:05] i am definitely in favor of making it easy to contribute, and in particular avoiding unnecessary rejections [02:08] lifeless, I am not sure that bug is fixed. There are rules to fallback to an historic membership.reviewed_by. [02:12] lifeless, NM. I think this issue was in TM.setStatus() and enforce its use now. I marked the bug released. [02:13] sinzui: \o/ cheap bug fixes ftw === almaisan-away is now known as al-maisan [04:02] does the API show hidden messages ? [04:12] i wonder how many hours a year the buildds spend "Building database of manual pages ..." [04:12] it's about 25% of the pbuilder run time on my machine... [04:19] wgrant: StevenK: either of you know why we do this - https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-2032CD17#longstatements [04:19] the packagebuildjob query [04:20] buildfarmjob [04:20] I meant [04:20] lifeless: To show the failed/successful build counts, I guess. [04:21] wgrant: I'm unclear what you mean in https://bugs.launchpad.net/launchpad/+bug/711073/comments/3 [04:21] <_mup_> Bug #711073: Archive:+packages (Archive:+index) timeouts < https://launchpad.net/bugs/711073 > [04:21] are you saying 'the queries in this bug are fixed but others are a problem' [04:21] or [04:21] ??? [04:21] lifeless: +index and +packages were 99% < 5s. [04:22] Not fantastic, but not terrible. [04:22] ok [04:22] and bug 758258 is in-progress with no assignee ? [04:22] <_mup_> Bug #758258: buildfarmjob schema is inefficient for reporting < https://launchpad.net/bugs/758258 > [04:23] Fixed. [04:24] wgrant: did you land the new columns & garbo jobs? [04:24] No. Was going to do it soon before the DB deploy to minimise conflicts, but then got unexpectedly moved to Disclosure when Yellow was prematurely moved to maintenance. [04:25] There's only a couple of code changes needed in addition to the DB changes. [04:25] Most of them landed two months ago. [04:26] so, new world order, schema and code separate ;) [04:26] Yes. [04:27] I never planned to land them together. [04:27] bug https://bugs.launchpad.net/launchpad/+bug/816233 [04:27] <_mup_> Bug #816233: Archive:+packages timeouts in buildfarmjob status summaries < https://launchpad.net/bugs/816233 > [04:27] They did not need to be. [04:27] https://code.launchpad.net/~wgrant/launchpad/flatten-sprb [04:27] Actually flattens SPRB and BPB. [04:28] And mostly works. [04:28] * wgrant links it to the bug. [04:29] bah [04:29] edge needs to begone [04:29] Ah, already is linked. [04:29] Yes. [04:29] We should do that. [04:29] Or just hit people. [04:30] losa are chewing through things now [04:30] which reminds me [04:36] hmm [04:36] jtv: around ? I'm guessing too early. [04:39] ahha [04:40] stub: I've figured out one of our timeouts... due to a unique constraint. [04:40] Oh? [04:43] https://bugs.launchpad.net/launchpad/+bug/816235/comments/1 [04:43] <_mup_> Bug #816235: Bug:EntryResource:linkBranch timeouts < https://launchpad.net/bugs/816235 > [04:44] (I've added a second comment there now) [04:57] poolie: hi [04:57] hi hi [04:57] in bug 721166 yesterday [04:57] you pushed a branch [04:57] and linked it to the bug [04:57] <_mup_> Bug #721166: Tests sometimes fail on EC2 due to _LockWarner garbage < https://launchpad.net/bugs/721166 > [04:57] the link timed out on you [04:58] did you retry it, or had you done a commit --fixes lp:721166 ? [04:58] istr getting a javascript error while establishing the link [04:58] with no details [04:59] it was OOPS-2032F24 [04:59] why, did it leave debris behind? [04:59] hell orobot? [04:59] I'm trying to confirm a theory behind the cause [04:59] if I'm right, we may have an explanation for a wide range of sporadic failures, and more data on why backend scripts with long (>1 second) transactions are bad) [05:00] the other possibility is that the scanner updates the branch row... that may be it [05:00] i actually wondered whether to mention it and then decided that "i got a js error with no oops" was boring [05:01] ok; can i do anything to help settle it? [05:03] I've got it sussed I think [05:03] https://bugs.launchpad.net/launchpad/+bug/816235 [05:03] <_mup_> Bug #816235: Bug:EntryResource:linkBranch timeouts due to branch scanner transaction length < https://launchpad.net/bugs/816235 > [05:03] it reminds me a bit of some other bug i filed [05:03] i forget the number [05:03] where what should have been a trivial action timed out after 9 seconds [05:06] yes [05:06] I've been of the opinion that backend scripts are a problem for a while [05:07] but 'contention' was never a very satisfying explanation [05:07] hm [05:07] i can't actually find that [05:07] and I can hardly expect to get a cultural change to something that isn't quite as easy on the basis of something that isn't satisfying :) [05:08] is there {waves hands} a way to run the branch scanner at a different isolation level or something? [05:08] wouldn't help [05:08] this is because we have foreign keys [05:10] the appserver commit cannot progress until it obtains a lock preventing anyone deleting or changing the id on the branch row. [05:11] pg does row locks, I don't think it does row,column locks [05:11] there are some design things we can do [05:12] putting status-tracking data in separate tables, for instance [05:12] but the biggest is short transactions [05:12] UbuntuSourcePackageNameWidget :( [05:12] Can I add a precommit hook forbidding any diffs matching [Uu]buntu? [05:13] no [05:13] you need a cultural change I think [05:13] or rather, yes, if you give me the db one for pqm at the same time ;) [05:13] Heh [05:13] anyhow, the things i saw, of should-be-tiny transactions timing out, would be consistent with that kind of long running lock holding transaction [05:14] perhaps also with other things like a thrashing db, but in that case i presume we'd notice [05:14] indeed [05:15] Anybody up for reviewing two ~100 line branches? [05:15] sure [05:15] https://code.launchpad.net/~wgrant/launchpad/transitionToTarget-validate_target/+merge/69189 and https://code.launchpad.net/~wgrant/launchpad/launchpadtargetwidget-prefix-respect/+merge/69187 [05:30] lifeless: another one for the 'long transactions are evil' bucket. [05:30] yes, exactly [05:30] that and DRI :P [05:33] lifeless: not sure why the branch scanner needs long transactions. It could probably run in autocommit mode even, provided it remembered to insert rows in earliest -> latest revision order. [05:34] It already partially commits sometimes. [05:34] Because if the initial scan fails it needs manual cleanup. [05:36] it probably updates the last_scanned field too early [05:36] or something [05:43] stub: how hard would it be to make the transaction reaper kill *updating* transactions over 2.5 seconds long ? [05:44] Goodbye bug modifications. [05:48] lifeless: We could kill transactions that have been trying to execute an UPDATE for longer than 2.5-3.0 seconds (0.5 seconds range, as the field we need is only updated every 500ms). Not sure if that would help anything though. [05:48] lifeless: We can't kill transactions that issued an update earlier in their transaction and might be blocking others. [05:49] stub: because idle in transaction might be a non-mutating request ? [05:49] yes [05:49] stub: we could introspect pg_locks ? [05:50] Better off doing all this with query timeouts. [05:50] yeah [05:50] was really just speculating [05:50] Less chance of blowing off your whole leg. [05:58] see -dev for some rambling about this :) [06:00] oh, i remember [06:01] lifeless: the thing i was thinking of was the failure of the ssh server to talk to the internal xmlrpc [06:01] xmlrpc was failing to look up a branch (iirc) [06:05] stub: francis is excited by our progress :) [06:05] ah, it's not a readonly query though [06:08] which bug ? [06:08] https://bugs.launchpad.net/bugs/294726 [06:08] <_mup_> Bug #294726: "ProtocolError for xmlrpc.lp.internal:8097/branchfilesystem" when pushing a branch < https://launchpad.net/bugs/294726 > [06:08] i replied [06:09] especially #4 [06:14] lifeless: these are interesting cases because of course a person is quite likely to want to link a branch, or push it again, at the time it's being scanned [06:14] yup [06:15] Or create an MP... [06:15] That's where I see it most. [06:15] right [06:15] also these seem like fairly interesting things to put into a message queue or into a non sql database [06:15] though, probably that's not the best short term step [06:16] Launchpad has very few good short term steps :) [06:16] lifeless: Bug is the other table with similar issues to Branch. Want to move heat and heat_last_updated to a separate table, probably the other timestamps and caches too. [06:16] yup [06:17] (I agree, I haven't thought deeply about where or how. [06:17] e.g. should different fields be in separate tables [06:17] or a k:v table we get row locks on [06:17] or ... [06:17] i saw your comment reccently about "generally lp doesn't want ...options" [06:17] which i agree with in many ways [06:17] however it was in the context of notifications [06:18] and i do think a fb or g+ style "do/don't tell me about X action" per user would be ok, don't you? [06:18] perhaps [06:18] however, we have a bug asking for reasonably comprehensive subscriptions to teams [06:19] which is worth doing directly I think, rather than an awkward one off in a corner [06:19] what does "subscription to teams" mean? [06:19] telling you about changes to memberships? [06:19] and possibly other metadata === al-maisan is now known as almaisan-away [06:25] stub: 0.0.2 of pgbouncer is in the download cache for you [06:25] ta [06:26] stub: I have to run, but I'd love to know whats left to do a no-op downtime run ? [06:26] stub: I am guessing docs and landing last nights branch ? [06:26] lifeless: We need to push out configs to make everything go via pgbouncer. [06:27] lifeless: Apart from that, we can test now. Last nights branch is an improvement, but not necessary. And docs I prefer to write after I've confirmed everything works rather than having to adjust them for reality later :-) [06:27] \o/ [06:27] pgbouncer configs is the slow step [06:27] I've blogged about this, as promised [06:28] so users won't be shocked [06:28] Does this mean we need downtime for all downtime services in the next couple of days? [06:28] (librarian being the main problem) [06:29] ah the uploader ? yes we do [06:29] Think librarian actually reconnects happily - did on staging anyway when I ran this stuff. [06:29] We restarted it two weeks ago without hiccups, but still, something to consider. [06:30] stub: wgrant is referring to migrating it to use pgbouncer [06:30] stub: uploads to it are not load balanced at the moment [06:30] Ahh, yes. But outages will be minor (test connectivity first, then bounce). [06:31] Is the upload port going via haproxy? [06:31] Not yet. [06:31] Firewall rules are unclear. [06:32] it shouldn't be a problem being generous with access to the upload port. Not much you can do apart from try and fill up our disk. [06:32] There is no try [06:32] They *can* [06:33] uploads go via appservers [06:33] so an interrupted librarian results in an appserver OOPS [06:33] its not a big deal [06:34] Uh. [06:34] Yes, let's pretend that scripts don't exist :) [06:35] they can be queisced prior to the librarian bounce [06:35] True. [06:35] stub: sounds like the config update is the critical path thing then; if you need anything from me on it, let me know, otherwise its in your court [06:36] So, codehosting, ftpmaster, librarian, mailman are the downtime services I know of. [06:36] But mailman doesn't have DB access, I suppose. [06:57] hi lifeless—almost 9AM here now. What's up? [07:05] Good morning. [07:06] good morning rvba! [07:07] StevenK, wgrant: mind if I update dogfood and run generate-contents-files? [07:07] Please do. [07:12] rvba: dogfood conflict in package cloner. Were you running an experimental branch there? [07:21] danilos: Hi! ;) [07:25] morning, former teammates === wgrant changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 238 - 0:[#######=]:256 [07:26] Hi jtv! [07:26] jtv: What do you think should be done to fix bug 504062? [07:26] <_mup_> Bug #504062: External suggestion "Used in" links to disabled template <404> < https://launchpad.net/bugs/504062 > [07:27] * jtv looks [07:27] jtv: Should non-admins not see the suggestion at all or just don't get a link to the template? [07:28] jtv: sorry, was afk ... I might know what the problem is ... [07:28] jtv: how can I take a look? (I don't have access to DF) [07:28] rvba: ah. Hang on, have to look at something else now. [07:28] spiv: re your question on bug 813349, people filed a couple of nit type bugs [07:28] <_mup_> Bug #813349: hard to get from mp to per-revision diffs < https://launchpad.net/bugs/813349 > [07:28] like your link colour is wrong [07:28] personally i wouldn't block on them [07:29] henninge: istm the reason for showing suggestions from disabled templates is mostly obsolete thanks to sharing. [07:30] henninge: we could try getting some data — how often are those translations both different and useful? [07:30] If the answer is "rarely," then the solution is simple. [07:31] (Well, apart perhaps from lag between the time the template is disabled and the next update of the suggestive-templates cache). [07:32] rvba, here's the conflict: http://paste.ubuntu.com/652250/ [07:34] henninge: if it turns out we're getting real benefit from disabled templates, then we'd have to worry about disabling links. I even think Zope would do that for us if this were a permission error rather than a 404, but at a performance cost. [07:35] good morning [07:35] HI adeuring! [07:35] hi henninge! [07:36] jtv: It's Julian SQL optimisation from yesterday. It looks to me like he tried it manually on DF, then he got it properly landed because (I think) all the code that causes the conflict is there already. [07:36] jtv: Hm, I'd like to keep this simple ... [07:36] rvba: in that case, I should be able to revert & pull. That's great. [07:36] jtv: I think so yes. [07:37] henninge: I sympathize, but if it were truly simple maybe this bug would've been fixed by now. :) [07:37] jtv: Before I read this I would have expected translations from disabled templates to not show up [07:38] Yes, I thought they were excluded from the suggestive-templates cache. Have you been able to reproduce the problem? [07:38] jtv: on qastaging, yes. But I am not sure about the result being cached. [07:39] jtv: how long does stuff live in that cache? [07:39] poolie: hmm, it'd be nice to have those bugs linked to 813349 perhaps, but probably not important if they're not blockers [07:39] also, I never worked with the cache before. [07:40] henninge: the suggestive templates cache is rewritten in its entirely… I think daily at the moment, but may be much more frequently. We could afford to do it much more often than that. [07:40] poolie: my main concern is that the bug doesn't languish indefinitely as Fix Committed. [07:41] henninge: it's just a database table containing the ids of POTemplates that can be used to get suggestions from. And it does indeed exclude disabled templates. [07:41] (Just checked) [07:41] spiv so fortunately 'new bugs' should find them [07:41] henninge: so whenever a template is disabled, this problem can exist until the cache is rewritten. [07:41] ah! [07:41] henninge: (Also, I see it hasn't been updated for usage enums) [07:42] henninge: The bug description therefore would seem a little out of date. [07:42] yes [07:43] jtv: so the problem is really just about how to deal with an invalid cache. [07:43] Yes, it's cache invalidation — one of the two things that are hard. [07:43] ;) [07:44] We could afford to update the cache whenever anyone deactivates a template. [07:44] IIRC it takes only a fraction of a second to find all those templates; it's just that we were doing it multiple times for every translations page. [07:45] If the suggestions queries also join in the POTemplate, we could just add a redundant iscurrent check. [07:46] spiv if only there was automatic connection between related bugs :) [07:46] jtv: yes, those were the two things I was considering right now. [07:46] Alas, the query doesn't include POTemplate. [07:47] jtv: I just wasn't sure how expensive the joining would be. [07:47] And this is velly velly pelformance-snsitive. [07:47] yup [07:47] So best not add that join. [07:47] jtv: but removing that entry from the cache should be simple. [07:48] What's really weird by the way is that the code in _getExternalTranslationMessages seems to fetch POTMsgSet ids and call them "pots." [07:48] spiv, added [07:48] Maybe that's just someone who wasn't familiar with the conventional abbreviations. [07:49] henninge: it looks like someone's made a mess of that code. There's also an over-long line of SQL, with the keywords not capitalized. That smells of someone just trying something out and accidentally landing it as soon as it worked, without review. [07:49] poolie: thanks [07:50] henninge: ah no, it's lifeless code. [07:51] jtv: how is that different? [07:52] This is hard to say diplomatically. [07:52] In Launchpad we have traditionally focused on producing code that's easy to read. [07:52] Robert leans more towards keeping it easy to write. [07:52] ... [07:52] So I often struggle reading his code. [07:53] For that reason I don't think it saves any time, but opinion seems divided on the subject. [07:53] ... [07:53] Still, you would have expected a "make lint." [07:53] very much so [07:53] * spiv offers hennige a …, for variety [07:53] thanks spiv ;) [07:53] Also, try .. [07:54] jtv: how do you think I typed it? :) [07:54] spiv: I do apologize. :) I only checked Henning's. :) [07:54] Or perhaps I should say: ☺ [07:54] I ♥ [07:54] … [07:54] ⁺¹ [07:55] * henninge learnt something [07:55] "You've taken your first step into a larger world…" [07:55] ¹²³¼½ [07:56] I already know those … [07:56] s/know/knew/ [07:57] * spiv offers jtv <" [07:57] Oooh! Thank you! [07:57] You know what's going to happen now, don't you? [07:57] “Quote-mania.” [07:58] ¡Por supuesto! ;) [07:58] wøñđêřfüł [08:01] morning bigjools [08:02] morgen [08:02] bigjools: I'm just messing around on dogfood right now, so beware [08:02] jtv: eek :) [08:04] Ah-HAaah. No "idle in transaction" no more for generate-contents-files. [08:06] Deployments to cocoplum do take downtime, right? [08:06] Yes. We'll probably need one in the next day or so for config updates. [08:07] stub: Any idea on the timing of that? [08:07] wgrant: nup [08:07] asap, but out of my hands now (apart from nagging and whining) [08:11] hloeung: about https://code.launchpad.net/~jtv/lp-production-configs/config-810989/+merge/68867 — shall we just merge & deploy it then? [08:11] Hi [08:12] hi mrevell [08:13] wgrant: any idea whether staging and qastaging have the ubuntu-contents dir? [08:13] In other words, whether we ever run generate-contents-files on them (whether from cron or for testing)? [08:13] jtv: They should not. [08:14] Then I'll not worry about it. [08:14] AFAIK nobody has ever been foolish enough to run a publisher on them. [08:17] huwshimi: thanks for the icon by the way. I'll just bung it into l/c/l/images and update the code to use it. [08:17] jtv: Great, no problems. === almaisan-away is now known as al-maisan [08:22] jtv: so, should I put the removal into the admin view code (which AFAIK is the only place where templates can be disabled) or in the model code (i.e. introduce a setter). [08:23] jtv: I'd prefer model code I think [08:23] Absolutely. [08:23] cool, great to see we agree … [08:24] At this point it may possibly be worth reviving the utility. [08:26] jtv: which utility? [08:26] I originally wrote a utility for this cache, but IIRC the reviewer thought it was too much. [08:27] Up to you to draw the line of where it deserves its own utility though. [08:28] jtv: oh yes, I noticed there is no model code for it. [08:28] Exactly. [08:29] If you want to add that, just be sure to define the template id as the primary key. [08:29] I don't think we really need it though. [08:30] I don't either ... [08:33] quick question [08:33] getUtility(IStoreSelector).get(MAIN_STORE, DEFAULT_FLAVOR) [08:34] is now equivalent to [08:34] IMasterStore(something) === gmb changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: gmb | Critical bugs: 238 - 0:[#######=]:256 [08:34] right? [08:34] oh, I don't have "something" here ... [08:40] henninge: no, default flavor is IStore(something). May be a class. [08:40] IMasterStore is the master flavor. [08:40] I see [08:46] gmb: Thanks for the re-review and ec2 submission [08:46] np [09:38] bigjools: you know how I said 10m was ok for a backend script the other day ? [09:38] yeeaasssss? [09:39] I was wrong; see my performance-tuesday mail from today :) [09:39] * bigjools reaches for razor blades [09:39] * bigjools is not sure whether to use them on himself or lifeless [09:40] jtv: I pinged you when I was looking at some locking / concurrency/contention innards of postgresql [09:40] jtv: for a teddy bear, but I sorted itout [09:42] lifeless: Well, it should be OK for some things :) [09:43] lifeless: I'd say that doing txns in less than 2.5 seconds is lala land [09:43] unless the magic performance fairy visits the packagecopier [09:44] and somehow we get divine intervention in the soyuz schema and all the code gets rewritten to avoid races and contentions [09:44] Yes. [09:45] Some sorts of transactions are OK. [09:45] Teddy bear..? [09:53] jtv: someone to talk about a problem with [09:56] bigjools: so, if we can't get to 2.5 seconds consistently, we can never get to 5 seconds reliably if there are any common things being changed. [09:56] bigjools: its not something we can wave a wand to have happen, but its definitely doable. [09:57] lifeless: I am OTP but see our conversation this time yesterday [09:57] for all the scary reasons why this is hard [09:57] tl;dr = consistency issues [09:59] bigjools: sure, so the key question is how we can reduce the risk / find ways to assess it. [09:59] yup [09:59] we kinda ruled out using staging tables [10:00] which means fixing the rest of the code. And we're not sure what needs fixing. [10:00] the first thing that occurs to me is divide and conquer: [10:00] break the problem code (whatever it is) into a few categories: [10:01] - readonly code that we can tolerate stupidity in - things with ephemeral output like queuing decisions or web ui [10:01] - readonly code that must be accurate like archive publication and contents generation [10:02] - writing code (which we assume we cannot tolerate stupidity in) [10:02] then, look for queries that reference distroseries - probably a few hundred tops that do that; toss them into each of those categories as much as possible, and things that are ok we can just move on. [10:03] yeah, not saying it's impossible, just a tedious and error-prone job [10:04] I'm interested in re-assessing our model to prevent this crap [10:04] we need a discussion at the next T'Dome [10:05] the basic issue is that the model doesn't prevent the inconsistency [10:06] thats a pretty core ingredient :) [10:07] lifeless: yes - there's another timebomb as well, I'll tell you about it in -ops [10:22] gmb: review? https://code.launchpad.net/~jtv/launchpad/bug-800573/+merge/69240 [10:22] jtv: Sure [10:22] thanks [10:23] 'Huw "Emo" Wilkins'? Nice :) [10:26] jtv: I've come to expect fairly weighty branches from you. Nothing like breaking stereotypes, eh? Approved. [10:27] gmb: a lot of that is just plain bad luck, I'm afraid. [10:27] Not all. [10:27] :) [10:27] Maybe you're just my reviewer of last resort, the one I end up with when everyone else has turned me down. === al-maisan is now known as almaisan-away [10:39] gmb: thanks by the way. :) [10:40] np :) [10:46] bigjools, cjwatson: is the -commercial pocket completely and utterly gone now that dapper is eol? Can we drop the publisher provisions (the commercial-compat.sh script)? [10:47] wgrant also said to talk to the releases team, IIRC — if so, what's the right communication channel for that? [10:49] hmm [10:49] yes, I think it is [10:50] * gmb lunches [10:50] Dapper is officially EOL, but someone may be playing OEM-like tricks with it... [10:50] jtv: talk to skaet [10:51] jtv: any idea why I might get this? ForbiddenAttribute: ('__call__', ) [10:54] jtv: you should also check with Brian Thomason (iamfuzz), since he does 99% of the work on partner [10:54] if he's no longer uploading anything to dapper-commercial, then it can die [10:55] I expect he'll in fact be more directly up to date on this than skaet will [10:56] bigjools: you asked me to prepare that staging PPA with changes intended for the Launchpad PPA (https://lists.launchpad.net/launchpad-dev/msg07686.html) - are you also able to review it? [10:56] cjwatson: someone on the maintenance cycle should review it, I'm kinda busy. Perhaps gmb? [11:03] henninge: fakemethod behind a proxy, I think. [11:03] bigjools: thanks [11:03] jtv: yes [11:03] jtv: I was patching a utility. bad idea [11:04] rather [11:04] cjwatson: thanks [11:23] henninge: I guess you're probably already cleaning this up, but just so we don't forget: bug 816366 [11:23] <_mup_> Bug #816366: Misleading code in POTMsgSet < https://launchpad.net/bugs/816366 > === almaisan-away is now known as al-maisan [11:26] jtv: http://paste.ubuntu.com/652366/ [11:27] henninge: great, thanks. Phe! [11:27] Phew. === henninge is now known as henninge-lunch [11:38] night y'all [12:05] sinzui: Can you take a look at, and perhaps give a cogent response to https://answers.launchpad.net/launchpad/+question/165200? [12:10] henninge, danilos, jtv: Can one of you good fellers take a look at https://answers.launchpad.net/launchpad/+question/165699 please? [12:13] gmb, on it [12:14] Thanks [12:21] gmb, btw, can you take a look at https://code.launchpad.net/~danilo/launchpad/bug-800123/+merge/69264 when you find some time? [12:21] Sure [12:30] gmb, thanks [12:55] danilos: r=me [12:55] gmb, ta [13:32] adeuring, henninge-lunch -- sorry I'm late, coming to standup in a couple minutes. [13:55] gmb: still reviewing? If so → https://code.launchpad.net/~jtv/launchpad/bug-814141/+merge/69285 [13:56] jtv: Sure. [13:56] thx [14:39] bac, hi there. [14:39] hi deryck [14:39] bac, I was going to do a nodowntime deploy and if the qa page is correct, your fix for bug 788685 is blocking other qa-ok revs.... [14:39] <_mup_> Bug #788685: Enable translating selected Ubuntu universe packages in Launchpad < https://launchpad.net/bugs/788685 > [14:39] bac, any chance of qa'ing that today? [14:40] deryck: i'll try. it isn't straightforward [14:41] bac, I assumed it wasn't. do you need a former translations persons help? [14:41] deryck: luckily i have one. :) [14:42] bac, right, I knew danilos was on your team. :-) I didn't know if he was still around to help. :) [14:42] was going to offer my translation guy :) [14:43] deryck: i may take you up. will have a go now. [14:43] bigjools: ping [14:43] bac, ok, cool. Thanks! [14:43] bac: hello [14:44] bigjools: i need to QA bug 788685. danilos suggested yesterday we do it on dogfood and "ask soyuz people about re-uploading (re-publishing or something) existing ubuntu packages on dogfood" [14:44] <_mup_> Bug #788685: Enable translating selected Ubuntu universe packages in Launchpad < https://launchpad.net/bugs/788685 > [14:45] bigjools: would you have a moment or two and does that make sense to you? [14:45] bac: you can upload to DF and I can run the upload processor [14:46] you just need to "apt-get source" on an existing universe package and bump its version [14:46] build the package then dput to DF [14:46] bigjools: do i just ask a losa to deploy my branch onto DF? [14:46] bac: no you ask me :) [14:47] is it landed? [14:47] bigjools: excellent [14:47] bigjools: yeah, it is [14:47] bigjools: r13510 [14:47] bac: is it on db-devel (we run DF off db-devel) [14:47] no [14:47] if not I'll merge the branch [14:48] donde esta? [14:49] bigjools: lp:~bac/launchpad/bug-788685 [14:50] bac: ah it was already on db-devel it seems. [14:50] oh righty [14:50] bac: so go ahead and upload, ping me when it needs processing [14:50] bigjools: about that... [14:50] bigjools: i need to get a source that has translations, right? [14:50] yes [14:52] bac: and you need the XS-Ubuntu-Use-Langpack: yes header in debian/control [14:52] yes, of course i do. i was just thinking that [14:52] and also we need to check that the DF buildds chroots have got the new pkgbinarymangler === jtv is now known as jtv-afk [15:00] matsubara, mumble or skype? [15:00] sinzui, mumble === henninge-lunch is now known as henninge [15:06] gmb: Hi! [15:06] Hi henninge [15:06] gmb: Can you please do a review for me? [15:06] https://code.launchpad.net/~henninge/launchpad/bug-504062-external-suggestions/+merge/69296 [15:06] Sure [15:23] henninge: Approved [15:23] gmb: thanks === gmb changed the topic of #launchpad-dev to: Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 238 - 0:[#######=]:256 === al-maisan is now known as almaisan-away [15:52] gary_poster: Hi! [15:52] hey henninge :-) what's up? [15:53] gary_poster: I am looking at bug 481512 [15:53] <_mup_> Bug #481512: race condition when rotating logs < https://launchpad.net/bugs/481512 > [15:53] henninge, cool [15:54] gary_poster: but I am not familiar with the logging system in LP. [15:54] gary_poster: I hoped that you could give me any input you have on that bug. [15:54] henninge, we send a signal which is supposed to rotate the logs. I found some pertinent code recently; lemme see if I can find it. [15:55] ah [15:56] henninge, still looking, but lib/canonical/launchpad/webapp/sigusr2.py [15:56] * henninge looks [15:58] ok, basic stuff [15:58] there is a test case for it === salgado is now known as salgado-lunch === deryck is now known as deryck[lunch] [16:02] henninge, I've looked for more--I thought I saw some custom log handlers but the only ones I can find now are for tests and for scripts (and a simple one that adds custom log levels). So, I'm afraid ZConfig might be the place to look for that. [16:02] Author of that log rotate code in ZConfig is Fred Drake, but I don't think knowing that helps us any :-) [16:02] so that's it henninge [16:02] ;-) [16:03] gary_poster: thank, that's a start [16:03] s [16:03] cool henninge, thanks for looking at that one [16:04] gary_poster: it was escalated, so somebody has to do it ... ;-) [16:07] :-) [16:46] deryck[lunch]: making progress === matsubara is now known as matsubara-lunch [16:57] good night all === deryck[lunch] is now known as deryck === salgado-lunch is now known as salgado === henninge is now known as henninge-afk === beuno is now known as beuno-lunch === matsubara-lunch is now known as matsubara === beuno-lunch is now known as beuno [20:16] jcsackett, do you have time to mumble [20:17] sinzui: sure. [20:18] sinzui: i'm on mumble now. [20:44] Project devel build #920: FAILURE in 5 hr 39 min: https://lpci.wedontsleep.org/job/devel/920/ [21:07] sinzui: hi === matsubara is now known as matsubara-afk [21:17] Later everyone. [21:27] hi lifeless [21:28] sinzui: hi; I've forwarded you a mailling list test failure [21:28] I saw [21:28] do we use the --notifications option ? [21:28] and do we want it to override this quieter behaviour ? [21:28] The list import is an interesting case. I think we can drop it though since [21:29] lifeless, I really do not know about --notifications [21:30] I was not certain what was going on in the archive email failure. Do we add users to teams when they are subscribed to archives? [21:30] sinzui: the test made an open team [21:30] I really do understand that case then [21:30] sinzui: so it then purged the mails that adding someone to the team generated. (factory.makeTeam makes OPEN teams) [21:31] sinzui: e.g. the archive failure was trivial and you can ignore it. [21:31] sinzui: the comment above the failing line said (paraphrased) 'ignore the mails about joining the team' [21:31] okay [21:33] sinzui: so, I'm trying to change the test_mlists test to use a moderated team [21:36] Night all. [21:37] lifeless, we have run The mailing list import script twice [21:38] lifeless, it is run by a losa to migrate a list. it create and find users from the email address in the foreign list id [21:38] lifeless, I think the emails are spam in this case. When the import is done, the team admin is going to inspect the team subscription page and ask for the log of the import [21:39] s/id/DB/ [21:39] sinzui: this fixes the test: http://paste.ubuntu.com/652682/ [21:39] sinzui: but if you want, I could rip out the --notifications feature entirely. [21:40] lifeless, keep the test chnge [21:40] change [21:40] I do not think this script will be used until it can be used via the UI [21:41] ok, so that pastebin is ok with you ? [21:41] yep. +1 [21:41] I will land this change then. [23:01] StevenK, mumble? [23:05] StevenK, http://pastebin.ubuntu.com/652721/ === StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK | Critical bugs: 238 - 0:[#######=]:256 === wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK | Critical bugs: 240 - 0:[#######=]:256 [23:50] These "Job ran too long" scanner OOPSes really suck. [23:53] sinzui: https://code.launchpad.net/~wgrant/launchpad/transitionToTarget-series-sourcepackage, if you have time.