[00:00] ah, so the problem is that milestones are not unique [00:01] StevenK, wgrant, mumble? [00:03] sinzui: hi [00:03] sinzui: milestones [00:03] sinzui: are they meant to be per-series ? [00:04] life no, their name space is per project, their parent is a series [00:04] lifeless, ^ [00:04] so its expected folk may have one bug, with two tasks on different series, and the same milestone on both tasks? [00:05] or would that be an unusual use ? [00:05] It is possible. the milestone is the release version. Project release versions are uniqu [00:10] sinzui: so, when you're done with that call [00:10] I'd like to talk through this with you [00:10] to help me solve a quandry [00:12] lifeless, I will be available to talk in ~30 minutes [00:12] excellent [00:12] I will fiddle with lxc containers until you ping me [00:14] Project windmill-devel build #261: STILL FAILING in 41 min: https://lpci.wedontsleep.org/job/windmill-devel/261/ [00:23] sinzui: http://paste.ubuntu.com/630585/ [00:26] Project db-devel build #653: STILL FAILING in 6 hr 9 min: https://lpci.wedontsleep.org/job/db-devel/653/ [00:32] sinzui: http://paste.ubuntu.com/630589/ [00:33] wgrant, thanks [00:35] Project windmill-db-devel build #413: STILL FAILING in 1 hr 5 min: https://lpci.wedontsleep.org/job/windmill-db-devel/413/ [00:38] sinzui: i get this when i try the yui tests - https://pastebin.canonical.com/48843/ [00:39] wallyworld_: Upgrade. [00:56] sinzui: ping me whenever you are ready [00:57] jcsackett, woo [00:57] lifeless, okay [00:58] sinzui: is skype working for you atm ? [00:59] lifeless, I suspect so [00:59] I have sip too [00:59] can we use skype? === StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK | Critical bugs: 205 - 0:[######=_]:256 [01:00] sinzui: I'd prefer skype unless you have a different preference - its echo cancellation is very good [01:14] lifeless, this is not OEM-blessed work, but would it be valuable to remove buildd_secret from the web view? I'd be willing to look into it [01:15] timrc: I think its only visible to admins atm, and useful for debugging [01:15] timrc: IMBW [01:15] lifeless, that's a good point [01:22] sinzui: if another time would be better, thats fine with me; I'm a little blocked till I resolve this however [01:23] lifeless, We love to talk [01:23] sinzui: I cxan't see you on skype [01:25] lifeless, coming online now. [01:25] wgrant: sorry, i exited prematurely. you were still talking [01:26] wallyworld_: Just complaining that libwebkitgtk-3.0-0-dbgsym is 250MB. [01:27] that's quite large for sure [01:27] timrc, furthermore, its the only mechanism to change the buildd_secret if it were to get leaked without having to use SQL. [01:27] timrc, but more importantly, congratz on getting your first change landed! :) [01:30] Project devel build #824: STILL FAILING in 6 hr 32 min: https://lpci.wedontsleep.org/job/devel/824/ === mwhudson_ is now known as mwhudson [02:04] wgrant: I'm available to talk whenever you want about ubuntu disclosure / security bugs [sinzui says you know what this is about but he'll be email you regardless] [02:05] lifeless: I shall await the email. [02:08] sinzui: I have a somewhat symbolised backtrace now. [02:17] sinzui: http://paste.ubuntu.com/630607/ [02:27] hah [02:30] sinzui: http://pastebin.com/85p07rfv makes my test pass; there is no sample data with series milestones outside of debian. ok with this? [02:31] lifeless, I am [02:32] wgrant, thank you very much [02:33] woohoo, its lp-land time [02:33] lifeless: It seems we have a regression. [02:33] lifeless: Probably in flacoste's branch. [02:33] 00134-09052@SQL-launchpad-main-master SELECT SourcePackagePublishingHistory.ancestor, SourcePackagePublishingHistory.archive, SourcePackagePublishingHistory.component, SourcePackagePublishingHistory.datecreated, SourcePackagePublishingHistory.datemadepending, SourcePackagePublishingHistory.datepublished, SourcePackagePublishingHistory.dateremoved, SourcePackagePublishingHistory.datesuperseded, SourcePackagePublishingHistory.distroseries, ... [02:34] ... SourcePackagePublishingHistory.id, SourcePackagePublishingHistory.pocket, SourcePackagePublishingHistory.removal_comment, SourcePackagePublishingHistory.removed_by, SourcePackagePublishingHistory.scheduleddeletiondate, SourcePackagePublishingHistory.section, SourcePackagePublishingHistory.sourcepackagerelease, SourcePackagePublishingHistory.status, SourcePackagePublishingHistory.supersededby FROM Archive, ... [02:34] ... SourcePackagePublishingHistory, SourcePackageRelease WHERE SourcePackagePublishingHistory.archive = Archive.id AND Archive.distribution = 1 AND Archive.purpose IN (1, 4, 7) AND SourcePackagePublishingHistory.sourcepackagerelease = SourcePackageRelease.id AND SourcePackageRelease.sourcepackagename = 31856 AND SourcePackagePublishingHistory.status IN (2, 1) ORDER BY SourcePackagePublishingHistory.id DESC LIMIT 1 [02:34] wgrant: doing what? [02:35] wgrant: it looks like it could be bug 721643 [02:35] <_mup_> Bug #721643: BugTask:+editstatus-page timeout changing source package < https://launchpad.net/bugs/721643 > [02:35] lifeless: It was editstatus, yeah. [02:35] wgrant: changing the source package? [02:36] lifeless: Indeed. [02:36] But the query is different. [02:37] I wonder if the archive join is killing it. [02:37] Previously it named the IDs explicitly. [02:38] 15K archives [02:38] plenty of room for wtfs [02:39] Could you perhaps explainalyze it on staging? [02:39] pastebin the q somewhere for me ? [02:39] or gimve me the oops id ? [02:40] http://paste.ubuntu.com/630614/ [02:44] wgrant: its going to be -terrible- cold [02:44] wgrant: its been running for 4 minutes now [02:44] lifeless: What if you drop the archive join and replace it with archive IN (1, 534)? [02:45] http://paste.ubuntu.com/630616/ [02:45] wgrant: 1.8 seconds hot [02:45] without changing the q [02:46] lifeless: That's still pretty slow. [02:46] lifeless: What if you do change it? [02:46] its not brillirant [02:47] 74ms [02:47] http://paste.ubuntu.com/630617/ [02:48] 74ms isn't brilliant? [02:48] 1800ms isn't brilliant [02:49] wgrant, lifeless would the editstatus timeouts be less of an issue if we completed this bug: https://bugs.launchpad.net/launchpad/+bug/399756 [02:49] <_mup_> Bug #399756: Remove the inline bugtask edit form < https://launchpad.net/bugs/399756 > [02:49] sinzui: Only marginally. [02:49] sinzui: This query is enough to make a single AJAX request timeout anyway. [02:49] sinzui: I don't think they are related [02:50] sinzui: the inline form doesn't do that much more work [02:50] wgrant: rollback time ? [02:50] wgrant: or hotfix? [02:50] wgrant: (you've looked at flacostes patch already I presume; I haven't) [02:51] lifeless: It's >1000 lines, IIRC. [02:51] So... Hm [02:52] Possibly it's even the 2300 line branch. [02:52] Yay [02:52] * wgrant goes digging. [02:55] Ah, mostly lint fixes. [02:55] But so many :( [02:57] lifeless: So, hotfix is tiny, if we want to. [02:57] I'm not sure if we really want to roll back. [02:57] Given the fun. [02:57] no, its been traumatic [02:58] lets hotfix [02:58] k [02:58] Preparing branch. [02:58] preparing incident report [02:59] Thanks. [03:03] bug # ? [03:03] None as yet. [03:03] Will file if you want. [03:03] But you seem to be handling the paperwork fine :P [03:03] thanks :( [03:03] and today I was finally hoping to do microservices. [03:04] Well, what did you expect after 6 days :( [03:04] epic fail? [03:04] Yes. [03:04] what rev broke stuff? [03:04] and whats the OOPS id you have? [03:05] 13263, OOPS-1999DR15 [03:05] Probably not synced yet. [03:05] But carob:~wgrant/logs/soybean/2011-06-22/05353.DR15, if you want it. [03:06] nah [03:06] just for the paperwork [03:06] bug 800485 [03:06] <_mup_> Bug #800485: timeout changing sourcepackage names in bugs < https://launchpad.net/bugs/800485 > [03:06] Thanks. [03:07] Tests pass with the fix, unsurprisingly. [03:07] http://paste.ubuntu.com/630623/ [03:07] diff ? [03:07] thanks [03:07] doit [03:08] this may help that other timeout? or is it undoing a spurious change flacoste made? [03:08] The latter. [03:09] He Stormified the query, and changed it to use a nice join instead of nasty all_distro_archive_ids. [03:09] But again, it has caused a performance issue :( [03:09] Probably because SPPH is so skewed. [03:10] ah [03:53] sinzui: And what about apport bugs? :) [03:55] wgrant, I do not know. Some or public some are private. I do not know its rules,, but I do not need to know why some of my bugs are private if we make apport behave like the current web UI [03:55] The bugs are created private since the backtrace may contain private information. [03:56] I wish apport was smart enough to know I do not have personal information in the bug an I really do want someone to see it [03:56] The bugs start with only the robot subscribed. It processes the coredump into a retracted backtrace. [03:57] It then makes a decision as to whether the backtrace should be kept private. [03:57] If so, it subscribes the crash bug triagers. [03:57] So apports visibility rules are not directly affected since they are not flagged as secuirty [03:57] if not, it makes the bug public. [03:57] sinzui: Right, but this would give Ubuntu owners direct access to sensitive passwords. [03:57] So it is a change of behaviour. [03:58] all six people? [03:58] Project parallel-test build #58: STILL FAILING in 1 hr 1 min: https://lpci.wedontsleep.org/job/parallel-test/58/ [03:59] wgrant, how can they not see them now? because they are not bug supervisors? They can change that at any moment [03:59] sinzui: Hm? [03:59] sinzui: Apport reports bugs with only the robot and the reporter subscribed. [03:59] No bug supervisor is involved. [03:59] ah, sorry. I misunderstood that. [04:01] This somewhat relates to the IRobot discussion. I think the case here is that bug report is not finalised so is not in a full state. [04:01] It's more similar to the security case. [04:01] Which suggests that the security case is not really that special. [04:02] Which suggests that it should not be much of a special case. [04:03] "Launchpad requires that the project maintain(er) be a member of bug supervisor team." <-- I don't believe this is currently true. Are you proposing it become true? [04:03] I think privacy mean personal data, which is the cited reason for hiding the bugs. [04:04] cody-somerville, it is true, but I know how to break the rule. We have lots of orphaned bugs because the maintain changed *after* the bug supervisor was set [04:04] It is not true. [04:04] The fields are unrelated. [04:04] Except that the maintainer can change the bug supervisor. [04:05] I can set the supervisor to myself or a team I am in. I cannot set it to another team [04:05] back [04:07] Nope still cannot make ~zeitgeist mange the bugs in py projects [04:07] sinzui: or a team you own ? [04:08] lifeless, I must be a team admin [04:08] sinzui: ownership grants Launchpad.Admin [04:09] Yes, that also mean I can make myself a member when ever I chose. I did that two weeks ago and bac could not stop me [04:09] sinzui: yup, thats what we agreed on wasn't it ? [04:10] yes it was. [04:10] I do wonder, perhaps project owners should be able to set any team as supervisor [04:10] I have all the access I want [04:10] but thats a different discussion [04:11] testblahblah might be a junk project :( [04:12] I think users need to say they need to do that. Ubuntu and canonical projects use bugs and security differently than everyone else [04:24] Project windmill-db-devel build #414: STILL FAILING in 1 hr 13 min: https://lpci.wedontsleep.org/job/windmill-db-devel/414/ [04:27] sinzui: I have replied [04:27] sinzui: I have some bits I don't understand yet [04:27] sinzui: and perhaps some confusion [04:28] sinzui: I think apport is quite easily fixable in the very short term, with a crash db being the long term fix. [04:33] People don't read :( [04:33] /projects/+new says "You do not need to register a project to: [...] Activate a PPA" [04:49] StevenK, wgrant: mind if I restart the appserver on dogfood? [04:51] jtv: Please do. [04:51] thanks [04:55] lifeless: The primary archive does use a-f. [04:56] wgrant: the bug is about ppas [05:03] lifeless: But the slowness that Julian speaks of is a-f. [05:04] yes [05:04] I read the cache comment as 'can you not jus tuse a-ft with a cache db to get ppa contents.gz working [05:04] ' [05:04] to which the answer is no, we don't use a-f for ppa contents.gz [05:07] wgrant: do I have something wrong in that logic? [05:07] Project windmill-devel build #262: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/windmill-devel/262/ [05:08] lifeless: Right, we do not use a-f for PPAs [05:08] lifeless: Who is asking about Contents for PPAs? [05:08] there was a comment in the bug about it [05:09] https://bugs.launchpad.net/launchpad/+bug/796997 is tracking my work on it, but it *will* be slow going. [05:09] <_mup_> Bug #796997: Contents generation should be done from the database < https://launchpad.net/bugs/796997 > [05:09] StevenK: yeah, its fine [05:09] he was suggesting using a-f with the cache switch, which is just irrelevant for contents.gz w/ ppas [05:10] I doubt I can populate BRPC for a bit. 6.6 million BPRs with unexpired .debs [05:10] yeah [05:11] its pending the disk space increase as much as anything [05:11] Right [05:11] I figure I can take it slow, wait for db-stable to get merged into devel, and work from that. [05:11] sure [05:11] though if you are not modifying existing tables, you can add the new ones live [05:11] no downtime [05:12] * StevenK shrugs [05:12] My brain is hardwired for "any changes to the db == db-devel" [05:13] hopefully that will be history in a few weeks. [05:13] Excellent. Then I can progres to "any change to the db == " *SEGV* [05:14] I have a play branch, I'll be hitting up mawson probably at the sprint [06:08] Hahaha [06:10] Hmm? [06:10] http://people.canonical.com/~wgrant/launchpad/big-plans.png [06:10] Should I be scared? [06:10] Bwahaa [06:10] Grar. [06:11] RT [06:11] DIE [06:11] I can't Cc myself to stuff :( [06:11] So, let's see this query plan. [06:11] It is obscene. [06:12] Perhaps we just want to bite the bullet and create a summary table. [06:15] 404 [06:16] wgrant: what situation ? [06:17] lifeless: Efficient querying of binary and source publication presence and overrides. [06:17] lifeless: By name. [06:17] At the moment we have to join through BPR to BPPH. [06:17] yes [06:17] Since there's no name on BPPH. [06:17] Can denorm that onto it [06:17] Probably. [06:17] if that will fix the queries, its a perfectly cromulent solution [06:17] Guess it wouldn't be that big. [06:18] Let's see what happens... [06:19] wgrant: what was the png ? [06:20] lifeless: A half-fullscreen terminal. [06:20] Amusing, is what it was. [06:20] The top half has the word QUERY in it. [06:20] The bottom half was the seperator at the top of the table. [06:20] heh [06:20] None of the actual plan fit on the screen. [06:20] Because it is so hideous. [06:20] HIDEOUS [06:20] Let's see if mawson melts... [06:24] Project db-devel build #654: STILL FAILING in 5 hr 58 min: https://lpci.wedontsleep.org/job/db-devel/654/ [07:07] Yippie, build fixed! [07:07] Project devel build #825: FIXED in 5 hr 37 min: https://lpci.wedontsleep.org/job/devel/825/ [07:10] Hm. [07:10] So those two persistent codeimport failures are gone? [07:12] I think they've moved from persistent to spurious [07:12] Wait, wrong word :-/ [07:12] s/spurious/intermittent/? [07:12] Right [07:43] StevenK, wgrant: either of you willing to offer a shoulder to cry on? Got a bit of a soyuz question. [07:43] jtv: Fire away [07:44] Thanks. It's about how the +queue view batch-loads the various items associated with a batch of PackageUploads. [07:44] Oh dear. [07:44] "Slowly" [07:44] "Awkwardly" [07:44] AFAICT it retrieves the PackageUploadBuilds in self.builds_dict. [07:45] That starts with BinaryPackageReleases. [07:45] I guess working on LP eventually does eventually need a shoulder to cry on. [07:45] From there, it collects the builds. [07:45] * jtv looks up what those are [07:45] nigelb: Particularly Soyuz, yeah. [07:45] jtv: Odd, it shouldn't be able to start with BinaryPackageReleases. [07:45] BinaryPackageBuilds. [07:45] wgrant: And here I thought Blueprints were bad. [07:45] jtv: Since it goes PU -> PUB -> BPB -> BPB [07:45] BPB -> BPR, sorry. [07:46] Don't worry, I hadn't gotten that far yet. :) What's the correct line then? [07:46] ? [07:46] PU → PUB → BPB → BPR? [07:46] Yes. [07:46] * jtv decodes [07:46] Ah yes [07:47] In my case, I'm more interested in the SPR than the BPR but it's much the same story otherwise. [07:47] PUS → PUS → SPR [07:47] Grar [07:47] PU → PUS → SPR [07:47] I thought the FKs go PU ← BUB → BPB → SPR [07:47] One of your arrows is backward [07:47] No, it's right. [07:48] Don't worry about the PUS; I think those aren't related to my current problem. [07:48] PU ← PUB → BPB ← BPR [07:48] I'm interested in the chain from PUB to SPR. [07:48] Why? [07:48] That's not normally something you want to do. [07:48] * jtv images the rest of the LP team looking on in bafflement [07:49] In this particular case, I need to find the PS. [07:49] Packageset, sorry. [07:49] Normally it'd be PU ← PUS → SPR → SPR [07:49] Ah. [07:49] SPR -> SPR? WTF? [07:49] StevenK: ISWYM [07:49] StevenK: SourcePackageRelease → SourcePackageRecipe [07:49] Except I am wrong. [07:49] OIC — WTF indeed [07:50] PU ← PUS → SPR → SPRB → SPR [07:50] Right [07:50] jtv: So, for a source upload you wouldn't go near PUB. [07:50] Why are you trying to? [07:51] I'm not saying it has to be a source upload. [07:51] AssertionError: [] is not [] [07:51] Why would there even be a PUB for a source upload? [07:51] Sorry?! [07:51] jtv: There wouldn't be. But I'm not sure we care about Packagesets for binary uploads now. [07:51] StevenK: you're creating empty list objects with different identities. [07:51] jtv: If you want to, it's PU ← PUB → BPB → SPR [07:51] Oh, right [07:51] Sigh [07:51] Stupid Python [07:52] wgrant: true—maybe I should go back to what my real problem is. [07:52] Which is that I'm missing the packageset "core" for a PU for netapplet 0.99.6-1 in the sample data. [07:52] (Fun with doctests) [07:53] jtv: What have you changed? [07:53] Is it a mixed upload? [07:53] I'm not sure. It's listed as (source) but that may be sort of a straw to clutch at. [07:54] The packagesets do work for alsa-utils, which also says it's (source). [07:54] And the packgesets look pretty simple to me, when it comes to source uploads. [07:54] Ahhh, maybe they're not actually. [07:55] Because again, the view doesn't go straight through the PUS to get the SPR. It goes through SPRF. [07:55] Hm? SPRF is at the end. [07:56] After SPR [07:58] Should be, yes. [07:59] That's what you get when documentation simply says things like "a list of SPRs" without being precise about which ones they are. [08:00] Hm? [08:01] good morning [08:02] hi adeuring [08:02] hi jtv! [08:03] wgrant: I can see now that the view probably needs a bit of tightening up of these access routes. It should bulk-load classes in a more sensible step-by-step manner, following the primary access paths. [08:03] jtv: Indeed. It was one of the earlier places to do preloading. [08:04] I think I walked into a trap because I wasn't familiar with the "natural" access paths. That's going to be a growing risk, or source of friction, with squads. [08:05] Mm. [08:05] Everyone will be familiar with the model eventually. [08:08] But how long will it take and how hard will it be? [08:08] A while and not terribly. [08:09] I even know translations somewhat now. [08:09] I suspect the rest of LP is relatively easy when you started with soyuz! [08:09] Fair point. [08:10] Also, I'm pretty sure that a lot of the Soyuz knowledge will suffer from degrading memory _and_ code changes after a few rotations on other stuff. [08:11] I don't know about others, but it's pretty irrevocably scarred into my mind. [08:11] Good, that's one innocence ruined; who's next? [08:11] I think an investment in clarity here would pay off handsomely, both in terms of performance and in terms of developer effectiveness. [08:12] \o/ got that test passing! [08:12] Wonder how many others I broke. [08:12] What criminal act have you performed on the view? [08:13] Bulk-loaded PUS, SPR, Packageset. [08:13] Also, we have put… a bag over its head. [08:13] Ah, excellent. [08:13] (Because the Blackadder angle was just too good to resist) [08:14] I had a branch that trialled that long, long ago. Before it was accepted that we could bulk-load collections. [08:14] Because it issues so many queries :( [08:14] Quite. [08:14] I suspect some of the complexity would evaporate from that view if we would just take the bulk-loading one step at a time. [08:15] It needs to be ripped out and replaced. [08:15] Right now there's a fair amount of "I've got objects at step 1 in the reference chain; get me the ones at step 3." [08:15] The bulk-loading is rather messy. [08:15] Needs to be redone with helpers. [08:15] Well yes, ripping out would feel good too. [08:15] And sense. [08:16] One thing that bothers me about the whole thing is that we _could_ fetch the PUS/PUB/PUC and so on in Ajax as you fold open one queue item in the UI, _but_ we still need to know that they're there so we can decorate each with the right icons. [08:16] Which reminds me… [08:16] Yes. [08:16] They're very cheap to get, though. [08:16] Just have to remove the scaling. [08:16] …do we have any icon that we might use to represent a package sync? [08:16] We do not. [08:16] I think Julian was going to talk to Huw about that. [08:16] Or something. [08:16] but it's been a while. [08:17] You see we're sort of scratching for icons already. [08:17] Which is why we use the Ubuntu logo for translations... [08:17] Maybe not translations. [08:17] Maybe it was dist-upgraders and debian-installerse. [08:17] (The page could also do with some sprites) [08:17] But something that shouldn't have the Ubuntu logo, anyway. [08:17] Yes, saw some of that. [08:17] Actually it's quite easy to see in my new code: [08:18] I've got a method that says "here's a list of icons you may need; for each you get condition, alt, title, image name. Now spit out HTML for the ones that apply." [08:18] Excellent. [08:19] I'm hoping that a future step could also notice that "hang on, I have a sprite for this somewhere." [08:19] Even further into the future though, maybe we could just render PUs though and have the icons filled in asynchronously. [08:20] wgrant: you wouldn't be interested in reviewing my view change by any chance? It's about a thousand lines, but it might give you some satisfaction. [08:20] jtv: It would be quite satisfying to review cleanup of that view. [08:21] It's not a full cleanup by any stretch of the imagination, but I hope a step in the right direction. I'm hoping that CompletePackageUpload will evolve into a PackageUploadView. [08:27] wgrant: might it make sense to use copy.png for a PCJ upload? [08:28] jtv: Not sure. [08:28] It probably makes more sense in the translations UI. [08:31] wgrant: I guess copy.png is for the action, rather than as a description. "Sync" icons are a dime a dozen though; I suppose the world has a fairly well-defined idea what they look like. [08:35] yeah [08:35] so we should do something different P [08:36] In this case, I doubt that would help. [08:44] hum, anyone knows if we have trouble accessing SF SVN branches? (re question https://answers.launchpad.net/launchpad/+question/162211, "svn ls" works for me) [08:44] danilos: they used to block us, though I thought that was resolved. [08:44] And hi. :) [08:44] wgrant: would you be willing to review my branch? [08:44] jtv, hi :) [08:44] which reminds me [08:44] current topic is: https://dev.launchpad.net/ | On call reviewer: StevenK,jtv | Critical bugs: 205 - 0:[######=_]:256 === jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK,jtv | Critical bugs: 205 - 0:[######=_]:256 === lifeless changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK,jtv | Critical bugs: 211 - 0:[######=_]:256 [08:46] :( [08:47] jtv, which reminds me... [08:47] lots of embarrassed coughing all around ☺ === danilos changed the topic of #launchpad-dev to: lifeless промени тему у https://dev.launchpad.net/ | On call reviewer: StevenK, jtv, danilo | Critical bugs: 211 - 0:[######=_]:256 [08:47] promeny temy? [08:48] haha === danilos changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK, jtv, danilo | Critical bugs: 211 - 0:[######=_]:256 [08:48] ah, same word as "theme," right? [08:48] Greek "thema" [08:48] jtv, yeah, "promeni temu" :) [08:48] subject [08:49] I changed the topic? yes I did [08:49] lifeless, I didn't have to put that fact in the topic, though :) [08:49] regardless of language :) [08:49] indeed :) [08:49] "Extra! Extra! lifeless has changed the topic! Read all about it." [08:50] jtv, btw, other than the +languages/xx page, do you think dropping tm__language__submitter__idx could harm anything else? (if you can remember anything off the top of your big, bald head) [08:50] danilos: err.. POFile filter? [08:50] Which I know you've been looking at… [08:50] jtv, it actually seems to help that :) [08:50] wow [08:51] That may mean that the index actually needed more columns. [08:51] jtv, not surprising, considering the index is for a (language, submitter), and for those active translators, it's going to be more [08:51] jtv, yeah, I am trying to add potmsgset in [08:51] allenap: if you used a temp table, did you analyze it first ? [08:52] jtv, unfortunately, if I just add another index, postgres still uses tm__language__submitter__idx even after analyze [08:52] danilos: I believe you've been looking at putting TM in a different type of DB… some less radical things that I think might help include: using arrays for msgstr1…msgstr5 and moving the is_current_u* flags out of the table. [08:52] danilos: whats the new index you added ? [08:52] danilos: maybe the fields are in an inconvenient order? [08:53] lifeless: any chance of us getting hypothetical indexes? [08:53] danilos: (perhaps the index is being selected due to sort order; making sure the columns match the sort order both left->right and asc/desc) [08:53] jtv: is it in 9.0 ? :) [08:53] It's a 3rd-party patch. [08:53] I think on 8.something & up. [08:53] http://pqxx.org/development/libpqxx/wiki/HypotheticalIndexes [08:53] jtv: http://sourceforge.net/projects/hypotheticalind/ ? [08:53] I think that's the one, yes [08:54] I got them to put up some documentation a while ago. :-) [08:54] lifeless, hum, interesting, never tried that out [08:54] ah, I see [08:55] postgres does know reverse index scans though. [08:55] jtv, let me read through that as well :) I love all things hypothetical [08:55] danilos: when pg can satisfy the requested sort from index, it will take that index even if it makes things worse (AFAICT) - perhaps our query cost estimators are whack. [08:55] lifeless: that would indicate a problem with cost estimation, yes. [08:55] danilos: so if you have a better index and its competing on a sort-matching index, you need to make the better one also sort-match. [08:55] We may even have tried too hard to _make_ it use indexes. [08:55] lifeless, in this particular case, it's sorting by things outside this index, so doesn't seem related [08:56] ok [08:56] jtv, lifeless: I get roughly an order of magnitude improvement just by dropping the index for the query from bug 534203 [08:56] <_mup_> Bug #534203: Timeouts on POFile:+filter (filter by person) < https://launchpad.net/bugs/534203 > [08:56] danilos: it may be interesting to learn what index the optimizer uses instead on the faster query, and comparing that to the one you dropped. [08:56] danilos: yeah, I saw the comments. [08:57] danilos: I'm fine with dropping the index FWIW, if we fairly sure nothing else is thrown out. [08:57] jtv, well, I did look into it, which is why I thought adding potmsgset in would help :) [08:57] danilos: but you didn't enlighten us. :) [08:57] [unless the index is needed for FK cascade deletes] [08:58] I think we have separate indexes for each FK. [08:58] jtv, heh, right, I did that in the bug report [08:59] Project parallel-test build #59: STILL FAILING in 1 hr 16 min: https://lpci.wedontsleep.org/job/parallel-test/59/ [08:59] jtv, so, I am just creating tm__potmsgset__language__submitter__idx and dropping the tm__language_submitter__idx and I'll see how that works [08:59] jtv: hypotheticals : +1 for dev, staging, qastaging. [08:59] jtv: -0 for prod [08:59] Of course. [08:59] jtv, this hypothetical indexes stuff sounds very cool! [09:00] Yes, it means you can just shower your tables with indexes just to see what the ideal ones would be. [09:00] o/~ its raining indices [09:00] ? [09:01] jtv: its raining men, shower, - I have a weird associational memory [09:01] But what is "o/~"? [09:02] a horizontal shower? [09:02] oh, a note symbol from sheet music [09:02] e.q. quaver [09:02] argh [09:02] Project windmill-db-devel build #415: STILL FAILING in 1 hr 7 min: https://lpci.wedontsleep.org/job/windmill-db-devel/415/ [09:03] I would've thought something like d^ [09:03] indeed, I didn't invent it :) [09:04] lifeless: I did. I tried a temp table and, iirc, a couple of variations on WITH. The temp table improved thing marginally, but there was still that 300000+ rows loop in the plan. The WITH clause reduced execution time from ~6s to <2s, but the UNION approach got it down to ~0.7s. [09:04] allenap: did you compare the plans ? [09:04] allenap: I want to know whats going wrong [09:04] * jtv thought allenap claimed to invent the ascii quaver [09:05] lifeless: I still have them. I'll organize them and attach them to the bug report. [09:05] allenap: its thinking that the selectivity is all whack [09:05] allenap: the union thing uhm, freaks me. [09:06] lifeless: Yeah! It's a like a weird hack. [09:06] I can't look into it tonight, but I will happily have a fiddle around tomorrow [09:13] sinzui: bug 800544 [09:13] <_mup_> Bug #800544: series milestone tasks not shown on project|distro scope bug portlets < https://launchpad.net/bugs/800544 > [09:23] Hey danilos! ;) [09:23] henninge, hey-hey, how's it going? [09:23] danilos: good, I have the next two days off ... ;-) [09:24] henninge: nice [09:24] henninge, yeah, sounds nice, so I better get hold of you for a chat today :) [09:25] danilos: this morning, I'll already be travelling in the afternoon. [09:25] yo [09:25] henninge, how about in 35 mins then? I just want to finish some performance testing first [09:25] 'sup dawgs? [09:25] (also, would someone kindly glance at )? [09:25] stuff [09:25] danilos: sounds good [09:26] henninge, cool, talk to you then [09:26] ok === StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jtv, danilo | Critical bugs: 211 - 0:[######=_]:256 [09:28] lifeless: https://bugs.launchpad.net/launchpad/+bug/798301/+attachment/2177909/+files/plans.txt [09:28] <_mup_> Bug #798301: Time-out on +localpackagediffs < https://launchpad.net/bugs/798301 > [09:29] jml, looks good, r=me [09:29] danilos: thank you. [09:31] bigjools: Are you feeling better? [09:31] StevenK: quite a lot better thanks [09:49] huwshimi: I think we need a new icon, to mark package uploads in the UI that are "package synchronizations." [09:50] jtv: OK. I'm not familiar with that part of LP. What's the difference? [09:50] huwshimi: have you heard of soyuz ? [09:50] lifeless: Of course :) [09:50] Hi. This is soyuz, and only a small group of people really need to deal with it. A package upload can be a source upload, or contain builds, or contain translation tarballs, and so on. [09:51] * lifeless gets out before the dogpile is too large :P [09:51] A new item they can have attached is a job to sync a package. [09:52] jtv: And is that a transitory status? [09:53] wgrant: hello [09:53] Only to the extent that the package upload object itself is. This copy job will be its raison d'être. [09:53] So it's more a characterization of the object you're looking at. [09:53] jtv: I don' think you need to block on this BTW [09:53] bigjools: I'm not, but might as well get it going. :) [09:54] ok :) [09:54] allenap: the performance problem isn't simply a matter of running out of work_mem? [09:55] jtv: Absolutely no idea! [09:55] jtv: Can I tweak that before running the query? [09:55] allenap: you could, but it's just a tiny bit nasty to do that as a matter of course. [09:55] jtv: its selecting a 300K row scan [09:55] But it's something you can try in-session while experimenting on any of the test dbs. [09:56] lifeless: so it's a quantum leap to a different plan then, not a gradual increase in run time? [09:56] jtv: Maybe you can provide a bug for this with a screenshot of what we currently have. [09:56] (for some value of "gradual" of course) [09:56] jtv: Is this part of a feature you're working on? [09:56] huwshimi: we have nothing for it yet. It's a new item that a package upload can have. [09:56] jtv: Oh right [09:56] Yes, this is the feature we're working on. [09:57] jtv: I can't drill into it tonight, but the plan when its slow looks poor [09:57] lifeless: I gather that's it pretty much good enough for now, so maybe we should just go with what we have and worry more if it becomes a problem again? [09:57] jtv: (I have a 0530 am wake up tomorrow which is why fiddling tonight would be bad :) [09:58] bird in the hand etc. [09:58] I know how you feel — I'm on 05:00 at the moment. Followed by a few more hours of sleep, thankfully. [09:58] jtv: the use of a union to work around a poor plan is a bit unnerving [09:59] jtv: allenap: I think identifying the cause is worthwhile; that or just the expedient thing of clamping the batch size (which is a 1-line fix) [09:59] danilos: did you want to do voice? [09:59] lifeless: I'll still need to get to that part, so no idea how unnerving it is yet. Guess I'll look at that first. [09:59] s/did/do/ [09:59] jtv: OK, so what icon do we currently use for package uploads that are not package syncs? [09:59] huwshimi: each has a collection of icons depending on what types of items are attached. [09:59] We need to add one more icon to that. [10:00] henninge, yes please, though mumble is kind of dead for me, so it'd have to be skype [10:00] We do suffer a paucity of icons there. [10:00] lifeless: Clamping the batch size is going to displease the users, from what I've heard. If we can work around it one way or the other I think it's worth it. [10:00] allenap: what they want and what they need are totally different things [10:00] henninge, if that doesn't work for you, irc is fine as well [10:00] allenap: seriously - they are talking about paginating through thousands of entries; thats a terrible UI [10:00] allenap, lifeless: Sometimes the answer may just be to have separate pages for separate purposes, and optimize them to extremes for their specific purposes. [10:00] jtv: Ok, I'm just want to look at something so I can see what to base this new icon off (or at least make it fit with what we have for the other types). [10:01] huwshimi: try /ubuntu/oneiric/+queue [10:01] (Try selecting a different status than New to see more) [10:02] jtv: Ah thanks [10:02] allenap: bigjools initial reaction to the bug was to say '300 is url hacking, low pri' - which says to me that supporting large batches isn't important to the feature at this point. [10:02] henninge, heh, call when ready [10:02] lifeless: more complicated than that [10:02] lifeless: Yes, but then you put it back up to Critical! [10:03] lifeless: But fair. I think we can leave this alone for now. [10:03] jtv: OK, can you file a bug for it anyway, just so I have something in the system and explain what you want and I'll get onto it. [10:04] huwshimi: certainly — hang on [10:04] jtv: Thanks [10:04] jtv: I've mostly heard rumblings that better search for those pages is what's needed. I think that's the way to ensure that batches stay small. [10:08] huwshimi: bug 800573 [10:08] <_mup_> Bug #800573: Need icon for sync package uploads < https://launchpad.net/bugs/800573 > [10:08] jtv: Thanks [10:09] thanks for looking into it — I assigned it to you [10:11] jtv: No problems [10:13] bigjools: Hi. [10:14] wgrant: hey, I just want to help rvba finish his branch [10:14] he's done the stuff you asked but I have one more question [10:15] bigjools: Oh? [10:15] (I have further concerns, but not sure how to resolve them) [10:15] if he blocks binaries with conflicting files, we'll end up with builds with incomplete binaries and wondered about the effects of that [10:15] Yes [10:15] and wondered if we should block the source for the binary too [10:15] We really need to copy the sources, I think, not the publications. [10:16] Or we're going to end up with a patchwork mess of series. [10:16] Which are not consistent. [10:16] Not legal. [10:16] Not recoverable. [10:16] yes it is confusing [10:16] so you think making a new spr and its files is better? [10:16] No, no. [10:16] what do you mean by sources then? [10:16] I think rephrasing initialisation as a copy of all of the sources is better. [10:17] Rather than a copy of all the source and binary publications. [10:17] But I don't know how that will work. [10:17] well yes I think copying binaries is crack anyway [10:17] but it's in the spec, so ... [10:17] I mean using the usual copy logic, and just syncing all sources with binaries. [10:18] using the packagecopier? [10:18] That's the behaviour we want, ideally. [10:18] I think we tried that originally [10:18] it was so slow as to be unusable [10:18] allenap: 35? [10:18] Of course. [10:18] hence the lovely packagecloner [10:18] But it's the behaviour we want. [10:18] true [10:18] And the package copier used to suck. [10:18] It still sucks. [10:19] But it's not quite as bad. [10:19] I don't know if we can use it. [10:19] The package copier will end up really slow if I continue to add new checks to it. [10:19] But the current approach of just excluding the specific bits that conflict is.... messy and problem-prone. [10:19] so I've said to rvba that if we block conflicting sources then he needs to block their binaries too [10:19] and slow. [10:19] bigjools: Certainly. [10:19] apart from that I want to land this puppy [10:19] bigjools: And I think probably the other way too. [10:19] wgrant: yes, I mentioned that too [10:20] Which means we basically want the full consistency checks that the copier provides. [10:20] We need to optimise that for mass-syncs anyway. [10:20] Eventually. [10:20] And a large mass-sync could be easily 10% of the archive. [10:20] So... [10:20] We're approaching the same order-of-magnitude. [10:21] right [10:21] Given what it is, duplicating this logic does not sit well with me at all. [10:22] rvba: ok so add the "don't copy corresponding binary/source if you block a source/binary" change and then let's land it [10:22] But, similarly, using the package copier for initialisation is also a little bit scary. [10:22] wgrant: very [10:22] and no I hate this duplication [10:22] bigjools: ok [10:22] it's only there as a special case to make intialisation quick [10:22] Yeah. [10:22] Eventually the copier will be just as fast :) [10:22] but the multi-parent stuff fecked that all up [10:22] Yup [10:23] * bigjools is getting the irish lingo already [10:23] allenap: I put it to critical because we want to be able to jump on every oops that happens [10:23] allenap: when means no spurious oopses [10:23] lifeless: in this case it's indicative of a lack of good search options [10:23] allenap: if something is a users fault, it needs special reason to be an OOPS [10:23] bigjools: yeah [10:23] bigjools: Hmm. [10:23] wgrant: ? [10:24] bigjools: but still, we need to either (make it not timeout) | (make it not oops) [10:24] bigjools: I'm wondering if we can do a known-good initialisation (from a series in the same distro, or into a fresh distribution) the quick way, and then do the others afterwards using the copier to ensure consistency. [10:24] lifeless: well I think it's already fine with the default batch size, it only oopses because someone hacked that [10:25] bigjools: agreed [10:25] so it's a rather special case [10:25] bigjools: my recommended fix is to clamp the batch size [10:25] bigjools: This would keep the Ubuntu case fast. [10:25] lifeless: +1 [10:25] bigjools: batchnav has a parameter for this [10:25] bigjools: which will make url hacking throw a non-oops error (UFD I think) [10:26] lifeless: +1 [10:26] or if it does oops today, its one we can blanket ignore [10:26] -1 to ignoring oopses - need to stop them happening in the first place [10:26] bigjools: oh I agree [10:26] by whatever means [10:26] wgrant: so [10:26] wgrant: interesting [10:27] bigjools: by blanket ignore I was meaning ignore the exception in the oops raising() method [10:27] bigjools: Since in most cases the big copy will be known-good. [10:27] bigjools: natty->oneiric is within an archive, so it's fine. [10:27] natty->newderivativedistro is fine, because it's a new archive. [10:27] wgrant: yes, indeed. and I think in retrospect this is what should have been done [10:27] I have a first class degree in hindsight from the university of life [10:28] huwshimi: btw, I'm just starting to work through my hand-off tasks. if you'd like to talk, now would be a good time. [10:28] Retrospect is handy; keeping domain experts together can be too :) [10:28] wgrant: yes :/ [10:29] jml: Do you mean about the designs? [10:29] huwshimi: about whatever :) [10:30] jml: Sure, we can talk about whatever, but at least with the designs I'll need to wait until I've had a bit more of a chance to look at them to day... maybe this afternoon for that [10:30] allenap: 35..? [10:30] huwshimi: ok. let's chat then. [10:30] jml: Sure [10:32] ambiguity resolved! [10:32] jml: ambiguity is never resolved [10:32] it expires? [10:33] jml: Could be [10:37] jtv: I plucked that one out of the air. It means that there will be two subselects in the UNION for the default batch size of 75. [10:39] allenap: fwiw see bigjools +1ing clamping the batch size rather than doing the union *terrifying* patch [10:39] and with that, I'm running for sleep [10:40] a combo of both? [10:40] lifeless: Okay, cheerio, and thanks. [10:46] bigjools: We are considering denormalising BPR.binarypackagename onto BPPH. [10:47] BPPH not BPR? [10:47] Yes. We need to be able to index BPPH on either BPR.binarypackagename or BPN.name. [10:47] I guess we could just go all the way and stick BPN.name into BPPH [10:48] wgrant: that is what I was suggesting [10:48] (overrides during copies are too slow without that :/) [10:48] lifeless: Well, BPN.name is quite a bit wider than BPN.id. [10:48] wgrant: lets do some numbers, but not now. [10:48] zzz [10:49] Night. === jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: danilo | Critical bugs: 211 - 0:[######=_]:256 [12:00] Project db-devel build #655: STILL FAILING in 5 hr 36 min: https://lpci.wedontsleep.org/job/db-devel/655/ [12:03] say danilos, perhaps you can review my thousand-line branch? https://code.launchpad.net/~jtv/launchpad/bug-798521/+merge/65297 [12:04] jtv, I was considering it, but just couldn't get around to doing it :) any reason why it's not two smaller branches? [12:04] * jtv stops himself from mentioning a disgusting joke [12:04] It was all sort of stuck together. [12:05] There are a few parts I could isolate, in retrospect, but this is soyuz: if I'd done it up front I would have had to fix the first branch while doing the second. :/ [12:06] Things working as specified but not as desired, that sort of thing. [12:06] jtv, yeah, you should try pipelines sometime if you haven't already :) [12:06] I have. Gave me enough trouble that I no longer bother. [12:06] jtv, anyway, looking through your branch now [12:06] Thanks! [12:19] * henninge is outta here [12:27] huwshimi: let me know when you want to head out for lunch. (note that the standup is in ~1hr 15m) [12:28] jml: We can go now. I probably just need to stop work on this now anyway [12:28] huwshimi: OK. Let's do that. [13:07] Project parallel-test build #60: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/parallel-test/60/ [13:20] Project windmill-db-devel build #416: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-db-devel/416/ === matsubara-afk is now known as matsubara [13:36] thanks danilos! [13:36] Or hvala [13:36] jtv, it wasn't me! [13:36] suuuurre [14:08] Morning, all. [14:09] abentley, hey, I'm around now. [14:17] abentley, adeuring -- https://wiki.canonical.com/Launchpad/Sprints/Thunderdome2011/Agenda [14:17] jml: I'm available if you want to talk. [14:17] huwshimi: oh, right. good idea. I'll just finish off this email. [14:18] jml: No problems [14:18] deryck: Morning [14:19] deryck: I noticed this bug which is only a year old: #561586. Does this change anything about what we talked about yesterday? [14:19] <_mup_> Bug #561586: Move javascript code to lp.app directories < https://launchpad.net/bugs/561586 > [14:36] jml: What's broken about the contributions page? [14:37] Hmm, I possibly didn't land my fixes... [14:40] Still seems to work OK, although I should probably remove my non-Canonical persona from there somehow. [14:45] wgrant: it hasn't been updated since May. Maybe that's not a problem. Also, you're listed as non-Canonical. [14:45] wgrant: anyway, in a meeting. please reply via email. [14:59] sinzui, hi. Don't suppose you had any luck on 64 bit errors with YUI layer yesterday? [14:59] deryck, I am reading wgrants gdb. The fault in the JS JIT [15:00] ah, cool. [15:00] I am contemplating downgrading to libwebkitgtk-3*.so [15:01] adeuring, shall we chat now? [15:01] deryck: sure === Ursinha is now known as Ursinha-lunch [15:11] deryck, abentley, wgrant: The YUI segfault is a webkit's JIT. There is a history of jit failures for amd64 in webkit : https://launchpad.net/ubuntu/+source/webkit/1.3.13-0ubuntu1 I am exploring using the older version of the lib [15:11] sinzui: That patch is for the ARM JIT. [15:11] But OK. [15:12] wgrant, sorry, I pasted the wrong one. [15:12] sinzui: Ah. [15:16] interesting. === danilos changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 211 - 0:[######=_]:256 [15:27] deryck: I'm back now [15:28] bigjools: do you understand my XXX comment in test_resumeHost_success? [15:29] jml: OTP, gimme a few mins [15:29] bigjools: ok. [15:30] bigjools: http://paste.ubuntu.com/630835/ (for when you're ready) [15:37] Hi, huwshimi. So I don't think that bug has any impact on us.... [15:37] huwshimi, that relates to the plan to get everything, js or otherwise, out of lib/canonical/launchpad and into lib/lp [15:38] huwshimi, and we can always spin up a thread on launchpad-dev list and see what others think. [15:39] deryck: Aren't we talking about reversing that decision? [15:39] I haven't heard anything about that. [15:39] huwshimi, I don't think so. We're saying "have a single place of all js files" [15:39] huwshimi, I assumed that would be something like lib/lp/javascript [15:40] jml, it's an idea huwshimi and I are tossing around. [15:40] I saw sinzui post something about moving stuff to lp/app [15:40] deryck: I meant, I haven't heard anything about reversing the decision to move stuff out of l/c/launchpad [15:41] jml, deryckI stumbled on a bug yesterday about removing canonical/launchpad/js. There is about 1h of work left to remove it [15:41] jml, yeah, there hasn't been. huwshimi was worried our desire to move to a single js dir would reverse that bug. [15:42] sinzui, huwshimi and I have been discussing moving all the app-specific js files to a single js directory. you have any concerns about that? [15:42] oh ok [15:42] sorry for the noise :) [15:42] jml, no worries :) [15:43] deryck: so the js for translation-sharing would be moved away from its html file? [15:43] abentley, yes [15:44] that's by design actually.... to get people to stop doing in-page scripts. decouple the page and the js a bit. [15:44] Only that putting the files in a deprecated directory is wrong. some where in lp/ is fine. I would like to think that lp/services/javascript would be the right place. I do not know if our js code can be considered a standalone, reusable library yet [15:44] deryck: it seems to me we'd need to set up a parallel hierarchy in that js directory. [15:44] sinzui, yeah, I was thinking somewhere in lib/lp. I'm not picky about location. and yeah... [15:45] fwiw, lifeless disagrees with the current 'lp' structure [15:45] sinzui, it's not a stand alone library. nor intended to be, I don't think. [15:45] Project windmill-devel build #263: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/windmill-devel/263/ [15:45] sinzui, the idea is just to make it easier to discover all the js we have, and prevent people writing the same code over and over again. [15:45] he has some valid points, but I can't help but feel slightly discouraged at the thought of another whole tree refactoring [15:46] yeah, I don't want to get into that either. I hope this is a much simpler endeavor. === abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: abentley | Critical bugs: 211 - 0:[######=_]:256 [15:46] abentley, so yeah, we would need some parallel structure or grouping of files, but huwshimi and I hope it will be functional, not app-specific.... [15:46] abentley, so grouping all the pickers, all the dom-editing stuff, or something like that. [15:47] deryck: I'm totally in favour of extracting everything we can from the page-specific files. I'm not enthusiastic about moving the page-specific files. [15:48] abentley, so +1 to no in page scripts, but -1 on moving the js files themselves. Is that a good reading of that? [15:48] deryck: yes, and also +1 on grouping all the pickers, alll the dom-editing stuff, or something like that. [15:49] abentley, which would cover most of our js, I think. so you're only -1 in the case where the js is tied heavily to a page, e.g. the translation sharing js. [15:49] right? [15:52] deryck: Not really. I assume that most of the per-page JS files have a little bit of JS that's tied heavily to that page. [15:53] abentley, yeah, and I see that as a bad pattern. unavoidable completely, I agree, but we abuse the tie between page and js files. [15:53] deryck, abentley: could either of you untar this in a working tree and run all the YUI tests: http://people.canonical.com/~curtis/html5browser-fix.tar [15:53] sinzui, I can in just a sec. [15:53] untar in the root [15:54] sinzui, root of the lp tree? [15:54] deryck: So you're thinking the content of the page should completely control how the JS attaches to it? [15:56] abentley, I don't know if that's what I mean. I don't think so, but not sure I understand what you mean.... [15:57] abentley, I mean just that we should decouple the page from the script as much as possible, make re-usable widgets primarly, and have page-specific scripts be as small and decoupled as possible. [15:58] I also see us moving to an event-driven system, where page-specific stuff, if event reacting, rather than the long procedural-like files we have now. [15:58] as I mentioned on the stand-up this morning. ;) Though I know you don't care for that. [15:58] deryck: I said "most pages have a little bit of js that's tied heavily to that page", and you said "that's a bad pattern". I think you mean "It's bad to have even a little bit of JS that's tied heavily to a page". Is that what you mean? [16:00] abentley, I think it's bad to have tight coupling. Where there is a close link between js and page, it's bad. I think there will always be some link, of course. so if it is truly "a little bit" then no, I don't think that's bad.... [16:01] abentley, I meant more that the "little bit of js linked to page" is a common pattern and abuses. I question that it's really just a little. so that's why I said it was a bad pattern. [16:05] deryck: I think that all the javascript that doesn't need to be linked to the page should be extracted, leaving behind the little bit that does need to be linked. [16:05] deryck: For example, I think most of the translation-sharing-details code could be extracted. [16:06] abentley, I think we agree more than we disagree then. [16:07] deryck: Cool. [16:10] jml: is there a version of the community contrib page that I can see? [16:10] cjohnston: you can't *see* the contrib page?! [16:10] nm.. I clicked the cronjob link. :-/ [16:13] bigjools: re-ping re http://paste.ubuntu.com/630835/ [16:13] jml: ok ok :) just got off TP [16:13] sinzui, I untarred into the lp tree. ran make. ran tests. still seq faulting. [16:13] I would make a suggestion/request to whoever takes it over.. maybe show the number of bugs fixed as well as top level landings.. I have had 4 landings, but fixed 6 bugs. so there is the potential for a discrepancy making it look like less work has been done than what has actually been done [16:14] deryck, to confirm you have lib/html5browser/__init__.py ? [16:14] cjohnston: that's a good idea [16:14] sinzui, yup. and I see a .pyc file in there, so it's being used. [16:15] deryck, :( this means that natty amd64 has broken webkit 1.0, 3.0 [16:16] sinzui, that sucks :( [16:16] jml: it's to do with the fake slave, I think it just echo-ed its own vm_host so we can test the stdout [16:16] sinzui, I can spin up a 32bit vm for myself. but that's not ideal for everyone. [16:16] The change I made was to run everyone on the same python, pykgtk, and webkit as lucid amd64 [16:16] jml: although I can't remember how "SlaveHelper is being moved around" affected that [16:16] bigjools: what do you think I meant by "pass the expected vm_host into the client slave"? [16:17] bigjools: the moved around thing was probably, "Oh, we should change this but it'll be mega conflict central if I do it now" [16:18] jml: I suspect it means to pass it to getClientSlave() and hence the __init__ for BuilderSlave [16:18] it's hard-coded to "vmhost" right now [16:19] not sure why we didn't file a bug and add it to th eXXX [16:21] bigjools: probably because we were in a rush. I'm realizing increasingly that being able to just put them down quickly is part of the glory of XXX comments. [16:22] jml: I tend to do TODO instead of XXX if I intend to fix it in the same branch [16:22] and your todo plugin helps :) [16:22] deryck, do you have the python-webkit package installed? [16:22] where a bug is most useful is for XXX comments that are like, "when $FOO is done, we can fix this awful mess" [16:22] so there's a bug for $FOO [16:22] welllll [16:23] also, "I want to do $FOO but not right now" [16:23] sinzui, yes. 1.1.8-1ubuntu2 [16:23] :( [16:23] I believe you have the same packaging rules are lucid amd64 [16:25] jml: anyway did I get anywhere near close to answering your question? [16:25] bigjools: yeah, I think so, thanks. [16:25] cool [16:35] jml: I know, let's write a tool that files a bug for every XXX! [16:35] :( [16:42] Project windmill-devel build #264: STILL FAILING in 41 min: https://lpci.wedontsleep.org/job/windmill-devel/264/ [16:53] jml: Nice docs. [16:53] " Angels fear to tread." === salgado is now known as salgado-lunch [17:16] flacoste, I'm trying to come up with a proposal on how to have wadl served by apache (for bug 607961). To your knowledge, am I right that api.launchpad.net/beta serves both wadl and json depending on the request's Accept, and that the json service root is not served anywhere else other than api.launchpad.net? [17:16] <_mup_> Bug #607961: wadl generation timeout? < https://launchpad.net/bugs/607961 > [17:22] * gary_poster was looking at Apache for that info. I'll look in zcml when I return [17:27] gary_poster: your assumptions sound correct to me === deryck is now known as deryck[lunch] [17:28] gary_poster: there is also a "feature" that i think you can ask the wadl of any resource, but i don't think anything uses that [17:28] gary_poster: so in practice, it's only the main wadl resource we care about [17:36] cool thanks flacoste === deryck[lunch] is now known as deryck [17:37] * deryck is not doing lunch, yet. [17:40] * gary_poster thought he was doing lunch, but was wrong [17:42] deryck, can you run this http://people.canonical.com/~curtis/test_yui.py [17:42] deryck, python test_yui.py /lib/lp/app/javascript/tests [17:42] sinzui, sure. [17:42] ^ that will use python2.7 without the zope testrunner [17:43] I doubt this will work [17:44] sinzui, yeah, seq fault again. sorry :( [17:48] deryck, okay. thank you [17:48] np [17:49] * deryck really lunches now === deryck is now known as deryck[lunch] [17:55] I'm off for the day [17:55] only two more working days until Dublin [17:55] I'm excited [18:19] Project db-devel build #656: STILL FAILING in 5 hr 54 min: https://lpci.wedontsleep.org/job/db-devel/656/ === salgado-lunch is now known as salgado === deryck[lunch] is now known as deryck === Ursinha-lunch is now known as Ursinha === matsubara is now known as matsubara-lunch [19:24] Project windmill-devel build #265: STILL FAILING in 1 hr 5 min: https://lpci.wedontsleep.org/job/windmill-devel/265/ [19:57] Project parallel-test build #61: STILL FAILING in 1 hr 11 min: https://lpci.wedontsleep.org/job/parallel-test/61/ [20:06] bigjools: hi [20:06] /o\ [20:06] bigjools: I'm worried I might cause you grief if I suddenly enforce the (agreed) 1s/5s thing for the dsd new pages (e.g. +initseries) [20:06] bigjools: do you have any thoughts / concerns around this ? [20:07] lifeless: 1s? [20:07] 1s soft timeout [20:07] ah [20:07] 1s is pushing it [20:07] initseries is totally ajax btw [20:07] so its phrased as 1s 99th percentile [20:08] the soft timeout just grants access to info on the things over the 1st that don't timeout [20:08] the diff pages are 2-3s at the moment but when gavin lands his performance fix it might get better [20:08] so its an aid [20:08] yeah [20:09] did you see what he did BTW? [20:09] +0 [20:09] yeah... wtf :) [20:09] so its avoiding an index [20:09] that same index is what broke sourcepackagename checking on bugs yesterday, I think. [20:09] so we have a root cause we need to diagnose [20:10] wouldn't it be great to say "WITH index SELECT ..." [20:10] can we analyse what indexes all the queries use? would be interesting to see what needs that slow one [20:11] stub is working on that with the goal of dropping unused indices [20:11] same data should help us answer what-uses it AIUI [20:11] anyhow, on the timeout thing [20:11] awesome [20:11] I could look at the PPR for each page and rather than jump to 5s [20:12] perhaps jump to max(5s, current 99th percentile) [20:12] can do [20:12] what do you think? [20:12] we're well under 5s except for when someone hacks the batch size [20:12] ok [20:13] like I said, 2-3s [20:13] so I'll just set them to 5s [20:13] I don't have a proper list yet [20:13] how are you doing that, rules for specific pages? [20:13] the tooling for that is in our to-do list [20:13] yeah [20:13] that's going to get to be a big list [20:14] moderate size yes [20:14] but we could have a few hundred new things before its too big [20:14] and by then I hope we'll have dragged the default down more [20:14] I hope by then the sitewide is 5s .. [20:15] ELOCAL [20:17] anyway, way past EoD for me, ttyl [20:17] back === matsubara-lunch is now known as matsubara [20:17] ciao [20:17] o/ [20:18] heh, several of us decided to catch up on sinzui's email at the same time. [20:19] I could say something about great minds and all... :) [20:20] lifeless: https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1998QASTAGING103 [20:21] that's the OOPS i got yesterday on qastaging [20:21] the problematic query is fast (63ms) in there [20:21] flacoste: \o/ [20:21] flacoste: ok, so the moral is 'have nothing wrong as a baseline' [20:21] yeah [20:21] but that still weird [20:21] because even then [20:22] wouldn't have prevented the regression from going to production [20:22] since the query seems fine [20:22] could it be bloat on production? [20:22] world-at-large, do we still prefer that imported branches be for trunks? If so, how strongly? [20:22] gary_poster: no [20:23] cool, I'll update pertinent CHR page, thanks flacoste [20:23] gary_poster: but we don't support importing from non git [20:23] gary_poster: there reason for that was related to subversion [20:23] if i recall [20:23] flacoste--oh--only one of hg as well? [20:23] as supported by cscvs [20:23] but not sure if the restriction applied [20:23] flacoste: bloat, extra data, different pg parameters related to memory sizing [20:23] support i mean: do not support importing non-HEAD git branches [20:24] o I see [20:24] flacoste: thanks for digging in [20:26] Ah got it: I had just missed the necessary detail already on the page [20:26] "Now that we use bzr-svn, non-mainline svn branches can be imported in such that they will be compatible with mainline svn imports. However, they will not be compatible with old svn imports based on CSCVS. [20:26] For Git and Hg, there's no way to specify anything other than the mainline at the moment (Bug #380871)." [20:26] <_mup_> Bug #380871: support for colocated branches < https://launchpad.net/bugs/380871 > [20:27] oh [20:27] oh ok, fixed everywhere except LP [20:27] gary_poster, and bzr [20:27] heh ok [20:28] thanks [20:29] flacoste, we have a question about whether we block LP from Cuba (https://support.one.ubuntu.com/Ticket/Display.html?id=2772, "The access to Launchpad it's negated for the Cuban developers or do you have technical problems that causes that we can access you services from Cuba?"). I'm reasonably confident we don't, but am I missing anything? [20:29] * gary_poster wishes he remembered Google analytics access ids [20:30] Project windmill-db-devel build #417: STILL FAILING in 1 hr 5 min: https://lpci.wedontsleep.org/job/windmill-db-devel/417/ [20:31] gary_poster: we don't [20:31] k thanks flacoste [20:31] gary_poster: we are UK hosted [20:31] so no US export restrictions [20:31] heh [20:32] flacoste, who has Google analytics access for LP, and how could I get it? [20:32] its more nuanced that that AIUI [20:32] we have a US arm [20:33] we could have restrictions imposed on us [20:33] so far we don't [20:33] oh [20:33] ok [20:33] but we can not promise that we won't. [20:33] sure [20:34] promises about the future are generally risky :-) [20:34] yeah [20:36] lifeless: but OOPS-1998QASTAGING102 showed the issue [20:36] so cold cache problem [20:36] combination [20:36] 12 or 63ms hot [20:36] poor cold cache, + crap plan on prod [20:36] but 9000 when not cached [20:36] probably [20:37] lifeless: anything we could do cheaply to have "instant" OOPS access? [20:37] i didn't look at that first OOPS [20:37] because it wasn't available immediately [20:37] so i reloaded [20:37] and retried [20:37] flacoste: you can rsync them directly in the dc immediately. [20:37] and eventually, only looked at the 'last' oops [20:38] ah ok [20:38] its fugly but works [20:38] lifeless: do you think we could make that automatic on 404 when visiting lp-oops? [20:38] oops not found -> let's try a rsync and try again [20:38] without the dev having to do anything [20:39] that would be fun [20:39] I see no reason why not [20:39] cool, i'll file a bug and eventually scratch the itch [20:53] hmm [20:53] in ff5 the filebug form is stuffed [21:03] Project windmill-devel build #266: STILL FAILING in 1 hr 6 min: https://lpci.wedontsleep.org/job/windmill-devel/266/ [21:35] lifeless, what do you mean by "stuffed"? [21:36] you know the expander [21:37] for extra options? [21:37] its missing [21:37] the include-an-attachment border is showing greyed out [21:37] and no widgets at all from 'extra options' down to 'submit bug report' [21:37] for launchpad/+filebug, where I do have perms to do that [21:37] lifeless, weird, works for me. [21:37] lifeless, everything looks normal to me in FF5. [21:38] deryck: funnky [21:38] indeed [21:38] lifeless, you running ff5 anyway special, or just the normal ubuntu upgrade? [21:38] the -proposed one [21:38] that micahg asked for testers on [21:40] ah [21:40] I just regular ol' updated today and am running that one. [21:41] jcsackett, do you have time to mumble? [21:41] sinzui: sure. [21:48] deryck: https://dev.launchpad.net/Code/BazaarUpgrades [21:48] that's the code QA page i was talking about [21:48] we should have a central QA page [21:49] flacoste, ah, ok. Thanks. I presume lifeless was referring to the qa tagging instructions as a central qa page? [21:50] yes I was [21:50] or at least as an entry point to same [21:50] ok, -> monthly allergy injection time [21:51] lifeless, zero rush (I'm EoD soon), but if sometime today you could review my most recent comment on https://bugs.launchpad.net/launchpad/+bug/607961 for broad concerns, advice, or agreement, I'd appreciate it. [21:51] <_mup_> Bug #607961: wadl generation timeout? < https://launchpad.net/bugs/607961 > [21:54] lifeless, deryck: /QA is also a central QA page [21:54] gary_poster: tab is open, will look when I return [21:54] :-) thanks lifeless [21:54] i looked at the qa tagging one and wouldn't find a place where to put the information in [21:54] which wouldn't be out of place [21:55] i emailed diogo to see if he could work on a clean-up of the wiki [21:55] let's see what he says [21:56] ok, cool. [21:56] Thanks for chasing that up flacoste! [21:57] Project windmill-devel build #267: STILL FAILING in 41 min: https://lpci.wedontsleep.org/job/windmill-devel/267/ === matsubara is now known as matsubara-afk [21:59] Can we please kill those windmill notices? Windmill is dead to us. [21:59] wgrant, maybe you're the contact for that? ^^ [22:03] windmill is dead to me [22:03] Windmill was never alove for me [22:04] deryck: We can stop tilting at windmills? [22:07] deryck: StevenK is I think [22:07] deryck, StevenK own the jenkins setup. It is lying now, it was not lying yesterday about the broken YUI test [22:07] I fixed the YUI test [22:08] abentley, indeed. we'll move to selenium2/webdriver at the Thunderdome. [22:08] Yay! [22:08] flacoste, sinzui -- ok, thanks. StevenK can we kill the Windmill runner? Not needed now. [22:14] gary, hi? [22:17] until tomorrow then, everyone.... [22:32] cheerio der [22:32] deryck [23:06] lifeless: firefox 5 is out for everyone [23:06] at least in naty [23:06] natty [23:43] Yay, no more Windmill. [23:47] wgrant, StevenK, wallyworld_, I will be late to our meeting. Can we postping it about an hour? [23:47] sinzui: ok [23:50] sinzui: Sure.