[00:02] poolie: Indeed. [00:02] Looks fixed. === wallyworld_ changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: wallyworld | Critical bugtasks: 266 [00:21] i'm going to update the bug then [00:27] poolie: Thanks. [00:30] thank you very much [00:36] Huh. [00:37] We are now in the longest downward Critical bug trend since May. [00:40] stop the line [00:40] i am curious how many i have personally fixed, caused, and filed [00:41] not quite enough to search right now though [00:46] wgrant: wow, is our bug submission form broken or something? [00:46] Either that, or lifeless has stopped esclating for some reason. [00:48] StevenK: Quick, someone land a branch with the critical status removed === lifeless_ is now known as lifeless [02:22] wow [02:22] 53 cleanups in an LP test case. [02:22] anyone spot something a little wonky there? [02:22] Where? [02:23] self.case._cleanups [02:23] my call to sync barfed [02:23] I'm investigating why [02:23] there are 53 cleanups registered, but only 14 unique functions amongst them [02:23] "only" [02:23] 14 is a reasonable number [02:24] 53 less so [02:25] ahha [02:25] setUp is being called twice. [02:28] https://bugs.launchpad.net/testtools/+bug/882884 about the lack of alerting [02:28] <_mup_> Bug #882884: setUp being called twice is not an error < https://launchpad.net/bugs/882884 > [02:29] test run time was 1912->2326 or 4h10, so the sync() isn't a perf issue [02:30] Great. [02:30] the reason I noticed this setUp twice thing was the sync() failing due to queue not existing [02:31] which should make you scratch your head :) [02:33] wgrant: So all I did was add 'with person_logged_in(team.teamowner):' before create_initialized_view(), and it blows up :-( [02:33] aieee [02:33] check out PullerBranchTestCase.setUp() [02:34] this is what super() is for [02:36] https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-2126BZR113161 [02:36] Most useful OOPS ever :) [02:36] lifeless: Hah [02:47] that oops isn't rendering for me [02:49] It takes about 15 minutes. [02:49] wow [02:49] It's also empty. [02:49] /o\ [02:50] ugh, rosetta_branches_script_oopses still sees too many. [02:50] wtf is going on there [03:10] I think I found a wabbit bug [03:10] Uhoh. [03:10] CaptureOops uses an autodelete exchange [03:11] it uses Receiver() to suck messages out of a queue bound to that exchange, also autodelete. [03:11] the Receiver is given a brand spancing new connection [03:11] unless amqplib has die die die hidden connection pooling (I'm about to check this) [03:12] then when the Receiver closses its connection, the queue and exchange should be untouched [03:12] You're relying on autodelete to take effect immediately? [03:12] I'm not sure that immediate reaping is guaranteed by the spec. [03:13] no [03:13] I'm being fucked by it taking effect when a different connection is closed [03:13] Ah [03:13] so connection A: [03:13] declare exchange [03:13] declare queue [03:13] bind [03:13] connection B [03:14] send [03:14] connection C [03:14] send sentinel [03:14] connection D [03:14] consume from queue [03:14] connection E [03:14] send sentinel - 404 no such exchange [03:14] connection A is still open at this point [03:15] sound like a bug to you ? [03:17] "auto-delete: the queue will get deleted as soon as no more subscriptions are active on it." [03:17] ugh [03:17] ok, fail-to-understand [03:17] fair enough [03:18] * lifeless reworks that part, again. [03:21] wgrant: that was in the amqplib docstring I guess? a quick google hadn't found that for me [03:23] lifeless: Wikipedia. [03:23] *blink* [03:25] I know, the canonical protocol reference. [03:32] wgrant: StevenK: buildbot weirdness. you seen that failure mode before? [03:33] wallyworld_: Someone or something turned off postgres. [03:33] See #-ops [03:33] ah ok thanks [03:47] Hmm. [03:48] Librarian 500s locally :( [04:17] I guess create_initialized_view doesn't like with person_logged_in [04:18] bzr grep doesn't support -{A,B,C} :-( [04:56] Ah ha, I was right. [04:56] create_initialized_view() returns anonymous views [04:58] Doesn't it take a user kwarg? [04:59] create_initialized_view()'s docstring sucks [04:59] * StevenK tries user [05:00] wgrant: It does not [05:00] the whole area is confusing [05:01] StevenK: you want the principal argument though [05:02] But that didn't work either [05:09] wgrant: oops still hasn't rendered [05:10] mwhudson: principal should be a IPerson or something else? [05:12] StevenK: yes [05:12] StevenK: sorry, have to run -- i think maybe IParticipation(person) works? [05:12] lifeless: Heh === _mup__ is now known as _mup_ [05:25] * lifeless throws useoops at ec2 again [05:25] and EOW [05:26] AH [05:29] IPrincipal, rather [05:30] mwhudson: Thank you for the principal hint -- you need *both* with person_logged_in and principal specified in c_i_v() [05:44] wallyworld_: Around? [05:44] yes [05:45] You know how you added the feature-flagged pillar role private bug visibility rules? [05:45] yes [05:45] Those only apply to the task search stuff. Bug.userCanView has its separate implementation. [05:45] Not behind a flag. [05:45] And slightly different. [05:45] I'm reimplementing userCanView in terms of the task search query. [05:45] was the bug usercanview done separately [05:45] Which will drop the non-flagged owner visibility rule. [05:46] Yes, it was done a yearish ago. [05:46] Currently the bug pages are pretty useless, because all the tasks are invisible. [05:46] So I don't think removing this is going to be much of a loss. [05:46] But I wonder if you have any thoughts on the matter. [05:46] Oooh, if they're invisible, can we ignore them? [05:47] so you are looking to remove the current bug usercanview? [05:47] and replace with something that matches the bug task role visibility rules [05:47] ? [05:48] it would have to be a union of those task rules? [05:48] Yes. [05:48] Hm? [05:48] so if the user can see any task, they can see the bug [05:48] I'm just using get_bug_privacy_filter. [05:48] Right. [05:48] The privacy filter already just looks at Bug. [05:48] because tasks don't have separate visibility. [05:48] (ignoring the fact that we exclude tasks for inactive products normally) [05:49] i can't recall the details of get_bug_privacy_filter - let me just check the code [05:49] It takes a user and produces a condition that restricts Bug to those visible to the user. [05:50] I wish launchpad was less noisy about expiring memberships. Or I could go click "Hey, I understand. Stop warning me!" [05:50] you going to keep the feature flag protection? [05:50] wallyworld_: I'm not changing that bit of get_bug_privacy_filter. The first branch will not change it at all. [05:50] It will just reuse the task search rules for Bug.userCanView. [05:50] So yes, the flag protection will be preserved. [05:51] it all sounds good to me. it doesn't make sense if the use can see an empty bug which is what i think you are saying happens now [05:52] and it makes sense when you consider we are going to only single pillar private bugs [05:52] i guess i should have done this change within the original branch [05:54] Well, this should have been done years ago :) [05:55] better late than never [05:55] Indeed. [05:56] wgrant: so when you do this, the fflag can be turned on i assume [05:56] ah, it's on for !launchpad [05:57] It's on for ~launchpad. [05:57] And can only be on for trusted people. [06:03] wallyworld_: Several tests rely on it, unfortunately :( [06:03] * wgrant hacks around. [06:04] wgrant: ah, yes. not surprising. i had similar issues yesterday. drove me crazy [06:05] at least there are tests :-) [06:05] Indeed. [06:05] Most of these tests aren't too ugly, either. [06:05] Just a bit awkward in the transitional period. [06:08] * wgrant stabs LaunchBag. [06:37] StevenK: i'd prefer it if your tests iterated over the policies in OPEN/CLOSED_TEAM_POLICY and did the checks [06:38] btw, it only ended up being a few lines to fix c i v for Person+index ? [06:40] wallyworld_: So it would seem, yes. And I'll look into that. [06:41] StevenK: thanks. you should just add a for loop to you current tests [06:42] Right. [06:49] StevenK: i think the tests should be beefed up to test that the edit link is a) there and b) has the expected url. [06:49] this can be easily done by giving the link an id and doing a find_tag_by_id() in the test [06:50] the same could be done for the message text. give the text node an id and check for that rather than the actual text wording [06:50] this allows the wording to be changed and the test still passes [07:14] wallyworld_: Do you want to put all of that on the MP and I'll sort it all out on Monday morning? [07:14] StevenK: will do. have a good weekend [07:14] wallyworld_: You too :-) [07:15] i would if we had a better ajax story around partial page refreshes :-( [07:15] Australia is EOD already? *jealous* [07:15] haha === wallyworld_ changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugtasks: 266 [07:36] hello, dear launchpad developers! long time launchpad user, first time "caller" here.. [07:36] I'm currently wondering about plans for git support in bazaar [07:37] how are the actual plans for this, has any specific plans been made? has any work taken place? what's the state? will there be any priority given to focus on adding any of this upstream? :) [07:38] (and just to be clear, yes, I am asking about support for git in place of bazaar, not support for external git branches ;) [07:56] good morning === adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring | Critical bugtasks: 266 === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away === bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring, bac | Critical bugtasks: 266 [12:10] hi adeuring [12:11] hi bac [12:11] adeuring: i'll take wgrant's MP...confirming you aren't working it [12:11] bac: no , I did not look at it [12:12] adeuring: it is the only one outstanding. cool. [12:19] I just added another :) [12:23] I am going for lunch though, so no rush, back later [13:31] adeuring, ping for standup [13:31] flacoste [13:31] deryck: oops, sorry [13:31] np [14:40] abentley: I think "this.current_batch.mustache_model.bugtasks.length + 1" in line 113 is wrong. Shouldn't that be "... -1"? [14:40] (line 113 of the diff) [14:41] abentley: no, that should be "+0"... [14:41] adeuring: So, the +1 is trying to compensate for start being 0-indexed. [14:41] abentley: right. But for 5 results and start = 0, we want to show "results 1-> 5" [14:41] while we get "1 to 6" [14:42] abentley: just click on any of the links ;) [14:42] Hmm, so why does it look right in use? [14:42] and compare the number in "n->m of k" with the real number of results ;) [14:42] adeuring: that's an estimate, though. [14:43] abentley: well, k is an estimate (at least for StormRangeFactory), but we known the number of results in the batch precisely [14:44] adeuring: You're right, I'll fix it. [14:44] abentley: cool, thanks [14:46] abentley: another quirk: For the first batch, the "first" and "previous" links are gray, but still active. "unlinking" them is something for antother branch, I assume? [14:46] (same for the last batch and the last/next links) [14:47] adeuring: I would prefer if the CSS was fixed so that inactive links don't show as links. [14:48] abentley: right, makes sense. So, r=me, and file a bug about the links? [14:49] adeuring: Thanks. I'll file a bug. === m4n1sh_ is now known as m4n1sh [15:05] deryck: could you please ec2land https://code.launchpad.net/~abentley/launchpad/display-cleanup/+merge/80621 ? [15:05] abentley, sure [15:06] deryck: thanks. [15:06] abentley, np! [15:10] when running make (after a make clean) on latest devel, i get the following error: [15:10] awk: (FILENAME=lib/lp/contrib/javascript/yui3-gallery/gallery-accordion/gallery-accordion.js FNR=2916) fatal: cannot open file `lib/lp/contrib/javascript/mustache.js' for reading (No such file or directory) [15:11] ah [15:11] nm [15:11] it's a symlink [15:11] i need to update sourcecode... [15:11] though [15:11] doh === deryck is now known as deryck[lunch] [16:26] is it just me or make run-testapp is broken? === beuno is now known as beuno-lunch === deryck[lunch] is now known as deryck === beuno-lunch is now known as beuno [18:14] deryck: sorry I've been invisible. I went home because my ISP wasn't reporting an outage anymore, but it turns out the outage is now my problem. [18:14] abentley, no worries. [18:14] deryck: did you want to chat? [18:48] flacoste, I don't get any errors doing make run-testapp, but the test in the browser hangs for me, seeming to never connect. [18:48] deryck: well, that's a step beyond me :-) [18:48] deryck: do you remember doing anything special for the pgbouncer change? [18:49] flacoste, yeah. :) I didn't do anything special at all. Update devel. make and then make run-testapp. [18:49] deryck: i mean more like a month ago when pgbouncer landed [18:49] I usually do a make by itself first out of habit, just to see if I hit any errors. [18:49] oh [18:50] flacoste, hmmmm, no I don't think so. I don't recall anything special. [18:58] bac, hi. I've got a pretty easy js branch if you have time to review it. [18:58] deryck: i'd be happy to [18:58] bac, awsome, thanks! https://code.launchpad.net/~deryck/launchpad/orderbybar-integration-fixes/+merge/80704 [18:59] deryck: 3600+ lines? [18:59] bac, hmmm, no. [18:59] bac, wonder what I did. let me see. [19:00] good, b/c 3500 is my absolute limit on JS or soyuz branches [19:01] bac, hmmm, the MP is trying to merge into lp:~deryck/launchpad/devel. I don't know what I did wrong. [19:01] bac: what happens for longer? stack overflow? :) [19:01] I didn't even know I had my own devel. ;) [19:01] bac, let me try to sort out the mp. [19:01] deryck: cool. ping me [19:02] flacoste [19:06] bac, try this one: https://code.launchpad.net/~deryck/launchpad/orderbybar-integration-fixes/+merge/80705 [19:09] deryck: did you run the linter? [19:09] bac, I thought I did. Let me check. [19:09] deryck: i see some things that jtv just fixed up in a huge branch. he'd cry if you introduce more. [19:11] bac, yeah I see 4 or 5 CSS lint errors. I can fix those, assuming I understand them. [19:11] thx [19:12] deryck: nothing uses this yet, correct? so there is no way for me to see it working? [19:12] bac, no, nothing uses it. Just the test file to run, but it moves quick, so you never really see the widget. [19:13] bac, ok, bzr push'ed the CSS fixes. [19:14] deryck: looks good [19:15] bac, awesome, thanks! === salgado is now known as salgado-afk [20:53] flacoste: Hey, around? [20:54] flacoste: I've subscribed you and mrevell to https://blueprints.launchpad.net/ubuntu/+spec/community-p-summit. We'd really like to have smoeone from lp in that session :) === bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: | Critical bugtasks: 266 [21:01] nigelb: great, we should be there [21:03] \o/ [21:03] flacoste: Thanks :) [21:32] test_clashingPOFileTranslatorEntries: benji that sounds like something you touched recentely no? [21:33] flacoste: sounds like it, but I don't think I actually have; let me look to be sure [21:34] flacoste: right, I haven't been in that region of translations [21:39] benji: ok, was wondering about allenap latest email [21:40] flacoste, benji: I'm about to disable it. Want me to hold off? [21:40] allenap: not from me [21:51] allenap: I don't have enough context to have an informed opinion, so I don't object [21:52] benji: Cool, okay. I've just disabled it, and bug 883274 exists to track it. Fingers crossed that buildbot gets through this time. [21:52] <_mup_> Bug #883274: test_clashingPOFileTranslatorEntries failing in buildbot, okay locally < https://launchpad.net/bugs/883274 > [21:52] Cheerio everyone, have a good weekend.