[00:43] desperately seeking susan^Wreviewer [00:54] checkwatches.base needs expurgation of its oops stuff. [01:06] wgrant: StevenK: I need a hand, make jsbuild is failing, and I have no idea why ;) [01:06] I'm guessing one of you ran into that recently [01:06] wallyworld: or ^ [01:07] lifeless: what's the issue? [01:07] no rule to make target 'lib/canonical/launchpad/icing/yui/yui/yui.js' needed by .../launchpad.js [01:08] hmmm. haven't seen anything like that in a while. last time that sort of thing happened, a make clean got it going again [01:08] trying that, thanks [01:08] it sounds like the yui symlinks got messed up [01:08] mwhudson: can we nuke vostok-archive ? [01:09] lifeless: yeah, i reckon so [01:09] nuke all of vostok if it's getting in the way any i guess [01:09] wallyworld: thank, that works (which means we have a bug in our dep rules) [01:09] mwhudson: it just seems stubby to me [01:10] mwhudson: as in, an abandoned experiment [01:10] yep [01:10] (hey at least i managed to clean up the publisher code in the rest of lp a bit when i added it ...) [01:10] \o/ [01:11] and I'm back to nuking getLastOops calls [01:11] what are those calls being replaced with? [01:11] self.oopses[-1] [01:11] ok [01:12] or direct subscription in doctests [01:12] why ? [01:12] I mean, if you're hacking in that area, we can collaborate [01:13] I will broadcast to the list once I've sorted it all out [01:13] i was just curious [01:13] kk :) [01:13] so getLastOopsReport is not isolated between tests [01:13] so test A can write an oops test B sees [01:13] and we've had this happening [01:14] its also not threadsafe [01:14] (test thread A can write a report test thread B thinks is its) [01:14] yeah, i recall some issues from a while ago in this area, can't remember the details [01:48] hey, don't know if someone reported this already, but it seems launchpad is blocking new packages to be both published and built today [01:48] https://launchpad.net/~linaro-maintainers/+archive/overlay/+packages [01:49] I copied a few packages from other series today, and also pushed new ones, but they are all waiting for hours already [01:49] Yes, we're debugging an issue with the PPA publisher [01:50] StevenK: ok, great [01:50] yeah, the issue is just at the publisher, just saw that the packages I pushed today were all built fine [01:50] but they're now all locked at the publisher [01:55] hah [01:55] mailman doc tests are not being run [01:56] I thought that was by design? [01:57] for our monkey patches? no [02:21] wow [02:21] test_uploadProcessor is full of pain [02:41] lifeless: i'm having a weird feature flag issue that has got me stumped, can you spare a minute to help a poor lost soul? [02:42] sure [02:42] if i uncomment the commented out line, it works: https://pastebin.canonical.com/54429/ [02:43] so something is messing with the feature flag infrastructure [02:43] to add a bit of content - i am expecting delete_allowed to be true [02:44] and whats it set to in the test ? [02:44] flags = {u"disclosure.delete_bugtask.enabled": u"on"} [02:44] there are other tests which all work [02:44] but for this test, the flag cannot be found [02:45] the rule :) [02:45] the flag is always found, but may evaluation to None [02:45] what does getFeatureFlag( [02:45] 'disclosure.delete_bugtask.enabled') [02:45] evaluate to ? [02:45] oh, and are you sure its reaching your code? [02:45] I assume the authorization cache is being populated by the owner check. [02:45] none i think, i'll check [02:45] zope security caches [02:46] * lifeless bites back a biting commentary on using caches to solve architectural problems [02:46] (and yes, I'm aware of CPU layer-N caches) [02:47] here's a test which works for example: i have a security adaptor and it is getting to that point ok [02:47] oops [02:47] paste error [02:48] https://pastebin.canonical.com/54430/ [02:48] and to answer your question, getFeatureFlag('xxxx') evaluates to None [02:48] I didn't think flags worked inside the security adapter. [02:49] inside the security adaptor, unless i uncomment that line [02:49] StevenK: they appear to work, at least for the tests i have which pass :-) [02:49] StevenK: No reason they shouldn't. [02:49] Apart from caching issues like this :) [02:49] We'll see if they're relevant soon... [02:50] not sure if it's a caching issue per se [02:50] It very probably is. [02:50] wallyworld: I'd like to see the following: a print / pdb session in the security adapter showing the feature controller and the evaluation of the flag, and if using print, prints before and after the call so we can eliminate other entries into the codepath [02:51] wgrant: Where is your obsolete-distroseries fix at? [02:51] StevenK: I should finish that off today, good point. [02:51] lifeless: any particular attributes of the feature controller? [02:52] nope [02:53] * wallyworld starts gather data [03:02] mwhudson: *cough* beautifulsoup on codeimport creation forms. [03:02] wgrant: heh heh heh [03:02] is that still there? [03:02] I dare not check. [03:02] lib/lp/code/browser/codeimport.py:from BeautifulSoup import BeautifulSoup [03:02] lib/lp/code/browser/codeimport.py: soup = BeautifulSoup(self.widgets['rcs_type']()) [03:02] Yes [03:02] wgrant: beatifulsoup > re.compile(r'(?<=class=["\'])(.*)(?=["\'])') though [03:03] True. [03:03] wgrant: i think the beautifulsoup thing falls into my bucket of "automatic form generation is a crock of **** and you shouldn't use it ever" [03:09] mwhudson: Somewhat like ORMs that lazy-load, automatic form generation makes small things easy but inevitably screws you over completely in expensive ways. [03:11] lifeless: here's some printed data. the act of putting in the code to print the data made the test pass. https://pastebin.canonical.com/54431/ [03:13] 15:52 < lifeless> nope [03:13] 15:53 * wallyworld starts gather data [03:13] before my adsl stopped [03:14] lifeless: here's some printed data. the act of putting in the code to print the data made the test pass. https://pastebin.canonical.com/54431/ [03:14] * StevenK starts a fund to buy lifeless some better Internets [03:14] take out a hit on telecom [03:14] Haha [03:14] the first printout is just before the check_permission call [03:15] wallyworld: I wanted the controller itself :) [03:15] ah [03:15] wallyworld: so I could see if it was falling back to a different object [03:15] * wallyworld tries again [03:15] e.g. due to the participation / interaction being futzed or something weird [03:15] lifeless: My DSL has been connected since the end of Aug [03:15] interesting data point that the debug fixed it [03:15] So 45 days or so [03:16] lifeless: I don't recall you having issues when you were in Epping [03:17] StevenK: indeed [03:17] StevenK: thus, telecom. [03:17] I will ring and rant soon [03:18] Do you hold out much hope? [03:19] lifeless: before and inside the call, the feature controller is [03:19] it fails without all the other print statements [03:20] i'll see if i can find which print statement makes it work [03:22] StevenK: if we can id the issue, yes [03:22] thats mainly dependent on getting through first level 'technical' support [03:23] Oh, absolutely [03:24] which the rant is all about [03:25] lifeless: so calling features.getAllFlags() before the check_permission call makes it work (as well as bug.default_bugtask) [03:25] and not calling either of those 2 things makes it fail [03:25] jtv: There's a regression fix for cocoplum that I'd like to deploy tonight, and it's stuck behind your translations-export-to-branch fix. Are you likely to have QA for that done in the next 4 or so hours? [03:26] wgrant: I think I will, but it won't be much sooner. [03:27] OK. I may have to cowboy it anyway, since there's an existing possibly unclobberable cowboy there. [03:32] lifeless: narrowed it down to feature_controller.rule_source.getAllRulesAsDict() - so it seems the StormFeatureRuleSource() content is getting clobbered somehow? [03:35] I wonder if you can't trigger the first feature rule lookup from within a security adapter because they don't nest? [speculation] [03:38] not sure [03:38] but it all seems rather fragile at the moment [03:39] wgrant: what do you think about my speculation ? [03:39] lifeless: What don't nest? [03:40] wgrant: I'm trying to come up with a story that would explain wallyworlds symptoms [03:41] weird thing is that bug.default_bugtask also makes it work [03:41] you probably need to step through with pdb [03:42] yeah, started to do that. lots of api calls to look at [03:42] zope is phat [03:42] at least it's not something dumb i'm doing wrong (hopefully) [03:43] seems like a genuine problem with the infrastructure [03:46] lifeless: Are you sure the mailman test bug is actually a bug? We deliberately don't run MailmanLayer by default, because it's crap. [03:50] wgrant: we have tests that exist; they should be run, or not exist. [03:51] wgrant: otherwise they -will- bitrot and -will- just accumulate debt [03:51] Delete them, then [03:51] I found a bug that they were not being run, but it was fix released years ago indicating they were meant to run again. [03:51] StevenK: not without chatting to curtis I think [03:52] I wish I had more knowledge so we could delete lib/mailman [04:08] s/I/LP/ s/more knowledge/some architecture/ [04:08] Harsh [04:10] 6 uses of getLastOops [04:17] mwhudson: hey, around ? [04:17] mwhudson: have a quickie on codehosting [04:18] lifeless: yep [04:18] mwhudson: make_error_utility appends the pid to the oops prefix [04:18] Haahahah [04:18] is this for any reason *other* than oops sucking at concurrency [04:18] I think we established that there isn't. [04:18] lifeless: no, i'm pretty sure that's only to avoid races [04:18] It's there to avoid concurrency issues, and to confuse the shit out of everyone. [04:18] mwhudson: as the processes are ephemeral, I'm checking theres not need to keep that [04:18] mwhudson: great, deleted. [04:19] wgrant: if you want confusing [04:19] grep for setOopsToken and note the EMAIL usage [04:19] mwhudson: I'm assuming pullerworker is the same ? [04:19] Huh. Handy. [04:19] lifeless: yes [04:20] wgrant: do you happen to know if thats semantic or just crazy [04:20] lifeless: I assume crazy. [04:20] But don't know for sure. [04:21] Delete it and see if matsubara complains? :) [04:25] aieee @ available_oops_prefixes [04:25] Delete [04:27] oh man [04:27] I hope its not punning that with concurrency limiting [04:36] lol [04:38] lifeless: I think you may have projectegg set badly in python-oops-tools [04:38] It currently tries to use oops-tools.settings as the settings module. [04:38] Which obviously isn't going to work :) [04:44] lifeless: i've found the problem. the setAllRules() method on StormFeatureRuleSource needs a store.flush(). Or else the rules passed into the fixture setup are not written to tge db because check_permission() has a @block_implicit_flushes decorator [04:44] Hahaha [04:45] and those other things which trigger the test tp pass must have done so because they caused a flush [04:45] wgrant: thats fixed by my branch [04:45] wgrant: you're welcome to review it if you want [04:48] omg === wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 262 [04:49] wgrant: Hm? [04:49] The number went down :) [04:49] Significantly. [04:49] By 7 [04:49] It was actually 272 this morning. [04:50] Oh, so 10 [04:55] 26 days to go!? [04:56] Heh [04:57] mwhudson: You tell funny jokes [04:57] I think I have to file one, anyway [04:58] I can't see DSP:+questions in our bugs [05:01] wgrant: is it the ppa publisher that's backed up? [05:01] The queries are quick, so it's unlikely to time out much. [05:01] mwhudson: Was, but yes. [05:01] mwhudson: It's been fixed for a few hours. [05:02] And now even has scriptmonitor running on it. [05:02] wgrant: ok, how often does it run when it's not backed up? [05:02] Every 5 minutes. [05:02] But often only every 10. [05:02] Because it's crap. [05:02] * mwhudson has a vague memory of */20 [05:02] hah [05:02] ok [05:02] It was */20 long ago [05:36] wgrant: you've been spelunking a lot; whats the fastest way to tell if script X has an oops config === almaisan-away is now known as al-maisan [06:02] wgrant: you've been spelunking a lot; whats the fastest way to tell if script X has an oops config [06:03] lifeless: Somewhat disturbingly, despite porting dozens of scripts around to LaunchpadScript and rewriting its internals, I've not run into that bit of code. [06:03] I want to check the setOopsToken('EMAIL') thing is safe when gone, if you see what i mean [06:05] Oh, that's lovely. [06:05] Scripts normally just call globalErrorUtility.configure('something') themselves. [06:12] +214 [06:12] -687 [06:12] 1874 lines of diff [06:12] and we're not done yet [06:12] + it would be freakishly hard to make this separate branches [06:13] I pity the fool^Wreviewer [06:14] StevenK: oops -> critical [06:14] StevenK: also, we don't use confirmed :) === al-maisan is now known as almaisan-away [06:50] poolie: hi, can we talk about your pending writes branch briefly ? [06:50] sure! [06:50] here, or phone? [06:50] either, whats your pref ? [06:51] let's start here [06:51] so, the bug (as I read it) is that when someone pushes twice in quick succession, we don't update the merge diff properly [06:51] there are a few different orders to the race condition [06:51] sometimes we generate the error and update proplerl [06:51] i think that's how you reach it yes [06:51] y [06:52] yes it seems so [06:52] sometimes we generate the error and don't update properly [06:52] that may be possible [06:52] I'm worried that you're papering over the issue [06:52] i can understand that concern [06:52] however [06:52] i think there are really two bugs [06:53] 1- "sometimes mp diffs are not generated if the branch is repeatedly written to" [06:53] 2- "launchpad sends pointless spam" [06:53] i'm trying to fix 2 [06:53] i'm not sure if 1 actually exists [06:53] I'm sure it does [06:53] per the analysis in comment #2 [06:55] i thought that perhaps the completion of the second write would cause a new job to be generated [06:55] perhaps there is some ordering where that doesn't happen [06:55] can only have one job outstanding for the branch [06:55] at any rate i don't see how leaving bug 2 open helps us fix bug 1 [06:55] at the moment we don't even log when this occurs! [06:55] so if the first job hasn't finished erroring before the second job is created, the second job isn't made and the first job just fails. [06:56] poolie: we don't generate an OOPS ? [06:56] no [06:56] ok [06:56] it is telling only the users who can't do anything about it [06:56] unless the idea is to annoy them (me) into fixing the whole bug :) [06:56] which is a valid, though risky, strategy [06:57] so, I think bug 1, which is the bug your branch purports to be about, is about fixing the race condition [06:57] <_mup_> Bug #1: Microsoft has a majority market share bah, 1- [06:57] :) [06:57] my mp is only about suppressing the mail [06:57] i get annoyed by the mail but i never see a missing diff [06:57] And also, issue 1- is the only one where the user has no control over the situation [06:57] because they can delete/filter the mail? [06:58] poolie: because they can push content into the branch, or delete the mp if they had done something crazy [06:58] I admire your desire to stop sending spam, but I don't think, except for case 1-, that these branch mails -are- spam [06:58] and case 1- has an analysis of the race condition, just needs coding [06:58] lots of people seem to disagree :) [06:59] poolie: not on that bug [06:59] :( [06:59] poolie: in general, 'lp sends too much mail', sure : but telling you something you requested fails is useful [06:59] it doesn't tell you what failed [06:59] as james said "I don't really know what it means, which merge proposal it is referring to, or what [06:59] I can do about it, so I don't know why I got an email about it." [07:00] lp really should not be sending that [07:00] it's different to bugmail [07:00] so, the other bug, which I've unduped, is about the lack of context [07:00] which one? [07:00] fixing that will address some of james_w's mystery around the mail [07:00] bug 640882 [07:00] <_mup_> Bug #640882: " Launchpad error while generating the diff for a merge proposal" mails don't indicate branch < https://launchpad.net/bugs/640882 > [07:00] ok [07:00] i'll just drop it [07:01] i'm sad because i was trying to make this a little less crap and i feel like it's being held hostage to fixing the whole thing [07:01] not sending pointless mail to people is a step forward [07:01] recording when something goes wrong is a step forward [07:01] I'd love to see improvements here, I don't think masking the issue is one; fixing the issue (which should be ~ as simple as self.suspend(5 minutes) or something) would be [07:01] poolie: I agree that not sending pointless mail is a step forward; and recording when it goes wrong is a step forward. [07:01] how is this masking it? [07:02] poolie: My understanding was that you were going to squelch the email for this case, and that that was the sum of the branch [07:02] and i was going to log that it failed [07:03] ok, if just doing self.suspend(5 minutes) is enough, i'll try that [07:03] I'm handwaving [07:03] Hi [07:04] poolie: jobs have a defer-for-a-bit system, I don't know the details. [07:04] i don't feel you and aaron are taking into account the actual user data here [07:04] poolie: I think for the pending-writes case, logging and not emailing is fine; I agree with Aaron that the other cases are different enough not to change. [07:04] nobody is saying "i'm glad lp told me about this" or "that explains why my thing had no diff" [07:04] poolie: I think fixing the issue, logging and not emailing is even better [07:05] I feel like you are saying 'not getting email is more important than the system working' [07:05] I know thats not what you mean [07:05] but it kindof feels that way [07:05] mm === jam1 is now known as jam [07:06] I think you mean 'not sending email in this case is better even if its not fixed', and I've acked that - twice I think - above [07:06] pending writes shouldn't be categorised as a user error [07:06] mm [07:06] i get more annoyance from lp spam than i do from diffs being missing [07:07] in that sense it's more important [07:07] and, generally, there are always going to be some errors, and i think handling them gracefully is important [07:07] I get annoyance from devs having to spend time tracking down, *again*, a self inflicted case of user confusion [07:07] :) [07:07] why 'self inflicted'? [07:07] (self inflicted by us developers) [07:08] oh i see [07:08] poolie: because we created a system with a race condition, classified it as user error, and tada [07:08] yep [07:08] and, i think, did not look at the actual mail that was sent [07:08] this needs two changes: unclassify it as user error, and fix the race condition [07:08] yep [07:08] and yes, the lack of context in the mail is the icing on the cake [07:08] if the race is as simple as just rescheduling the job i can do that [07:09] I think that if the branch has pending writes, the job should just wait for it [07:09] indefinitely [07:10] i guess the 'lack of context' bug can then apply to other mail sent about branches, if any [07:10] poolie: there are, IIRC, 3 other cases for MP's where the same template is used for the email [07:10] i agree, though i think the "users need to trust whether lp is working" argument applies equally there [07:10] poolie: cases which this bugfix won't impact [07:10] poolie: well, pushing up an empty branch and proposing it for merge, *is* a user error [07:11] if you get one of those mails, I think its helpful (if it told you the branch :)) [07:11] yes, bug 640882 will be irrelevant to the specific case it complains about, but relevant to things like empty branches [07:11] <_mup_> Bug #640882: " Launchpad error while generating the diff for a merge proposal" mails don't indicate branch < https://launchpad.net/bugs/640882 > [07:11] ok [07:12] so [07:12] this would have been a lot easier if someone had just said "why don't you just call self.suspend and that will probably fix it" [07:12] in the first place [07:13] poolie: that would have been nice [07:13] understand I'm handwaving, bug there is something like that there :) [07:13] and I'll be happy (tomorrow) to go spelunking with you looking for it [07:14] it's probably fairly obvious on the base class [07:14] so then no oops, just deferral [07:14] and maybe a log message [07:15] yah [07:21] wgrant: Q/A for those codehosting translations-export bugs is done. Go ahead. [07:21] jtv: Thanks. [07:22] lifeless: most of the bugs have all the issues of "no context" and "shouldn't get this mail anyhow" tangled together [07:22] please don't undupe them all [07:22] poolie: there were two that were previously a unit, and you'd moved to the other bug, I was just restoring the, [07:25] poolie: (i.e. I've no more tweaking planned on these bugs) [07:26] lifeless: The bug I filed is not the cause of the OOPS -- that is already filed. [07:26] lifeless: I used High since the bug is *shown* in the OOPS, but isn't the cause. [07:26] StevenK: ah, that wasn't clear to me. Sorry for creating noise. [07:26] lifeless: Should I set it back to High, then? [07:27] StevenK: up to you; lazy evaluation and timeouts can be nonobvious - we may well have timeouts due to that bug anyhow [07:27] (it is a timeout isn't it ?) [07:27] lifeless: Yes, but the timeout is due to the direction=backward madness [07:28] ah right, a clear cause :) [07:28] jtv: Bug 375013 is not marked OK, but 812500 is [07:28] <_mup_> Bug #375013: Cannot commit directly to a stacked branch < https://launchpad.net/bugs/375013 > [07:28] StevenK: I guess one of my changes didn't come through. Hang on. [07:29] lifeless: i think the other thing here is https://bugs.launchpad.net/launchpad/+bug/483945 [07:29] <_mup_> Bug #483945: No way to ask Launchpad to refresh a stale diff < https://launchpad.net/bugs/483945 > [07:29] to give people a way tor ecover [07:29] poolie: that would be nice [07:29] StevenK: actually, it did come through. So the deployment report simply hasn't picked it up yet. [07:30] StevenK: the one that's not marked OK yet is the one I updated last, IIRC. Here's hoping this is not a problem with multiple bugtasks. [07:53] Can I get a review? https://code.launchpad.net/~stevenk/launchpad/dsp-questions-statement-death/+merge/79519 [08:04] goood mornin [08:07] adeuring: Hi, I know it's not your OCR day, but would you mind a small (+22/-5) review? https://code.launchpad.net/~stevenk/launchpad/dsp-questions-statement-death/+merge/79519 [08:07] wgrant: hi [08:07] wgrant: https://code.launchpad.net/~lifeless/python-oops-tools/amqp/+merge/79505 [08:07] adeuring: StevenK: I've reviewed that branch [08:07] wgrant: baaah [08:07] Oh, have you? [08:07] StevenK: https://code.launchpad.net/~lifeless/python-oops-tools/amqp/+merge/79505 [08:07] * StevenK refreshes [08:08] lifeless: Haha [08:08] lifeless: Fine, I'll look at your MP then. :-P [08:09] lifeless: If you look at the OOPS attached to the bug it did 1,200 SPN queries [08:10] StevenK: anyway, a nice branch! [08:10] StevenK: yes, crazy shit man [08:11] adeuring: :-) [08:14] lifeless: r=me [08:15] thanks! [08:15] How do I set the submit branch? [08:16] bzr push --remember [08:16] That's the push branch. [08:16] Bah [08:17] wgrant@lucid-test-lp:~/launchpad/lp-branches/bug-876171$ grep -A1 lp-branches.$ ~/.bazaar/locations.conf [08:17] [/home/wgrant/launchpad/lp-branches] [08:17] submit_branch = bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel [08:17] the default submit branch is the parent branch isn't it ? [08:17] I think that applies in some places but not others. [08:17] I gotta weird one from an old branch and nothing in locations.conf [08:18] stub: .bzr/branch/branch.conf? [08:18] submit branch: bzr+ssh://bazaar.launchpad.net/%2Bbranch/losa-db-scripts/ [08:18] * stub looks === almaisan-away is now known as al-maisan [08:19] * StevenK peers at the e-mail he just got from PQM [08:19] yer - in there. [08:19] StevenK: Did lifeless set the wrong default reviewer? [08:19] PQMException: 'Failed to verify signature: gpgv exited with error code 2 [08:20] Yeah. [08:20] I don't think I caused that [08:20] * wgrant looks. [08:20] You sent email to it. [08:20] * wgrant fixes. [08:20] Oh, the project is broken. [08:21] The branch, specifically. [08:21] Right [08:52] Morning everyone [08:52] On second thoughts, evening :) [08:59] lifeless: Hi Rob, may I email you with the details of a test isolation failure I'm fighting with? Maybe you'll have an idea on what's going on. [09:01] sure [09:02] Thanks :) [09:02] This is on a branch that is really not urgent. [09:07] \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ [09:07] Oh? [09:07] (I have a loopback test grabbing oopses off of amqp into TestCase.oopses [09:08] oh, nice. [09:08] the end is in sight [09:11] rvba: I will look tomorrow [09:11] lifeless: Thank you. [09:11] rvba: if you want to look in the interim, I'd question the state that rabbit is in when the test starts [09:12] lifeless: hum, right, I'll have a look. [09:13] rvba: I haven't looked at your failures yet but [09:13] I note that 'session' is a thread local [09:14] rvba: and they are generally trouble [09:14] rvba: in particular, I don't see anythin in RabbitSession to handle rabbit going down [09:14] bigjools: lol @ cricket :D [09:15] rvba: currently, as I read the code, the first reset of rabbit will break all LP appservers trying to use rabbit [09:15] bigjools: ^ you might like to file a bug on that, for fixing before we go love. [09:15] *live* [09:15] nigelb: meh [09:15] bigjools: (or tell me I'm wrong :)) [09:15] muhahaha [09:16] lifeless: that's the reason why we wanted to isolation rabbit's failures as much as possible. [09:16] s/isolation/isolate/ [09:16] nigelb: it's probably the dodgy food upsetting them [09:16] rvba: sure, but we need to handle things like rabbit being reset [09:17] rvba: the problem is that RabbitSession assumes it *never* goes away, but the Unreliable variant assumes that *any error doesn't matter* [09:17] rvba: there is a middle ground [09:17] where an EPIPE is handled by reconnecting, but other errors cause a failure [09:18] lifeless: true, but since we don't know where this middle ground is we wanted to use the Unreliable variant and watch what was happening (hence the agressive oops logging). [09:18] lifeless: that's the purpose of the branch in question. [09:19] ok, so I can give a -little- guidance (I'm a novice here too :P) about the middle ground [09:19] there are two broad cases I see [09:20] firstly if rabbit goes away and comes back, the first transaction *after* it comes back it should start working [09:20] this is testable (see the oops_amqp tests for inspiration) [09:20] secondly, if rabbit goes away and comes back, messages queue for send-at-end during the current transaction should also be sent [09:21] (also testable :P) - only if it goes and stays gone, should we be going into zomg mode [09:21] rvba: I think aggressive logging and oopsing is great as well [09:21] rvba: these two things just seem like high frequency cases we can anticipate [09:21] lifeless: makes sense. [09:23] wgrant: btw the rabbit-management package should really put the cli on sbin [09:23] lifeless: I'll file bugs about these two cases. [09:23] rvba: thanks! [09:24] lifeless: thank *you* ;) [09:24] rvba: I have a minor tweak to rabbit.py in lp:~lifeless/launchpad-useoops - dunno when the branch will land, but thought a headsup might be useful [09:24] Okay, I'll have a look. [09:24] bah [09:24] lp:~lifeless/launchpad/useoops [09:25] lifeless: Probably, yeah. [09:25] for now, -> bed [09:25] lifeless: File a bug against the PPA oh wait :) [09:25] Night. [09:25] Night lifeless. [09:25] tomorrow I shall wire up subprocesses sending to amqp [09:25] call sync() on the 7 uses of getLastOopsReport [09:26] and purge purge purge purge purge purge [11:00] Hey henninge, how's it going? [11:00] Hi mrevell! [11:01] mrevell: Going well, thanks! [11:01] Good to hear :) [11:04] mrevell: I have been looking for a place to find out who was hired to replace me. Wasn't there a squad listing on the dev or help wiki? [11:04] henninge, That person hasn't joined yet. [11:04] ah [11:04] hard to replace me, I know ... [11:04] :-P [11:04] henninge, As for the page... let me look [11:04] heh, true true :) [11:05] henninge, There's this: https://dev.launchpad.net/Squads [11:05] oh, that simple [11:06] stupid moin, searching for "squads" does not yield that page. [11:06] ah, case-sensitive search [11:06] mrevell: thanks! ;) [11:07] henninge, Heh. We really need to sort out the dev wiki. We have a new Usability and Communications Specialist joining soon who will help us with that. [11:07] cool === al-maisan is now known as almaisan-away === benji changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: benji | Critical bugs: 262 === almaisan-away is now known as al-maisan === stub1 is now known as stub [13:02] Morning, everyone. [13:16] benji: could you please review https://code.launchpad.net/~abentley/launchpad/mustache-bugs/+merge/79441 ? [13:16] abentley: gladly [13:22] anyone else notice that DatabaseLayer is massively slower to start up these days? [13:31] adeuring, ping for standup. [13:31] deryck: ok, soory [13:35] deryck: https://code.launchpad.net/~abentley/launchpad/mustache-bugs/+merge/79441 [13:51] abentley, got it, thanks. [14:24] abentley: the branch looks good; I did note one small thing I think you'll want to change [14:24] benji: what's that? [14:24] abentley: I suspect you want to remove the "Server-side mustache" and "Client-side mustache" bits as well as making the client/server rendering conditional on the feature flag. [14:26] benji: The client-server rendering is already conditional on the feature flag. I don't want to remove the multiple copies yet, because I need to be able to QA all the renderings. [14:27] benji: See line 450 of the patch for where the rendering is made conditional. [14:29] abentley: right, but it renders both versions; does the "normal" version get rendered if the feature flag is off? [14:29] benji: Yes, the normal version gets rendered regardless of the feature flag status. [14:29] if so, I guess the feature flag is (at least at this moment) more about being able to do in-production QA and not about being able to really turn the feature on and off [14:30] benji: Right, the feature is only for the team developing it at the moment. [14:31] abentley: k; I might have made that conditional on a query string instead of a feature flag, but I've heard that some people aren't me ;) [14:32] benji: This is part of an actual feature that is planned to take 4-6 weeks to complete, and the flag will prevent work on that feature from affecting normal users while we are working on it. === matsubara is now known as matsubara-lunch [14:36] gary_poster, bigjools: can either of you allocate someone to fix bug 870130 [14:36] <_mup_> Bug #870130: shortlist error requesting recipe build < https://launchpad.net/bugs/870130 > [14:36] hi benji, can I add another branch to your queue? [14:36] jelmer: certainly [14:37] sinzui: I can [14:37] bigjools, if someone on your side could grab it...thank you bigjools :-) . [14:37] :) === al-maisan is now known as almaisan-away [14:39] Can someone who knows something about the lazr.restfulclient .deb confirm or invalidate this bug: https://bugs.launchpad.net/lazr.restfulclient/+bug/876445 [14:39] <_mup_> Bug #876445: missing lazr.uri dependency in the debian/ubuntu package < https://launchpad.net/bugs/876445 > [14:39] (Or tell me how to) [14:41] gmb: I don't know anything about the .deb but if it doesn't include a dependency on lazr.uri, then it should [14:42] benji: Agreed, but I don't know where to look to check. I could grab the source package I suppose... [14:43] benji: And whaddaya know, it doesn't have that dependency. [14:43] benji: Thanks - the MP is @ https://code.launchpad.net/~jelmer/launchpad/stacked-code-imports-newer-bzr/+merge/79538 [14:44] benji: Hi, could you please review this js branch? https://code.launchpad.net/~rvb/launchpad/bug-869221-archindepwidget/+merge/79561 [14:44] rvba: sure [14:44] benji: See, I like this arrangement, other people get to do the thinking and I look like I've done some actual work. [14:44] Thanks :) [14:44] benji: Thank you. [14:45] gmb: I do too, I just have to type and other people do the work [14:46] benji: It's symbiotic development at its best. [14:46] gmb: I'm reminded of this xkcd: http://xkcd.com/722/ [14:46] Heh :) [14:51] jcsackett, do you have time to mumble in the new purple channel [14:51] sure. [14:52] * jcsackett goes to find the new purple channel. [14:57] sinzui, hi. Thank you for the html5browser review and help. On a slightly related subject, Francis wanted me to offer my services to your squad to help you with the new yuixhr tests, if that is of value. They should be of particular interest to feature squads. I'm happy to help however you think might be appropriate, including phone calls and/or more/better documentation. [14:57] Once the html5browser changes are live, I can (try to re-) land some simplifications and improvements to the yuixhr usage. After that would probably be the right time to really dig in. [14:57] (That's all I had to say; just making the offer.) [14:58] gary_poster, otp [14:58] cool [15:29] HAHA [15:29] sinzui: You guys did take the name I suggested! [15:30] (I suggested Teal Assasins) :P [15:30] nigelb, Then my thanks go to you and wallyworld_ who contributed the colour [15:31] hehe [15:31] I'm still laughing uncontrollably :P === matsubara-lunch is now known as matsubara [16:02] sinzui: shouldn,t it be Aubergine Assassins ;-) [16:02] gary_poster, bigjools: We have a spam project in the review list given to ~registry. The registrant must be suspended too. There may be other spams projects I did not see in my commercial view. [16:03] sinzui, bigjools, I'll take it [16:03] flacoste: heh [16:03] Dammit I wanted to rename to purple! [16:03] I'll start my CHR run in a few, and include that in it [16:03] flacoste, I pondered that. I didn't want people thinking we we will fix every Canonical stakeholder issue [16:04] We can fix community bugs too [16:04] heh [16:08] flacoste: if they were named aubergine, you could sacrifice that squad to stakeholders :P [16:09] bigjools: You can rename to aubergine. === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [16:09] I shall think of better [16:10] cyan? [16:10] Pink! [16:12] bigjools, Teal is available now [16:12] flacoste: oooo get you [16:13] sinzui: lol [16:13] Taupe Twits [16:14] bigjools: *cough* cricket :P [16:14] bigjools: You can still take "Men in blue" [16:14] nigelb: how many games did you win over here all summer, again? [16:14] haha [16:14] ;) === beuno is now known as beuno-lunch [17:10] Night all [17:37] morning [17:42] sinzui: you might like to rename your lp team [17:42] from 'green' [17:43] lifeless, I renamed the teal team before the annoucement [17:43] is there a green team? [17:43] sinzui: there is a wiki link [17:43] I saw it in one of the pages you edited [17:44] I will hunt those down === beuno-lunch is now known as beuno [18:37] flacoste: yo [18:41] hi lifeless [18:42] lifeless: do you want to talk now? [18:42] that would be cool :) [19:20] * deryck goes offline for long late lunch, back later [19:45] benji: got a minute to chat about bug 876594? I think this has the potential for ill will and is a regression in this case [19:45] <_mup_> Bug #876594: rejected builds for synced packages send mail to Debian maintainer < https://launchpad.net/bugs/876594 > [19:46] micahg: sure, I'm glad to discuss it. (Thanks for letting me know it's a regression, I'll update the bug.) [19:46] benji: I think it is, cjwatson could probably verify [20:03] micahg: sounds like it, yes. We should not be mailing Debian maintainers for activity in Ubuntu just because their name was on the package we synced [20:03] (to see why not, imagine the full set of Debian derivatives) [20:04] benji: yeah ^^, so what you did was fine, thanks [20:05] micahg: my pleasure [20:05] cjwatson: thanks === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away === benji changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 26 [22:06] Morning all === lifeless changed the topic of #launchpad-dev to: Performance Tuesday! | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 26 === StevenK changed the topic of #launchpad-dev to: Performance Tuesday! | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 273 [22:33] are you guys ever going to implement the critical/high split? the number in /topic is depressing me and I'm not even on the LP team [22:33] heh [22:33] elmo: I hope so. Everytime I look through the Critical list, I get depressed. === sinzui changed the topic of #launchpad-dev to: Performance Tuesday! | https://dev.launchpad.net/ | On call reviewer: - | Critical bugtasks: 273 [22:37] elmo: what critical/high split ? [22:38] lifeless: I thought there was discussion on splitting the 273 criticals into critical/high, with critical being reserved for the genuinely holy-crap-wtf crticials [22:39] elmo: there is discussion, there isn't resolution [22:40] elmo: we're analysing *why* we are generating so many new criticals [22:40] elmo: thats a crucial step in addressing the issue, because we're fairly good at closing them. [22:42] lifeless: *shrug* k - just seems crazy to me - you de facto can't have 273 criticals, some of those must be more critical than others [22:42] i.e. the ones you're working on now and next [22:43] rather - you de facto can't have 273 criticals which are actually critical by the definition most people understand 'critical' to mean [22:43] elmo: so we have a policy that says things that are broken are critical, plus things stakeholders have escalted are critical [22:43] -all- the criticals meet one of those definitions [22:44] yes its a problem, yes folk can't be working on 273 things in parallel, but the root issue here is that we are breaking things faster than we're fixing them [22:46] if we shuffle all our highs to medium/low criticals to high and then pick a subset of brokenness to treat as critical, the problem doesn't get any better [22:46] I'm not saying that's not an issue [22:46] but I think it's orthogonal to the issue I'm unsolicitedly whining about [22:47] you could still figure out the breaking faster than fixing thing, if stuff got shuffled, e.g. by treating escalations as high [22:47] politically, we want to work on escalations before we've fixed all thats broken [22:47] (and escalation are ~5% of maintenance work atm, IIRC) [22:48] ok, sure [22:49] I guess what I'm saying is - all the other stuff aside, having non-now/next items in critical strikes me as insane, and doing it over such a long period of time has to be demotiviational [22:49] but *shrug*, that's just MO [22:50] I'll shut up and go back to my own criticals ;-) [22:50] so, what is non-now/next in the critical bucket ? [22:51] I'm talking non-now/next in the kanban sense [22:51] at least AIUI [22:52] which means you can't possibly have a capacity that would allow you to fit all 273 into now + next [22:52] which means you've got X on the go and X that you'll be doing next [22:52] and that X+X << 273 [22:52] right, kanban wise if each engineer has a WIP limit of 2, now+next = 10*2*2 -> 40 items [22:53] where did 10 come from? [22:53] but that aspect of kanban w.r.t. software development is primarily about directed-effort, this is category.. [22:53] squad size 5, maintenance squad count 2 [22:53] ah [22:55] so squads * members * WIP * (now + next=2) [22:56] Er, we have 4 squads? [22:56] 2 on maintenance [22:56] feature squads are not working from the critical queue [22:56] [09:53] < lifeless> squad size 5, maintenance squad count 2 [22:57] StevenK: yes? [22:57] Oh, the number of people in the squad [22:57] yes [22:57] * StevenK goes back to breaking the archive. [23:02] hah, there is my punishment for deprecating Branch.revision_history [23:02] lots of things in Launchpad seem to rely on it [23:03] thumper: that utf-8 branch mail patch is deployed. can you let me know if you see any issues come up [23:04] jelmer: also pqm [23:04] wallyworld_: awesome, thanks [23:04] jelmer: would love a patch for that too [23:04] thumper: np. and thanks for not mentioning the rugby :-( [23:04] wallyworld_: np [23:11] elmo: when we restart rabbit in the dc, how long does it take to come back up? [23:11] elmo: also, when we restart a server of the type its going to be on, how long would it be down for? [23:12] lifeless: I start to get worried if a DL380 takes > 100s to come back [23:12] elmo: I'm writing some code that I'd like to be resilient to rabbit getting maintained, but to not assume it will always come good eventually [23:12] elmo: so I'd like to have a timeout on its retry-connections duration, after which it will bail out and exit [23:12] elmo: does this sound reasonable / [23:12] (its the suck OOPSes from AMQP and push them into the oops-tools database code) [23:13] lifeless: restarting rabbit on a random staging box took ~4s [23:13] ok, so ignoring truely exception things like box rebuilds, where we'd reconfigure to a different rabbit anyway, 2 minutes as a timeout seems sufficient ? [23:14] elmo: and does this approach sound ok from your ops perspective, or would you rather just fail-hard, or never-fail policies ? [23:14] lifeless: is this oops, or in general? [23:14] this specific code is in oops_amqp so yes, oops specific [23:15] for the LP appservers we have clear transaction boundaries we can retry on, and disable rabbit if its not up at the start of the transaction [23:15] I guess the txlongpoll service has/needs something similar to this as well - i haven't audit its code. [23:15] wgrant: what does the txlongpoll twistd daemon do if rabbit is away / goes away ? [23:16] lifeless: does this mean that an app server could stall for up to 2m trying to talk to rabbit? [23:16] elmo: no [23:16] elmo: for oopses, the sender fails fast [23:16] elmo: this is for the slave, the oops-tools side of it [23:16] hmm [23:17] lifeless: Not sure. [23:17] elmo: which has nothing tickling it to say 'try again now' because its only interface is rabbit pushing stuff to it [23:17] lifeless: so the thing trying to consume off the queue? [23:17] yes [23:17] ok [23:17] how would a 'never-fail' policy work? [23:17] infinite retry? [23:18] yes [23:18] which makes me nervous :) [23:18] ok, I think I prefer the 2m-timeout or fail-hard [23:18] I don't mind which [23:18] I guess 2m-timeout is a little more forgiving [23:18] just means a little more self healing [23:18] one less zomg chase after a reboot of rabbit [23:18] self-healing would be nice [23:18] yeah [23:18] because apparently I just broke U1 staging [23:18] \o/ [23:18] with my test restart of rabbit [23:19] its bug filing time :) [23:19] so, if we could avoid that same brain damage in LP, I'd appreciate it [23:19] yup [23:19] we filed bugs about this for the new stuff last night, when I read the current code [23:19] as I say, I haven't checked txlongpoll yet [23:20] its probably ok, if its written naively, it will only connect when a js session connects, and not share channels/connections, which scales poorly but would make it robust around this