/srv/irclogs.ubuntu.com/2012/11/15/#launchpad-dev.txt

cjwatsonwgrant: dogfood seems to have builders attached at the moment - is there a particular reason I shouldn't start buildd-manager to drive them, or are they busted?00:53
wgrantcjwatson: They're not meant to actually be up01:01
cjwatsonOK, I will pretend I didn't see them01:01
wgrantcjwatson: buildd-manager probably hasn't been started since I restored the DB01:06
wgrantSince I removed it from upgrade-dogfood-launchpad to avoid having to kill it every time I wanted a page to not timeout01:06
cjwatsonCommented out in upgrade-dogfood-launchpad, and indeed I haven't seen it running01:07
=== gary_poster is now known as gary_poster|away
adeuringgood morning08:58
stubHow are we going with LP on Precise? Wondering if I need to back port something09:43
wgrantstub: We have no immediate plans to upgrade prod09:44
wgrantIt'll be next year some time09:45
=== almaisan-away is now known as al-maisan
czajkowskiadeuring: morning any advice on https://answers.launchpad.net/launchpad/+question/21422310:35
* adeuring is looking10:48
=== al-maisan is now known as almaisan-away
czajkowskiadeuring: thank you11:17
=== jcsackett changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On Call Reviewer: jcsackett | Firefighting: - | Critical bugs: ~200
jcsackettwgrant: my understanding is that we shouldn't be setting a proprietary branch as the productseries branch for a public productseries--you can have branches that are prop/priv whatever, but shouldn't set them as the series branch.13:33
jcsackett(from the MP you looked at)13:33
wgrantjcsackett: That is breaking several years of existing practice, and puts every internal Canonical project into an illegal state.13:34
wgrantIt also doesn't make sense13:34
wgrantThings can be more private than their container -- that's no problem13:34
wgrantThe problems arise when something is *less* private than its parent13:35
jcsackettwgrant: we're not forbidding proprietary branches for a product (the actual container); just the linked productseries. but your point is interesting. canonical is using proprietary productseriesbranches on public projects? those aren't projects that will be migrated to proprietary?13:38
wgrantjcsackett: lp:foo is a productseries branch13:38
jcsackettwgrant: granted. that's not directly answering my question. do we have proprietary productseries branches on products that shouldn't be migrated to proprietary themselves?13:39
jcsackettand the intent is absolutely to stay that way.13:39
wgrantjcsackett: Yes. The U1 and LS servers, for example, have proprietary code but are otherwise public13:40
wgrantLaunchpad until 2009/07/2113:40
wgrantetc.13:40
jcsackettwgrant: ah yes. of course. i am not thinking clearly.13:40
jcsackettwgrant: ok, i'll bring this up on our standup. this is meant largely to handle transitional issues, but i think there are edges that need more sorting.13:42
wgrantIndeed13:43
deryckjcsackett, ping for standup14:31
jcsackettderyck: having plus problems--restarting the plugin. be there in moments.14:32
deryckjcsackett, no worries14:32
deryckabentley, adeuring, rick_h, jcsackett let's try http://tinyurl.com/orange-standup14:34
deryckheh14:35
deryckhey! bye!14:35
abentleyderyck: Is it dying for everyone else, too?14:35
deryckabentley, no, just you and jcsackett14:35
jcsackettwe're cursed. :-P14:35
sinzuijcsackett, do you have time to review https://code.launchpad.net/~sinzui/launchpad/missing-potmsgset/+merge/13448315:18
rick_hadeuring: ping, do you know if the card you added I'm working on came from a bug somewhere? "filter private products in ProjectView.untranslatables"15:31
adeuringrick_h: no, there is no bug or oops. I simply looked for methods that return products15:32
rick_hadeuring: ok cool15:33
adeuringrick_h: might be even worth to check if this method is used at all ;)15:33
rick_hadeuring: yea, it's used but it's just projectgroup.products15:34
rick_hwhich is already filtered and there's tests for that property with non-public projects15:34
rick_hso just wanted to make sure I didn't need to add a note anywhere else15:34
rick_he.g. bug15:34
adeuringrick_h: ah, ok, then just drop the card :)15:34
rick_hso I'll note in the card the findings and move to done so we keep track that we looked there15:34
* sinzui thinks project groups listing project work fine now15:35
rick_hyep, should be good awesome card! :)15:36
derycka lot of the cards remaining are like that.... i.e. just check to make sure we're safe in that area of the code/site.15:43
maxbooi, what is the status of Barry's Lucid Python 2.7 PPA? Is that something LP is still looking at using?15:45
=== deryck is now known as deryck[lunch]
jcsackettabentley: you around, or off at lunch? questions from your MP.17:20
jcsackettabentley: comments left on MP.17:24
sinzuijcsackett, do you have time to review https://code.launchpad.net/~sinzui/launchpad/publishbinary-without-publications/+merge/13452717:26
jcsackettsinzui: you caught me just in time. :-) yeah, it's short enough i can take a look.17:27
jcsackettsinzui: r=me.17:29
sinzuijcsackett, this is also short  https://code.launchpad.net/~sinzui/launchpad/missing-potmsgset/+merge/13448317:29
jcsackettsinzui: already did that one. :-)17:29
sinzuithank you17:29
jcsackettyou're welcome. :-)17:30
* jcsackett lunches17:30
=== deryck[lunch] is now known as deryck
=== yofel_ is now known as yofel
rick_hderyck: so build-not is having fun today18:43
rick_hout of the last 4 runs, 3 times LP failed to come up and the next to last one was something out of the actual parallel testing layer18:43
deryckrick_h, yeah, I wondered just now based on your tweet if we have a serious problem. doesn't seem random now.18:44
rick_hhttp://lpbuildbot.canonical.com/builders/lucid_lp_lxc/builds/294/steps/shell_9/logs/err.html18:44
deryckI just forced now, FWIW18:44
deryckto try to get my stuff in.18:44
rick_hyea, but the lp not coming up is typical18:44
deryckgrrr, it fails faster than I can force and land my branch.  something seems borked now.18:47
deryckI see a reference to bug 504291 in the summary18:49
_mup_Bug #504291: DisconnectionErrors (already disconnected) happening again <fastdowntime> <lp-foundations> <oops> <Launchpad itself:Incomplete by stub> <Storm:Invalid> < https://launchpad.net/bugs/504291 >18:49
rick_hderyck: well looks like the normal beanch is in an ok state but the db one failed now18:52
deryckrick_h, yeah, I'm asking in our ops channel to see if there's something we can do to kick buildbot.18:52
abentleyjcsackett: Yes, I was on lunch.  Thanks for the review.18:53
jcsackettabentley: thanks for responding on the MP.19:25
jcsackettrick_h: can i bother you to look at https://code.launchpad.net/~jcsackett/launchpad/filter-private-products-vocabulary/+merge/134542 ?19:25
abentleyderyck: bug #1078410 can be marked invalid and its card deleted, right?19:27
_mup_Bug #1078410: Embargoed Products are not setup correctly when created <private-projects> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1078410 >19:27
abentleyderyck: Or were you going to change it to just be about adding embargoed for bugs?19:27
deryckabentley, well, we need a bug for BugSharingPolicy.EMBARGOED_OR_PROPRIETARY....19:27
deryckabentley, right19:27
deryckabentley, or else mark it invalid and add another bug.  either way is fine.19:28
jcsacketti think rick_h is not here. deryck or abentley, can one of you review https://code.launchpad.net/~jcsackett/launchpad/filter-private-products-vocabulary/+merge/134542 for me?19:39
abentleyjcsackett: On it.19:39
jcsackettabentley: thanks. :-)19:39
deryckyeah, thanks, abentley :)19:40
abentleyjcsackett: Is test_search_respects_privacy_no_user actually testing the case of no logged-in-user, or an arbitrary one?  I could have sworn setUp gave us the latter.19:43
jcsackettthe former.19:44
jcsackettabentley: it actually looks like the setUp for this testcase doesn't cover an arbitrary user either, but no user vs no user with rights shouldn't be different given the filter clause.19:45
abentleyjcsackett: Please add a descriptive comment to your tests.  Other than that, r=me.19:51
jcsackettabentley: you got it. thanks.19:51
jcsackettderyck: can you think of anyway that you would be searching for a milestone where you wouldn't have access to the product? i think all of the milestone access points require you to already access the product.20:58
jcsackettbeen reading through the milestone tests and callsites, and i don't see anything that violates that idea...but a second opinion is welcome.20:59
jcsackettactually, i'll just open the above question up to anyone.21:00
deryckyeah, sinzui would absolutely know that. :)  But there is the project group milestone case.21:01
deryckjcsackett, so you could have access on a group and the group's milestone but an individual project could be private21:01
deryckI think this is handled already though21:02
jcsackettby group you mean projectgroup, right?21:02
jcsackettderyck: yeah, i think that's handled, and i don't believe it's using the MilestoneVocabulary.21:03
sinzuiI think abentley addressed the cases where milestones from a private project are filtered when instantiating ProjectGroupMilestones21:03
* sinzui looks on qastaging for early tests21:03
deryckright, he did, IIRC21:03
deryckjcsackett, and yeah I meant projectgroup.  I was lazy typing. :)21:03
deryckjcsackett, and I agree, I can't think of any case where you'd be using the vocab and not have project access.21:04
jcsackettderyck: ok, i think i'll move this card out of in progress then, as i think there's no further work to be done.21:04
derycknice!21:04
deryckcards are dropping like that all over today. :)21:04
jcsacketti'm not sure if rick_h knows it, but we're having a race.21:05
jcsackettbecause he doesn't know it, i think i have a competitive advantage. which is just as well, as it's the only way i'll win. :-P21:05
deryckjcsackett, I always go for the win, whether the opponent knows it or not. :)21:10
jcsackettderyck: :-P21:10
wgrantderyck: Hi, have you verified the future scaling performance of your bug search changes?21:54
deryckwgrant, no, I have not.  Are you concerned?21:54
wgrantderyck: Very21:54
deryckwgrant, and hi, btw.21:54
wgrantThe work we did earlier in the year was to *eliminate* joins, but this adds three or four more21:55
wgrantAnd it's to handle a circumstance that probably shouldn't ever exist21:55
wgrantSo it seems like a lot of risk for minimal gain21:55
deryckwgrant, yeah, I did consider the extra join could cause problems.  I was going to be careful in qa and if it looked risky back it out.21:56
wgrantWell, it *is* risky and it *will* cause some problems eventually, but it's difficult to say on qastaging as bug search timeouts there are often dismissed as cold cache21:57
wgrantBut I would be extremely wary about making this change21:57
deryckwgrant, ok, fair points.  I wouldn't dismiss timeouts as cold cache, FWIW.  I usually look at an OOPS and see what it tells me.  And compare to staging oops even.21:58
wgrantThe bug search queries were redesigned and tweaked for performance, so making unnecessary changes which quadruple the number of considered tables needs to be considered and tested very carefully21:58
deryckwgrant, I've been a bit nervous about this change anyway. for that same reason.  and stuff I saw in tests had me nervous too.21:59
deryckwgrant, so I'm fine to just revert for paranoia's sake.21:59
sinzuiWhy are we search for impossible data? privacy is transitive, you cannot ever have public data in a confidential container.21:59
deryckwell it will be impossible.  it's not currently.22:00
wgrantRight, so it sounds like it should be reverted22:00
sinzuiI think we can fix the data faster than writing code...I bet it can be run in 2.5 seconds in sql by webops22:01
deryckyeah, agreed.22:01
wgrant(though we really should have been enforcing the privacy invariants before rolling out the beta, it's pretty easy to fix up later)22:01
* sinzui would do the same with his current bug if he could workout what the right state is :(22:01
wgrantsinzui: Which bug is this?22:01
sinzuiwgrant, https://bugs.launchpad.net/launchpad/+bug/107735122:02
_mup_Bug #1077351: SourcePackageRecipeBuild:+index LocationError build <oops> <recipe> <soyuz-build> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1077351 >22:02
wgrantAha22:02
sinzuiI wanted to make the three items be build failed/success, but I need to look for evidence of success22:02
deryckwgrant, I'm about to go offline for some family stuff.  but I'll revert when I get back tonight.22:02
deryckwgrant, if you get anxious about it, I don't care if you revert it.22:03
wgrantWell, there's some interesting stuff I'd like to deploy this morning, so I might revert it now22:03
deryckwgrant, sure, feel free.  sorry about that.  just don't have the time to hang around now.22:03
wgrantnp22:03
derycklater, everyone.22:04
=== jcsackett changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On-call reviewer: - | Firefighting: - | Critical bugs: ~200
wgrant whaawmp        | 0.2.10.1-py24 | 32517 |   89922:36
wgrantStevenK: ^^22:36
wgrantSELECT product.name, milestone.name, productrelease.id, COUNT(*) FROM product JOIN milestone ON milestone.product = product.id JOIN productrelease ON productrelease.milestone = milestone.id JOIN productreleasefile ON productreleasefile.productrelease = productrelease.id GROUP BY product.id, milestone.id, productrelease.id ORDER BY COUNT(*) DESC LIMIT 200;22:39
bigjoolsgood morning23:01
sinzuiwgrant, are my qa instructions sane: https://code.launchpad.net/~sinzui/launchpad/publishbinary-without-publications/+merge/13452723:02

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