/srv/irclogs.ubuntu.com/2012/10/01/#launchpad-dev.txt

lifelessStevenK: auditor has no buildout now ?01:29
nigelbI just discovered an old branch I was working on , on this laptop.02:33
nigelbI wonder if I can finish it. Hrm.02:33
StevenKlifeless: auditor itself is not buildout enabled, no.02:35
StevenKlifeless: Actually, what do you mean 'now'? auditor never had buildout.02:37
LPCIBotProject devel build #1099: STILL FAILING in 1 min 23 sec: https://lpci.wedontsleep.org/job/devel/1099/03:30
LPCIBotYippie, build fixed!03:34
LPCIBotProject devel build #1100: FIXED in 3 min 26 sec: https://lpci.wedontsleep.org/job/devel/1100/03:34
StevenKJenkins, you lying scoundrel03:35
rick_h_never trust it :P03:37
StevenKrick_h_: Hmph.03:42
StevenKRight, build 1101 is off and looking good, so time for some DEHR03:44
=== bigjools-afk is now known as bigjools_
lifelessStevenK: I assumed it would04:50
lifelessStevenK: as its what we use for deploys04:50
StevenKlifeless: No, that's production-auditor04:50
lifelesswgrant: you were doing something about       263 /    0  POFile:+translate05:07
lifeless were you not ?05:07
LPCIBotProject devel build #1101: FAILURE in 1 hr 29 min: https://lpci.wedontsleep.org/job/devel/1101/05:07
wgrantlifeless: It's a terrible page in general, it's not just the query that I was looking at. But I eventually established that we probably can't optimise that query significantly without changing to something sensible like FTI, rather than substring matching.05:09
wgrant(but that has obvious problems, given all the languages)05:10
lifelessbllllar, pypi login is very odd05:13
lifelessit had basic creds05:13
lifelessso knew who I was05:13
lifelessbut wasn't showing my logged in05:13
lifelesss/my/me/05:13
lifelessclick on 'login' and it changed to logged in.05:13
lifelessahhaha05:14
lifelesshttp://pypi.python.org/pypi/Ojota/0.4.205:14
lifeless' License: LICENSE.txt '05:14
lifelessI am filled with confidence05:15
lifelesslinear operation dispatch05:20
lifelesssigh, they need mentoring.05:20
lifelessbah, codus interruptus. I will try to get back to this later.05:29
StevenKNeat, concurrency 4 is 30 minutes quicker.05:55
StevenKlifeless: https://lpci.wedontsleep.org/job/devel/lastBuild/ has your build artifacts05:56
tumbleweedwgrant: https://code.launchpad.net/~stefanor/launchpad/packageset-destructor/+merge/127167 dropped the export_operation_as. Care to land it?06:48
wgranttumbleweed: Sure06:49
wgrantThanks06:49
tumbleweedbtw, that export_operation_as was there because I saw it in some other places. Should they be cleaned up?06:49
wgrantHm, which other places? export_destructor_operation has only been around for a couple of years, so some may have been incorrectly ported.06:50
tumbleweedack-grep says lib/lp/blueprints/interfaces/specificationbranch.py lib/lp/registry/interfaces/milestone.py06:50
tumbleweedoh, and lib/lp/registry/interfaces/productrelease.py06:50
wgrantHmm06:51
wgrantThose are possibly relevant to old versions of the API06:51
wgranttumbleweed: Can you set a commit message?06:55
tumbleweedwgrant: done06:56
wgranttumbleweed: Thanks. That's landed.06:59
tumbleweedthank you :)07:02
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
adeuringgood mmorning07:43
lifelessok07:55
lifelessso why does django test discovery not look in submodules07:55
czajkowskiadeuring: ello ello07:55
StevenKlifeless: Can haz another peek at jenkins?08:03
wgranttumbleweed: The destructor change is through buildbot, and should be in the next production deployment.08:23
tumbleweedyup, got an e-mail, thanks08:28
lifelessStevenK: remind me tomorrow, its late and i've been kicking django basics around08:33
=== mpt_ is now known as mpt
=== gary_poster|away is now known as gary_poster
=== benji changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: benji | Firefighting: - | Critical bugs: ~300
deryckadeuring, abentley -- hey, having trouble connecting to the hangout.  still trying to get in...13:31
abentleyderyck: ack.13:31
sinzuiMy house is full of plague. I an not getting our of jim-jams today14:42
* czajkowski passes a hot whiskey to sinzui 14:44
sinzuiI please no14:44
sinzuiI don't think it will stay down14:44
sinzuiI am trying not to ingest14:45
czajkowskisinzui: any reason why a person cant sign the CoC with a subkey not their primary key ?14:45
sinzuiczajkowski, very good reasons14:45
czajkowskimind telling them to the chat in -lp please :)14:46
czajkowski*chap14:46
sinzuiczajkowski, Last week we downgraded gpg on several of our servers because an unneeded security fix for dpkg was applied.14:46
czajkowskisinzui: https://bugs.launchpad.net/launchpad/+bug/1053568/comments/4  <-- that14:46
_mup_Bug #1053568: PPA uploads signed with subkeys silently fail <gpg> <soyuz-upload> <Launchpad itself:Fix Released> < https://launchpad.net/bugs/1053568 >14:46
sinzuiczajkowski, We downgraded the machines we knew of.14:46
sinzuiczajkowski, right14:47
czajkowskiah so I was right14:47
sinzuiif the problem returned, we need to ask if webops applied the security fix again...out machines were not affected by the issue14:47
cjwatsonsecurity fix to gnupg, wasn't it, not dpkg?14:48
cjwatsonhttps://launchpad.net/ubuntu/+source/gnupg/1.4.10-2ubuntu1.114:48
sinzuicjwatson, yes14:50
deryckabentley, adeuring -- do you guys expect any db patches this week, beyond my patch for Product.information_type?15:27
adeuringderyck: can't think of any right now15:28
deryckadeuring, ack, thanks15:28
abentleyderyck, adeuring: Are we going to need to extend AccessArtifact to support Products?15:29
adeuringabentley, deryck: can't we use simply policy grants?15:29
deryckyeah, I was under the impression from adeuring that this was a little simpler for products and didn't require AccessArtifact.15:30
abentleyadeuring: Yes, I think that makes sense.15:30
adeuringafter all, policy grangts already give access to branches, bugs, specs, so its "natural" to extend this to give access to the pillar/product itself15:31
deryckadeuring, but no new db patches needed, though, right?15:45
adeuringderyck: right, i think we don't need any.15:45
deryckawesome.15:46
derycktrying to coordinate since webops are sprinting.15:46
=== deryck is now known as deryck[lunch]
cjohnstonderyck[lunch]: ping when you get back17:20
=== deryck[lunch] is now known as deryck
deryckhi cjohnston. have a call now, but I can ping after that.18:05
cjohnstonok deryck18:33
deryckcjohnston, hey. Free now.  What's up?19:00
cjohnstonderyck: I want to make sure I understand.. So as Summit is not authenticated, it will not see any private BPs that are proposed to the UDS sprint?19:01
deryckcjohnston, correct.19:02
cjohnstonOk.. so your comments confuse me a little.. If Summit doesn't have the ability to see it, is there a reason for the ability for a BP to be proposed to a sprint to exist?19:03
cjohnstonotherwise it still seems like a confusing UI as I propose my blueprint to a UDS sprint, I assume that more than likely the people who approve blueprints for the sprint can't see the blueprint to approve it for the sprint, even if they can, Summit can't see the blueprint to create the (private) meeting19:04
cjohnstonSo either the functionality needs to be extended to work correctly, or removed from private BPs, IMO19:06
deryckcjohnston, what do you call "correctly?"  What needs to happen to be correct?19:06
cjohnstonWhere if a blueprint is proposed to a sprint, a 'sprint manager' can approve the blueprint for the sprint, and Summit sees the approved blueprint and creates a (private) meeting for the blueprint19:07
cjohnstonOtherwise it doesn't perform as expected19:09
cjohnstonby the user, based on how other blueprints perform19:09
deryckThe point about the sprint manager not being able to see it is a good point.  I'm not sure its a bug or not yet.  I need to think through that case.19:10
cjohnstonbut even still, if the sprint manager could see it, Summit couldnt19:10
deryckAs for summit, that's different.  it's an add-on bit to launchpad.  so I don't think we want to automatically trust anonymous bots.19:10
deryckah, ok, I guess I don't understand how summit gets access.19:11
deryckI thought it was anonymous API script, based on what you said earlier.19:11
cjohnston1 sec... trying to find the link19:12
cjohnstonhttps://launchpad.net/sprints/uds-r/+temp-meeting-export19:13
deryckcjohnston, ok, so I think it's good to chat and work out any kinks here, but I don't think this anything we're going to change on our end before UDS….19:14
deryckcjohnston, the people who will be bitten by this are a small group....19:14
cjohnstonwell.. the new stuff is only in beta currently correct?19:15
deryckcjohnston, only people who are both lp beta testers and have commercial subscriptions for lp…..19:15
cjohnstonoddly enough I actually fall into it.. hehe19:15
deryckfair point :)19:15
cjohnstonbut yes.. it is a small group, and for this UDS I think we are ok.. but I'd like to have it correct before we start the planning for the next UDS when all of this is live19:16
deryckcjohnston, so people who do fall in that, need to be careful about using private blueprints linked to UDS.19:16
cjohnstonso somehow we would have to get that info out to them19:16
deryckas to the larger point, everything private in lp works the way blueprints do now.  If it's proprietary, then no one gets access accept those people explicitly given access.  I don't think we should change this.19:17
deryckmaybe that means that proprietary blueprints shouldn't be able to be linked to a sprint.19:17
deryckI'm not sure agree, but its a fair point to argue.19:17
cjohnstonThat's my thought.. or that if they are, then everything else needs to be changed to accomidate the fact that they can link it19:17
cjohnstonotherwise it gets stuck in some foriegn world19:18
deryckwell, no, it's private.  As they the word "private" implies. :)19:18
cjohnstoncorrect.. its private.. but they propose it to a sprint, but it never makes it onto the schedule19:19
cjohnstonthats where the problem as I see it lies19:19
deryckare sprints proposed, or just purely linked to the sprint object?19:19
deryckI assumed it was a straight link, but if it is an proposed relationship that can never be approved or rejected, then yes, that's a clear bug.19:20
cjohnstonI don't understand the question? A sprint itself is created, and a BP is proposed against a sprint19:20
deryckok, so I just checked.  You get the link on your blueprint, but it's not listed without approval.19:22
deryckso you have kind of an unofficial link to a sprint19:23
cjohnstonso how would it get approved19:24
deryckit wouldn't.  but why is that bad if it's a private object?19:24
cjohnstonthen it shouldn't be able to be proposed.. what is the point of proposing a blueprint to a sprint if you cant get the blueprint approved for the sprint?19:25
deryckI don't know.  It's hypothetical, sure.  I don't know that anyone wants this relationship.  But I imagine someone *could* be working on something private while at UDS, and like the link to the sprint to see to establish the relationship, i.e. as a point of navigation to the sprint for other stuff.19:26
deryckI don't know this, I'm just speculating.19:26
deryckBut without talking to people who might use this, we can never know.19:26
cjohnstonI guess to me, I would rather that if the feature not work the same as it works for everything else, it shouldn't exist. I am not opposed to making it possible to propose a private bp, get it approved (somehow?), we want to make summit authenticate anyway, so then we could create a private meeting (a feature that already exists in Summit) based upon a private blueprint19:28
deryckif people's expectations are that proposing would open this to approval, but not reveal the object otherwise, we could make that possible.19:28
deryckThough personally, I don't know that an approved, but hidden blueprint, is anymore valuable that an unapproved and hidden one.19:29
deryckbut sure, if this was tied into the functionality to great private meetings that would be nice.19:29
cjohnstonapproved would allow (as long as Summit can get the info that it needs) for the blueprint to make it on the meeting schedule19:29
cjohnstonas a private meeting19:29
deryckright.  which is a fair point.19:29
deryckbut we don't have capacity to do all that extra work.19:30
derycksomeone else will need to build on what we've done.19:30
deryckI'm not sure it's so broken that we need to remove the ability to link to the sprint at this point, but I'm open for arguments, obviously.19:30
cjohnstonthen IMO, it's a bug currently that you can propose a private blueprint to a sprint but not allow it to get on the schedule.19:30
cjohnstonhow hard would it be to add if bp=private hide sprint stuff19:31
deryckcjohnston, not that hard, but it is some work, and I'm not convinced we need to do it.  let's just see what happens at this UDS.19:32
cjohnstonI'm not sure that this UDS is a good test as, as you said, its beta and required to be a member of one of these projects19:34
lifelessflacoste: hi; can we push the meeting back a bit ?19:43
lifelessderyck: cjohnston: I don't think being linked is a bug per se: the lack of reciprocal disclosure is (the rule is, if you link something private with something less private, the private thing becomes visible to the same degree)19:45
cjohnstonso then it would become a publicly viewable blueprint?19:46
lifelessderyck: cjohnston: But for proprietary we want to prevent people making such links outside the things that the project owner controls, so that bug #2.19:46
lifelessderyck: cjohnston: as for summit, +temp-meeting-export should DIAF and be replaced by an API call, and the API call can be authenticated by the bot, just have the summit bot be granted access to the relevant private project blueprints/bugs through access policy grants.19:46
deryckthis is what I was thinking, when I thought it was a bot.  just grant access to the bot for the blueprints you want scheduled.19:47
cjohnstonlifeless: we aren't against that.. does the API stuff already exist to do that?19:47
lifelesscjohnston: you wouldn't want the spider approach the current API has for this19:48
lifelesscjohnston: you'd want to literally port the meeting export code to a single API call (e.g. sprint.export())19:48
lifelessderyck: yeah, +1.19:48
derycklifeless, also, I'm not sure that I agree with the rile that the thing should gain the visibility of the thing linked, but if we've been consistent with that, I'll abide by the rule. :)19:49
lifelessThe thing that will bite you though, is the idea of linking proprietary blueprints to public sprints either needs to violate the rule for interaction of objects, or needs to disclose the existence of the blueprint and the project.19:49
deryckright19:49
lifelessderyck: we're trying to be consistent with it, because it makes reasoning about UI and behaviour a /lot/ easier.19:50
lifelessderyck: for all that it raises issues, it would have avoided disasters too - like the public/private bug dupe one.19:50
cjohnstonif everything was authed, summit could gather the info, and keep the info private in Summit, if the ability existed in LP, though it sounds like it doesnt19:50
lifelessthe sort of thing that this rule solves is:19:51
lifeless - invisible actions19:51
lifeless - spying19:51
lifeless - inexplicable failures (e.g. timeslot X is used. Not its not! yes it is!)19:51
deryckI don't disagree it solves all those issues.  But it's also very easy to leak private data.  And I'm not sure which is worse.19:51
deryckbut I know we've had all these discussions before.  I'm not trying to dredge them back up.19:52
derycknot we == lifeless/deryck but we == lp devs.19:52
lifelessyeah :)19:52
flacostelifeless: i need to head off in a little less than 1h, maybe we would be better to postone to later in the week then?19:52
lifelessflacoste: ok, tomorrow?19:54
lifelessflacoste: or your wed, can't do later than that, on leave.19:54
flacostelifeless: yeah, let's do wed after the TL call19:54
lifelesshokaydokay19:55
cjwatsonwgrant: Do you think https://bugs.launchpad.net/launchpad/+bug/3456 is still an issue?  (The bug title is outdated; read at least comment #1.)20:57
_mup_Bug #3456: queue doctest removes security proxies <lp-soyuz> <soyuz-build> <Launchpad itself:Triaged> < https://launchpad.net/bugs/3456 >20:57
cjwatsonI thought it was acceptable that the uploader was zopeless, though perhaps I'm wrong.20:58
=== benji changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ~300
wgrantcjwatson: Not worth having a bug for21:22
StevenKlifeless: https://lpci.wedontsleep.org/job/devel/lastFailedBuild/ hint hint22:09
lifelessgrrr at your cert22:14
StevenKYeah, sorry, I should fix that.22:15
lifelessStevenK: its got crud in it:22:37
lifelesssuccessful: lp.services.scripts.tests.test_cronscript_enabled.TestCronscriptEnabled.test_enabled_cronscript22:37
lifelessteskill: 186: No such process22:37
lifelessStopping lxc22:37
lifelesst: lp.codehosting.vfs.tests.test_branchfs.TestLaunchpadTransportAsync.test_rmdir22:37
lifelesssee how test: lp.codehosting.vfs.tests.test_branchfs.TestLaunchpadTransportAsync.test_rmdir22:37
lifelessand kill: 186: No such process\nStopping lxc22:37
lifelessare intermingled22:37
StevenKlifeless: Hmm, maybe I need to redirect stderr away?22:38
sinzuiwgrant, StevenK, wallyworld: can you see http://blog.launchpad.net/?p=3742&preview=true22:38
lifelessStevenK: stderr /must/ be a separate fd, is it shared with stdout atm ?22:38
StevenKlifeless: At the moment, I'm not redirecting them at all22:38
lifelessStevenK: can i see the config ?22:42
StevenKlifeless: Jenkins config, builder config? Which?22:44
lifeless yes22:45
lifelessthe jenkins project config22:45
lifelessto start with22:45
lifelessbrb22:45
StevenKlifeless: You should have access to configure the project on jenkins22:49
StevenKwgrant: My test in the LP branch passes with the new lazr.restful hacked in.23:11
lifelessStevenK: I don't have a login ?23:12
StevenKlifeless: Login via SSO23:13
StevenKThat should work23:13
wgrantStevenK: Great23:15
lifelessStevenK: did you just change to concurrency=1 ?23:15
StevenKYes, wgrant's suggestion.23:15
lifelessok, so sudo /usr/local/bin/lp-setup-lxc-test lptests23:17
lifelessis buggy23:17
lifelessbbs, C need sme23:17
StevenKlifeless: That is based on the example shipped in lpsetup. I can pastebin it if you wish23:18
StevenKwgrant, wallyworld: https://code.launchpad.net/~stevenk/lazr.restful/dict-unmarshaller-none/+merge/12661523:24
StevenKwgrant: Do you think the test I've added is valuable?23:29
wgrantStevenK: Hm23:31
wgrantStevenK: Don't we care mostly about marshalling?23:31
wgrantUnmarshalling might be useful too, but it's less important here.23:31
wgrantThe bug you're trying to fix just cares about marshalling.23:31
StevenKNo, the bug I'm fixing is about unmarshalling23:32
StevenKIt gets None and tries to unmarshall that as a dict23:32
StevenKwgrant: And sorry, I meant the LP test, not the lazr.restful test.23:33
wgrantAh, in the etag, right23:33
wgrantStevenK: Does that test fail without the lazr.restful upgrade?23:33
wgrantIt doesn't look like it'll exercise the ETag path.23:34
wgrantBecause it's unconditional.23:34
StevenKwgrant: http://pastebin.ubuntu.com/1255044/23:41
wgrantAh, so it does a conditional anyway, great.23:42
* wallyworld sighs, another hard lockup :-(23:45
StevenKwgrant: So it's fine?23:45
wgrantStevenK: yes23:46
StevenKwgrant: Can you approve the lazr.restful MP then so I can land it?23:47
StevenKwgrant: If you think the test I've added to LP adds value, I can leave it in, or I can just bump versions.cfg and move on.23:48
=== matsubara is now known as matsubara-afk
wgrantStevenK: Does marshalling None as a dict work?23:55
StevenKwgrant: Obviously, due to the lazr.restful test23:57
wgrantStevenK: That tests *un*marshalling.23:57
StevenKYeah, I should learn to read at some point.23:58
StevenKLet me check.23:58
StevenK    >>> print dict_marshaller.marshall_from_json_data(None)23:59
StevenK    None23:59
StevenKThere's an existing test23:59

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