/srv/irclogs.ubuntu.com/2011/05/18/#launchpad-dev.txt

wallyworld_wgrant: can you hear me?00:03
wgrantwallyworld_: No.00:03
wallyworld_bugger00:03
wallyworld_sidnei: here but my mike is broken00:04
wallyworld_sinzui: ^^^^00:04
sinzuiwallyworld_: I had to mute/unmute from sound preferences this morning to make my mic really work00:05
wallyworld_sinzui: wgrant: skype works, but not mumble :-(00:09
mwhudsonsigh, what i really want is just to be able to attach comments ajaxily to the wiki page00:19
lifelessmwhudson: that would rock00:24
mwhudsonmaybe we can make thumper add that to wikkid :)00:25
thumpersup?00:25
thumperattach comments?00:25
lifelessI think WYSIWYG editing without bring up the full edit widget00:28
lifelesse.g. change one paragraph only00:28
lifelessor add an annotation to the text00:28
wgrantwallyworld_: Hi.00:31
wallyworld_wgrant: hello00:32
mwhudsonwhy does my brain always pop up 'cucumber' when i'm really trying to remember 'celery'00:32
wgrantwallyworld_: Can you QA your recipe build emails thing on staging?00:32
wallyworld_wgrant: yes. just going through my emails now and saw that one is still todo00:34
wgrantI'm doing the gpghandler thing.00:34
wallyworld_wgrant: not sure how to qa it though00:34
lifelessmwhudson: because they are both terrible project names00:35
mwhudsonlifeless: +100:35
wgrantwallyworld_: Create one successful build, one depwait build, see what happens?00:35
wallyworld_wgrant: that's the point. i'm not sure how to create a buidl with a dep issue00:36
wgrantwallyworld_: Branch an existing package, add 'fewfwefwefwew' to the Build-Depends field, build.00:36
wallyworld_wgrant: ok. i'm a total packaging noob you realise :-)00:37
wallyworld_wgrant: on qastaging, i assume there are logs we can look at to see what email would have been sent00:37
wgrantwallyworld_: You can check the staging mailbox.00:37
wgrantHave you accessed that before?00:38
wallyworld_nope :-(00:38
wgrantLet's see if I can find the wiki page.00:38
wallyworld_if it's on the wiki, i'll find it00:39
wgranthttps://wiki.canonical.com/InformationInfrastructure/OSA/LPHowTo/ConnectToStagingMailbox00:39
wgrantBut the password says to ask a LOSA.00:39
wgrantThat's false.00:39
wallyworld_excellent thanks00:41
wgrantYou will need a reasonable mail client.00:42
wgrantThe mailbox can be several hundred thousand messages.00:42
wallyworld_wgrant: can you send me the password? what do you consider to be a reasonable client?00:47
wgrantwallyworld_: I PM'd it to you internally.00:48
wgrantwallyworld_: I don't know how Kmail is these days.00:48
wgrantLast time I tried it with IMAP it was rather segfaulty.00:48
wallyworld_wgrant: ah thanks. didn;t see the pm, sorry00:49
mwhudsonlifeless: dammit email half-written and i need to go00:53
mwhudsonwill finish later :)00:54
lifelessmwhudson: no worries00:54
wallyworld_wgrant: well i'm trying kmail now. thunderbird refuses to connect (could be because i'm using a recent (buggy) snapshot to get better unity integration)00:56
wgrantqa-ok!01:00
wgrantIt is poppy-fixing time.01:00
wgrantWell, once asuka gets its act together.01:00
wgrantOh, the mailbox is tiny now.01:02
wgrantI guess because question emails aren't being sent.01:02
wallyworld_bugger, qastaging is down01:14
wgrantIt'll be back in a couple of minutes.01:15
wgrantThere we go.01:16
wgrantJust took a while to update WADL.01:16
wallyworld_cool01:16
wgrantHm.01:16
wgrantNot actually back yet.01:16
wgrantBut the appserver is started.01:16
wgrantThere.01:17
cody-somervilleHow interesting...01:25
cody-somervilleyou can be logged into launchpad.net as one user and login.launchpad.net as another01:26
cody-somervillewhich for those not familiar with login.launchpad.net is very confusing when trying to access branches via codebrowse01:26
lifelessan openid feature01:27
lifeless:>01:27
cody-somervillehmm... but logging out of login.launchpad.net and logging in as a new user doesn't fix it01:27
cody-somervillehow do I 'logout' of codebrowse?01:27
lifelessthere is a logout button on the launchpad site01:28
lifelessuse it01:28
cody-somervillebut I'm logged in as the correct user on launchpad already? I have to relogin again?01:28
wgrantThe launchpad.net logout button will you log you out of both launchpad.net and bazaar.launchpad.net.01:29
wgrant(by a hideous redirect via bazaar.launchpad.net)01:29
cody-somervilleah01:30
cody-somervillek01:30
wallyworld_#@%!@%@!&^ qastaging. every url i navigate to times out :-(01:34
wgrantProbably bug heat.01:36
wallyworld_wgrant: i'm having trouble figuring out how to get to a page that let's me see (and edit) the Build-Depends field for any particular package. can you point me in the right direction?01:40
wgrantwallyworld_: It's in the branch.01:41
wgrantwallyworld_: Edit debian/control.01:42
wallyworld_.me looks01:42
wgrantwallyworld_: Hm, nevermind, staging is too old anyway.01:43
wgrantWe'll have to do it on mawson.01:43
wallyworld_wgrant: by "the branch", do you mean code.qas.lp.net/project or code.qas.lp.net/ubuntu/+source/xxxx or ??01:44
wgrantwallyworld_: It needs to be a branch with packaging metadata. lp:ubuntu/hello, for example.01:44
wallyworld_wgrant: so i go to lp.net/ubuntu, search for a project eg firefox, and then go to lp.net/+source/firefox. is that correct?01:48
wgrantwallyworld_: Easiest way to get the branch is just 'bzr branch lp:ubuntu/hello'01:49
wallyworld_wgrant: fair enough. i was curious though how to find it via the gui.01:50
wgrantI don't know how to search for packages effectively.01:50
wgrantI always go straight to https://launchpad.net/ubuntu/+source/SOMESOURCE01:50
wallyworld_wgrant: right. i got to that by seaching from lp.net/ubuntu. it seems to work well if you know the project you are looking for01:52
wallyworld_wgrant: so mawsom = dogfood right? but do we have access to it's mailbox?01:53
wgrantwallyworld_: It sends mail to the staging mailbox.01:54
wallyworld_ah ok01:54
wgrantwallyworld_: I've scheduled a few builds of various sorts.02:07
wgrantWill probably take like half an hour to build them.02:07
wgrantAt least.02:07
wgrantrubidium is slow :(02:07
wallyworld_wgrant: ok. i was just messing with a local branch of ubuntu/hello02:08
wallyworld_i'll see what turns up in the inbox02:08
wgrantSubject: [DOGFOOD] [recipe build #36909] of ~wgrant hello-lololol-daily in natty: Dependency wait02:18
_mup_Bug #36909: clicking on bug filters does nothing <lp-foundations> <Launchpad itself:Triaged by bradb> < https://launchpad.net/bugs/36909 >02:18
wgrantwallyworld_: ^^02:18
wallyworld_wgrant: looks like it worked :-)02:19
wallyworld_thanks02:19
wgrantAnd there was no notification from the succesful build.02:20
wgrantSo we are good.02:20
=== StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK | https://code.launchpad.net/launchpad-project/+activereviews
StevenKwgrant: When you're back, can you look at https://code.launchpad.net/~stevenk/launchpad/copies-use-overrides/+merge/61195 again? I think I've addressed almost all of your concerns.04:03
wgrantಠ_ಠ massive commits again04:05
cjohnstonStevenK: have a moment to look at a couple of my merge proposals?04:06
lifelessmwhudson: thanks for that feedback04:07
lifelessgood questions04:07
mwhudsonoh good, i was worrying i rambled a bit :)(04:09
wgrantYou rambled a bit, but it was still excellent :)04:12
wgrantAnything like this is bound to be rambly.04:13
StevenKcjohnston: Sure, link me up, and I'll review them after I have reviewed my lunch.04:16
wgrantStevenK: Reviewed.04:17
StevenKwgrant: ZCML does not like inheritence04:18
StevenKI played with it last night04:19
wgrantStevenK: Upsetting.04:19
wgrantStill, IBaseOverridePolicy -> IOverridePolicy.04:20
StevenKwgrant: No argument from me about that04:20
cjohnstonStevenK: https://code.launchpad.net/~chrisjohnston/launchpad/728192/+merge/61046 https://code.launchpad.net/~chrisjohnston/launchpad/627628/+merge/6105504:25
cjohnstonhttps://code.launchpad.net/~chrisjohnston/launchpad/197793/+merge/6105304:27
=== jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: StevenK, jtv | https://code.launchpad.net/launchpad-project/+activereviews
jtvhi wallyworld_, I'm in04:31
wgrant196 Critical bugs04:34
wgrantYay04:34
jtvwgrant: less talking, more fixing or you don't get fed04:39
wgrantBut archiveuploader killed my cat.04:39
jtvOkay, you've got me.  How?04:41
wallyworld_jtv: hello04:43
lifelessjtv: hi04:43
jtvhi04:43
lifelessjtv: I saw your comment yesterday in irc you were offline by the time I saw it04:43
jtvcool, thanks—I was just reading the email thread04:43
StevenKcjohnston: All of those MPs are Approved by Henning?04:48
cjohnstonStevenK: thats correct04:51
StevenKcjohnston: So why do you need me? :-)04:51
cjohnstonHe hasn't done anything with them since approving them, so I wasn't sure if he wasn't able to merge or something04:52
StevenKcjohnston: Ah. I'll approve all 3 and toss them at ec204:53
StevenKcjohnston: If you want to set a commit message on all three?04:53
cjohnstondone04:56
StevenKcjohnston: The commit message on 728192 isn't really clear. Perhaps "IArchive:+index no longer has a form in a heading." ?04:57
cjohnstonok04:58
lifelessstatik: thats quite an endorsement for the proposal.. thanks05:02
nigelboh no, my commit had a build failure :(05:02
wgrantnigelb: An ec2 failure?05:02
wgrantThat's a "Test results: FAILURE" email.05:03
nigelbwgrant: Test results: 645825-ui-example => devel: FAILURE05:03
StevenKcjohnston: Will you be around in roughly four hours?05:03
nigelbwgrant: yeah, test failure05:03
cjohnstonStevenK: no.. I need to go to bed soon. :-/05:04
wgrantnigelb: How many errors?05:04
nigelb6 errors05:04
wgrantIs the problem clear?05:04
StevenKcjohnston: Fair enough -- all three of those branches are currently having ec2 instances created for them, you'll get e-mails from them in about four hours telling you what happened.05:05
cjohnstoncool... t05:05
cjohnstont05:05
cjohnstony05:05
StevenKHaha05:05
nigelbwgrant: looks like "AttributeError: 'TestProductSeriesHelp' object has no attribute 'oopses'"\05:05
StevenKI've seen that before ...05:06
StevenKEr05:06
mwhudsonthat could be a setUp method failing to upcall05:06
StevenKI've *not* seen that before05:06
nigelbwant a full paste of the entire mail?05:06
nigelbI didn't have a setUp method.05:06
wgrantnigelb: That would be helpful.05:06
StevenKwgrant: Can you also glance at https://code.launchpad.net/~rvb/launchpad/distro-overlay2-bug-758908-dependencies/+merge/61110 please?05:06
nigelbwgrant: http://paste.ubuntu.com/609335/05:07
StevenKSuspcious05:08
wgrantI have seen this before. It was something fairly obscure.05:08
wgrantBut I cannot recall the details.05:08
StevenKRight, running ec2 land & in a for loop was a stupid idea.05:09
nigelba for loop?05:10
wgrantOh.05:10
StevenKA shell for loop. for i in foo bar  ; do echo $i ; done05:10
wgrantnigelb: You call your superclass' setUp method in your test method.05:10
wgrantThat's *not* going to go well.05:10
wgrant28+        super(TestProductSeriesHelp, self).setUp()05:10
wgrantDelete that line.05:10
nigelbwgrant: ah05:11
nigelbmwhudson: ah, a setUp method failing to upcall. Now I get what you meant.05:12
nigelbwgrant: commit and push again?05:12
wgrantnigelb: Right.05:12
wgrantIn this case it was setUp doubly upcalling, so the OOPS handler was registered twice.05:12
wgrantThen tearDown unregistered it only once.05:12
mwhudsonah so my crystal ball was only a little cloudy05:13
jtvlifeless: a concern about service fakes... you mention running the real service's tests against the fake.  But the gains have to come from somewhere; in the FakeLibrarian for instance we had to sacrifice multi-process access.  Won't a single canonical fake for a service imply something very close to the real thing?05:16
wallyworld_lifeless: (or someone else smarter than /me): there's a bug report with an Object NotFound oops for urls of the form "translations.lp.net/inactiveproject" and "bugs.lp.net/inactiveproject" yet when I test that on lp.net the page renders fine. any idea why?05:20
wgrantwallyworld_: ~registry can see disabled projects.05:20
nigelbwgrant: pushed again --> https://code.launchpad.net/~nigelbabu/launchpad/645825-ui-example/+merge/6117505:21
wallyworld_wgrant: oh ok. so on the page where such links are rendered, we may want to see if the user is a member of ~registry before we decide not to print the links?05:21
wallyworld_of do we just want to not print them in all cases?05:22
wgrantwallyworld_: I'm not sure that there's value in showing them to ~registry.05:22
wallyworld_easier to do the latte05:22
wallyworld_latter05:22
* jtv goes for a latte05:22
wallyworld_cool. so i'll take the easy road :-)05:22
wallyworld_jtv: 2 sugars for mine please05:23
jtvwallyworld_: here you go → ☕05:25
wallyworld_lol05:25
wallyworld_but where's the sugar?05:25
nigelbhehe05:28
nigelbwgrant: will you be landing it in ec2?05:33
wgrantnigelb: I will.05:33
nigelbwgrant: Thanks :)05:33
wgrantnigelb: The instance is running now.05:41
nigelbwgrant: great, thanks :)05:41
nigelbaha, UDS photos are up.  There's a lot of photos of that guy with blue hair :p05:43
wgrantI haven't been able to find one yet.05:43
wgrantDo you have a link?05:43
wgrantI went looking last week.05:43
wgrantBut failed.05:43
nigelbhttp://photos.pixoulphotography.com/Events/UDS-Oneiric/17103699_kzzLF6/1/1296058796_HdrLgVm#1296058440_N4fmvNv05:44
nigelbwgrant: I have a bunch in my fb album, but these are much better05:44
wgrantSubtle.05:45
* mwhudson goes looking for the pictures of beuno harassing charlieS05:45
nigelbhaha05:45
beunoit was more like stalking05:47
wgrantOh?05:47
mwhudsonbeuno: once you'd pinned in the corner with your rapidly waving hands, it wasn'05:48
mwhudsonbeuno: once you'd pinned in the corner with your rapidly waving hands, it wasn't stalking any more :)05:48
beunotrue05:48
mwhudsonpinned HIM05:48
mwhudsoni should give up on typing for today05:48
mwhudsoncan't find any photos of that anyway05:49
beunoit started off as stalking, then came the beer05:49
* StevenK grumbles at publishBinaries05:49
wgrantStevenK: Hm?05:49
wgrantIt fit its original purpose very well.05:49
StevenKIt's ignoring the component I'm passing it05:50
wgrantIt probably overrides it to main if it's a PPA.05:50
StevenK(Which it isn't)05:50
wgrantThat is probably no longer appropriate.05:50
wgrantIt probably is.05:50
wgrantWhat's it doing?05:50
StevenKThe copied binaries continue to keep the original binaries component.05:51
wgrantI doubt that's publishBinaries' fault.05:51
wgrantUnless you've touched it in bad ways.05:51
* StevenK dumps the query it runs05:52
StevenKBleh, which doesn't help05:52
wgrantIt's a very pretty query :)05:53
LPCIBotProject windmill-db-devel build #288: STILL FAILING in 1 hr 10 min: https://lpci.wedontsleep.org/job/windmill-db-devel/288/05:54
lifelessjtv: much of the cost of real services from integrity or encryption05:57
lifelessjtv: e.g. fsync, transactions, multiuser syncronisation05:57
lifelessjtv: a network fake doesn't need to do any of those, can pretend to do gpg etc05:57
jtvlifeless: but then we'd still have to exempt the fakes from those aspects of testing, right?  Maybe separate "interface" tests from "quality of implementation" tests?05:57
StevenKIt's so comforting that windmill continues to utterly fail on Jenkins05:57
wgrantStevenK: They're all bitrot failures.05:58
wgrant7 or so are easy to fix.05:58
lifelessyes, but then how can you tell if a db fsyncs something *when you're talking over the network to it* ?05:58
lifelessso the external contract really can't talk about those aspects anyway05:59
jtvAh, so that's already not a part of the service's tests as such.05:59
lifelesswe'd want 3 sets of tests of a service05:59
lifelessexternal contract05:59
lifelessdetails-of-the-fake-test-support-api05:59
StevenKwgrant: :-(05:59
lifelessdetails/internals-of-the-real-version05:59
lifelessthis is what bzr has05:59
lifelessand it works very very well06:00
StevenKwgrant: And publishBinaries() was doing the right thing after all06:00
wgrantStevenK: Of course.06:00
lifelessthe external contract tests run against both implementations06:00
lifelessthe other two sets against only one06:00
* StevenK bites back a barb06:00
StevenKwgrant: And I didn't address the arch-indep bit because I have no idea how to06:05
StevenKHm, perhaps that will work06:08
StevenKwgrant: I can't have cBO just return the archtag passed in?06:15
wgrantStevenK: You can.06:16
wgrantIf you can reliably map back to it.06:16
StevenKThe bother is returning None if it's arch-indep06:16
StevenKWhen I can't trust the destination, and all I have is the BPN06:17
StevenKI'm able to deal in copyBinariesTo(), since I have the source BPPH, and that is trust-worthy06:17
wgrantRight. You may recall that I suggested a strategy last week to overcome that.06:17
wgrantJoining against DAS.06:18
StevenKwgrant: Right, and that works fine for returning the archtag, but it won't return None if it's arch-indep.06:19
wgrantStevenK: It will if you make it return None.06:19
StevenKwgrant: Uh? How can I make Storm do that?06:20
wgrantStevenK: If it's arch indep, add a DistroArchSeries.id == None constraint.06:20
wgrantHmm, although that may need to be in a join condition. Difficult.06:21
StevenKAnd calculate_target_das() already tosses back the NAI06:21
wgrantSo?06:23
StevenKIt isn't making any sense how to implement this.06:24
wgrantYou constrain BPPH.distroarchseries to NAI.06:24
wgrantBut you don't actually join against DistroArchSeries yet.06:24
wgrantI suggest that you do a left join against DistroArchSeries such that you get the archtag back for arch-dep, and None back for arch-indep.06:25
StevenKmake_package_condition() already does BPPH.distroseries == das06:26
wgrantYes, but it doesn't join against DAS.06:26
wgrantIt just compares the fk with a precalculated value.06:26
wgrantlifeless: Could you please try it on another browser, then?06:33
wgrantIt is not a bug unless it occurs on browsers that don't have unstable daily build warnings on them.06:34
StevenKFROM LEFT JOIN ... WTF, Storm?!06:42
wallyworld_jtv: translations question concerning recent activities on a person's translation page (getTranslationHistory). i'm trying to find a test for this. no luck so far, just about finished running all tests under translations/*. i want to find a test which calls into ActivityDescriptor.  But more to the point, i need to find a way to filter getTranslationHistory so that it ignores POFiles associated with inactive projects.   if i can06:45
wallyworld_ navigate to the pofile sourcepackage->product attribute i may be able to check for is_active but the product attribute desc says "The best guess we have as to the Launchpad Project...". Best guess? Is there a definitive association?06:45
StevenKwgrant: I'm clearly missing something vital: http://pastebin.ubuntu.com/609354/06:51
wgrantStevenK: You have a left join there.06:53
wgrantBut you're not joining onto anything.06:53
wgrantYou're just joining DistroArchSeries onto nothing.06:53
StevenKSo I need BPPH, DAS, condition?06:54
wgrantRoughly.06:54
jtvwallyworld_: use POFile.potemplate to get to the POTemplate.  From there it's either POTemplate.product, or POTemplate.{distroseries, sourcepackagename}.07:25
wallyworld_jtv: thanks. that should be doable in storm. any idea why there appears to be no test coverage for the recent activies stuff on the view? there's a doc test for person.translation_history but nothing for the rendering of that info onto the page. or am i missing something?07:29
jtvwallyworld_: I was almost certain there was.07:29
wallyworld_jtv: yeah, i would have thought so. but a complete run of all translations/* tests didn't hit my breakpoint :-(07:30
jtvwallyworld_: let me just look at the code you're talking about...07:31
wallyworld_jtv: thanks. ideally i wanted to write or extend an existing test and then do the code07:32
jtvNaturally.07:33
lifelesswgrant: ajax log?07:34
wgrantlifeless: Check what the vocab AJAX request returns.07:36
StevenKwgrant: I think I have the join working. But how to get it to return None?07:36
wgrantStevenK: That's where my plan falls apart slightly. You may need to have it in the join condition, not the where clause.07:36
wgrant'cause you don't get a NULL row if there are any matches.07:36
wgrantAlways disliked that inconsistency.07:37
StevenKwgrant: But the DAS itself is in *candidates?07:37
jtvwallyworld_: can't find it either—and I'm pretty sure I spent quite some time writing up tests for this in Barcelona.07:37
StevenKAnd is already the NAI by that time anyway07:37
wallyworld_jtv: well that sucks balls :-(07:37
jtvwallyworld_: hope I didn't end up forgetting to "bzr add" the tests or something...07:37
wallyworld_jtv: so you're off to check your hard drive? :-)07:38
jtvYes, it sucks balls and circumstances were difficult due to time pressure etc.07:38
wallyworld_for uncommitted branches?07:38
jtvNope, it's not on this hard drive, the backup drive this would be on is probably one that died, or maybe it's on the predecessor which also died, and the machine itself is behind a UPS that had a nervous breakdown and I still have to figure out whether it's really the power or the UPS itself.07:39
jtvSo not much chance of that.  :(07:39
jtvwallyworld_: we could probably dig up the MP, but it's not likely to be worth the trouble.  I fear this will take new tests.07:41
* wallyworld_ sobs siliently07:42
jtvCan you sob _re_siliently?  That'll help.07:43
* wallyworld_ can't type07:43
spmjtv: there's a request from danilo up on lps, is that still relevant do you know?07:46
wgrantIt is.07:46
wgrantHe said was going to get to that when he was on maintenance.07:46
wgrantWhich is next week.07:46
spmah k, we'll let it ride for now then; ta07:46
StevenKwgrant: I still think I'm missing something. http://pastebin.ubuntu.com/609367/07:47
StevenKgmb: nigelb bought up the failures here, and wgrant helped him fix it.07:50
StevenKgmb: It's currently running through ec2 again.07:50
nigelb-workgmb: I did remove the super().setUp and wgrant landed it in ec2 again07:57
StevenKIt's probably got another 3 hours to go07:57
* StevenK prods wgrant more07:58
nigelb-workhow many hours does it take anyway? o.O07:58
StevenKnigelb-work: About 407:58
wgrant~4h07:58
nigelb-workso, its about half way through by now I guess07:58
wgrant$ utilities/ec2 list07:58
wgrant645825-ui-example => devel  [OK]     (up for 2:21:13.892062)07:58
wgrantSummary: running: 107:58
wgrantYup.07:58
nigelb-workbtw, there were one or two easy bugs I thought could be just closed off07:59
nigelb-worklike there was a bug which said, If LP is linking to bugs not existing and showing a tool tip that it does not exist, then it shouldn't link the bug at all08:00
nigelb-workBut I don't think we show any such tooltip anymore, at least I didn't see it.08:00
nigelb-workthat's bug 4595 (yeah, OLD)08:03
_mup_Bug #4595: Don't auto-linkify non-existent bug reports <easy> <lp-web> <tales> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/4595 >08:03
nigelb-workand another one, bug 337848, I can't find examples of what's mentioned in the bug report08:05
_mup_Bug #337848: IRC links on profile page are asked the wrong way <easy> <irc> <lp-registry> <ui> <users> <Launchpad itself:Triaged> < https://launchpad.net/bugs/337848 >08:05
wgrantlifeless: Hah.08:07
wgrantHave you considered that 123 might be a few too many teams?08:07
wgrantI wonder what they all are.08:07
lifelesswgrant: no08:07
wgrantI was only in 95.08:07
wgrantGreated 25 new ones, fine.08:07
lifelesspoor form08:07
wgrantCreated one more.08:07
wgrantBoom.08:07
wgrantundefined.08:07
wgrantDoes not like more than 20 pages, apparently.08:07
lifelessha ha ha ha ha ha ha08:08
lifelesswgrant: browser version my shiny metal ....08:08
* StevenK gives up on arch-indep08:08
StevenKToo hard08:08
wgrantlifeless: Nobody else is insane enough to have that many teams :)08:08
lifelesswgrant: many folk are08:08
wgrantAnd it hadn't been seen outside a daily build of a browser...08:08
StevenKwgrant: Are you going to push back on the arch-indep thing?08:09
wgrantStevenK: Not if you can prove to me that it's OK.08:09
StevenKAnd the tests don't do that?08:09
wgrantNo, those tests don't cover much at all.08:09
StevenKThey're the 3 use cases we discussed?08:10
wgrantThey are the three basic cases, yse.08:10
* StevenK pushes up 5 revs08:11
wgrant!!08:11
wgrantlifeless: There are 42 people with 120 or more teamparticipations.08:11
wgrantClose enough to nobody else :P08:11
lifelesswgrant: I'm not even top 1008:12
wgrantYes, but your Person.id is 2, so all suggestions of exceptionality are valid and reasonable.08:12
nigelb-workwho's 1?08:13
nigelb-worksabdfl?08:13
wgrantYes.08:13
lifelessyes08:13
wgrantsabdfl is #1408:13
wgrantlifeless #2408:14
wgrantNot good enough.08:14
lifelesswgrant: #908:14
lifelessfor sabdfl08:14
wgrant"SELECT person.name, COUNT(*) FROM teamparticipation JOIN person ON person.id = teamparticipation.person GROUP BY person.name HAVING COUNT(*) > 120 ORDER BY COUNT(*) DESC;" was what I did.08:14
lifelessyeah08:15
lifeless14908:15
lifelessis what I see08:15
StevenKwgrant: There, 5 more revisions on the MP. Be shocked.08:15
wgrantStevenK: I am shocked and saddened.08:15
StevenKSaddened?08:15
wgrantSaddened.08:15
StevenKWhy?08:16
wgrant sabdfl          |   15208:16
wgrantStevenK: I will need to find something else to harrass you about.08:16
wgrantIf you've started committing regularly.08:16
StevenKHaven't you harrassed me enough about this branch?08:16
wgrantIt's a very dangerous branch.08:16
wgrantSo no.08:16
StevenKMy frustration is peaking08:16
wgrantIn its current state it will break pocket copies in at least two ways.08:17
wgrantYour frustration may peak, but it still won't land :)08:17
StevenKI'm willing to state that it needs more tests, but if you're just going to say "It's dangerous" and not point out which particular cases need more care, then I'm just going to get more frustrated.08:18
wgrantI pointed out some of the cases in my first comment.08:18
StevenKAnd reviewing a branch isn't supposed to be a battle of wills.08:18
wgrantIt's not a battle of wills.08:19
wgrantSo, my worries are:08:19
wgrant 1) This is now used in copies, forrealz.08:19
StevenKAt the moment it feels like it.08:19
wgrant 2) It only finds overrides within the pocket, which means that pocket-copies eg. from -proposed to -updates will end up in the wrong place.08:20
StevenK        # When we copy source/binaries from one pocket to another, their08:21
StevenK        # overrides are respected.08:21
wgrant 3) I don't know how well it's going to handle partner and copy archives and stuff.08:21
StevenK^ That is the case you're concerned about?08:21
wgrant 4) This changes a lot and could have severe consequences on several untested processes, so no caution is undue.08:22
wgrant"their overrides are respected" is unclear, but that could be it.08:22
StevenKwgrant: I don't care about landing, I care about personally feeling that I'm making progress. At the moment it feels like The Immovable Object versus The Unstoppable Force08:24
wgrantYou are making progress. But this is a big change with a lot of cases that need to be covered before it's safe.08:25
StevenK        # When we copy source/binaries from one pocket to another, the08:26
StevenK        # overrides are unchanged from the source publication overrides.08:26
wgrantI have made specific statements about the things that concern me.08:26
wgrantStevenK: It may be better to phrase (and code) that as just picking the latest overrides, regardless of pocket.08:26
LPCIBotProject devel build #728: FAILURE in 14 min: https://lpci.wedontsleep.org/job/devel/728/08:27
StevenKUh oh08:27
StevenKbzrlib.errors.InvalidHttpResponse: Invalid http response for https://xmlrpc.launchpad.net/bazaar/: Unable to handle http code 502: Bad Gateway08:28
wgrantThat's not meant to happen when there's no rollout going on.08:28
lifelessits not meant to happen period08:28
stubWhat does it mean if a derived distro is an overlay over a parent distro ?08:28
wgrantlifeless: Wasn't it an accepted downside of the current nodowntime process?08:29
StevenKstub: It inherents all of the parent's packages, except for those are explicity published in it.08:29
StevenKstub: Think PPA, except for Distributions08:29
wgrantstub: The derived series doesn't have the parent's packages in its own archive. Its builds' sources.lists refer to the parent series' archive.08:29
wgrantLike PPAs, right.08:29
lifelesswgrant: interrupted requests yes, bad gateways no08:30
wgrantlifeless: Isn't that a bad gateway?08:30
stubStevenK: So what does it means if it doesn't have that set? I had assumed that behaviour for derived distros.08:30
wgrantlifeless: It's not a 503 or a 504, so it's probably a 502.08:30
StevenKstub: If it isn't an overlay, it is just a derived series08:30
stubWhy would you have a derived distro that doesn't inherit the parents packages?08:30
StevenKstub: Because you only want a subset08:30
StevenKFor instance08:31
stubSo you would have to manually specify all the packages to pull in? Whitelist rather than blacklist?08:31
StevenKYes08:31
stubok.08:31
lifelessstub: debian -> ubuntu is non-overlay08:31
lifelessstub: ubuntu -> oem is overlay08:31
stubI see.08:31
lifelesswith overlays clients have both archives in their sources.list08:32
lifelesswith non-overlay they have only the derived distro08:32
stubWill a PPA become a non-overlay derived distro?08:33
wgrantAn overlay derived distro.08:34
StevenKWith multiple parents too, whee08:34
lifelessa single parent overlay derived distro is roughly equivalent to a PPA08:34
lifelessbut with better management of packages08:35
stubCool. So we could, say make our own personal Ubuntu variant overlay ubuntu, overlay the Launchpad PPA, Bazaar PPA etc.08:35
lifelessit should probably nuke all ppas in favour of such overlays eventually08:35
wgrantlifeless: That's Julian's intention.08:35
StevenKIt's also a long-term goal08:35
stubYouBuntu :-)08:36
StevenKstubuntu08:36
=== StevenK changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jtv | https://code.launchpad.net/launchpad-project/+activereviews
adeuringgood morning08:39
henningeHi adeuring! ;)+08:39
henninges/+//08:40
adeuringmoin henninge08:40
stubSo I just approved a patch to the DistroSeriesParent table, which is not yet in use I think. The new columns - did we not realize they were needed when we initially created the table, or do we need to tweak something to avoid unnecessary landings on db-devel ?08:43
StevenKstub: Julian rushed the DistroSeriesParent creation08:44
StevenKEffectively08:44
lifelessstub: http://www.readwriteweb.com/cloud/2011/04/5-graph-databases-to-consider.php08:45
rvbastub: I think the whole parent/child overlay thing was not completely thought through when the DSP table was created.08:45
stubk. As long as everyone is aware we need to do the db stuff upfront when possible. Was wondering if two people got tasked with different parts of the same feature and we ended up with two patches in different cycles because of that.08:45
stubRight.08:46
jtvThe requirements for multiple parents and all the rest weren't discovered until we'd already started developing.08:46
jtvThe feature's design got a bit hectic as a result, and we have some grand plans for simplifying it but we can't afford to do that now.08:46
stubYeah, I was expecting we learnt they were needed part way through.08:46
stubI don't think we can avoid that entirely.08:46
stublifeless: Might want that sooner than later - losas raising disk space warnings again and we can't rely on the SAN arriving in time for that.08:48
lifelessstub: what service are they raising that on ?08:48
spmwildcherry, but all08:48
stuball three db nodes08:48
lifelessah08:48
lifelesswhere are we at on the branchrevision shrinkage08:49
stubchokecherry has space, but two copies of the database. If we ran out now, I'd need to switch to single master running on chokecherry.08:49
StevenKHow can I get bzr shelve to show what is stored in an id?08:50
wgrantbzr unshelve --preview ID08:50
stublifeless, jtv: I think we are down to one remaining glitch in hacking the internal tables to drop the id column. There might be a redundant index we can drop right now.08:51
jtvThat'd be nice.08:51
jtvWhat's the glitch?08:51
stublifeless, jtv: If we want, we might be able to punt this to 3rd party support and let them chase through the hidden dependencies in the catalog.08:52
lifelesshow much space are we expecting to save08:52
jtvstub: sounds good... may send them into a panic though.08:52
jtvlifeless: order of 20GB last I looked.08:52
lifelessif its enough to save us, then we should escalate it, yes.08:52
stubjtv: IIRC the index we are using as the new primary key is still linked to a unique constraint on the table. That needs to be broken.08:52
stubjtv: We end up with a database schema that can be dumped, but the restore fails.08:53
lifelesswin08:53
stubjtv: https://code.launchpad.net/~stub/launchpad/drop-branchrevision-id/+merge/5548008:54
stublifeless: I think I'd get them to go over it anyway - more eyes, less chance of blowing off our foot.08:54
lifelessin this case, entire leg08:54
lifeless:)08:54
jtvstub: any particular part you'd like me to look at?08:55
stubjtv: If you have time, run that patch, do a dump restore, and see if the problem that demonstrates is obvious to fix. I think you are more familiar with these internals as you have talked it over more with the core devs. Maybe it is just a silly mistake I introduced working from your notes?08:56
StevenKstub: Your patch number is 62, but you insert 99 into the DB08:56
jtvstub: I don't have that much time right now :(  Especially with the holidays I'm way behind on Feature stuff.08:56
stubStevenK: There is also deliberate syntax error in there - I don't want this to accidentally land anywhere :)08:57
StevenKstub: Heh, I missed that08:58
stublifeless: We can also consider switching the data partition to RAID 5 for the extra space. Need to benchmark on similar hardware to see if that copes with our current write load (I suspect it would).09:01
lifelessI seem to remember a few GB we can save by repacking some indices09:02
lifelessI'll also talk with elmo about options on thursday09:03
lifelessneo4j.org does look interesting09:05
LPCIBotProject windmill-devel build #99: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-devel/99/09:36
=== almaisan-away is now known as al-maisan
pooliegmb, hi10:14
pooliei liked your post10:14
pooliecould i persuade you to put it on the lp blog?10:14
gmbpoolie: Thanks. I've already got that on my todo list for today.10:15
poolie:)10:16
mrevellMorning10:18
pooliegmb it's so great to see new non-canonical contributors10:20
poolieand such an advantage for launchpad compared to the other leading brands10:20
nigelb\o/10:21
nigelbIt worked :)10:21
gmbDefinitely10:21
* nigelb hugs gmb, wgrant, and StevenK :)10:21
gmb:)10:21
StevenKnigelb: You're welcome! Wait until your change is on production. :-)10:24
wgrantWith a bit of luck that will be tomorrow morning.10:24
nigelb\o/10:24
nigelbNow, on to find another candidate bug to fix.10:24
wgrantFaster!10:25
jmlsoren: sort of.10:27
jmlsoren: we generally try very hard to help GMail users, they make up a huge percentage of our users10:27
jmlsoren: in this case, a lot of the web-side filtering is a work-around for GMail brokenness10:28
wgrantSame with all the textual cruft in the emails :/10:28
sorenI see.10:28
henningeerr, what is this?10:45
henningedescription = IBug['description']10:45
henningenever seen an Interface used like that.10:45
wgranthenninge: Interfaces are not classes. Their members appear as items, not attributes.10:48
henningewgrant: but what does this give me?10:48
henningeThere is no instance involved10:48
henningeI didn't know that, btw.10:49
wgranthenninge: It should give you the interface field.10:49
henningeah, obviously10:50
henningeso that is written confusingly. It should not call the value "description" but "description_field"10:51
henningewgrant: thanks10:51
wgrantHmm? Why?10:51
wgrantOh, right.10:51
wgrantYeah, I guess.10:51
LPCIBotProject windmill-db-devel build #289: STILL FAILING in 1 hr 11 min: https://lpci.wedontsleep.org/job/windmill-db-devel/289/10:54
jtvrvba: Q about the +localpackagediffs page11:02
=== al-maisan is now known as almaisan-away
jtvrvba: for various reasons we'll want to disable or replace the checkboxes for some of the DSDs we display.11:02
rvbajtv: yes?11:02
jtvDo you have any quick ideas of where in the code to look for those?11:03
jtv(This is where advanced frameworks always get to me... you can't grep because it's all implicit)11:03
rvbajtv: right now this is controlled by canPerformSync (grep for that)11:04
jtvrvba: excéllent, thank you!11:05
rvbabut of course it's a global thing.11:05
jtvHow global?11:05
jtvI may affect Inuits when I mess with it?11:05
rvba;) it either all the checkboxes are displayed ... or none.11:06
jtvOh!11:06
jtv_That_ global.11:06
jtvThen I can't use that right now.11:06
jtvBut canPerformSync will probably still get me closer to where I need to be.11:06
jtvAnd perhaps save a few Inuits.11:06
=== jam1 is now known as jam
rvbaPerhpas you could compute the ids of the DSD for which the checkbox should not be displayed in the view with a method to query that, then use the method in the template.11:07
jtvJust chatted with J and we both had examples where the checkbox shouldn't be displayed: child version > parent version, and package is already being sync'ed.11:07
rvbaRight.11:08
jtvI'd rather annotate the DSDs.  There may be more than just a boolean: when there's a sync job pending, I'd like to replace the checkbox with a "please wait" clock.11:08
rvbajtv: I know I don't have to tell you this ... but beware of the dreaded one query per DSD thing ;).11:08
jtvOh yes, thank you, this database stuff is all very new to me.  :-)11:09
rvbajtv: ;)11:09
jtv(This morning I found myself wondering about prefetching Zope navigations in SQL, which should tell you something about how much I care!)11:10
rvbajtv: anyway, greping for canPerformSync will give you all the right spots.11:10
jtvYou know: https://launchpad.net/ubuntu/natty/ could fetch Ubuntu and Natty in 1 query.11:10
jtvThat's a great help.  Thanks again!11:10
rvbajtv: Glad to help.11:11
jtvallenap: while I'm at it, maybe I should just fix IPlainPackageCopyJob.getActiveJobs to check for job status?11:11
rvba(jtv: I think allenap is not here today.)11:12
jtvoh11:12
gmbVexed. Going to get food.11:55
=== almaisan-away is now known as al-maisan
pooliejtv , hi12:00
poolie jtv, i was wondering if you could pilot james's long-outstanding approved mp12:00
jtvpoolie: what MP is that?12:01
poolieit' the top one on activeeviews12:02
pooliehttps://code.launchpad.net/~james-w/launchpad/more-matchers/+merge/3205712:02
jtvthanks12:02
poolienearly 6m old12:02
jtvI hope it'll still work then!12:02
=== jtv changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews
jtvpoolie: I'm a bit under the weather and not thinking too clearly... all it seems to need now is to be landed, right?12:03
poolieapparently so12:03
poolietested and landed that is12:04
LPCIBotProject windmill-devel build #100: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-devel/100/12:04
jtvOK12:04
=== henninge is now known as henninge-lunch
pooliethanks12:09
jtvpoolie: riddled with conflicts now.  :(12:19
jtvThanks for picking that up though.  We need to get used to checking for this.12:19
poolieyes12:28
poolieif nly there was a page that showed you all the outstanding reviews :)12:28
poolieactually the +mps page could be better about showing ones that need help12:28
jtvpoolie: this is weird... when I try to merge that branch into a fresh devel, I get conflicts on files that the branch (going by the MP diff against devel) did not touch.12:41
pooliethat is strange12:42
pooliei'll try it when my meeting's over12:42
pooliethere's also one from cjwatson that may now be able to proceed12:42
pooliewould be worth pinging it12:42
wgrantpoolie: That's waiting on python-apt fixes from Platform.12:42
wgrantAnd jelmer's has a few test failures that I was going to look at this week.12:43
cjwatsonyeah, I need to check with mvo about that12:43
jtvthanks poolie...  there's nothing more I can do today I'm afraid.12:43
pooliejust wasn't sure if it was still blocked12:43
pooliei guess the conflicts may be that he newly added lib/lp/soyuz/testing?12:44
pooliei'll merge it and see what i can do12:44
wgrantProbably.12:44
jtvMaybe I _should_ however take the time to file bugs for suspend, hibernate, battery time estimation, and Tomboy not saving my data for hours on end.  :(12:44
jtvThey combine so neatly into total data loss.12:45
barrylifeless or flacoste this page times out for me 100% of the time now:12:49
barryhttps://bugs.launchpad.net/ubuntu/+bugs?field.tag=python2712:49
pooliejames_w: do you think you'll come back to this or do you want it piloted?12:49
barryplease, is there anything you can do to help me?12:49
james_wit would be great if someone could land it for me12:50
wgrantbarry: Hm, worked second load for me.12:51
barrywgrant: dang12:52
* barry rides the reload button12:52
gmbbarry: Annoyingly for you, works first time for me.12:52
wgrantMaybe you have more teams than me or something.12:52
barrycould be, yeah12:52
wgrant8.49s, so it's very close.12:54
barrywgrant: i'll keep hammering it.  maybe i'll get lucky and hit a warm cache ;)12:58
wgrantbarry: Do you have an OOPS ID?12:58
wgrantWe may work out it's just over the threshold and bump that page by a couple of seconds.12:58
wgrantlifeless suggested it was far worse.12:59
wgrantBut the fact that it's a few hundred ms under for me suggests he may have ben mistaken.12:59
barry(Error ID: OOPS-1964EA274)12:59
barryand hey, a reload just got me the page!12:59
wgrantThanks.12:59
barrywgrant: thanks13:00
wgrantHm, we should just increase the limit.13:01
wgrantThe main query was only 7.5s.13:01
wgrantIt was just doing the final rendering when it was killed :(13:02
barrywgrant: related, if i do an advanced search to get also fixed released and tagged python27 i get another timeout:13:03
barry(Error ID: OOPS-1964DV295)13:03
barryhttps://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=&orderby=-importance&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.status%3Alist=FIXRELEASED&assignee_option=any&field.assignee=&field.bug_reporter=&field.bug_supervisor=&field.bug_commenter13:03
barryer, http://tinyurl.com/6xyzrf313:03
bigjoolsour urls rock13:03
wgrant9s query :(13:04
jmlbigjools:13:18
jmlhttps://bugs.launchpad.net/launchpad/+bug/32598213:18
_mup_Bug #325982: Search URL is long and hard to paste <lp-bugs> <Launchpad itself:Triaged> < https://launchpad.net/bugs/325982 >13:18
bigjoolsyeah I think I've seen that before13:19
bacsinzui: i should know this but don't remember, did stevenk graduate as a reviewer?13:22
bacoh, i guess i could ask StevenK directly...13:23
=== danilos changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: danilos | https://code.launchpad.net/launchpad-project/+activereviews
henninge-lunchis the LP.cache meant to be included on anonymous pages?13:30
=== henninge-lunch is now known as henninge
henningeI am not sure what this is trying to achieve:13:30
henninge<tal:cache condition="view/user|nothing"13:30
wgrantThat doesn't seem to make very much sense.13:31
wgrantIt would seem reasonable to include it sometimes, but I can't think of anything that needs it now.13:31
henningeI think it is supposed to mean "Don't complain about missing user attribute, just make the condition False."13:31
henningewgrant: would this be correct:13:31
henninge<tal:cache condition="view/user|false"13:32
henninge?13:32
wgrantI don't think so.13:32
henningehm13:32
wgrant'nothing' is the correct thing to use there.13:32
wgrantIf view/user might not exist.13:32
henningebut it seems to evaluate to true always13:32
* henninge checks that13:33
wgrantIt should be None for anonymous requests...13:33
bachi mrevell13:47
mrevellHey bac13:47
danilosanyone know anything about this failure on buildbot: https://lpbuildbot.canonical.com/builders/lucid_db_lp/builds/958/steps/shell_6/logs/summary?13:53
wgrantrabbitmq failed.13:53
wgrantSpurious.13:53
wgrantAlready forced.13:53
wgrantI will talk to lifeless tomorrow and probably disable it.13:54
wgrantSince it has been happening a lot.13:54
henningewgrant: I read that wrong. The LP.cache["context"] is unconditional. The tal:condition above works correctly.13:56
daniloswgrant, ok, cool, thanks13:57
deryckhenninge, ping for standup14:02
henningeyup14:02
henningederyck: trouble ...14:04
deryckhenninge, ok, we'll start and join us when you can14:04
=== matsubara-afk is now known as matsubara
wgrantbigjools: Sadly, security updates sometimes do add new packages (thing Firefox and co.)14:12
wgrantbigjools: Also, I suggested this yesterday or so:14:13
wgrant15:26 < wgrant> StevenK: I evisage that primary archives will use a chain of UnknownComponentOverridePolicy and FromExistingDestinationOverridesPolicy, while PPAs might use MainOnlyOverridePolicy and FromSourceOverridesPolicy, and copy archives might use FromSourceOverridesPolicy and FromExistingPrimaryOverridesPolicy14:13
wgrant15:27 < wgrant> Er, last case is the wrong way around. FromExistingPrimaryOverridesPolicy and FromSourceOverridesPolicy14:13
wgrantWhich seems to be a similar sort of idea to your PPA main overriding thingy.14:14
wgrantI am glad we are thinking along similar lines.14:14
=== abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: danilos, abentley | https://code.launchpad.net/launchpad-project/+activereviews
StevenKbac: Indeed I did14:38
StevenKbac: thumper sent out a mail about it14:38
sinzuijcsackett: ping14:39
StevenKbigjools: At the last comment of "Do our tests suck so much that made no difference?!" yes14:41
StevenKbigjools: I was attempting to nail down a bug when I noticed that.14:42
wgrantEventually the copier will be split up enough that it's unittestable.14:44
bigjoolsStevenK: *sadface*14:48
sinzuiabentley: Do you have time to review https://code.launchpad.net/~sinzui/launchpad/answers-api-3/+merge/6134614:52
abentleysinzui: yep.  I was already reading it, in fact. :-)14:53
abentleysinzui: I would prefer to write the new tests as unit tests.  r=me.14:58
sinzuiabentley: I understand. My intent is to document how the webservice works. I have full faith in the existing unit tests are correct15:00
LPCIBotYippie, build fixed!15:00
LPCIBotProject devel build #729: FIXED in 5 hr 23 min: https://lpci.wedontsleep.org/job/devel/729/15:00
abentleysinzui: ISTM that the web service you just added could not possibly be already unit-tested.15:01
sinzuiabentley: I only exposed the methods. So I wrote a documentation that verified the they were exposed, and explain to a user how to make a request to get the data15:02
jmlwoot! sub 200 crit bugs in launchpad itself (22 in stuff like launchpad-buildd, lazr.delegates, qa-tagger etc)15:02
jmlsinzui: hi15:02
sinzuiabentley: What the methods do are already tested15:03
jmlsinzui: we have a call now15:03
wgrantDoes https://launchpad.net/~launchpad-hackers do anything these days?15:03
abentleysinzui: Right.  The fact that they are exposed, and exposed correctly is not already tested, and I would unit-test that if it were me.15:03
jmlwgrant: don't know.15:04
sinzuiabentley: How are they not exposed correctly?15:04
jmlwgrant: also, I wonder how we could change Launchpad so you wouldn't have to ask.15:04
abentleysinzui: I'm not asserting that they're not exposed correctly.15:04
abentleysinzui: I'm saying that I would add unit tests to ensure that they were exposed correctly.15:04
wgrantjml: I'm pretty sure that's just about in scope for next week.15:05
wgrantLet's try deleting it in a transaction on dogfood and see what breaks.15:05
jmlwgrant: if you squint hard enough, yes.15:05
sinzuiabentley: I think that doc test does that. Since I changed an interface, I wanted that documented. I do not like writing duplicate tests, which I think a unittest would be in this case. I did not change the model.15:05
abentleysinzui: I don't like writing duplicate tests, either, so I would not write the doctests.15:06
jmlwgrant: you've checked celebrities, I guess.15:07
sinzuiabentley: Interfaces are the only thing that needs documentation in Lp, And since I actually want users to read how to use answers of the API, doctests are the correct way to demonstrate what was exposed15:07
LPCIBotProject windmill-db-devel build #290: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-db-devel/290/15:07
jmlsinzui: I'll be back in a bit. am very keen to talk today.15:07
wgrantjml: Yeah. It's all old pre-opensourceing private branch subscriptions.15:08
sinzuijml: I am on mumble15:08
sinzuididn't you hear me15:08
wgrantAnd branch visibility policies for lp-dev-utils and bzrbuildbot... both of which should probably be canonical-launchpad-branches now.15:09
abentleysinzui: I don't think interfaces need this kind of documentation.  I don't think it is really helpful.15:10
sinzuiI disagree. In fact. the first unit-test only tests of answers did not demonstrate how to use it. We had to land multiple fixes because we actually want to know how to write scripts a particular way.15:12
abentleysinzui: oh, on line 59, you misspelled "IQuestionTarget".15:14
sinzuiOh, yes, there is a good chance I that. I wrote this in bed last night.15:15
sinzuiI will spell check the changes15:15
wgrantsinzui: How does a team merge handle memberships in the team that is to be destroyed?15:16
sinzuiwgrant: all membership are removed. Nothing is transferred because there is a high probability of hitting a CyclicTeamMembershipError15:17
wgrantsinzui: That's what I hoped. Thanks.15:17
jcsackettsinzui: pong.15:17
sinzuijcsackett: I wanted to catchup in bugs, I am, or will be, in a meeting now. Maybe later15:18
jmlsinzui: no, I didn't. I'm not on mumble.15:18
sinzuinothing again?15:18
jcsackettsinzui: ok. i'll try to be more responsive on your next ping. :-)15:18
jmlsinzui: it's been having trouble connecting today.15:18
* jml will try rebooting. 15:18
sinzuijml: I do not see you speaking. Did you hear me?15:24
jmlsinzui: I am not connected to mumble15:24
jmlsinzui: you see merely a figment.15:24
sinzuiMy mumble sees you15:24
jmlsinzui: can I skype you or call your phone?15:24
sinzuiI will start skype15:24
jmlsinzui: thank you15:25
adeuringderyck: could you please run the two queries in https://pastebin.canonical.com/47578/ on staging?15:42
LPCIBotProject windmill-devel build #101: STILL FAILING in 47 min: https://lpci.wedontsleep.org/job/windmill-devel/101/15:48
deryckadeuring, sure, I'll get them now.  Was on a call, sorry.15:50
adeuringderyck: thanks!15:50
deryckadeuring, also, I can take IRC on #launchpad now.  Sorry about being late.15:50
adeuringno problem :)15:51
=== al-maisan is now known as almaisan-away
deryckadeuring, https://pastebin.canonical.com/47580/  twice for each query.  once cold, once hot.16:01
adeuringderyck: thanks!16:01
deryckadeuring, np!16:01
jmlsinzui: ready when you are16:21
nigelb\o/16:56
nigelbSo, buildbot succeeded with my changes16:56
nigelbdoes that mean that rev lands into production soonish?16:57
LPCIBotProject windmill-db-devel build #291: STILL FAILING in 1 hr 10 min: https://lpci.wedontsleep.org/job/windmill-db-devel/291/16:58
=== beuno is now known as beuno-lunch
jmlcjohnston's still got some unlanded branches. what's happening there?17:00
jmlnigelb: yes.17:00
jmlnigelb: it needs to be verified as not going to break production17:01
nigelbjml: *whee* Now, I have to find more to work on.17:01
jmltbh, I don't know how to do that, or what page to look at.17:01
nigelbI'm just scrolling through the easy bugs and trying to figure out if there's something I can work on.17:02
jmlhmm. http://lpqateam.canonical.com/17:02
jmlbut it's out of date17:02
SpamapSinteresting, I just got a chrome "ERR_SOCKET_NOT_CONNECTED" while spinning waiting on this page: https://launchpad.net/ubuntu/+source/munin17:37
SpamapSnot the first time I've had this issue.. refresh works very fast17:38
SpamapSIt seemed to spin for about 9 - 10 seconds .. I wonder.. is something cutting off the connection before the OOPS message appears?17:38
=== deryck is now known as deryck[lunch]
cjohnstonjml: one I still need to work on, the other I believe is ready17:59
jmlcjohnston: cool. I'm just worried about it getting stuck in "Approved" while we wait for a core dev to land it.18:00
cjohnstonSo should I ping one of the reviewers?18:00
jmlcjohnston: a good idea. henninge is generally around in the .de day18:01
cjohnstonHe is the one who approved it iirc.. Does he have commit access?18:01
jmlcjohnston: indeed.18:02
jmlcjohnston: although, huh, I guess it's a bit sub-optimal that you can't tell that easily from the website.18:03
cjohnstonWhy would he approve it but not land it?18:03
jmlcjohnston: I honestly don't know.18:03
cjohnstonok18:03
cjohnstonI pinged somone yesterday and got them to land 3.18:03
jmlcjohnston: one possibility is that he ran it through tests and they failed.18:04
cjohnstonso I'm up to 4 landed I think18:04
cjohnstonok18:04
jmlcjohnston: however, the normal way of doing that would also result with you receiving an email18:04
cjohnstonI didn't get any hate mail from it.. but I dunno18:04
jmlright.18:04
=== beuno-lunch is now known as beuno
jmlcjohnston: anyway, I'm being dragged away from my computer. will keep hassling to get them landed from my side, you should do the same.18:05
* jml is off18:05
cjohnstonOkie.. ty18:05
sinzuiWhy the F do users keep linking  packages to /launchpad when the package does not contain Lp code? Don't these users know I can track them down and club them like a baby seal?18:27
=== deryck[lunch] is now known as deryck
abentleyderyck: I'd like to do a pre-imp call on bug 64807518:37
_mup_Bug #648075: Automatic translations export fails intermittently <branch-scanner> <lp-translations> <oops> <Launchpad itself:Triaged by abentley> < https://launchpad.net/bugs/648075 >18:37
deryckabentley, sure.  I have TL call in 20 minutes.  can we do it before, or should we catch up after?18:37
abentleyderyck: I think "before" works.18:38
deryckok, firing up mumble now18:38
sinzuiI see that since blueprints were re-enabled, users are using it to request features. I do not think any of the 286 blueprints I see are work we are undertaking.18:46
abentleyderyck: did you consider registering NotFound as a 404 error?19:00
deryckabentley, it was already handled as a 404.  I just decorated it to not OOPS.  see: https://code.launchpad.net/~deryck/launchpad/404-bug-api-generates-oops-701246/+merge/6140719:02
deryckwell, not literally decorated it.19:02
abentleyderyck: I mean that you can specify an error status for a particular exception class, and that will always be used when that exception is raised.19:13
abentleyderyck: e.g. lp.soyuz.interfaces.archive.CannotCopy19:16
benjideryck: so there was a bug in lib/canonical/launchpad/webapp/errorlog.py; good catch!19:25
lifelessgary_poster: sinzui: flacoste: deryck: http://webnumbr.com/.join(launchpad-oops-bugs.all,launchpad-timeout-bugs.all,launchpad-critical-bugs.all)19:33
=== bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: abentley | https://code.launchpad.net/launchpad-project/+activereviews
deryckbenji, thanks!  Yeah, that was a bit tricky to spot, but once I saw it was sooo clear. ;)19:48
deryckabentley, sorry, was on TL call19:48
abentleyderyck: no worries, I thought so.19:48
benji:)19:48
deryckabentley, so NotFound is not an exception.  it's imported from zope.publisher and we have a view hooked up to it, which sets the status to 404.19:50
lifelessderyck: heh, so we oops on 404 deliberately19:51
lifelessderyck: but we filter it on the oops server if the url was non-local19:52
lifelessderyck: so we see bad links that we generate (in principle) by depending on referer19:52
abentleyderyck: NotFound is an exception.  It derives from BaseException.19:52
rvbaI've fixed the stable -> db-devel conflict (Julian -> me conflict ;)). Should I submit it to pqm or someone wants to take a look at it first?19:53
deryckabentley, are we both talking about zope.publisher.interfaces.NotFound?19:53
abentleyderyck: Yes.  We don't define it, but it is an exception.19:53
bacabentley: can you have a look at a very simple branch:  https://code.launchpad.net/~bac/launchpad/bug-781987/+merge/6145919:54
abentleybac: sure.19:54
deryckabentley, ok, sure.  if you follow it back far enough.  my point though is that it really is already registered in a sense as 404, via zcml and the view it's hooked up to, no?19:55
deryckmy little fix has generated so much interest ;)19:55
jcsackettsinzui: did you want to chat?19:57
abentleyderyck: Perhaps it's registered as a 404 in some sense, but I don't think the class is registered with lazr.restful as a 404.  If it was, you wouldn't need to call expose on its instances.19:57
derycklifeless, yeah, I meant "not raising an OOPS for any resource" when dealing with the webservice only.  I wasn't meaning for any request on launchpad itself.  sorry for the bad choice of language.19:57
lifelessderyck: de nada, I should have read the diff more closelhy19:57
abentleybac: r=me19:58
bacthanks aaron19:58
deryckabentley, ah, ok.  I see what you're suggesting now.  I arrived at this fix after chatting with benji, and thought this was the best way to fix this for the webservice.19:59
deryckhmmm, I do think it's right.19:59
abentleyderyck: I think you could call expose on the class instead, and that would mean that all instances would be treated as 404s.19:59
sinzuijcsackett: do you have time to mumble?20:00
deryckabentley, what do you mean by client?  launchpadlib, lazr.restfulclient?20:00
derycksomething else?20:00
benjiyou can declare that a class of exception is always the client's "fault" (using a different mechanism) and such it won't generate an OOPS, or you can decorate a particualar instance20:01
abentleyderyck: I don't think I said anything about clients.  Did I?20:01
deryckabentley, doh, sorry.  misread class as client20:01
deryckthat's why it didn't make sense ;)20:02
abentleyderyck: ah.20:02
deryckabentley, now which class do you mean?  NotFound ?20:02
abentleyderyck: yes.20:02
abentleyderyck: e.g. expose(NotFound, 404)20:03
deryckabentley, so expose may be misleading.  it doesn't expose this as 404.  it sets a variable on the exception to 404, which the error handler uses to determine if we should log an OOPS.20:05
deryckmaybe IRC isn't the best for this discussion.20:05
deryckabentley, should we mumble to save time?20:06
abentleyderyck: sure.20:06
rvbaI'm going to submit my fix to the pqm then. I hope you guys can cover up for me in case anything goes wrong.20:11
rvba(it's a tiny fix so I'm not really worried)20:11
LPCIBotProject devel build #730: FAILURE in 5 hr 31 min: https://lpci.wedontsleep.org/job/devel/730/20:39
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
magciusjam, ping: re Loggerhead CSS?21:39
deryckabentley, that branch is done, if you're up for giving me a proper review.  Though I'm EOD'ing very soon.21:43
abentleyderyck: sure21:44
deryckabentley, thanks!21:44
abentleyderyck: r=me.  Your change at line 8/9 is probably not needed, but I think it's correct anyway.21:47
deryckabentley, I'm fairly certain it is.  I can confirm.21:48
LPCIBotProject windmill-devel build #102: STILL FAILING in 1 hr 9 min: https://lpci.wedontsleep.org/job/windmill-devel/102/21:48
abentleyderyck: the fact that expose exists implies that you should be able to attach a status to an instance, so I think it makes sense to honour that.21:49
deryckabentley, ah, I see what you mean.  I'm patching the class, not the instance now.  and yeah, we should probably leave the change I added, so it is possible in the future.21:51
LPCIBotProject windmill-db-devel build #292: STILL FAILING in 1 hr 10 min: https://lpci.wedontsleep.org/job/windmill-db-devel/292/21:53
deryckwe should kill those windmill notices here.  no one is doing anything about it.21:54
deryckLater on, everyone22:05
=== abentley changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews
mwhudsonwallyworld: define POPO pls?22:31
wallyworldmwhudson: plain old python objects. ie ones with no infrastructure attributes or extending storm classes etc22:32
mwhudsonah ok22:32
wallyworldsorry for the confusion22:32
mwhudsonnp22:34
mwhudsoni that case i think i agree with you22:34
mwhudson(and am not going to spend half my day on that thread today given that i no longer work on launchpad :-p)22:36
lifeless:)22:37
LPCIBotProject windmill-db-devel build #293: STILL FAILING in 46 min: https://lpci.wedontsleep.org/job/windmill-db-devel/293/22:39
=== lifeless changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews | Criticals: 210 [######=_]
=== lifeless changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | https://code.launchpad.net/launchpad-project/+activereviews | Critical bugs:210 - 0:[######=_]:256
jcsackettsinzui: after our discussion and some technical problems i have a test that replicates the problem. bad news is the simple fix we talked about doesn't seem to address it. http://paste.ubuntu.com/609782/ is what i've done.22:41
jcsackettsinzui: any thoughts?22:42
=== matsubara is now known as matsubara-afk
=== salgado is now known as salgado-afk
lifelessjcsackett: what are you trying to reproduce?22:51
jcsackettlifeless: it's a permission bug on flag-membership-expired on relation account.22:51
jcsackettlifeless: bug 78347622:52
_mup_Bug #783476: Scripts failed to run: loganberry:flag-expired-memberships <easy> <regression> <teams> <Launchpad itself:In Progress by jcsackett> < https://launchpad.net/bugs/783476 >22:52
lifelessjcsackett: have you run security.py to apply those permissions to the test db ?22:52
lifeless(silly question I know, but still...)22:53
jcsackettnot so silly--i was under the impression that was done automatically either via make or the testharness.22:53
lifelessits only done via 'make schema'22:54
lifelessor manually22:54
lifelessdatabase/schema/security.py -d launchpad_ftest_template22:54
lifelessis the invocation, IIRC22:54
jcsacketti thought i did do make schema (what i meant when i said make). i'll try the direct invocation.22:55
jcsackettlifeless: that worked. thanks a ton.22:59
lifeless\o/22:59
sinzuijcsackett: is all okay?23:13
jcsackettsinzui: all is excellent. just wrote the MP.23:13
sinzuijcsackett: sorry about not telling you about the security,py. I did that a lot when working on the job fixes. I know it is an obscure thing23:14
sinzuijcsackett: You will need to remind the LOSA to run that to qa the work, and there will be warning about no permission assigned to out db functions. That is a non-issue23:15
jcsackettsinzui: good to know. thanks. :-)23:26
sinzuijcsackett: I approved your branch with a comment23:32
jcsackettsinzui: i am making the change you suggest.23:35
sinzuiI am certain that bug 730393 can be fixed in less then an hour, but I have been away from the code for so long I do not remember how we suppress oopses for error pages we show users23:36
_mup_Bug #730393: when a user urls hacks we can get InvalidBatchSize oopses <oops> <trivial> <Launchpad itself:Triaged> < https://launchpad.net/bugs/730393 >23:36
sinzuiMaybe I should just update the oops reporting util. InvalidBatchSize, NotFoundError, and GoneError should only be reported as an oops when Lp is the referer23:39
lifelessyes yes yes23:41
lifelessyes yes23:42
lifelessand finally yes23:42
sinzuilifeless: was that to add an conditional list error classes to exempt without a referer, similar to what we do with Unauthorized?23:43
lifelesswithout a referer or with a non .*launchpad\.net/.* referer23:44
sinzuijcsackett: wgrant, wallyworld. I just got a message that I need rescue a child. I am going to miss the meeting in 15 minutes.23:45
wallyworldsinzui: jcsackett: wgrant: i am ok to delay? or will it take too long to do what you need to do?23:45
jcsackettsinzui: okay. i hope all is well. i can also wait for you.23:46
sinzuiwallyworld: maybe 15 minutes23:46
sinzuilate23:46
wallyworldsinzui: ok. why don't you pings us when you are back23:46
sinzuilifeless: i think only report oopses with .*launchpad\.net/.* as referer...those we can fix23:47
sinzuiwallyworld: okay I will23:47
* sinzui find car23:47
lifelesssinzui: [of the NFE/DE cases - yes]23:47
lifelesssinzui: IBS could be self inflicted23:47
lifelesssinzui: perhaps we need to think about it more23:47
lifelesssinzui: oh, IBS with referers that are not .*launchpad\.net/.* are not self inflicted and we can discard them too23:48
lifelesssinzui: so yes, I agree23:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!