[00:20] wallyworld: ok shoot [00:20] bang [00:21] you mean with the uzi? [00:21] wgrant: we don't need it for natty [00:21] i love the uzi [00:21] wgrant: vm's for the win [00:21] lifeless: you know that wide query taking a long time to run - the daily recipe builds one..... [00:21] nope, remind me [00:22] * wallyworld looks up bug nr [00:22] bug 711072 [00:22] <_mup_> Bug #711072: RootObject:+daily-builds times out < https://launchpad.net/bugs/711072 > [00:23] ok [00:23] how can I help [00:23] tables like person, sourcepackagename, archive are only in the query to get data to display [00:24] so they could be removed to reduce the nr of joins, and subsequent queries done to look up that data [00:24] wallyworld: btw has your parameter filling thing had the test failure figured out and landed ? [00:24] wallyworld: yes, changing from wide to serial is likely to help [00:25] not yet. i updated from trunk and can now reproduce locally but it's on the back burner till after rollout. bad rev rolled back [00:25] kk [00:25] but values from those tables are used in thr oder by [00:25] matsubara has improved lp-oops to group with inferred parameter types [00:25] cool. [00:26] so if i remove those tables from the query, i will have to load all the values and do an in memory sort [00:26] wallyworld: huh, no [00:26] unless there's another way that storm can help that i don't know about [00:26] DecoratedResultSet [00:26] pre_iter_hook [00:26] done [00:27] I mean, you do need to load [00:27] but sorting should always be db [00:27] ok. i'll have to look at that hook to see how it fits in [00:27] otherwise slicing will fail [00:28] yeah, that was my problem [00:28] look in lib/lp/blueprints/model/specification.py [00:28] for pre_iter_hook [00:28] this is one I prepared earlier. [00:28] excellent, a working example. thanks [00:28] exact transform we're talking about [00:28] i knew that you would be able to help :-) [00:28] actually, this is more complex [00:29] but it shows pretty much all that you might want to do, and as I haven't seen the code you're looking at yet. [00:29] by "this" you mean the thing i am doing cf the example you gave? [00:29] the specification hook is doing more than you ma yneed [00:29] ah ok [00:29] its doing eager loading *and* object injection [00:30] a useful thing to bookmark for later for when needed [00:30] so, looking at your query [00:30] thanks for the tip, i'll take a look and go from there [00:30] why are you sorting on the things you're soring on [00:31] also note the utterly utterly insane group by [00:31] perhaps we should start with the use case ;) [00:31] the group by is needed because of the max() [00:31] the sort order was as per the requirements [00:32] the max means you're bring back too many things [00:32] which will make it slow [00:32] (and thus, its slow) [00:33] there's several build records and we only want the latest one [00:33] that sounds a bit delphic, sorry [00:33] perhaps voice would help; I dunno. [00:33] the first thing I'd want to do is to grab a bit of paper and map it out [00:34] taking out archive, person,sourcepackagename will help the base query look more sane [00:34] thumper developed the initial query in straight sql - i adapted it to storm. [00:35] it produces the correct results. how about i make the changes we've just discussed and see where that takes us [00:36] you can't take the things out that you need to sort on [00:36] yes, hence my original question :-) [00:36] ok [00:36] so, first thing is to ask if we need to sort on all those things [00:37] that's why my first thought was to load the result set and do an in memory sort [00:37] there's only around 300 records - not sure what that may grow to in the future [00:38] 16K or more [00:38] its still in beta. [00:38] hmmm. that's too many [00:38] so yes, will have to revisit the sort order question then [00:38] you have 600 ms in late evaluation of Branch [00:39] looking at https://lp-oops.canonical.com/oops.py/?oopsid=1858D164 [00:39] another 800ms in late evaluation of SourcePackageRecipeData [00:39] why doesn't that oops link work? [00:40] apache-openid brekaage [00:40] login [00:40] click again [00:41] those late evaluation times can certainly be fixed, but the main query - the count and the select - do swamp the overall number though [00:42] actually [00:42] thats 2.3 seconds in late evaluation [00:42] so the main query is more [00:42] but not like 90% [00:42] anyhow [00:42] first step, define the definitive goals [00:42] sure. i guess i'm saying that fixing the late eval stuff is necessary but not sufficient [00:43] ORDER BY SourcePackageName.name, [00:43] Person.name, [00:43] Archive.name LIMIT 76 [00:43] wallyworld: all its all necessary and nothing will be sufficient ;) [00:44] so the source package name is the driving thing [00:44] its used for pagination [00:44] i'd agree with that [00:44] personally I think that paginated lists are suboptimal [00:45] I'd rather we presented a query interface [00:45] +1 [00:45] and showed the 75 most recent builds the rest of the time [00:45] or something like that [00:45] if we did do that, the count() query would be required [00:45] well the count can be simplified [00:45] and we would shave 1/2 of the most significant execution time off [00:46] but that's not how the batch navigator works is it? [00:46] the bn simple does a count() on the underlying query [00:46] its just select count(*) from sourcepackagerecipe where daily_build is true [00:47] the batch navigator makes some simlifying assumptions [00:47] we may need to pass in an object with a custom count [00:47] not really - we only want the latest, but anyway, unless there's a hook i don't know about, the bn uses the same underlying query to do the count [00:47] spr is 1:M [00:47] if you count 1, you don't need the max [00:48] let me talk to thumper so see if we can adjust the requirements for what is displayed [00:48] wallyworld: yes, the bn will need to be given an adapted result set, not a real one. [00:48] hell no! [00:48] sorry what? [00:49] thumper: read the last 10000 lines ^^^^^^^^^^^^ :-) [00:49] wallyworld: no [00:49] thumper: wanna mumble, may be easier [00:49] thumper: listing all the source package builds as a collection seems pointless [00:49] wallyworld: I'm in a cafe without headphones [00:49] thumper: we're saying lets just give users the 75 most recently built daily ones + a search box. [00:49] lifeless: I'm not listing them as a collection [00:49] thumper: what do you call 'https://code.launchpad.net/+daily-builds' [00:49] what are you talking about? [00:50] thumper: we're talking about the +daily-builds sql times [00:50] lifeless: that is really a requirement from the community guys [00:50] and the fact that the current sort oder requires a query with a number of joins to get the data to sort on [00:50] thumper: how was it phrased though? [00:50] they wanted a listing of packages built with recipes [00:50] not search rubbish [00:51] thumper: search is hardly rubbish; who asked for this, and what did they want to achieve? [00:51] but if we are prepared to relax the sort order we can small a smaller more efficient query [00:51] s/small/use [00:51] :) [00:51] wallyworld: so we can make it better as is [00:52] wallyworld: I'm separately saying that its not actually a brilliant UI as it stands. [00:52] wallyworld: the only sort order I care about is source package name [00:52] wallyworld: everything else is extra [00:52] thumper: ok. will do that first up [00:52] wallyworld: most of the results will return only one daily recipe for a source package [00:52] at least for now [00:52] thumper: that presupposes having a collection though; so can we talk about that seriously? [00:52] there are a few packages where there are more than one [00:52] and get some numbers on the improvement [00:53] lifeless: I'd be terribly sad if you took the collection away [00:53] thumper: why? [00:53] can i ask to have a query run on production?? to get some numbers? [00:53] wallyworld: a losa [00:53] wallyworld: or stub [00:53] sure. just wanted to see if it were a kasha thing to ask for [00:53] wallyworld: the numbers haven't changed substantially though. [00:53] because I think it looks nice, and validates the work we are doing [00:54] lifeless: did you just try it? [00:54] thumper: I don't think it validates it - uptake will validate it; as far as looking nice, it looks like something where its impossible to find what a user wants to find. [00:54] thumper: I don't mean to be negative here. [00:54] i meant to see what benefit removing person and archive from the sort oder would do [00:54] wallyworld: for that sort of thing, we use qastaging until we're fairly sure we've got the good stuff [00:55] but qastaging has a really old db :-( [00:55] wallyworld: if you have a canned query I can run on qastaging, that would be great. [00:55] wallyworld: it doesn't matter for this; it has 270 recipes [00:55] lifeless: PQM still executes baz? Seriously? [00:55] wgrant: probes for it, backend lookup [00:55] dunno if it has it there. [00:56] lifeless: it should be up to the stakeholders and the strategist, so check with jorge and jml [00:56] lifeless: yes, but what about all the other data (eg in the archive table) that serves to make the query slow [00:56] lifeless: It uses it to get config-manager. [00:56] lifeless: I see no reason to defend it to you [00:56] lifeless: That seems to be what takes all the time. It already does a lightweight checkout. [00:56] thumper: I was asking who was pushing for it to be /like this/ - I wasn't asking you to defend it; I don't know how we got here conversation wise. [00:56] thumper: I'll be delighted to talk to jorge and jono [00:57] wgrant: it doesn't spend 30 minutes talk to baz, I assure you [00:57] lifeless: The logging is a bit crap, then :/ [00:57] No, it spends 30 minutes spinning [00:58] wallyworld: so the point I was making was that a search interface generates a very specific lookup [00:58] lifeless: https://wiki.ubuntu.com/DailyBuilds/AvailableDailyBuilds was the justification [00:58] Feb 03 23:26:09 pqm [140001309406976] INFO: running: baz get /home/pqm/archives/rocketfuel/lp-production-configs/trunk/config-manager /srv/pqm.canonical.com/chroot/home/pqm/pqm-workdir/home/devel [00:58] wallyworld: so the intermediary tables will be very small [00:58] Then it disappears for 17 minutes. [00:58] Every time. [00:58] thats in bzr land at that point [00:58] the bzr backend doesn't log such a message [00:58] thumper: thanks [00:59] Oh yay, another db-devel conflict. [00:59] lifeless: sorry for being touchy... lots of stuff going on [00:59] lifeless: sure [00:59] thumper: so, looking at that; the goal is to avoid duplicate effort; making it real easy to find dailies of audacity (e.g. search / linking on the source package side) would seem best to me. [00:59] thumper: no worries; it is friday after all. [01:00] lifeless: perhaps a tag cloud for package names would be better? [01:00] given how much we love tag clouds :) [01:00] so, I propose to mail jml and jorge, cc thumper and wallyworld and propose a different UI which can give us a much simpler problem to solve [01:00] although determining size / shade would be interesting [01:00] thumper: thats a cool idea too [01:00] thumper: search is the cheapest for us to do [01:00] thumper: I don't know that its the best; tag clouds are pretty interesting too. [01:01] thumper: I suspect we need discoverability as a primary mechanism though. [01:02] thumper: is there anything I can help with ? [re lots of stuff going on] [01:02] not unless you want to read CVs and interview people [01:02] am I allowed to shoot myself first ? [01:03] thumper: btw, the guy i mentioned wasn't interested [01:03] sure [01:03] lifeless: Depends. Where? [01:05] wallyworld: ok, so lets see what we can do [01:06] wallyworld: first thing, we *don't* want to return all the previous builds in the intermediary tables [01:06] \0/ [01:06] wallyworld: but the thing before that [01:06] web-link branch of leonard's has landed in devel [01:06] wallyworld: is to see what the current plan is [01:06] wallyworld: do you have a query I can run [01:06] * wallyworld looks [01:07] lifeless: the current implementation uses this query - https://pastebin.canonical.com/42856/ [01:08] lifeless: but i don't mind working through the issue if you have other stuff to do [01:09] nothing I can't procrastinate over. [01:11] so i'll immediately get a win by removing the person and archive from the sort [01:11] spm: could you please do an explain analyze on http://pastebin.com/nASE7Tq6 ? [01:11] spm: on prod [01:11] wallyworld: getting the explain should tell us a lot about what its doing [01:12] then we could get a rs with only the latest builds and use that to filter the main query - so a subselect instead of a big join, not sure how postgres performs for that [01:12] wallyworld: it depends [01:13] jcsackett: ping [01:13] if its uncorrelated and huge relative to final rows, poorly; if its correlated and about as selective as outer, poorly. [01:13] hello wallyworld. [01:14] jcsackett: hi. i just need a quick tick and flick on a mp to fix a small layout issue. can i reassign to you? [01:14] https://code.launchpad.net/~wallyworld/launchpad/recipe-related-branches-layout/+merge/48463 [01:14] it's only like 2 lines of pt [01:15] * jcsackett realizes he's still listed as OCR. [01:15] sorry if you weren't [01:15] jcsackett: You can't escape. [01:15] yeah, i can take a look at it, wallyworld; but you'll need to find someone to follow up, since my mentor is definitely not on shift. === jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/| PQM is open | firefighting: - | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews [01:15] ah ok [01:16] wallyworld, you want me to still take a look? i don't mind (need the reviews) but as i said, r=jcsackett isn't enough to land something. :-) [01:16] jcsackett: no, it's cool. thanks [01:16] wallyworld: dig. sorry for the confusion. i need to be better about removing myself from OCR. :-P [01:17] jcsackett: no problem :-) [01:17] StevenK: Do you have any suggestions for getting a newer archive to gina on mawson? [01:17] lifeless: while waiting for that explain, can you quickly approve this 2 line pt change? [01:18] https://code.launchpad.net/~wallyworld/launchpad/recipe-related-branches-layout/+merge/48463 [01:18] wallyworld: lifeless: https://pastebin.canonical.com/42858/ [01:19] spm: thanks [01:20] wallyworld: sadly I don't know the css classes we use well enough to say if thats sane or not [01:20] I seem to recall a lot of discussion about tables vs nontables in this [01:20] Project devel build (416): STILL FAILING in 6 hr 17 min: https://hudson.wedontsleep.org/job/devel/416/ [01:20] * Launchpad Patch Queue Manager: [no-qa] [r=allenap][ui=none][bug=707103] Clean-up of lint after [01:20] bugs-with-blueprints-bug-707103. [01:20] * Launchpad Patch Queue Manager: [bug=75976] [r=abentley][ui=none] When someone asks to merge two [01:20] accounts, Launchpad sends an email to the primary account asking for [01:20] confirmation. That email was hard to understand and badly [01:20] written. This branch rewrites that email's text and introduces [01:20] a test that the email is sent with the correct text. [01:20] * Launchpad Patch Queue Manager: [r=mthaddon, stub][bug=712282, [01:20] 712285][no-qa] Improve nightly.sh transparency, [01:20] and remove update-pkgcache.py from it. [01:20] wallyworld: clearly its trivial textually. [01:21] lifeless: the css - should have been there from the start - cut'n.paste error. the other collapsible field sets use it [01:22] wallyworld: want to mumble on the explain [01:22] lifeless: ok [01:22] well, try mumbling, it may still be epic fail fo rme [01:22] or skype [01:23] I can hear you [01:53] spm: please analyse this on prod - http://pastebin.com/3ZA20XvA [01:53] sadly staging/qastaging are not fresh enough [01:55] lifeless: https://pastebin.canonical.com/42859/ [01:55] thanks! [01:55] there will be more [01:57] wallyworld: http://www.postgresql.org/docs/8.4/static/tutorial-window.html [01:58] rank() OVER (PARTITION BY BuildFarmJob.date_finished DESC) FROM === Ursinha is now known as Ursinha-gone [02:12] StevenK: pong [02:17] wgrant: ping [02:17] lifeless: Hi. [02:17] wgrant: hi [02:17] you know wallyworld and I are looking at a slow query [02:17] its filtering all binary package builds that are recipes [02:17] The +daily-builds one? [02:17] in state 1 [02:18] yeah [02:18] we had an idea [02:18] what if we narrow this to 'published' [02:18] it might consider less data? [02:18] we have binary package build and build farm job already in there [02:19] So we're finding BPBs that are built from an SPR that has an SPR? [02:19] have a look at one of the pastebins [02:20] the goal is 'all source package recipes showing the date of the most recent successful binary build' [02:21] one thing that isn't clear to me/us is whether fullybuilt in this case means 'the bzr-builder worked' or 'all binaries were build' [02:22] It's the binary build status. [02:22] Note that your last pastebin doesn't restrict to builds in the daily archive, so manual builds to other archives will show up. [02:23] indeed [02:23] what table was that on - BPB ? [02:23] PackageBuild [02:25] * wgrant silences mirror-prober.sh. [02:25] These noisy scripts irk me. [02:26] * spm gives wgrant 100 awesome points [02:29] PackageBuild ON (PackageBuild.id = BinaryPackageBuild.package_build and PackageBuild.archive = SourcePackageRecipe.daily_build_archive) [02:29] lifeless: I think so. [02:29] I'm not sure which direction is clearer. [02:30] Should we go from daily recipes to builds, or find builds that have daily recipes? [02:31] wallyworld, ping? [02:31] gary_poster: hey [02:31] hey [02:31] I really want ~gary/launchpad/bug548-db-2 to get on db-devel before we close pqm or mark things closed or so on. Some tests failed, and in order to fix them, I had to make enough changes that they warrant their own separate review. So... [02:31] I'm wondering how to get that to happen/if I can get that to happen [02:32] in order for that to work, I'll need a review, and I'll need to land [02:32] with tests passing.. [02:32] gary_poster: just give me a sec : otp [02:32] oh, sure [02:33] whats the mp url ? [02:33] gary_poster: well i am talking to lifeless atm :-) [02:33] he may want to help [02:33] thank you both, getting the mp up now [02:34] gary_poster: there's still 9 hours or so before we close :-) [02:34] plenty of time! [02:34] :-) yes, but I wanted to stop working hours ago :-) [02:34] yeah. understood :-) [02:35] gary_poster: so i can land it for you once it passed review [02:35] thank you! [02:35] gary_poster: what about qa? is it clear how to do that? [02:35] it is no-qa [02:35] even better! [02:35] :-) [02:36] gary_poster: so i think your work here is done :-) [02:36] assuming it passes review :-) [02:36] gary_poster: whats the mp url ? [02:36] lol, thank you. Well, I need to get the MP done [02:38] lifeless: https://code.launchpad.net/~gary/launchpad/bug548-db-2-tests/+merge/48570 but diff is still coming [02:39] the mp message is, uh, one of my more hurried :-P [02:39] and it shows :-) [02:40] ok diff has emerged lifeless [02:40] uh? [02:40] I did not touch the lib/canonical/widgets thing :-/ [02:42] gary_poster: You're getting a conflict there when merging locally? [02:42] If so, ignore. [02:42] Delete the widgets.moved directory. [02:42] wgrant, it is something in the MP-generated diff [02:43] not in my local diff [02:43] OK, that's not normal. [02:43] I'm trying a local merge of my branch into a up-to-date-db-devel... [02:45] wgrant, conflict on my db-devel pull. I assume this was correct? [02:45] rm -rf lib/canonical/widgets.moved [02:45] bzr resolved lib/canonical/widgets.moved lib/canonical/widgets lib/canonical/widgets.moved/tests [02:45] gary_poster: Yes, that's right. [02:45] cool [02:46] I just merged that branch into db-devel. [02:46] cool, thanks [02:46] lib/canonical/widgets is still there... [02:46] So the LP diff is odd. [02:46] I resolved that conflict last night. [02:47] My branch merges cleanly into db-devel touching only the files I expect, so it looks like it is a diff-generation odity in the MP [02:47] launchpad_qastaging=> select count(*) from sourcepackagerecipe where build_daily [02:47] oddity [02:47] ; [02:47] Time: 1.512 ms [02:50] lifeless, I never asked explicitly--are you reviewing the branch or should I ask around? [02:51] be thar a reviewer in these here parrts? [02:52] wallyworld: are you a reviewer, by chance? [02:52] I will, one sec [02:52] oh thanks [02:53] gary_poster: no. not yet. soon hopefully [02:53] :-) cool [02:55] gary_poster: hi [02:55] hey [02:55] isn't with logged_in_user() sufficient ? [02:56] sorry [02:56] person_loggefd_in [02:56] *bah* person_logged_in [02:56] this is about the dbuser, not the application user, so I don't think so. Do I misremember my helpers? looking for it [02:56] ah right [02:56] layers ;) [02:56] right :-) [02:57] and db, rather than application [02:57] so [02:57] a few thoughts [02:57] I'll sketch here [02:57] the restore_name seems a bit unrelated [02:57] to...? [02:57] the problem you're solving [02:58] in the sense that we should always look at _dbuser? [02:58] run-some-code-as-a-user [02:58] right [02:58] completely agree [02:58] I'm saying having it do a push/pop and if someone wants to change after that, they can do that separately - would make this code leaner [02:59] (it was probably some kind of misthought subliminal reaction to disliking the fact that I was looking at an underpants attribute.) Yeah push/pop was my only intent really [02:59] given the lack of tests for the helper, my inclination is to suggest making it as lean as possible [03:00] I like the helper. [03:00] I'm curious why your tests failed [03:00] a few existing tests failed that were creating things without a dbuser that actually had privileges to do so [03:01] is it that LaunchpadZopelessLayer runs as an unusual user? [03:01] by adding an additional obeject that we were creating [03:01] gary_poster: so, you're creating a PersonSetting whenever a Person is created? [03:01] gary_poster: rather than lazy-creating? [03:02] unusual user: yeah, it is usually run as the user that a given script needs [03:02] which is often not pwerful enough to create stuff [03:02] if you tickle the database enough then things will flush [03:02] so essentially my change exposed (some) problems that were already existing [03:03] (I think there are a lot more like these that have not yet been triggered) [03:04] not lazy-creating: yes, I dislike write on read, and didn't want the complexity of look-for-the-underlying-object-and-if-it-is-not-there-look-for-the-interfaces-default. [03:04] (that is, write-on-write is ok, but I thought simplicity had a virtue) [03:05] gary_poster: I dislike write-on-read too; That implies creating a million rows when the db deploy happens though [03:05] anyhow [03:05] approved [03:05] I would like it if you could shrink the helper. [03:05] more so if you add tests. [03:05] yes, I wondered about that but that was the design stub made, so I figured he had thought it through. [03:06] I shrunk the helper locally already, after discussion. lemme run a smoketest... [03:06] gary_poster: At a guess - I suspect he intended lazy create. [03:06] no, he made the trigger [03:07] heh, ok. [03:07] anyhoo, all sorted. [03:09] ok lifeless, thank you. yeah, the smoke test passed with http://pastebin.ubuntu.com/562319/ . So, I'll push the non-test change to the helper now and ask Ian to land it, and then promise to make a branch with a test for it tomorrow. Sound ok? [03:11] grewat [03:11] great [03:11] the commit is a bit sad [03:11] I wonder if rollback would be better, but thats a separate discussion [03:13] :-) I hear you [03:13] that's the pattern I saw throughout the tests for this thing [03:13] I dunno [03:13] I also am not entirely sure why it is a sqlbase commit [03:13] rather than a transaction.commit [03:14] but I was in a bit of "land the thing" and I felt this was at least an improvement over the status quo [03:15] sure [03:15] wallyworld: ok, here's hoping the tests pass now. :-/ [03:15] https://code.launchpad.net/~gary/launchpad/bug548-db-2-tests/+merge/48570 [03:15] Let me do one last paranoid check... [03:15] gary_poster: so ready to ec2 land? [03:19] wallyworld: yes! all previously failing tests , and all tests I touched, pass. Let's give it a whirl. Thank you so much! [03:19] gary_poster: my pleasure. pleased to help. [03:19] Thank you all. Have a good day and ttyl [03:20] Could someone review https://code.launchpad.net/~wgrant/launchpad/the-silence-of-the-probers/+merge/48571? [03:23] thumper: you free to talk about the form submit thing? or you have too much else happening? [03:24] wallyworld: I'm doing expenses, so I can talk to you now :) [03:24] :-D [03:24] mumble? [03:34] * wgrant cries. [03:34] wallyworld: https://code.qastaging.launchpad.net/~wikkid/+recipe/wikkid-daily [03:35] wgrant: ? [03:35] lifeless: Fourth stable->db-devel conflict in 24 hours. [03:44] :( [03:51] Yippie, build fixed! [03:51] Project db-devel build (340): FIXED in 5 hr 37 min: https://hudson.wedontsleep.org/job/db-devel/340/ [03:57] lifeless: Do you have a sec to review https://code.launchpad.net/~wgrant/launchpad/the-silence-of-the-probers/+merge/48571? [04:08] wallyworld: want the review practice? [04:09] lifeless: for ^^^^ ? [04:09] yes [04:09] ok [04:09] man its fugly:) [04:09] about time i had a go at one :-) [04:11] 498 / 7263 Archive:+index [04:11] 245 / 374 BugTask:+index [04:11] 91 / 182 Distribution:+bugs [04:12] huwshimi: please triage when filing! [04:14] lifeless: is there/could there be a link to the triage guidelines in the +filebug page? [04:14] i guess it's only really intended for devs [04:14] lifeless: OK :) [04:15] lifeless: Self-triaging suggestions to change things just feels wrong though. [04:15] huwshimi: you're a dev, you're able to assess importance. [04:15] huwshimi: if you truely have no idea how relevant this is in the overall scheme of things, thats fine, but I've met very few engineers without such opinions ;) [04:16] lifeless: Yeah ok fair point [04:25] lifeless: I guess people will tell me if I'm doing it wrong anyway :) [04:28] for sure [04:44] wallyworld: Thanks. [04:44] How are we looking for the release? [04:45] wgrant: np. well, i need to finish some qa (just waiting on a qastaging update). there's a mp from gary that fixes some failing tests that i am landing but it just barfed with some rrors :-( [04:46] :( [04:46] many related to nascentupload stuff [04:46] i think that stuff was recently changed? [04:46] What are the errors? [04:47] Parts of it were refactored a week ago. [04:47] cause i had the same issue the other day - tests passed locally [04:47] this is a merge into db-devel [04:48] wgrant: https://pastebin.canonical.com/42864/ [04:48] i've not looked at the detail yet, and there's more failing besides just the nascentupload ones [04:49] Ah, that's interesting. [04:49] I renamed that DB user yesterday. [04:49] But it's probably unrelated. [04:49] sure? :-) [04:50] Let's see. [04:51] wgrant: i think the purpose of the mp was to specify a db user to use for things to ensure the correct permissions were available and so have not get permission denied errors [04:51] Yeah, security.cfg needs lots of fixes. [04:51] This is going to be difficul;t. [04:51] and yet the failures had permission issues [04:53] wallyworld: Anything that creates a Person needs INSERT on personsettings. [04:53] Lots of things create Persons. [04:53] But only the webapp has permission to do so. [04:54] wgrant: hmmm. the failures seem to be in different tests to what the mp changes [04:54] wallyworld: Indeed, they will be in various scripts throughout the tree. [04:55] And they should be fixed by adding permissions, not changing DB users. [04:55] We could be bad and add personsettings to the 'write' group. [04:55] That may fix everything. [04:55] wgrant: why /should/ they be fixed like that? [04:56] lifeless: wgrant: i have to go and pick up the kid from school and buy him some cricket whites. be back soonish. [04:56] i'll catch up about this mp issue when i return [04:56] wallyworld: they won't be white long [04:56] lifeless: Because unless we are going for a single-user model, we have no choice. [04:56] not sure if it will make pqm cut off now :-( [04:57] hah [04:57] I don't know why they don't call them cricket greens [04:57] :-) [04:57] wgrant: that doesn't follow; perhaps you can expand your reasoning [04:57] lifeless: We have special DB users like archiveuploader. [04:57] They have permissions that other users do not. [04:57] yes [04:57] So some scripts must run as those special users. [04:57] yes [04:58] So those users need these new permissions. [04:58] the create PersonSettings permission? [04:58] That one. [04:58] certainly things that can create Person need that. [04:58] Right. [04:58] but you were saying something rather broader than that. [04:58] -or- [04:58] I was saying that would be a quick fix. [04:58] you were being unclear [04:59] I thought the "We could be bad" was a big enough hint that the following suggestion was an awful, suboptimal, but effective fix. [05:00] I thought it was a catholic bad [05:00] you know, good [05:02] So, my preferred fix is to grant SELECT, INSERT on PersonSettings to everywhere with INSERT on Person. Including, probably, write. [05:02] And possibly review the test changes to work out if the DB users really needed to be changed. [05:03] that sounds fine [05:07] It looks like we want to revert the test changes. But I might keep those cool context managers :) [05:07] Can anyone explain what's going on with the "TREE" and "MERGE-SOURCE" stuff on the diff on this mp? https://code.launchpad.net/~huwshimi/launchpad/tag-label-687546/+merge/48577 [05:07] huwshimi: A conflict occurred during the merge. [05:08] wgrant: How do I resolve that? [05:08] Merge from devel, edit the conflicting files to remove the conflicts, run bzr resolve, bzr ci and push [05:13] StevenK: How do I merge from devel? I've done it before, but the instructions got removed from the wiki :9 [05:13] *:( [05:13] * huwshimi is still branching newbie [05:14] huwshimi: In your branch, 'bzr merge ../devel' [05:14] Assuming that you have the usual branch layout created by rocketfuel-setup. [05:14] wgrant: yeah, thanks [05:15] wgrant: I guess I need to update devel to the latest first though right? [05:15] Right. [05:15] cd into there, and 'bzr pull' [05:15] Or probably bzr pull -d ../devel [05:16] Or rocketfuel-get [05:16] Or that. [05:16] But that takes forever from .au. [05:17] It's only a few minutes for me [05:17] That is longer than it takes to do a non-parallel branch build. [05:17] And that is already forever. [05:18] Kids these days [05:21] spm: hi [05:21] hola [05:25] lifeless: ? [05:25] spm: I have two queries [05:26] in http://pastebin.com/kwXPWJyT [05:26] I'd like them both run, and explain analyzed, on prod please [05:26] I'm shocked. only 2???? :-P [05:26] np [05:26] its 6:30 [05:26] lifeless: So effectively 4 queries? [05:26] * spm cheers StevenK on ;-) [05:28] * lifeless throws peanuts [05:28] :-) [05:28] lifeless: https://pastebin.canonical.com/42865/ [05:29] spm: did you run twice? [05:29] spm: also I need the actual output of said queries [05:30] I didn't run twice, but can; output coming. [05:30] (I don't need the plan again) [05:30] just run the queries a couple of times each [05:30] And query count rises [05:31] ok that'll have to be fixed on Monday. Have a good weekend for all those who are about to begin them. [05:32] night huwshimi [05:32] lifeless: 1st is count 270 [05:32] spm: and how long did it take ? [05:32] (\timing ftw) [05:32] ~ 1.5 secs each [05:32] will paste shortly [05:32] kk [05:33] lifeless: https://pastebin.canonical.com/42866/ [05:34] thanks [05:37] spm: can you change the select count(*) in the first query to just select * [05:38] spm: run it, and let me know how long [05:38] ugh. yes. one sec. [05:39] ew. I wish I hadn't done that to console. try #2. [05:39] Haha [05:40] lifeless: The mail I just sent to you makes me sad [05:40] yes [05:40] me too [05:40] why is it like that though [05:40] we should debug [05:41] Querying Hudson over it's Python API is like pulling teeth [05:41] how do you know [05:41] have you pulled teeth ? [05:41] No, but I've had a molar pulled [05:42] stub: you might want to land bigjools debversion patch yourself given how close to pqm closure [05:42] spm: I can prep the query for you if you like [05:43] wallyworld: lp:~wgrant/launchpad/bug548-db-2-tests [05:44] lifeless: https://devpad.canonical.com/~spm/lifeless.out [05:44] wallyworld: I've run some previously failing tests, and they're OK. Running more now. [05:44] spm: you missed the *time* [05:44] spm: and I didn't care about the output :) [05:45] spm: (sorry for the evident confusion) [05:45] oh I see [05:46] ~ 1.7 to 2.0 secs. call it 1.9. [05:46] great [05:48] wgrant: I'm starting to think that in the second half of this year we're going to have to do a schema refactoring to make soyuz - and things that have followed its lead - actually queryable [05:49] lifeless: If you have some concrete suggestions I would be glad to hear them. [05:49] drop database [05:49] for starters, collapse the tables where we have 'A if B and B if A' [05:50] unless you are never filtering on A or B, this sort of split destroys query performance [05:50] eg? [05:50] BPB-PB-BFJ [05:50] That means denormalising everything. [05:50] if we filtered on BPB rather than BFJ it would be different [05:50] wgrant: I don't see that it does [05:50] wgrant: it may mean modelling it differently [05:50] lifeless: SPRBs? TTBJs? [05:50] three tables [05:51] BPB SPRB TTBJ [05:51] Denormalised, forcing everyone to query against all three. [05:51] not true [05:51] some folk will have to query three [05:51] *most* folk will query one. [05:54] wgrant: thanks, looking now [05:55] lifeless: So, if we are going to move to a denormalised model we can. But that's a big policy change. [05:55] And it is going to need to have good evidence behind it. [05:55] wgrant: I haven't proposed denormalised so far. [05:55] wgrant: as for policy; we have lots of denormalisation, there is no need for a policy change at all. [05:56] You do not propose redundancy in data, but redundancy in schema. [05:56] That is almost as bad. [05:56] uhm [05:56] not at all [05:56] totally different [05:56] *and* [05:57] in the object model we can still map up to three objects if we want; or base classes. [05:57] but sql /is not/ an object db, and its query performance /is not/ that of object traversal. [05:57] approaching things from the wrong end here will give shocking results. (Which btw, we have). [06:01] wgrant: those changes look sensible to me. wonder why they were needed now? what's changed? [06:02] wallyworld: Nothing changed. They've been needed since the new table was introduced. [06:03] lifeless: the changes to security.cfg and reverting use of the lp_dbuser cm pretty much make the original mp redundant [06:03] wgrant: ah ok. didn't realise it was a new table. [06:04] so it the tests need the permissions, how does it work in production ie for the app itself? [06:04] wallyworld: I reverted the test DB changes, instead granting INSERT on personselection to every DB role that has INSERT on person, since Person.__init__ creates a PersonSelection. [06:06] wgrant: yeah i realise that :-) just wondering how this hasn't come up before now, unless the original branch which introduced the new table was very recent [06:06] wallyworld: The original branch hasn't landed yet... [06:06] This MP has a prereq. [06:06] The prereq adds the table, and has not yet landed. [06:07] That's why this is on db-devel. [06:07] ok. now it makes sense [06:07] although staging uses db-devel [06:08] wgrant: so you are going to put up a mp for your branch? [06:11] wallyworld: I suppose so. [06:11] Not sure it really needs one. [06:11] But I might as well. [06:11] wgrant: i'm not sure what sop is in these cases? [06:12] If it were my branch to start with, I'd just land it without rereview. [06:13] wgrant: me too, but in this case, not sure. maybe lifeless can look since he was the original reviewer? [06:13] wgrant: you're fixing an unlanded mp right? [06:13] wgrant: throw up a branch with the other one as a predicate [06:13] I'll have a look in a minute, once I finish this mail. [06:13] lifeless: Half way there. [06:16] wgrant: where do i look to estimate when a particular rev will deploy on qastaging, like you did yesterday [06:17] wallyworld: Ha ha ha. [06:17] wallyworld: You need to predict when buildbot will bless it. [06:18] Once buildbot has blessed it, buildbot-poller will pull it into stable within 15 minutesish. [06:18] wgrant: it's green in bt now [06:18] /sbt/bb [06:18] Unless there is a stable->db-devel merge stuck in PQM, in which case it won't pull anything more until that is processed. [06:19] Once it's in stable, it should be on qastaging in about an hour. [06:19] wgrant: ok. bb finished it about maybe 30 minutes ago i think [06:20] You can check /srv/lp-pqm-logs/pqm_logs/buildbot.log and /srv/launchpad.net-logs/qastaging/asuka/qastaging-update.log to get some progress info. [06:20] wgrant: ah. that's what i needed. thanks [06:20] And you can rsync them manually if they are not syncing frequently enough. [06:21] wgrant: i can wait a little longer. once that rev lands in qas, i can qa it [06:21] lifeless: MP and diff up. [06:21] https://code.launchpad.net/~wgrant/launchpad/bug548-db-2-tests/+merge/48579 [06:22] wallyworld: What about bug #670452? [06:22] <_mup_> Bug #670452: Hard to find related branches when composing recipe < https://launchpad.net/bugs/670452 > [06:22] wgrant: that's then one i need this latest rev to finish qaing [06:23] Ah. [06:23] 12320 is a bit odd. [06:23] how so? [06:23] It has [no-qa], and there are no linked bugs, but it lists two bugs and says it's missing QA tags. [06:24] check the revisions [06:24] jus ta thought [06:24] I am looking. [06:24] But codebrowse is being disagreeable. [06:25] wgrant: More than usual? [06:27] Ah, interesting. [06:27] One bug is in the branch name. [06:27] The other linked to the branch. [06:27] But not in the commit message. [06:27] I didn't think it looked beyond the commit message :/ [06:29] Ah, it does. [06:29] It checks the branch nick, extracts bug numbers from that, and then looks up linked bugs on the LP branch with the same name. [06:29] wgrant: interesting that the rev is listed twice in the qa report? [06:31] wallyworld: Because there are two bugs. [06:31] doh! [06:32] wgrant: but 12317 has 2 bugs too [06:32] wallyworld: Ahh, I see what's happened. [06:32] It saw the no-qa. [06:33] So it tagged both bugs as qa-untestable. [06:33] But then henninge untagged one of them. [06:33] * wgrant retags. [06:33] wgrant: no, why? [06:33] wgrant: it's not the fix for the bug [06:33] oh, hang [06:33] on [06:34] henninge: It was in the branch name, so qa-tagger thinks it is. [06:34] wgrant: did I ever tell you that asuka-wants-to-get-rocked is complete? [06:34] It needs to retain the qa-untestable tag. [06:34] Until we deploy r12320. [06:34] ah, ok [06:34] spm: I think so. [06:34] oh cool. just had a moment of doubt there. [06:35] * henninge did not know about the branch name [06:35] henninge: Neither did I. [06:38] * wallyworld didn't either [06:38] spm: you didn't, we knew, query fixed, landed earlier today [06:38] might even be on qas now [06:39] oh cool. [06:39] wgrant: 477 lines (+127/-96) 5 files modified (has conflicts) [06:39] lifeless: Huh? [06:39] Grrr. [06:40] It does not conflict locally. Perhaps the prereq is breaking things. [06:41] The number of conflicts visible in that diff is between 0 and 0. [06:41] Must be in the prereq. yay. [06:41] heh [06:42] where did that copy archive query fix go [06:43] I shot it at ec2 [06:43] No, that's not it either. [06:43] Oh. [06:43] I proposed into devel, not db-devel. [06:43] ah [06:43] 12323 [06:45] :( Deployment-Ready has filled up again [06:46] ok, its on stable [06:46] waiting for qas to update [06:46] lifeless: https://code.launchpad.net/~wgrant/launchpad/bug548-db-2-tests/+merge/48580 [06:46] mars: hi [06:46] lifeless: The lib/canonical/widgets is a lie. [06:46] But apart from that it looks OK. [06:47] Actually, I think the whole thing is a lie. [06:47] wow that widgets file sure gets around [06:48] ok, so you've backed out all the stuff, because none of was actually broken. [06:48] I didn't back it out far enough, though. [06:48] even though we may have more person.insert than needed, we're not trying to fix that right now. [06:49] what did you miss? [06:50] Ah, no, I think it's OK. [06:50] Just some confusion as to what was there before. [06:50] doit [06:51] Thanks. [06:56] wallyworld, lifeless: Heading off to ec2. [06:56] I'm out for most of the evening, but I'll check up on it when I return home. [06:57] wgrant: \o/ thanks!!! [06:57] wgrant: ciao [06:59] wallyworld: You need 12327, right? [06:59] hi all [06:59] wgrant: yeah. waiting, waiting [06:59] i hope the oauth change doesn't break anything [06:59] hi poolie [06:59] wallyworld: That's about 5 hours away. [06:59] i guess we shall see [06:59] it would be a shame if there was some weird side effect [06:59] wgrant: WTF? [06:59] wallyworld: The last successful buildbot run was 12324 [07:00] wallyworld: The one in progress is 12328 [07:00] I think tomorrow I will try to write a cron job to automatically report this stuff, because it is too spread out. [07:01] poolie: oauth change? [07:01] wgrant: bollocks. it's cutting it real fine then for pqm closure [07:01] wallyworld: Hm? It's already past PQM. [07:01] And if it's broken, then you can r-c the fix yourself :P [07:01] wgrant: in case there's something else wrong :-) [07:02] true, but i don't want to do that :-) [07:02] lifeless, i deleted the second copy of oauth.py from the tree [07:02] oh right [07:02] poolie: did you land via ec2 land? [07:02] there's not much specific benefit, so it would be a shame if there's accidental breakage [07:02] i ran it here [07:03] the full suite? [07:03] it failed due to something else in the tree being broken [07:03] but with exclusions it passed [07:03] poolie: we know where you live if something happens :-) [07:03] i'd be more concerned there's something about deployment that causes it to not find the right external oauth [07:03] but, we shall see [07:03] it was still waiting for hudson [07:03] poolie: It'll be fine if it works on ec2. [07:04] deployment matches test environment quite closely [07:04] Except for sourcecode. [07:04] But this isn't sourcecode. [07:04] I know it's OK egg-wise, because that's what makes it take so. damn. log. [07:04] this is making it depend on sourcecode for something where it previously did not [07:04] +n [07:04] poolie: This is an egg, not sourcecode. [07:04] ok === almaisan-away is now known as al-maisan [07:34] Project devel build (417): STILL FAILING in 6 hr 13 min: https://hudson.wedontsleep.org/job/devel/417/ [07:34] * Launchpad Patch Queue Manager: [r=thumper][bug=316694] Add a web_link property to the JSON [07:34] representation of all web service entries that correspond to [07:34] some page on the Launchpad website. [07:34] * Launchpad Patch Queue Manager: [r=lifeless][bug=709717] Remove an unnecessary join to [07:34] sourcepackagerelease when counting packages that are being [07:34] built/waiting to be built in ArchiveView.num_pkgs_building [07:34] * Launchpad Patch Queue Manager: [r=leonardr][bug=705342] Fail nonvirtual builders in the ABORTED [07:34] state rather than cleaning them, [07:34] since we can't guarantee that there's no active build. [07:34] * Launchpad Patch Queue Manager: [r=jtv][bug=705652] Log warnings in the remove_translations script if [07:34] current translations are removed. Removed the theoretically [07:34] impossible case of finding a diverged translation being current [07:34] in upstream which is linked to a POTemplate having a diverged [07:34] translation being current in Ubuntu. [07:34] * Launchpad Patch Queue Manager: [r=deryck][ui=none][no-qa] Provide translation sharing information. === al-maisan is now known as almaisan-away [09:08] Hey up 'padders [09:11] hi mrevell! [09:13] helleau [09:16] hi bigjools [09:16] Which reminds me of coffee [09:16] brainzzz [09:19] yay PG vuln [09:23] integer overflow—a type of vuln I suspect we haven't even begun to make a dent in, as an engineering discipline. [09:23] Well okay, in this case, buffer overflow from large integers I suspect [09:23] interesting === almaisan-away is now known as al-maisan [09:24] hi al-maisan! [09:24] hello jtv, how are things? [09:25] al-maisan: they are bloody cold, thank you. ☺ You? [09:25] jtv: ha-ha .. you must be in good, old Europe then :) [09:26] jtv: doing well, thanks, the weather in Zürich is "mild" in comparison with the previous days [09:27] So… ice but no penguins? === Ursinha-gone is now known as Ursinha [09:36] morning [09:47] Hi Ursinha! [09:52] jtv: penguins .. in the zoo maybe ;) [09:52] allenap: http://pqxx.org/development/libpqxx/wiki/AllSoftwareIsBroken [09:52] jtv: Cheers :) [09:53] jtv: typo [09:53] 'that what' should be 'than what' [09:53] allenap: still needs work, and Maris had some useful feedback on it. If you have any ideas (maybe I should open a discussion page) I can forward them. [09:53] thanks lifeless! Will fix right away. [09:53] hi jtv :) [09:54] jtv: actually, I think I misparsed. [09:54] jtv: either way :) [09:55] lifeless: did you misread the "That was"? [09:55] I think so [09:55] OK, then it stays unchanged. [09:57] mars: hi [09:58] actually [09:58] gnight [10:00] jtv: remind me where your MF branch is and I'll re-test [10:02] bigjools: I thought my MF branch was already on dogfood. But it's also at lp:~jtv/launchpad/bug-181368-parallelize [10:02] Why do I have so much trouble spelling that word lately? [10:03] jtv: for some reason DF has a diff in test_ftparchive.py but not in the publisher code [10:03] ough [10:03] "pilfering_puppy" ....?! [10:03] Yes, doesn't that make sense? [10:04] I think it's a wonderful release name. [10:04] * bigjools wonders what Q will be [10:04] querulous quopossum? [10:04] reaching [10:04] very [10:24] good morning [10:27] morning adeuring! [10:27] hi jtv! [10:29] jcsackett: hi [10:31] and hello jelmer, hello jcsackett :) [10:31] Jeroen! [10:32] Good morning adeuring [10:33] hi al-maisan! [10:33] hi Abel, Muharem [10:33] hello jelmer :) [10:33] hey jelmer! [10:34] jelmer: you strike me as a likely chap to be able to improve this documentation: https://dev.launchpad.net/LaunchpadPpa?highlight=%28launchpad%5C-dependencies%29#launchpad-dependencies [10:34] "Edit debian/control to add or change the dependencies. Your name + email address must match an identity in your GPG key exactly." [10:34] jtv: maybe :) [10:34] As an amateur, I would've thought the name and email address went into changelog. [10:35] Also, I don't suppose there's any way to add a dependency for lucid? [10:36] jtv: That comment doesn't seem like it belongs on the line about debian/control [10:36] Right. [10:36] * jelmer does the wiki editing thing [10:37] jtv: we need a separate lucid package, *unless* the new a-f version is larger than lucid and less than maverick's [10:38] you can add "apt >= " in that case [10:38] It's inbetween. I'm just wondering: if I say "maverick" in the changelog, will the change still go into lucid machines? [10:38] jtv: when I changed them recently, I uploaded to maverick, and then package-copied w/binaries to lucid [10:38] I have a >> dependency to be precise, for complicated reasons. [10:38] and natty [10:39] why? [10:39] Complicated reasons. [10:39] gmb added a "lucid" entry to the changelog last month. [10:40] bigjools: I guess the binaries don't amount to much for this stuff. [10:40] no [10:40] So the same copy would work for me as well. [10:40] but you need to select that option or it won't copy [10:41] It'll detect the maverick entries in the changelog and refuse to build for lucid? [10:42] no, you can't copy intra-archive without binaries [10:44] ah [10:47] jelmer: thanks for the fix :) === al-maisan is now known as almaisan-away [11:07] jtv: Hi! [11:07] hi henninge! [11:08] jtv: Can you have a look at this mp, please and possibly review it? [11:08] https://code.launchpad.net/~henninge/launchpad/devel-710591-setcurrenttranslation-extension/+merge/48594 [11:08] henninge: yes on the former, maybe on the latter :-P [11:08] I know, I know ... [11:08] ;) [11:08] Joking—I'll review. [11:08] For a price^H^H^H^H^H^H^H^C [11:09] * henninge might fall asleep though [11:15] and jtv might eat a bit—won't take long. [11:29] henninge: typo in ITranslationMessage.acceptAsImported: sold_style_import [11:30] henninge: also, please move the "real" docstring from the model class to the interface. [11:30] Oh, the big one is on POTMsgSet, not TranslationMessage. [11:30] jtv: right, that is modeled after approve. [11:31] Sorry about that. [11:34] jtv: I just saw that "lib/lp/app/widgets/__init__.py" appears in the diff. I had a conflict when pulling the latest devel. [11:35] I was wondering about that but decided not to whinge. :) [11:35] That is not supposed to be in my brnach. [11:36] henninge: I see that the design discussion opened up another can of worms about imports as well. [11:37] which design discussion? [11:37] The design discussion for your branch. [11:38] "What to do about Ubuntu packaged/published/imported/upstream imports." [11:38] ah, that. [11:39] Well, I realized when doing this that using "approve" in the importer is just not The Right Thing. [11:39] If I read the docstring correctly, this means that messages that get made current during import aren't marked as reviewed. I thought they were, actually. [11:39] jtv: btw, the next branch will actually update the importer. [11:40] No, they were not, [11:40] I checked the old code. [11:40] That explains why I can't look up the answer to that question in the diff. :) [11:40] So we were getting is_current messages without a review date? [11:41] Obviously yes, since ever. [11:42] David and Robert were pretty confused when all translations uploaded by Robert were marked as being reviewed by him. [11:44] When you update the import code, will we keep the implicit support for non-reviewer uploads? [11:44] "if is_reviewer: acceptAsImported(...)"? [11:44] Because I thought that was very nice in your existing code. [11:45] Hm [11:45] jtv: what did you change in the a-f stuff? [11:45] jtv: it works for the package I uploaded but there's loads of new warnings in the log [11:45] bigjools: ah [11:46] that was a bonus [11:46] I logged stderr from the sub-process at a higher level. [11:46] It was previously DEBUG, which seemed inappropriate. [11:46] hmmm ok [11:46] Want me to change that? [11:46] no, let's roll with it [11:46] I was about to haggle down to INFO. :) [11:47] But stderr is meant to be for error stuff, after all. [11:47] the DF warnings are genuine, just annoying [11:47] Then maybe the real lesson is that we should fix them. [11:47] it's basically because we've not got an intact archive on there due to lack of space [11:47] jtv: I had not planned on that. I was going to use "old_style_imports" only if the upload is by_maintainer and to a source package and no upstream template eixists. [11:47] jtv: nothing to fix [11:47] jtv: but I don't plan to use approve for anything. [11:47] other than to publish with the "careful" option - but we'd run out of disk space pretty quick [11:48] henninge: is this related to it being old-style though? I would have thought you were going to replace the approve call with an acceptAsImported one. [11:48] exactly [11:49] but the "old_style" parmeter is only True when those three conditions are met [11:49] s/is/will be/ [11:49] henninge: then this isn't really "old style" (especially since AFAIK we have no plans to change it), more a kind of "upstream-by-proxy style" import. [11:50] well, I called it old_style because it uses "is_current_upstream" like the old "is_imported" [11:50] when importing to a source package [11:50] henninge: yes, but think from the perspective of an engineer who's not familiar with Translations as it was before Recife, who now has to work on the codebase. [11:50] Unlikely, I know. :-) [11:51] is anyone already fixing devel? [11:51] oh, I have a few engineers here in my squad that are having fun with the codebase... [11:51] henninge: that engineer won't have "old style" as a reference base, and won't be interested in it, and will interpret it as legacy stuff, to be grandfathered in eternally and then removed. [11:51] So can you come up with a more descriptive name? [11:51] jtv: ok, renaming is fine by me. [11:52] "Two things are hard…" [11:52] Not when I am this tired ... ;) [11:52] what was the other one? [11:52] is anyone even bothered about devel? [11:53] What's wrong with it? [11:53] jtv: upstreamless_imports ? [11:54] one_sided ? [11:54] bigjools: is it buildbot? [11:54] it fails locally too [11:54] We may have grown too accustomed. [11:54] whoops [11:55] henninge: deliberately taking the distraction to give the brain time to percolate. :) [11:55] bigjools: what test? [11:56] Failure in test canonical.launchpad.webapp.tests.test_authentication.TestOAuthParsing.test_split_oauth [11:56] see my email [11:57] argh not oauth [11:57] bigjools: i just logged on the check how things were going. build failure :-( [11:58] wallyworld: yeah, see the email I sent [11:58] jtv: bigjools: poolie landed a branch which deleted a "duplicate" oauth.py or something like that [11:59] perhaps we rollback that branch? [11:59] that was my thought unless someone knows how to fix it [11:59] i'm not across fully the reason for making the change that was made [11:59] I know pretty much bugger all about oauth :/ [12:00] well that makes at least 2 of us [12:00] i'm waiting on rev 12327 to get to qastaging so i can complete qa of one of my bugs too [12:01] but with the build failure, that ain't gonna happen anytime soon [12:01] Passes for me locally. [12:02] Morning, all. [12:02] Few hours old all. [12:02] jtv: the failing test? [12:02] Hi deryck [12:02] Few hours old *though* :) [12:02] bigjools: yes, test_launchpad_login_source [12:02] you have latest devel? [12:02] Few hours old. [12:02] I'm not sure about updating it now! [12:02] test_split_oauth is the test === matsubara is now known as matsubara-afk [12:03] Ah that one—passed as well. [12:03] ?! [12:03] you have latest sourcedeps etc? [12:08] Guess not. [12:11] henninge: how about calling the new behaviour "upstream for package"? POTMsgSet.acceptAsImported is really two methods dressed up as one horse though, so I'd advocate splitting it up and putting the "if" all the way in the calling code. [12:22] bigjools: the oauth.py removed from lib/contrib is different to the one from the oauth egg [12:22] AWESOME :) [12:22] so that's likely the reason that test fails [12:22] the one removed could well be the old, buggy version but....... [12:23] and maybe all we need to do is update the failing test, but i don;t have enough knowledge about all this to do that [12:23] me neither [12:23] anyone else likely to know? [12:24] we probably need to wait for our friends in North Carolina to wake up [12:24] we could ask one of the reviewers but they're not here atm [12:25] bigjools: so pqm should close as scheduled in 30 minutes and we land a rc fix after that? [12:25] or we want to land a rollback now? [12:25] or something else? [12:25] wallyworld: I thought PQM was closing in another 3.5 hours [12:25] oh have i got the tz wrong? [12:25] it was 1600 UTC right? [12:25] 14:00UTC [12:25] but it can be 16:00 :-) [12:26] argh [12:26] seems an odd time :) [12:26] i just copied from what happened last release :-) [12:26] make it 23:00, go on :) [12:26] you can do whatever you like, you're the RM [12:26] well, i vote that we make it 16:00 to fix this issue :-) [12:26] typically we close it when the US guys finish on a Friday [12:27] which is 2300 [12:27] which tz? [12:27] there is Only One TZ [12:27] :) [12:28] my db-devel branch is in ec2 right now as well, if it doesn't land I'll probably have to kill kittens [12:29] bigjools: just to be sure, so you saying to close pqm in 3.5 hours [12:30] wallyworld: in 11.5 hours [12:30] bigjools: cool, even better. it's late here and i'm easily confused [12:30] you'll allmost certainly catch people off guard closing at 1600! [12:31] wallyworld: actually I meant 10.5 hours :) [12:31] ok. i should check in with a losa to make sure the closing time is clear [12:31] probably a good idea [12:32] bigjools: so that will allow your db-devel branch to land and the us guys time to look at the oauth issue [12:32] yup [12:32] ok [12:32] awesome - go get some sleep, enjoy your weekend [12:32] are you able to ping someone from across the pond to follow up? [12:33] yeah I'll chase [12:33] awesome. thanks [12:33] nae prob [12:33] gary_poster: that branch i submitted to ec2 failed tests [12:34] so as a quick fix, wgrant added the required insert/update permissions to security.cfg for the personsettings table [12:34] and the use of the db_user context manager was rolled back [12:35] gary_poster: just as an fyi in case you were wondering what happened ^^^^^^ === matsubara-afk is now known as matsubara [12:40] bigjools: i'll send mbarnett an email about the altered pqm closing time but if he appears before your eod, if you could irc him also that would be great. tia :-) [12:40] sure thing [12:53] /topic https://dev.launchpad.net/| PQM is open | firefighting: - | On call reviewer: adeuring | https://code.launchpad.net/launchpad-project/+activereviews === bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/| PQM is open | firefighting: - | On call reviewer: bac| https://code.launchpad.net/launchpad-project/+activereviews === adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/| PQM is open | firefighting: - | On call reviewer: bac, adeuring| https://code.launchpad.net/launchpad-project/+activereviews [13:01] wallyworld: thank you! so, the main branch landed [13:02] ? [13:02] and I should clean up the insert/update bits ? [13:03] gary_poster: i think instead your branch was branched and the changes i alluded to made and that one was landed [13:03] awesome [13:03] looking for db-devel [13:03] i had to go and get the kid from school so missed the main action [13:03] I assume I should fix that up now [13:03] :-) [13:04] gary_poster: i think the concensus was that the lack of permissions on the personsettings table was the true root cause issue that needed fixing [13:04] so not sure there's too much to fix [13:05] in other words, perhaps the db_user context manager was not needed [13:05] hm. I didn't think that was actually necessary, especially for the files I touched for instancer [13:05] that is, the tests needed the enhanced permissions [13:05] ceratinly it's still there but the tests have been reverted not to ust it i believe [13:05] for stup [13:05] gotcha [13:05] for setup I meant [13:06] I don't see it on https://code.launchpad.net/~launchpad-pqm/launchpad/db-devel [13:06] * wallyworld looks [13:07] gary_poster: here's the branch https://code.edge.launchpad.net/~wgrant/launchpad/bug548-db-2-tests [13:07] yes I found, thank you [13:08] What does status "Superseded" mean I wonder [13:08] never seen that one before [13:08] me either :-) [13:08] oh there it is [13:08] https://code.launchpad.net/~wgrant/launchpad/bug548-db-2-tests/+merge/48580 [13:08] i thought it was submitted to ec2 [13:09] maybe it failed some more :-/ [13:09] there's a buildbot failure atm which may be holding things up [13:09] ah [13:09] you don't know about oauth per chance? [13:10] foundations was in charge of it but I barely knew much of anything. lessee...benji is still sick...stub also worked on it [13:10] and then salgado is on another team [13:10] so we have no experts :-( [13:10] I can stare at it too [13:10] :-( [13:11] there's no visibility into the test output of my branch [13:11] the oauth.py frob lib/contrib was removed sinces there's a version in the oauth egg [13:11] which is a shame [13:11] but the 2 versions are different and now there's a test failure [13:11] so I guess I'll dig into this a bit [13:11] can we simply revery? [13:11] revert [13:11] gary_poster, I'm happy to have a look at that, if you'd like [13:11] gary_poster: you mean the one that i landed? [13:12] salgado: thank you! [13:12] the test output from that ec2 run i did for you? [13:12] wallyworld: I got that. I meant the one from wgrant [13:12] oh. [13:13] the changes in wgrant's branch do look good, but actually, I still think what I had will be necessary [13:13] gary_poster: btw, bigjools is going to follow up with someone in the usa about the oauth thing. i asked you because i had your attention :-) [13:13] there are some dbusers who don't have person access at all [13:13] :-) [13:14] I was going to be asking gary anyway :) [13:14] :-P :-) [13:14] bigjools: another thing that should become faster with my "view" branch is finding binary package files on a distribution. The soyuz queue and sync-source seem to make use of that. [13:14] Since salgado has volunteered I think we're officially saved [13:14] bigjools, wallyworld ^^^ [13:14] \o/ [13:15] gary_poster: sorry I'm a bit behind on this conversation, is he fixing the issue or reverting it? [13:15] yes bigjools :-P I never got around to seeing what the issue was [13:15] jtv: great! [13:15] gary_poster: also as an fyi, i got the pqm closing time wrong so it's now 23:00UTC not 14:00UTC [13:15] so there's time to get stuff sorted [13:15] bigjools: the more positive you are, the more I feel we must be ignoring some major screwup on my part. :-) [13:16] there's a db-devel rev which needs qa but i'm sure curtis will do that before eod :-) [13:16] jtv: I'm sure you'll be fine :) [13:16] yay! so now we are at...13:16 UTC? I forget if I am -5 or -4 . looking [13:16] wallyworld: I have a db-devel that will land soon when ec2 finishes it [13:16] yeah [13:16] bigjools: I guess you just found my "be more careful" button. :-) [13:17] i've got one to but need 12327 to land on qastaging first >:-( [13:17] so we have 9:40-ish, yeah wallyworld? That's awesome. Thanks for the heads up [13:17] wallyworld: mine's already QAed [13:18] gary_poster: yeah. i thought i copied from what happened last release but clearly was smiking something that day to get the time so wrong [13:18] :-) [13:18] bigjools: thanks! [13:22] night guys, have a good day. good luck with the oauth thing. email if you need me to do anything for the release === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [13:27] thank you wallyworld ! [13:36] gary_poster: Hi. [13:36] so, this is what happened [13:36] wgrant: hi, and thank you too. 1 sec finishing call [13:37] mbp fixed bug 314507 by changing contrib/oauth.py, and in the process of that he wrote a test for the fix [13:37] <_mup_> Bug #314507: OAUTH server ignores ignores first element in header (rather than realm key) < https://launchpad.net/bugs/314507 > [13:37] gary_poster: My changes are fine. But webservice tests fail because snapshotting hits "Teams do not support this attribute. [13:38] he then noticed we didn't need contrib/oauth.py because we already have a python-oauth egg new enough, which has a fix similar to the one he did to contrib/oauth.py [13:38] ImmutableVisibilityError: This team cannot be converted to Private since it is referenced by a personsettings. [13:38] That also. [13:38] gary_poster: Those are the only two failure modes. But I'll forward you the email. [13:38] but the upstream fix is not really compatible with his fix, so the test fails [13:39] wgrant, yeah the email would be perfect [13:39] thank you again wgrant [13:40] No worries. [13:40] Email sending... [13:42] Project devel build (418): STILL FAILING in 6 hr 8 min: https://hudson.wedontsleep.org/job/devel/418/ [13:42] * Launchpad Patch Queue Manager: [r=lifeless, [13:42] wallyworld][bug=712882][no-qa] Silence non-error output from [13:42] mirror-prober.sh. [13:42] * Launchpad Patch Queue Manager: [r=lifeless][bug=670452] Fix layout of related branches collapsible [13:42] fieldset [13:42] * Launchpad Patch Queue Manager: [r=lifeless][ui=none][no-qa] Remove duplicated urgencymap in gina. [13:42] * Launchpad Patch Queue Manager: [r=jcsackett, [13:42] sinzui][ui=none][bug=701545][no-qa] remove extra copy of oauth.py === almaisan-away is now known as al-maisan [13:54] gary_poster, I've replied to bigjools' email. bottom line is, I think the change should be reverted until we get a python-oauth with a fix that makes the test pass [13:55] salgado: makes sense. thank you very much! [13:56] adeuring: I'm about to head off for FOSDEM, but was wondering if you could review this one: https://code.launchpad.net/~jtv/launchpad/bug-181368-view/+merge/48609 [13:56] bigjools: are you available to (find someone on a bug rotation to) do that? [13:57] jtv: sure, I'll look [13:57] adeuring: and thanks for that other review, very discreet! [13:58] bigjools: any luck on dogfood? [13:58] gary_poster, np [13:59] deryck: YUI JS tests are run as part of our harness, True or False? [13:59] gmb, True [13:59] deryck: Thanks. [14:00] abentley, hey, hey. standup ping. [14:00] gmb, and YUI tests should be preferred to Windmill [14:16] deryck: so how does one run a YUI test from the command line? [14:18] bigjools, adeuring: I'm not long for this login. If there's anything you need me for, speak now or for the weekend hold your peace. [14:20] gary_poster: Did my email make it? [14:20] yes, thank you much wgrant. [14:21] bac, firefox path/to/test/file.html [14:21] Great. [14:21] gary_poster: They look easy enough to fix. [14:21] * wgrant sleeps. [14:21] wgrant, agreed. night [14:21] bac, and currently, they are not pretty and easy to read unless you set fetchCSS: true in the test. [14:21] deryck: that's not command line. how are they run by our test harness? [14:22] bac, ah, sorry. xvfb-run ./bin/test -cvvt test_yuitests [14:22] bac, that will run *every* YUI test. You can limit by adding --layer=BugsWindmillLayer (or whatever app layer you need) [14:22] deryck: thanks! [14:23] bac, also, there is no way to run a single YUI file via bin/test. [14:23] deryck: gotcha [14:23] deryck: i'll add that to the wiki [14:24] but if you TDD with YUI test it makes sense to keep the browser open. so using firefox path/to/test makes sense there, I think. [14:24] or whatever browser you prefer, obviously. [14:25] deryck: right [14:25] henninge: I gave you a conditional approval, by the way, on the points we discussed. [14:27] jtv: it worked ok [14:27] thought I'd already said that :) [14:29] gary_poster: I can revert it [14:29] bigjools: maybe I just missed it. All I remember seeing is the bit about the warnings. So the files were produced correctly, not one architecture overwriting the rest or anything? [14:30] thanks bigjools [14:30] bigjools: and also, what did it do to performance? [14:30] jtv: hard to say about that, DF only has one builder [14:30] but the Package file I looked at was updated ok [14:30] bigjools: well for this purpose, "source" is an architecture. [14:31] jtv: the Sources file was also ok [14:31] no idea with performance [14:31] the longest part by far is where we generate the files for a-f [14:31] bigjools: I've been assuming that the outputs for different architectures never write to the same files, based on wgrant's note that it could be parallelized. [14:31] correct [14:31] Phew. [14:33] Got a branch in review that'll hopefully speed that part up a bit, but had to stop myself from trying to fix everything. [14:33] there's one file per suite-arch [14:33] What I thought/hoped. [14:34] I think we could probably ditch the batch processing now, since it's trying to force the StupidCache's hand but we now have GenerationalCache. [14:35] One thing it _could_ still be useful for is prejoining. Can't do that with those get-all-packages queries, but can with a reasonably-sized batch of rows. [14:37] That'd apply nicely to practically the entire BinaryPackageFilePublishing view: select BPPHs and BinaryPackageFiles, batch them, then batch-fetch the stuff that pulls in the other tables. [14:38] That could save us something like half the tables in the join. [14:39] Anyway, I have to run now! [14:41] bac, adeuring: hi, anyone eager to take on a pretty simple branch? [14:42] danilos: I'm currently reviewing a branch from jtv... bac? [14:42] danilos: ok [14:42] bac, thanks, it's up at https://code.launchpad.net/~danilo/launchpad/bug-548-use-preference/+merge/48616 [14:42] bac, fwiw, I am not sure where exactly does the change in app/widgets/__init__.py come from in there [14:43] bac, probably one of merging artifacts (I've based in on as of yet unlanded gary_poster's branch) [14:43] yeah [14:43] it was an artifact on mine too, starting yesterday [14:44] gary_poster, ah, interesting [14:48] * bigjools just sent a testfix to PQM [14:52] gmb, deryck: Would one or both of you have time to review https://devpad.canonical.com/~gavin/howto-import-bugs-into-launchpad.html? [14:52] allenap, sure, I can look. [14:53] Thanks :) [14:55] where's sinzui? he's replying to lp questions but is not around here? [14:57] allenap, it's very nice. very thorough. [14:57] allenap, The only "gotcha" I've had that wasn't covered, was importing bugs into a private project on staging. Thinking the bugs didn't import, when it was just that I couldn't see them. [14:57] not sure if that should be covered or not, but otherwise, it's very well done and accurate. [14:58] deryck: Cool. I've never done an import into a private project. Is it just that the bugs are not visible unless you've got the right puppy powers? [14:59] allenap, exactly. so you completely have to depend on the person to followup and check them completely themselves. [14:59] allenap, gmb: hi guys, do you know if it's possible to set a direct subscription to LIFECYCLE through UI already (on qastaging)? [14:59] deryck: Okay. [14:59] danilos: It isn't. [14:59] deryck: Thank you :) [14:59] allenap, private is the exception, obviously. but commercial customer imports will be this way. [14:59] allenap, np! :-) [15:00] danilos: Oh, wait. [15:00] I tell a lie [15:00] gmb, ok, thanks... ok, no thanks for you then! :) [15:00] danilos: Yes, it can be done (sorry, I saw LIFECYCLE and read NOTHING for some reason) [15:01] gmb, is it just +subscribe on the bug? [15:01] danilos: if you go to bug/+subscribe you can choose it there. [15:01] gmb, I assume I need malone-alpha membership? [15:01] gmb, because I don't see it on https://bugs.qastaging.launchpad.net/malone/+bug/548/+subscribe [15:01] <_mup_> Bug #548: Launchpad sends change notification updates to the person who requested the change < https://launchpad.net/bugs/548 > [15:02] danilos: You're not a member of malone-alpha on qastaging. I've added you. [15:03] gmb, excellent, thanks [15:05] I keep getting timeouts on qastaging trying to subscribe to a bug... let me try modifying an existing subscription isntead === matsubara is now known as matsubara-lunch [15:08] bac, ping [15:10] hi mars [15:26] testfix landed 10 mins ago [15:48] hi danilos, i'm looking at your branch. [15:48] danilos: i'm confused by bugnotification.py [15:49] danilos: why do you test not person.selfgenerated_bugnotifications instead of not recipient.selfgenerated_bugnotifications [15:50] danilos: why do you test "not person.selfgenerated_bugnotifications" instead of "not recipient.selfgenerated_bugnotifications" ? (redone for clarity) [15:51] nm [15:53] bac, ok :) (fwiw, it's because recipient might be including the person transitively, so this is the cheapest check) [15:54] danilos: for the list of bugnotifications, the first_notification.message.owner is the person who performed the action that is generating the message? [15:54] bac, that's right [15:54] for all bugnofitications [15:54] bac, in that method, all notifications that are passed in are caused by the same person and for the same bug (look at asserts below) [15:54] perhaps changing 'person' to something more descriptive, like 'instigator' [15:55] bac, sure, makes sense === beuno is now known as beuno-lunch [16:17] bac, btw, how do you feel about: 1) 'originator', 2) 'person_causing_change', 3) 'changed_by', 4) 'change_caused_by' or something like that? [16:18] 2 [16:18] it's wordy but unambiguous [16:18] I suspect the worst. gedit and gvim go belly up seconds after they launch. I think I should restart before natty's desktop session ends the same way [16:19] bac, cool, thanks === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [16:22] how had I not noticed before that the branch page shows what branch was merged in each revision and the bug - that's awesome === matsubara-lunch is now known as matsubara [16:41] allenap: do you want to give my branch a spin again, see if it builds now? [16:41] bzr+ssh://bazaar.launchpad.net/~jml/launchpad/sphinx-it-up [16:41] jml: Cool, yeah. [16:49] bac: do you have time for a trivial branch: https://code.launchpad.net/~sinzui/launchpad/reg-docs-1/+merge/48627 === al-maisan is now known as almaisan-away [16:49] sinzui: sure [16:51] jml: Works nicely :) security.txt had a "severe" error, which can be fixed with http://paste.ubuntu.com/562626/. I'll go and update the mp. [16:51] allenap: ta === beuno-lunch is now known as beuno === deryck is now known as deryck[lunch] [17:40] sinzui: sorry, i was overcome by hunger and had to grab some lunch [17:40] bac: np. I an struggling to bring some stability to natty === adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/| PQM is open | firefighting: - | On call reviewer: bac| https://code.launchpad.net/launchpad-project/+activereviews [17:46] sinzui: do we need to specify the hkp port since the value you list is the default? it's kind of like saying http://www.foo.com:80, no? [17:46] I do not know [17:47] google is not forthcoming on this question [17:55] sinzui: the bug report seemed to indicate the port was not necessary, unless i misread [17:55] bac: I agree [17:55] I am very disappointed by the lack of documentation about this [17:58] bac: I will remove the port because we know the default port is being used by ubuntu's keyservers [17:58] sinzui: great. [18:00] hi abentley, there is a question about code imports failing. could you look at it? https://answers.launchpad.net/launchpad/+question/143861 [18:11] bac: ping [18:11] hi sinzui [18:12] bac: can you add open-cat-team so that I can veryify the membership is proposed: https://staging.launchpad.net/~delegated-team/+add-my-teams [18:12] done [18:12] \o/ === deryck[lunch] is now known as deryck [18:57] henninge, I am updating the template precedence rules so that we can merge productseries templates with sourcepackage templates. [18:57] abentley: wie bitte? [18:57] henninge, I'm guessing that a product translation focus should take precedence over a package translation focus. What do you think? [18:58] henninge, ja [18:58] * henninge has to think about this for a moment [19:00] abentley: I never really touched that, I think that's Jeroen's making. [19:00] abentley: where is this precedence applied? [19:00] hi henninge and abentley. there were questions related to your expertise that i assigned to you. hope that is ok. [19:01] bac: I answered mine ;) [19:01] henninge, it's used by the message sharing migration script, which I have now refactored to be used from the job. [19:01] cool, thanks henninge [19:02] abentley: I figured but where exactly? Is it about chosing which POTMsgSet to keep and which to throw away? [19:02] bac, alright. [19:03] henninge, it's used to decide which is the most "representative" POTMsgSet, which yes, I believe affects which ones get deleted. [19:05] abentley: yes, I assume we'd want to favor the upstream template here. [19:05] otoh, I don't think it makes a huge difference. [19:06] henninge, in case of clashes, the subordinate is "saved" by diverging it. [19:06] abentley: hang on, but now you are talking about translation messages. [19:08] henninge, you're right, it's diverging translationmessages. [19:08] abentley: in that case it might be smarter to do it the other way round. [19:08] because of the 1:n relationship [19:09] scratch that [19:09] henninge, I think it's a question of whether you want to favour diverging upstream or ubuntu translations. [19:10] abentley: a clash between upstream and Ubuntu should be solved by keeping both and setting is_current_upstream and is_current_ubuntu on each of them respectively. [19:10] so that's not really a clash. [19:11] henninge, would you have to mark one of them diverged? [19:11] no [19:11] the one will be shared on the product side, the other on the ubuntu side [19:12] A clash is when you have different translations within different series of the same product or source package. [19:12] Then diverging is the only solution. [19:13] henninge, okay. === salgado is now known as salgado-afk [19:15] abentley: the question here is, will the job deal with both kinds of merging: The old kind within a prouduct/sourcepackage and the new kind between a product and a sourcepackage. [19:16] or will it assume that all products and sourcepackages it encounters are already sharing within themselves? [19:16] henninge, the answer is "kinda". [19:16] I think that might be okay. [19:17] henninge, the laziest solution is to perform the merge within the product and all linked sourcepackage/distroseries. [19:17] henninge, because we already have ways of getting that list. [19:18] abentley: sounds right [19:18] henninge, but we could query for just the templates within the productseries and sourcepackage that were just linked. [19:19] Presumably, that's more efficient if we assume that the product and sourcepackage are already sharing maximally. [19:19] (in their separate domains) [19:20] oh, now I see your point [19:20] officially, the message sharing migration has finished. [19:20] (the old one) [19:21] so the script should rightfully assume that each are sharing within themselves. [19:22] abentley: I have to go afk for a while. [19:22] henninge, okay. Ping when back. [19:22] sure [19:52] abentley: ping (back for a little while) [20:02] henninge, why do we limit potmsgsets to templates with the same name? Why not share all translations of the same phrase within a piece of software? [20:03] abentley: wow, that is a very fundamental question you are raising there! [20:05] abentley: but I guess one easy anser might be that one of the reasons to partition the translatable strings of a piece of software into different templates is to keep domains appart. [20:05] e.g. the UI and the backend, where the same term might be used differently. [20:06] Also, without that, we'd have to re-define divergence a little although that already points to individual templates. [20:06] henninge, If we really did want different translations of the same term, we could use divergence. [20:07] henninge, it's just that I'm reimplementing that restriction, so I had to wonder how much sense it makes. [20:08] otoh the overlap between different templates should be small. [20:08] abentley: yes but that is not the only place in the code were that restriction is used/enforced. [20:08] henninge, I think this restriction means that if one template splits into two, or two combine into one, we'll lose an opportunity to carry translations across. [20:10] that is true [20:11] abentley: I'd say that is something to think about but it would be an extra branch to introduce it. [20:11] henninge, cool. [20:11] But it shows how spreading the domain knowledge bring in new views and ideas. ;-) [20:12] (or possibly an extra feature) [20:13] * henninge has to lunch now [20:22] Is someone doing something to the sourceforge code imports right now? [20:23] Because I'm seeing what looks like an import that got dispatched to an import slave despite being in suspended status [20:24] maxb: theres no chatter in -ops about such a change [20:24] lifeless: They're failing to present the intermediate cert in their change [20:24] *chain [20:24] This means that tolerant things like firefox are happy. Stricter things like gnutls and java are very much not [20:24] maxb: yes, so they all failed [20:26] Someone has evidently set the imports to Suspended status, but I don't understand why they are still apparently being dispatched to the importds [20:27] mm [20:27] https://code.launchpad.net/~vcs-imports/emesene/trunk for example [20:27] perhaps they were already queued [20:27] mwhudson: ^ you were involved... [20:28] heh. I just completed the Thunderdome survey. [20:29] it's not exactly rick rolling. But it's nice. :-) [20:29] maxb: I've toggled that one into failed and back to suspended [20:29] maxb: we'll see if that sorts it out [20:30] we need code imports exposed in the api :-/ [20:30] oh for a tuit :-) [20:37] maxb: that would be great. [20:38] Maybe after I finish off my in-progress bzr work :-) [20:39] code imports are exposed to some extent [20:44] lifeless: maybe you can point me to someone else. I'm trying to write a launchpad test that asserts when something fails we *do* create an oops [20:44] but the test infrastructure seems to say "getting an oops == the test failed" [20:44] jam: in what context are you doing htat [20:44] jam: the different layers will impact this [20:45] lifeless: the oops_middlewear for the loggerhead test suite isn't yet tested [20:45] so I wanted a test that it creates an oops normally [20:45] and then doesn't create one for socket exceptions [20:45] like EPIPE [20:45] cool [20:45] I tracked into the stack, and we *are* suppressing the exception in the WSGIHandler, but that is above the application [20:45] and the oops logic is an app that traps it underneath that [20:45] yah, I saw your mail on that [20:46] so [20:46] what method is treating oops=test fail [20:49] jam: or are you not sure? [20:49] I'm not sure [20:49] pastebin the failure ? [20:50] lifeless: https://pastebin.canonical.com/42908 [20:50] It may be that the oops is only reported because the test failed? [20:51] Obviously RuntimeError was raised, but maybe it doesn't propagate all the way up the stack [20:51] right [20:51] that oops is just accumulated via addDetails [20:51] your line 186 is the actual failure [20:51] File "/home/jameinel/dev/launchpad/work/lib/launchpad_loggerhead/tests.py", line 186, in test_exception_triggers_oops [20:51] self.runtime_failing_app) [20:53] ahh, oops_middleware has "if error_page_sent: return" rather than raise [20:53] so if it can get to the point it can report the error, then it *doesn't* re raise the exception [20:53] I'm not entirely sure why, but I can live with it [20:54] well [20:55] we want to show a page describing the oops [20:55] if we raise the user gets a INTERNAL SERVER ERROR page [20:55] lifeless: which they'll get if we get an internal error after starting the response body [20:55] but... meh [20:55] not something I have to fix for what I'm working on [20:55] right [20:56] in lp proper we buffer until we know we'll succeed [20:56] for a few reasons, this being one of them. === matsubara is now known as matsubara-afk === Ursinha is now known as Ursinha-afk [21:23] mwhudson: if you're around. When I run 'make run_codebrowse' it fails when trying to access the xmlrpc server. It seems to work with 'make run_codehosting'. Should we get rid of the 'make run_codebrowse' target entirely? [21:25] ah, nm, we can't [21:25] because 'bin/run codewbrowse' actually calls back into 'make run_codebrowse' === almaisan-away is now known as al-maisan === Ursinha-afk is now known as Ursinha === bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/| PQM is open | firefighting: - | On call reviewer: -| https://code.launchpad.net/launchpad-project/+activereviews [22:02] Yippie, build fixed! [22:02] Project devel build (419): FIXED in 6 hr 34 min: https://hudson.wedontsleep.org/job/devel/419/ [22:16] sinzui: hi [22:33] hi lifeless [22:34] I was wondering [22:34] bug 712698 [22:34] <_mup_> Bug #712698: No way to expire existing sessions < https://launchpad.net/bugs/712698 > [22:34] may be pretty - or even very - shallow [22:35] its outside our direct remit, but as a team we'd gain a lot if we can increase the openid nonce timeout [22:36] wgrant: was looking at this code two weeks ago [22:36] yeah [22:36] so it might be easy for him to eyeball and write up /how/ sysadmins can reset nonces [22:36] I imagine there is a non-coding solution. [22:40] mailman polls to keep this information synced. I am not sure if it is viable to do a push scenario since there are a lot of sites to push too [22:41] sinzui: well, this is for our microsites [22:41] getMembershipInformation(team) is the very method I refactored last week [22:42] sinzui: the goal is some means for the losas to ensure that folk which have left the company do not retain access [22:42] sinzui: e.g. its a very rare event [22:43] That is a special case in leaveTeam() admins (losas) can force the leave to be silent [22:43] sinzui: at the moment the only mechanism is doing a new openid handshake, which is very slow and annoying [22:43] sinzui: perhaps we're talking at cross purposes? [22:44] No [22:44] I understand what you are asking, but there is a massive gap between what we do now and what we are asking in therms of Lp integration [22:44] sure; this is why I was talking low tech [22:45] just a 'reset all the nonces for a given microsite' [22:45] bridging that gap requires understand what we do now, why and asking if we want to extend the behaviour or replace everything with a more comprehensive solution [22:45] there are only a few such sites - devpad, lpstats, lp-oops [22:45] sinzui: fair enough, I am rather jumping the gun :) === elmo is now known as elmo_away [22:46] sinzui: however, sadly, I have to pop out for a while; it would be cool to make this better in any regard [22:57] Hi! Is this a known failure? http://paste.ubuntu.com/562802/ [23:43] lifeless, sinzui: I think we can probably just tell people to purge the OpenID session cache. [23:43] It would be nice if the server could rerun check_authentication behind the scenes, but it can't :/ [23:45] wgrant: if we recorded which sites asked for which teams, and see a removal from such as team, we should push. That does require co-ordinated work of course [23:46] s/OpenID/mod_python/ [23:46] sinzui: We could. [23:46] But that is probably going to require OpenID extensions and stuff. [23:53] bac: Why did you assign me to that Google Code import question? [23:58] wallyworld: Hi, are you available to grant r-c's? [23:59] Hm, is PQM really still open or is the subject lying? [23:59] * henninge tries