[00:11] flacoste: we're waiting for my patch disabling the edge redirect code to propogate through QA [00:15] lifeless: What about recipes? [00:23] wgrant: we're waiting for N things [00:23] wgrant: one at a time [00:32] lifeless: But if the redirect removal lands, then recipes vanish from Launchpad. [00:32] lifeless: Which may be slightly undesirable. [00:33] s/lands/deloys/ [00:33] +p [00:37] huh, no [00:38] food, whilst I leave you to look closer. [02:11] Project devel build (156): FAILURE in 3 hr 33 min: https://hudson.wedontsleep.org/job/devel/156/ [02:11] * Launchpad Patch Queue Manager: [r=bac][ui=none][bug=666580] Make getMessageDispositions much more [02:11] efficient in the number of DB queries. [02:11] * Launchpad Patch Queue Manager: [r=jml][ui=none][no-qa] Remove with_statement. [02:11] * Launchpad Patch Queue Manager: [r=jml][ui=none][bug=54946, 496574, 497282, 611258, [02:11] 618955] New almost-fully-asynchronous buildd-manager with lots of hot [02:11] sexy bug fixes. [02:31] lifeless: I see nothing in that MP which enables BFB on lpnet. [02:31] Unless you've also changed the prod configs, I guess. [02:34] wgrant: disabling the edge redirect doesn't remove the edge appservers [02:34] and yes, the prod configs have (naturally) changed [02:36] lifeless: It doesn't remove them, but it stops people from being redirected, so it effectively removes them. [02:36] lifeless: did you change the prod config to enable recipes? [02:37] lifeless: it isn't is_edge [02:37] no [02:37] we're adding a feature scope to support recipes [02:37] we're stalled on the edge removal on that [02:38] ... that is what I was asking. [02:38] Aha. [02:38] wgrant: see lp-foundations bugs [02:43] lifeless: why stalled on edge removal? [02:44] jml doesn't want recipes on prod for all users [02:44] only beta [02:44] (and preferrably a dedicated smaller beta team) [02:44] so we need to add a scope that selects teams. [02:45] ok [02:46] thumper: there's no panic on removing edge, we have time to do it methodically [02:46] ok [02:47] all due haste, no panic. [02:50] lifeless: So you just CP'd up to r11738? [02:50] deployed, yes. [02:50] Hopefully the publisher won't explode. [02:50] CP's no longer exist. [02:50] Shh. [02:50] wgrant: why would it? We didn't deploy to soyuz machines [02:50] Ah. [02:50] So the Fix Released was a lie. [02:51] wgrant: which bug [02:51] Bug #655690 [02:52] wgrant: well, its a nonfunctional change, right? [02:52] wgrant: or is it broken? [02:53] lifeless: No, it's fine. Shouldn't be a problem, except it's happened in the past that a CP has been partially deployed, marked as Fix Released, something has broken, and then confusion abounds when you're looking at the wrong code. [02:53] well the rev is on the bug [02:54] True. [02:54] I'm not sure what we should do here. [02:54] if it was a functional change, I wouldn't have toggled it. [02:54] Merge Fix Committed and Fix Released into Fixed, like mpt has wanted to do forever? [02:55] :) [02:57] thumper, did you see hudson failed on your branch? [02:58] thumper, well not just your branch... [03:01] no [03:10] * thumper afk to collect car [03:12] bac: looks screwed up [03:12] bac: as in hudson looks screwed up, not the branch [03:52] * StevenK prods at hudson before bed [03:53] Project db-devel build (103): FAILURE in 3 hr 57 min: https://hudson.wedontsleep.org/job/db-devel/103/ [03:54] That devel change is odd [03:54] Er, s/change/test failure/ [03:55] The test suite is run under sudo, so I am tempted to blame a recent landing [03:55] yes, yes it is [04:17] wallyworld_: skype? [04:17] ok [04:22] thumper: now? [04:22] wallyworld_: I can't hear you :) [04:22] i can't hear you either [04:23] !#@#@%@ pulse or whatever [04:23] i may have to reboot :-( [04:23] ack [05:00] contains(@class, "js-action") [05:36] thumper: you might like https://code.edge.launchpad.net/~lifeless/launchpad/zope.testing/+merge/39423 [05:36] jml: or you may like it. [05:36] gnight [06:03] Project devel build (157): STILL FAILING in 3 hr 32 min: https://hudson.wedontsleep.org/job/devel/157/ [06:03] Launchpad Patch Queue Manager: [r=lifeless][ui=none][no-qa] Prevent the atexit warning that occurs [06:03] when tests are run within the LibrarianLayer. [08:54] good morning [09:03] Hello [09:12] hello mrevell, adeuring [09:17] Someone is going to need to manually apply the permission changes from db-devel r9888, or we are going to have an awful lot of branch scan failures. [09:18] (that was merged into devel later on, and has security.cfg changes, which can't be deployed directly without downtime) [09:18] (but the revs that need the new perms were deployed earlier today) === thekorn is now known as th3k0rn [09:31] wgrant: interesting - this seems to be something of a failure in process... :/ [09:32] mthaddon: One that people have been warned about. [09:32] I don't recall exactly where. [09:32] But it was brought up recently. [09:34] yeah [09:35] so allegedly qastaging should fix this, but it seems this wasn't exactly qa-ed there... [09:36] qastaging may have been set up too late. [09:36] So it may have had the right perms from the start. [09:36] well, and we're not running scripts on it yet... [09:36] Ah, that would also do it. [09:36] but my point is the revno was blessed for rollout without having really been QA-ed [09:37] It's almost impossible to completely QA something like that. [09:37] But more could have been done. [09:37] anyway, thx for bringing it up [09:37] It's also possible that it was QA'd properly on db-devel, and then merged without properly being QA'd on devel. [09:37] But anyway. === th3k0rn is now known as thekorn [09:42] jtv: yup, the main facet feigns ignorance about a series branch to non-privileged users. [09:42] if that branch is private. [09:43] henninge: and ours does the same for the development branch but not for the export branch? Or does it fail to feign and so feint when either is present? [09:44] * jtv gets confused about spelling [09:44] jtv: ;-) the latter. [09:45] jtv: so, if translations would say somthing like "translations are imported from/exported to a private branch" it would already give away more information than the main page which claims "No revision control details recorded for ..." [09:46] Right. [09:46] Well, mystery solved I guess. Good job. :) [09:47] So our page will have to look to non-priv users as if no branch sync had been set up. === almaisan-away is now known as al-maisan [10:05] Yippie, build fixed! [10:05] Project devel build (158): FIXED in 3 hr 33 min: https://hudson.wedontsleep.org/job/devel/158/ [10:05] Launchpad Patch Queue Manager: [testfix][rs=bac][ui=none][bug=54946, 496574, 497282, 611258, [10:05] 618955][rollback=11801] === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan === matsubara-afk is now known as matsubara [13:11] jml: oh hai [13:11] lifeless: hello [13:12] jml: I've fixed layers [13:12] lifeless: glad to hear it. [13:13] jml: it needs a review :) [13:13] lifeless: cool. I'll look at it once I'm done w/ email [13:17] -> food [13:39] Project devel build (159): SUCCESS in 3 hr 34 min: https://hudson.wedontsleep.org/job/devel/159/ [13:39] Launchpad Patch Queue Manager: [r=allenap][ui=none][bug=665407] Add invalid-link style to invalid lp [13:39] branch short links and prevent click through [13:47] jml: have you picked up a key? [13:47] lifeless: I don't think so. [13:51] I'll go get one [14:02] lifeless, jml: around? [14:04] jml: bony 3 [14:04] flacoste: yes [14:04] lifeless: I don't understand... [14:04] It sounds like a room title to me [14:05] lifeless, jml: call me when you are ready [14:06] jml: all the meeting rooms are booked; marianna has put us in bonaire 3 [14:07] flacoste: skype ? [14:08] lifeless: skype or POTS, whatever works best for you guys [14:08] flacoste: rephrasing; please join skype [14:08] lifeless: i should be there already [14:09] lifeless: are you hearing me?% [14:10] jml: I have some grants for production that accompany a security.cfg change that has already landed in devel. Are you the person I should ask to review these? === jtv is now known as jtv-afk [14:11] It's probably already in stable too, but I think all the grants are for script users so it hasn't caused problems so far. [14:14] allenap: he's in a session [14:15] bigjools: Thanks. I'll email him (unless you happen to know who else I could/should contact?). [14:16] allenap: I can review/grant for you if you want [14:17] bigjools: Awesome, thanks. http://paste.ubuntu.com/520757/ [14:18] allenap: how do you know you have all the necessary changes? [14:19] bigjools: Because you're reviewing it for me to check ;) [14:19] ! [14:19] allenap: it's my job to ask probing questions :) [14:20] bigjools: Do you know if it's possible to get Postgres to puke up it's permissions so I can compare before and after? [14:21] allenap: yeah I think I've seen something, can't remember what it is [14:21] bigjools: Okay, I'll investigate. Thank you for your probe. [14:22] allenap: so assuming that you've already landed the changes with these then it looks ok - my only concern is that you've not missed anything and it would be nice to somehow verify that. [14:22] allenap: FWIW, I also bow to your grep skillz [14:22] If you could get a permissions dump from a running development instance, that would probably help for comparion [14:23] *comparsion [14:23] StevenK: Yeah, that's what I have in mind. [14:24] jml: when you have a moment I could do with chatting about the new buildd-manager - the twistd process is hitting all of one core on mawson and strace is not helpful. [14:39] deryck: did you see bug 667215? :) [14:42] gary_poster: hi [14:42] hey on call but off soon bigjools [14:42] gary_poster: np, I am in a session soon though. Just wanted to talk about bug 667183 [14:44] I'll comment on the bug [14:45] ack [14:48] bigjools, yeah :-) I haven't replied or un-security'ed it yet. It's crying out for a clever response, and I don't want to disappoint. :-) [14:48] * deryck kids obviously [14:48] I just haven't replied yet. [14:48] deryck: seems ripe for "opinion" to me :) [14:49] heh === adeuring1 is now known as adeuring [14:49] abuse of the security tag is annoying though [14:51] yeah [14:53] launchpad session! [14:55] bigjools: will do. [14:55] bigjools: You were very right to ask that question: http://paste.ubuntu.com/520782/ [14:58] allenap: :) === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan [15:33] mars ping [15:33] Hi bac [15:33] bac, regarding your earlier question, Ursinha would know [15:33] oh, ok [15:33] bac, and your EOD was 7:00am for me, I think? :) [15:33] Ursinha: ping... [15:34] sinzui, give me an example of your perfect pagetest story. [15:34] mars: yeah [15:34] mars: so you don't know which tools are supposed to set the bad-commit tags? [15:34] Ursinha: do you ? ^^ [15:35] if that could be documented on the the QAForContinuousRelease pages i think people would understand the process better [15:35] bac, not off the top of my head, no. Ursinha and lifeless worked that out, and I remember something on the list about it having the tags be manual(?) === Ursinha is now known as Ursinha-afk [15:35] mars: really? not what the wiki says at all. [15:36] well, i won't be getting my answer today, then. :) [15:36] hey, bac, as long as your online did you see my comment on the bug(s) we were talking about yesterday? [15:36] bac, that's why I did not reply. I thoguht lp-land or ec2 land should have done everything for you [15:36] mars: me too. this branch was full of mysteries. [15:37] bugs didn't get linked, diff didn't update, tags didn't update, MP didn't get set to 'merged'. all very odd. [15:37] some of it may be to branch scanner weirdness today [15:37] jcsackett: i did. thanks for following through. [15:37] bac: no problem. were you able to qa your stuff? [15:37] jcsackett: in the future, could you send me email? sometimes my IRC client tells me i got pinged but i cannot find it in the scrollback [15:38] jcsackett: i did [15:38] bac: oh, sure. [15:38] excellent. [15:46] bac: hello, would you mind testing a patch for me to fix that failing test of mine? === Ursinha-afk is now known as Ursinha === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [16:10] flacoste: can you invite me to the ISO call tomorrow/today ? [16:13] lifeless: sure [16:13] lifeless: not sure, it it's going to happen though given that elmo is at UDS, but we can probably have the call with tom === flacoste changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 1 of 10.11 | PQM is open | firefighting: - | https:/​/​dev.launchpad.net/​ | Get the code: https:/​/​dev.launchpad.net/​Getting [16:16] flacoste: I'd like to talk with you, charlie & tom about some ops stuff from chatting with statik [16:17] flacoste: that call seems ideally structured [16:17] lifeless: sure [16:17] lifeless: you should have the invite [16:18] lifeless: btw, you aware that converting daily builds to feature flag is a blocker for edge removal? [16:18] flacoste: yes, I said so on the prereq bug [16:19] what bug is it? [16:19] flacoste: bug 666538 [16:19] (was just looking) [16:19] flacoste: we don't need to panic about removing edge - all due caution, and all due haste IMO [16:19] flacoste: we're already better off [16:20] matsubara: ping [16:20] lifeless: agreed, but the daily build conversion, did you intend to take it, or do we need to hand this off to the code team? [16:20] hi lifeless [16:20] matsubara: I'd like to interrupt you for a small but important thing. [16:20] shoot [16:20] matsubara: could you fold the 'edge' OOPS report summaries into lpnet. [16:20] matsubara: they are now running the exact same code. [16:20] matsubara: so we don't benefit from a separate report. [16:21] lifeless: ok, i see that the bug is assigned to poolie [16:21] lifeless, yes, are those instance not using the E* prefixes anymore? [16:21] matsubara: prefixes haven't changed [16:21] lifeless: so they are running the same code, but with a different config right? [16:22] flacoste: -very- slightly different config; only practical change I know of is the recipe stuff being enabled. [16:22] ok [16:22] flacoste: oh, and the timeout is 13000 not 15000 - but again, the oops /types/ and /causes/ should be identical. [16:23] right [16:23] should we harmonize the timeouts? [16:23] flacoste: on my todo :) [16:23] flacoste: waiting for the 600 a day to reduce [16:23] right, because of the 8.4 regressions [16:23] flacoste: which will happen as more things are qad and deployed - we have several timeout fixes blocked on qa [16:23] flacoste: right [16:23] awesome [16:24] this is really better [16:24] StevenK: https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html - --please-- I know you're at UDS, but unqa'd code in trunk is a teamwide stall. [16:24] lifeless: I'm trying! [16:24] StevenK: what can I do to help? [16:25] lifeless: Tell me why the function appears in the WADL but not in the actual API code [16:26] flacoste: so the call is in 23.5 hours? [16:26] yep [16:26] StevenK: how do you mean? leonardr: we may need your help. [16:26] flacoste: thanks, wicked. [16:27] StevenK, give me a link? [16:27] matsubara: so, for clarity - you're folding the E prefix into the lpnet reports ? [16:27] lifeless: I'm in a session that I'm talking in, so I don't want to walk out [16:27] what do you mean by "the api code"? you can't access it from launchpadlib? [16:27] lifeless, yep [16:27] leonardr: Right. I'm looking at say dir(maverick) [16:27] matsubara: awesome, thank you very much. We can drop the edge-oops.html on lpqateam etc too, with this change. [16:29] lifeless, I seem to remember you saying that the weekly summary is not useful, so I'll get rid of that as well [16:30] Ursinha, what do you think ^? [16:30] matsubara: yes please [16:31] reading [16:31] matsubara, that's cool, want me to do that along with qastaging changes? [16:32] Ursinha, sure, getting you a diff, just a sec [16:32] StevenK: i assume you're busy in the presentation, but when you get a minute, i need a link to the problematic branch (or maybe lifeless can give it) [16:34] leonardr: rev 9303 or so in db-devel, I think [16:34] http://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/revision/9903 [16:35] Ursinha, merge from here: lp:~matsubara/oops-tools/edge-no-more [16:36] thanks matsubara, will do that right now [16:36] Ursinha, will go for lunch and post office errands. please add a MP and I'll take a look after lunch and will deploy this so we'll get the new reports tomorrow. thanks a lot! === matsubara is now known as matsubara-lunch [16:37] sure, thanks matsubara-lunch! [16:40] mwhudson: https://bugs.edge.launchpad.net/launchpad-code/+bug/667322 [16:46] StevenK: ok, so you have some tests that use launchpadlib, and those tests pass, so it should be working. i'd like to eliminate the possibility that your client-side launchpadlib is using a cached wadl file [16:47] can you run your test script but set "httplib2.debuglevel = 1" before using Launchpad.login_with or equivalent? [16:47] leonardr: Okay, doing [16:48] lifeless: i think the port already comes from launchpad-lazr.conf [16:48] lifeless: config.codebrowse.port [16:49] leonardr: What do you need from that? [16:49] StevenK: paste me the whole thing, but i especially need the first part [16:49] * mwhudson comments on the bug [16:50] leonardr: http://paste.ubuntu.com/520833/ [16:50] mwhudson: thanks, I'll make new configs [16:52] StevenK: you are using a cached wadl file. go into ~/.launchpadlib/api.dogfoot.launchpad.net/cache/ and look at the file that starts api.dogfood.launchpad.net,beta,-application,vnd.sun.wadl+xml [16:53] see if derivedistroseries is in there [16:53] leonardr: I don't have that directory, is: launchpad = Launchpad.login_with('qa-mawson', 'dogfood') [16:54] leonardr: Is that right to to talk to dogfood? [16:54] yeah. i misspelled dogfood in my earlier msg as "dogfoot" [16:54] do you have a ~/.launchpadlib/api.dogfood.launchpad.net? [16:54] Nope [16:55] Which is why I'm questioning if my login call is right === jcsackett_ is now known as jcsackett|aft [16:55] you're making calls to the web service [16:56] do you have .launchpadlib at all? [16:56] mwhudson: whats 'secret_path' for ? [16:56] lifeless: signing cookies [16:56] is it sharable across processes ? [16:56] leonardr: Sorry, I have .launchpadlib/api.dogfood.launchpad.net/ but not .launchpadlib/cache/api.dogfood... [16:56] yeah, it's a path to a file that contains the secret [16:56] like, if we're running two codebrowsers [16:57] lifeless: different processes _need_ to share the same file content [16:57] do you have cache *inside* api.dogfood? [16:58] ie. when i do `ls /home/leonardr/.launchpadlib/api.dogfood.launchpad.net/cache/`, i see a file [16:58] lifeless: afk [16:58] leonardr: Right [16:58] leonardr: I do have that directory [16:59] ok, is there a wadl file inside it, and if so, does the wadl file mention derivedDistroSeries? [16:59] leonardr: Let me delete everything in that directory [16:59] StevenK: ok, that's another effective tactic [17:00] leonardr: Before I deleted it, no, it doesn't [17:00] Let me do the effective tactic [17:02] leonardr: Ah ha! Now it shows up [17:02] StevenK: ok, that is your problem. wadl files are cached for one week [17:02] this is fine for casual users, but when you do web service development, you need to make sure you clear them out [17:03] leonardr: Why the two directories? [17:03] lifeless: back again [17:03] StevenK: which two directories? [17:05] leonardr: .launchpadlib//cache versus .launchpadlib/cache/ [17:05] StevenL: you should not have .launchpadlib/cache/ [17:06] it may have been created by a very old version [17:06] you can delete it [17:06] Okay [17:06] mwhudson: is cachepath safe to share ? [17:06] lifeless: yes [17:06] it's sqlite & there's no real difference between sharing between threads and sharing between processes [17:08] Can I get a vic^Wvolunteer to run a test on revno 11801 of devel for me please? [17:08] mwhudson: so log_folder, error_dir and oops_prefix are the only unique things ? [17:09] leonardr: http://paste.ubuntu.com/520844/ [17:09] matsubara-lunch: when you return, can you add CB1 and CB2 oops prefixes? [17:09] lifeless: well, and port [17:09] lifeless: otherwise, yes [17:10] StevenK: would it be easy for you to try to reproduce that error locally? [17:10] just start up a local launchpad and run launchpadlib against 'dev' [17:11] leonardr: I can try, but I also have code access to dogfood directly [17:12] mwhudson: lp:~lifeless/lp-production-configs/codebrowse [17:13] StevenK: ok, the most likely problem is that your named operation takes an argument that is of a schema field type for which there is no unmarshaller [17:13] let me check your code [17:13] i don't know why the automated tests wouldn't have caught this [17:14] leonardr: if thats the case, will deploying it break other APIs ? [17:14] if not, then we can qa-ok this patch and move on with deployments; we can iterate on the feature [17:14] lifeless: no, it only means that this particular named operation is broken [17:15] leonardr: great, thanks. [17:15] bigjools: ok, so bad-commit explanation. [17:15] StevenK: yeah, i don't think you can have a named operation take a List [17:15] leonardr: Oh, drat [17:15] bigjools: bad-commit-XXXX will block deployments until either a) the tag is removed or b) a branch with [rollback=XXXX] is landed (even if its not a rollback, thats just the tag to use. [17:15] leonardr: Is there anything else I can do? [17:16] let me look at the code/think [17:16] bigjools or someone else who's been doing actual web service work might know [17:16] the qa-* tag doesn't override the bad-commit [17:16] once the rollback is present, then as long as the rollback rev will be deployed, it *unblocks* the bad-commit [17:16] and at *that point* the qa-tag gets evaluated. [17:17] StevenK, leonardr: nothing springs to mind but looking at IArchive might give inspiration. [17:18] lifeless: where is the link between the rollback rev and the bad rev so it knows to do that? [17:18] StevenK: the automated tests passed because you never passed in a value for any of the List arguments [17:18] and I'm not sure I am really following this [17:18] bigjools: StevenK: are you guys planning on going to https://blueprints.edge.launchpad.net/ubuntu/+spec/ubuntutheproject-foundations-n-releaseprocess ? [17:18] bigjools: in the commit message for the rollback rev [17:18] jml: yes [17:18] bigjools: we need to iterate on this process support stuff too, to make it more dynamic. [17:18] bigjools: cool. I really want to go but something just came up. glad you guys are. [17:19] bigjools: IArchive.getBuildSummariesForSourceIds takes a List [17:19] jml: when is it? [17:19] 5:10 [17:20] StevenK: there's your inspiration then [17:21] bigjools, StevenK, do we know that getBuildSummaries.. will actually work when passed a list? [17:21] lifeless: I am still confused, let's go through it after this session [17:22] lifeless: i don't think you need the launchpad.conf & mail-configure-normal.zcml crap [17:22] leonardr: yes. it's use in a UI page [17:22] lifeless: otherwise +1 [17:22] used [17:22] StevenK: in that case, i think your problem is that you need to specify a value_type for the List [17:23] otherwise, lazr.restful says "a list of what?" and can't validate the incoming json [17:23] sounds sane [17:24] hey jelmer, have you got time later today to talk about that task list? [17:25] bigjools: do you want me to run your patch through ec2 land? [17:26] jml: it would be nice to re-create it on someone's box first, but yes, that would help, thanks. [17:26] jml: how's this look? http://pastebin.ubuntu.com/520807/ [17:26] leonardr: And then regenerate the wadl and remove the cached wadl? [17:27] StevenK: i don't think you even need to do that, but it wouldn't hurt. you should be able to write an automated test that fails pretty easily, and then make it stop failing [17:27] bigjools: you need to add a cleanup to revert the patch when the test is done [17:27] bigjools: otherwise, perfect. [17:27] mwhudson: everything has it :( don't want to experiment offhand [17:27] leonardr: Right [17:27] jml: why? it doesn't hurt to leave it [17:27] bigjools: ok [17:28] given that is going to be the "fix" [17:28] bigjools: because you should only break test isolation when there's a very, very, very good reason [17:28] hmm [17:28] lifeless: well, i'm pretty sure you don't need it, but fair enough i guess [17:29] bigjools, jml: the other option is to install the monkey patch at import time i guess [17:29] deryck: I just trod on your toes wrt bug 667347. [17:29] doing it in test setup and then not doing it in teardown is ick [17:29] deryck: Can you look at my comment in there and let me know if I should revert my change? [17:31] allenap, ah, no worries. Thank thank thank you for triaging. ;) :) It's never stepping on my toes. :-) === matsubara-lunch is now known as matsubara [17:31] allenap, the comment is fine and good. I just wanted to have the bugs together about trac, since his bugs came out of a UDS session. [17:31] lifeless, the CB prefix is already known by oops-tools. [17:31] deryck: Cool. [17:31] matsubara: so it will handle CB1 and CB2 automagically ? [17:31] matsubara: there are two new error dirs as well [17:32] well, CB1 and CB2 can't be prefixes [17:32] you can't use digits in the prefix [17:32] oh grah [17:32] so CBA abd CBB ? Why can't you use digits ? [17:33] because an oops id is formed by [17:33] if you add a digit in the prefix, the regex will think that's part of the unique-digit part of the oops id [17:34] lifeless: Ping [17:34] hi [17:34] matsubara: what regex [17:34] matsubara: the OOPS is in a header in the file [17:34] lifeless: Do you remember what you did on my laptop to make launchpad branches branch quicker? [17:35] StevenK: we edited bzr to not use accelerator branches, didn't we? [17:35] lifeless: It was somewhere in launchpad/.bzr ? [17:35] StevenK: or was it making the source branch a lightweight branch? [17:35] lifeless: It was lightweight [17:35] bzr remove-tree on your devel/db-devel branches [17:35] lifeless: I think it's interferring with pushing branches to lp and stacking [17:35] StevenK: no [17:36] lifeless, oops_re in models.py /me looking for a link [17:37] matsubara: can you file a bug on this, its an unnecessary constraint, as long as no prefix is a prefix of another prefix. [17:37] mwhudson: normally I'd 100% agree but I'm poking in the upstream's fix. I guess I will do it anway since in retrospect it's kinda nasty. [17:38] lifeless, https://bazaar.launchpad.net/~launchpad-pqm/oops-tools/trunk/annotate/head%3A/src/oopstools/oops/models.py [17:38] bigjools: either poke it in for the entire duration of the process or for an isolated controlled time, not "approximately half of the time" [17:38] :-) [17:38] in this case it won't matter, apart from wtfs/min [17:39] mwhudson: meh :) [17:40] I need someone to land a branch for me. [17:40] echo "star-merge bzr+ssh://bazaar.launchpad.net/~lifeless/lp-production-configs/codebrowse bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/lp-production-configs/trunk" | gpg -cl | mail launchpad@pqm.canonical.com -s "[r=mthaddon][ui=none] Reconfigure codebrowse to support HA: new log and error dirs needed." [17:40] preferrably someone not at UDS (mail queuing is odd here just now, for some reason) [17:40] flacoste: ^ [17:44] jml: http://pastebin.ubuntu.com/520864/ [17:44] flacoste: nvm, got it to work [17:44] bigjools: +1 [17:44] jml: if that looks ok then I'll push up a new builderslave-resume and you can poke ec2land it [17:44] great [17:44] one sec [17:45] lifeless, I don't think it's unnecessary [17:45] jml: ok lp:~julian-edwards/launchpad/builderslave-resume has that change, thanks. Maybe I should get an ec2 account.... then again maybe not. [17:46] matsubara: ok, why is it necessary? [17:46] bigjools: give a man fish... give a man a fishing license... [17:47] jml: I hate fish :) [17:47] come to think of it, I hate fishing [17:48] bigjools: what was your commit message [17:48] jml: [r=jml][ui=none][bug=54946, 496574, 497282, 611258, 618955] New almost-fully-asynchronous buildd-manager with lots of hot sexy bug fixes. [17:49] lifeless, because it's used to find the actual prefix in the oops-id. it's useful to know the prefix to find the files in the filesystem and to query the Prefix table. and this already works as is and changing it just because isn't a good reason either [17:50] matsubara: we have more servers than letters coming up [17:50] matsubara: LPNETAA is rather ugly [17:50] matsubara: would LPNET1- work as a prefix ? [17:50] and we'll have to have something that supports the old oops-id anyway for backwards compatibility [17:51] matsubara: well the old is a strict subset of the new, right ? [17:51] well, let's change the oops format then [17:51] matsubara: thats already happening, but I don't see why its related to this [17:51] oops-wsgi already generates oops-ids in a different format [17:52] what does it do? [17:53] sinzui: do you know if there is a way to disable custom_widgets based on a different widget's radio button selections? Or do I need some custom JS? [17:55] lifeless, not sure exactly but they changed it to include the id of the thread the oops was generated or something like that. [17:55] ok [17:55] so I don't really care either way [17:55] here is what I would love to see us achieve: [17:56] - use numbers for numbers. [17:56] or better yet [17:56] - stop manually assigning and managing this stuff [17:56] its a terrible burden on deployment to have to care about this detail === jcsackett|afk is now known as jcsackett [18:00] bigjools: for your other issue, I'm free in the 16:00 session [18:08] lifeless, https://bugs.edge.launchpad.net/oops-tools/+bug/667373 [18:12] lifeless, https://bugs.edge.launchpad.net/oops-tools/+bug/667375 [18:39] matsubara: 667375 is a dupe [18:39] matsubara: 667373 is great, thanks. [18:40] lifeless, do you think it's a dupe of bug #271411? [18:41] absolutely [18:41] lifeless, that's fix release :-) [18:41] released [18:41] matsubara: then why are we having to add things? [18:41] so, yeah, I fixed #271411 but the next step is to make everything automagically [18:42] matsubara: ok cool [18:42] I see the difference, and the new bug does speak to the overall intent better [18:42] because that's the first step. adding support to oops-tools to read the lp-production-config file and have a web ui to trigger that [18:42] now we want to automate it further [18:42] ok, cool [18:42] :-) [18:43] also [18:43] 659752 [18:44] matsubara: and bug 658863 [18:48] lifeless, ah, thanks for the pointers, I'll cleanup the mess [18:48] matsubara: thank you! [18:51] flacoste: ping [18:51] hi lifeless [18:51] flacoste: while you're doing PPR stuff, want to fold edge into lpnet ? [18:52] lifeless: sure [18:53] awesome! === al-maisan is now known as almaisan-away [19:04] jelmer: ping [19:04] lifeless, hi [19:04] bug 135610 - [19:05] it was qad very quickly after landing; we're just checking that it really did get vettted for ok-to-deploy [19:05] jelmer: ^ [19:07] Ursinha: I've filed another couple of qatagger bugs, I put them on lp-foundations from lack of thought - sorry. [19:07] Ursinha: they are high return ones for folk doing deploys [19:07] lifeless: I probably tested that one on dogfood while it was ec2ing [19:07] ok [19:07] thanks [19:08] Ursinha: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/667390 [19:08] and https://bugs.edge.launchpad.net/launchpad-foundations/+bug/667389 [19:19] lifeless, will check now [19:20] general python question: what will happen if you try to use a unix-specific function like platform.linux_distribution on a non-unix platform? will linux_distribution raise an exception or will it not even be present? [19:20] leonardr: case by case [19:21] does anyone have a windows machine they can try this code on for me? [19:25] sorry, no. [19:25] but you can use wine [19:25] matsubara: whats up with https://code.edge.launchpad.net/~ursinha/oops-tools/add-qastaging/+merge/39465 ? [19:27] lifeless, tests failed, looks like postgres is not running in the oops-tools chroot [19:27] losas: ping [19:28] matsubara: -> #launchpad-ops as per flacostes email. [19:28] oops [19:28] sorry [19:28] de nada [19:44] jml: are you free @ 3 or 4 ? [19:44] jml: and @ 9 tomorrow? [19:44] Yippie, build fixed! [19:44] Project db-devel build (104): FIXED in 4 hr 4 min: https://hudson.wedontsleep.org/job/db-devel/104/ [19:53] lifeless, jml says 4 [19:56] james_w: thanks [20:00] someday i'm going to count how many times in a month "make" is the solution to a launchpadder's problem. [20:02] jml: are we having a meeting? [20:03] flacoste: 4pm [20:03] flacoste: and 9 tomorrow, I hope [20:03] lifeless: nope, another one [20:41] Project devel build (160): SUCCESS in 4 hr 0 min: https://hudson.wedontsleep.org/job/devel/160/ [21:11] rockstar, I've disabled the windmill tests I believe to be failing and sent off to ec2 again. [21:11] rockstar, just ec2 test to see if it works, and then you can land if so. [21:11] deryck, wtf are you? [21:12] rockstar, in the A hallway. Chair at the front. Needed power and found it here :-) [21:12] deryck, I gots the power here. Just required some looking. [21:12] rockstar, where you at? [21:12] deryck, in the arterial hallway, where all the other launchpadders were. [21:13] ah [21:13] lifeless and I found something nasty in feature flags and I are crying. [21:13] rockstar, I should come there then and look into gmb's issues too [21:13] deryck, yeah, "with our powers combined" and all that. [21:13] indeed [21:14] headed that way now [21:15] * rockstar WINS! [21:15] lifeless, are you around? [21:17] gary_poster or benji or other zope-y person: I has a questions. [21:17] rockstar: i has ability to pretend not here, but will not use this ability [21:18] gary_poster, so, we have a new item on request.features, right? And we use this in the base-template to assign it to features in tal. [21:18] k [21:19] gary_poster, but this doesn't work if you use page fragments, since they are separate requests. [21:20] you mean separate views, I think? [21:20] should be same request [21:20] gary_poster, it doesn't look to be. [21:20] ew [21:20] * rockstar digs for an example [21:21] gary_poster, lib/lp/code/template/branch-index.pt:110 [21:22] gary_poster, I've exposed a page fragment, so that we have a different template file, because otherwise the branch page can get rather large. [21:23] For line 110 on that pt I get [21:23] replace="structure context/@@++branch-pending-merges" /> [21:23] gary_poster, yeah, that one. [21:23] so, that's calling a separate view [21:23] but it's the same request [21:23] maybe this is a terminology thing [21:23] gary_poster, maybe. [21:24] gary_poster, the problem is that branch-pending-merges has none of the defined scope of the "parent" template. [21:24] yes [21:24] that I'd expect [21:24] course, it should be able to get to it with request/features [21:24] so shouldn't be hard to find [21:25] gary_poster, but the request object also seems to be different, since I can't do tal:define="features request/features" like base-layout.pt does. [21:25] then that would support your statement that they are different request objects. That's not...how I'd expect things to be done, though [21:25] so IOW this is not zope-y [21:26] but it may be launchpad-y [21:26] I hope not :-/ [21:26] gary_poster: With bug #662912, is it just that the librarian forwarder thing isn't handling restricted files? [21:26] I can reproduce the same behaviour with private bug attachments. [21:26] wgrant: yes, that's what I just figured out [21:27] wgrant: do you happen to know if we only recently stopped copying files over? [21:27] in favor of the forwarder thing? [21:27] * gary_poster was wondering if this has always been a problem and he just didn't notice before, or what [21:27] gary_poster: The forward is almost as old as staging, TTBMK. [21:28] ah ok [21:28] so MP and so on have been broken on staging forever? [21:28] But that's from before my time. [21:28] probably before mine then too :-P [21:28] gary_poster, so, might you have any suggestions for me? [21:29] I don't know. I don't recall using MPs on staging, but it seems unlikely that they've been broken forever. [21:29] that's what I thought too wgrant. [21:31] rockstar: option 1) you give me super-easy steps to dupe and I'll try to pdb. option 2) you do a pdb yourself. option 3) we see if request/features is implemented in an odd way or something. I'll look in on option 3 for a second... [21:31] gary_poster, lifeless and I just had a pretty epic pdb session, so I bet I have some answers for you already. [21:31] ok [21:33] gary_poster, see http://pastebin.ubuntu.com/520979/ - It was in this debugging that I recognized that we're getting separate requests. [21:33] gary_poster, hit the branch page with that patch, and you'll see a few different requests being made. [21:34] ok, will try, rockstar [21:35] gary_poster: Note that the restricted librarian is brand new compared to staging. So it's quite possible it was missed, as for years it was only used by the publisher, and that doesn't run on staging. [21:36] ah, wgrant, maybe so === matsubara is now known as matsubara-afk === Ursinha is now known as Ursinha-bbl [21:39] rockstar: not having any luck with something accessing features. Going to https://code.launchpad.dev/~name12 and https://code.launchpad.dev/~name12/landscape/feature-x for instance. what do you mean by branch page? or perhaps is there something I need to add to a template? [21:40] gary_poster, the latter url is what I mean by "branch page" [21:40] gary_poster, it seems to be starting a separate request (or at least providing a different request object) to ++branch-pending-merges [21:41] rockstar: the pdb you gave me is not being hit, presumably because the associated templates do not yet refer to request/features? [21:42] I can dig out the various templates involved, but I was hoping you'd guide me into the necessary changes to dupe [21:42] as I suspect that will be faster and more efficient, and will enable me to be lazier [21:43] gary_poster, sorry, that pdb isn't going to help. A type for if "features" in self.__dict__ was stopping at every get_features, and while dealing with every stop, we saw more requests popping through. [21:44] gary_poster, really I can't tell you exactly how we re-produced, other than to say "a new request is created after pdb gets to a certain point in rendering" [21:44] ... [21:45] gary_poster, I guess I should say "this is the only explanation to deal with the various issues we're seeing, and so I'd like to investigate further." [21:49] rockstar, https://code.edge.launchpad.net/~deryck/launchpad/populate-trac-bug-filing-form-667342/+merge/39479 [21:49] rockstar: ok. My core response is "Zope is typically not supposed to have multiple request objects for the same web request. You generally only do that when you are changing security interactions on the fly, which is an advanced use case, and likely to need special care. I am not aware of LP needing to change security interactions on the fly, but it is conceivable." [21:50] but pretty darn unlikely, especially with one view calling another from the page template [21:51] rockstar: I'm happy to debug something if you can give me instructions to dupe, but I'm not keen on trying to come up with abstract ways to provoke what you describe [21:51] gary_poster, okay, so why would request be different between +index and ++branch-pending-merges [21:52] they are just strings to me. [21:52] gary_poster, so the best way to dupe the error I'm seeing is to add a tal:condition="features/foo" to any div in lib/lp/code/templates/branch-pending-merges.pt, and see the oops. [21:53] ok cool, I'll try [21:53] gary_poster, and then try to define features as being request/features - this time it'll oops with KeyError on features. [21:55] gary_poster, I assume it works with any page fragment. [21:59] does anyone know some workarounds for ec2 test complaining about ssh agent? usually logout/login works for me (or failing that reboot) but nothing seems to do it now. [22:00] error is: https://pastebin.canonical.com/39136/ [22:01] it's not an uncommon one, but as i said it's not usually this persistent. :-/ [22:01] rockstar: I have http://pastebin.ubuntu.com/521004/ . When I go to https://code.launchpad.dev/~name12/landscape/feature-x I see HEEY GARYYY or whatever I wrote on the main template and no OOPS and no pdb [22:02] rockstar: ping [22:02] gary_poster, I seem to have gotten SOMETHING sorted, making me look like a crazy person. Sorry for the noise. I'll consult with lifeless before stirring up more trouble concerning my suspicions. [22:03] thumper, pong [22:03] cool rockstar [22:03] rockstar: you have three cards for merge queues needing qa [22:03] rockstar: I wasn't sure what was needed [22:04] thumper, yeah, duplication of effort. Nothing is needed, or I would have addressed it in the bug tracker. :/ [22:05] rockstar: want to move the cards then? [22:07] thumper: abentle: standup? [22:07] thumper, moved them. [22:07] rockstar: ta [22:07] wallyworld: sure [22:10] abentley: ping [22:10] thumper: pong [22:10] abentley: skype? [22:18] wallyworld: https://bugs.qastaging.launchpad.net/launchpad-code/+bug/634149 [22:21] rockstar: yes, can be now [22:21] lifeless, I sorted it a bit, but I bet you'd like to investigate it a little more. [22:34] https://code.edge.launchpad.net/~weechat-devs/+recipe/weechat-daily WTH? [22:34] Unauthorized: (, 'status', 'launchpad.View') [22:35] hmm [22:35] no idea ;) [22:35] its still deployed via the edge config [22:35] I can seem my wikkid one [22:35] https://code.edge.launchpad.net/~thumper/+recipe/wikkid-daily works [22:36] that woorks for me too [22:46] jcsackett: https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html [22:49] lifeless: we switched it to inprogress. [22:50] i can mark it as qa-ok to unblock deployment; it just needs further work. [22:50] I have done so [22:50] one sec. [22:50] lifeless: okay. [22:50] qa-ok means 'ok to deploy' really ;) - but we need to tune our tools more still. [22:50] jcsackett: (I grabbed curtis :)) [22:50] oh, right; you two are in proximity. :-P [22:51] lifeless: how often does the deployment-stable report refresh? [22:51] 10 minutes or so [22:52] Once we catch up I'll ask urshina to meaure the duration and run high-frequency [22:54] jcsackett: its refreshed [22:55] leonardr: https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html [22:55] leonardr: please be QAing [22:57] gary_poster: in case leonardr has EOD'd, perhaps you could peek at this - its a lower commit # than the thing you're qaing. [22:57] lifeless: I have to run now I'm afraid [22:57] lifeless, i'll start the qa process but it'll take about 2 hours for the request token to expire (since i'm testing that they now expire) [22:57] gary_poster: kk [22:57] if you want i can make sure that normal approval process works first [22:58] leonardr: please do - and remember for all your landings that we need to qa as soon as possible [22:58] ok, what am i testing against, dogfood? [22:58] leonardr: qastaging.l.n refreshes ~30 minutes after things get through buildbot to stable. [22:58] leonardr: qastaging.l.n [22:58] hm, that's a new one, we should add it to launchpadlib.uris [22:59] lifeless: please humor me and send me url to doc telling me what tag names to use, etc? [23:00] i've verified that normal token validation still works, so that should be enough to unblock it? [23:01] leonardr: qa-ok or qa-untestable if is ok to deploy [23:01] leonardr: bad-commit-XXXX where XXXX is the revno in stable if it is not ok to deploy [23:01] leonardr: reference material: [23:01] https://dev.launchpad.net/MergeWorkflow [23:01] lifeless: tagging it qa-ok. i'll come back in 2 hours and see if the tokens now expire [23:01] thanks [23:01] and [23:01] https://dev.launchpad.net/QAProcessContinuousRollouts [23:01] leonardr: ok, so its ok to deploy ? [23:02] lifeless: yes, it doesn't break the existing workflow [23:02] leonardr: even if it doesn't fix the bug [23:02] yeah [23:02] great, exactly what we want. [23:02] lifeless: one question, will my database entry still be *there* in two hours, or will qastaging have been wiped? [23:02] qastaging is wiped once a week [23:02] jml: so, the deal is that the new b-m just eats CPU. I restarted it and it's no different. [23:02] ok, i'll come back in 2 [23:03] I shall debug [23:03] bookmarking those pages now [23:04] leonardr: cool! [23:08] Ursinha-bbl: deployment report has crashed [23:11] Ursinha-bbl: its the unassigned bug thing, that we *fixed* [23:29] lifeless: where is qastaging documented? [23:29] lifeless: does it have an imap folder for outgoing email? [23:29] lifeless: if so, where is it? [23:30] lifeless: by the background I'm guessing it is a copy of the database, is this right?