[00:27] mwhudson: but it works \o/ [00:29] jelmer: yeah! [00:51] You know, 2a fetch is pretty slow. [00:52] yes [00:52] Well, a bit worse than that, actually. [00:55] heh [00:55] * mwhudson files a bug [00:56] About? [00:56] 2a fetch being slow [00:56] wgrant: https://bugs.edge.launchpad.net/bzr/+bug/562666 [00:56] Bug #562666: 2a fetch is very cpu intensive [00:56] mwhudson: I have a bzr.log for a checkout of that linux import, if you're interested... it took a little longer than I expected: 4 hours. [00:56] mwhudson: have you profiled it? [00:57] jelmer: no [00:57] wgrant: sigh [00:57] wgrant: how big is the repo in the end? [00:57] mwhudson: ~400MB, it looks like. [00:57] not bad [00:57] git is 312megs it seems [00:58] .bzr in my shared repo is 383MB. === Ursinha is now known as Ursinha-afk [00:58] wgrant: can you do repository/packs and repository/indices as well? [00:58] I am tmepted to try a local branch, but then I might be waiting all day. [00:58] wgrant: it will probably take about an hour [00:58] wgrant@magrathea:~/dev/linux/bzr$ du -sh .bzr/repository/packs [00:58] 319M .bzr/repository/packs [00:58] wgrant@magrathea:~/dev/linux/bzr$ du -sh .bzr/repository/indices/ [00:58] 64M .bzr/repository/indices/ [00:58] wgrant: thanks [01:00] mwhudson: Want bzr.log too? [01:00] It was 'get_parent_map'ing until 2086s :/ [01:00] the --lsprof output would be interesting [01:00] THen fetched for 9000s. [01:01] wgrant: that is a lot of time spent to figure out it had to fetch everything... [01:02] wgrant: did you fetch into the repo? [01:02] if you fetch into a new branch with no repo you can skip that part i expect [01:02] mwhudson: it went straight to insert stream here [01:04] mwhudson: I did, yeah. [01:04] So I pay 2000 seconds because it retrieves the entire history map to check for anything I already have? [01:04] something like that [01:04] Yay [01:07] Still, at least in-branch operations are pretty fast. [01:07] the smart server protocol should and could be a lot faster [01:07] s/faster/smarter/ [01:08] As mwhudson showed yesterday, a completely dumb fetch took it down from 70 minutes to 37 seconds. [01:13] mwhudson: hi [01:14] bzr info bzr+ssh://bazaar.launchpad.net/~gz/bzr/trivial_testskipped -Dhpps seems to hang on the server side [01:14] wgrant: I guess it's partially a bandwidth usage/cpu usage/latency tradeoff [01:16] mwhudson: i don't suppose we can get a traceback of the production server process? [01:17] poolie: i expect so [01:17] spm: can you copy ~codehost/.bzr.log somewhere poolie and i can see it? [01:17] poolie: hm, it works for me [01:18] i guess i'm seeing the hosted area of the branch though [01:18] mwhudson: sure, one sec [01:20] mwhudson: poolie: chinstrip:~spm/bzr.log.save.gz [01:22] can we easily tar up a copy of the hosted disk directory for that branch? [01:22] and attach it to https://bugs.edge.launchpad.net/launchpad-code/+bug/562672 [01:22] Bug #562672: info on broken? branch hangs on server side [01:26] poolie: spm can, i think [01:29] mwhudson: /srv/bazaar.launchpad.net/push-branches/00/04/f5/1b/ ? [01:33] spm: yeah, and the mirror copy i guess [01:34] yes [01:34] oki [01:35] /srv/bazaar.launchpad.net/mirrors/00/04/f5/1b: No such file or directory [01:35] i think he deleted it [01:35] oh well [01:37] ew. that's a 43Mb tgz. do you really want that attached to the bug? [01:37] I ask as I'm not sure I'll be able to attach it without getting a timeout... [01:37] sure, why not? [01:37] erk [01:37] well, maybe put it on people.c.c. and attach the url? [01:37] been down this path before [01:37] sure [01:39] mwhudson: My local branch has been going for 33 minutes, and has so far copied 99MB. [01:39] wgrant: speed demon [01:43] * mwhudson lunches [01:44] poolie: 15 min eta on that tarball landing on people.c.c.... 27% thru... [01:47] spm, from inside the dc? [01:47] or did you copy it down to canberra? [01:49] poolie: messing around within the dc tends to be sufficently confusing; it's easier to pull locally. if it was 100Mb? yeah, I'd setlle for the hassle and do it right. [02:03] So here's a conundrum. Why would ~vcs-imports be granted launchpad.Admin on IProductSeries? [02:06] maxb: to be able to set the linked branch? [02:06] seems a bit overkill though [02:08] oh. that makes sense... in a sort of sledgehammerish way [03:50] sigh [03:51] when your changes don't seem to be taking effect: check that you're running the tests in the right branch [03:51] :-) [04:38] wgrant: did your clone of the kernel import complete in the end? [05:42] spm: how feasible is it for an appropriately authorized person to look at launchpad's http access logs [05:42] for the apps, not for bzr or other things [05:43] poolie: easy I guess? in a technical sense. The hard part'd be the "authorised person" [05:43] who could do that? or who could ask for it to be done [05:43] I have no idea.... I assume James is involved somewhere; but Francis'd be a good start. [05:43] this is re bug 537432 [05:43] Bug #537432: Save Playlist button does not point to (existing) playlist file [05:44] mwhudson: It did. [05:44] wgrant: did you see how long it took? [05:45] poolie: ?? I'm not sure I follow the connection there? [05:45] mwhudson: I ran it with --lsprof, so it doesn't really count. [05:45] I am running it again now without it. [05:45] spm, that's cause there isn't one :) [05:46] bug 557432 is better [05:46] Bug #557432: Hot Bugs algorithm works poorly for some projects, making it a bad default listing [05:46] just wanting to know what sort ordering people use most often [05:46] mwhudson: But it took about 96 minutes. [05:47] poolie: I'm guessing newest first. [05:47] poolie: ahh. that'd help then. :-) [05:47] wgrant: i'm guessing most-recently-touched [05:47] but yeah [05:47] Hm, true, or that. [05:47] But probably not heat. [05:48] poolie: ahh. i see. in that case, probably easiest if one of us runs the script directly; the logs are... um. not small. so moving the script to the logs would be a better idea. [05:50] poolie: vaguely related - we did similar with loggerhead/codebrowse a while back. The additional point is that we ran a sanitizer from CERT over the logs; as well as some home grown filtering to strip other bits that were sensitive. So for future ref I guess. we could do similar. [05:50] i think in this case we'd just want the aggregate counts, so there should be nothing sensitive [05:50] I agree [05:51] to write the script one would need to know the precise formats and ideally have a little sample [05:51] wgrant: oh [05:51] though it may just be whatever's in devel's apache config [05:51] wgrant: i hope you kept the output -- can you attach it to the bug? [05:51] mwhudson: I have the lsprof output, yes. [05:51] * wgrant attaches. [05:52] given you're dealing with URL's and stock apache - the URL's can be obtained by pretty much anyone who understands what that bug report is talking about. (I don't - exactly jic you were wondering - get the gist, not the fine detail :-) ) [05:54] spm, my question was, what field of the log is the url [05:54] but i guess i can just assume 'it's the one that looks like a url' unless you're also logging referers or something :) [05:55] heh; is before the referrer. ip - - date tz "type url (http ver)?" ... [05:55] from memory.... [05:56] generally is the 1st '"' field, sometimes the 2nd... /me goes to check. [05:58] yup that looks right. I know some of our logs use an earlier '"' field. one to be wary of. [05:59] type being the http method, like GET? [05:59] and the url is absolute? [05:59] 1.2.3.4 - - [13/Apr/2010:06:39:50 +0100] "GET /@@/footer-background.png HTTP/1.1" 200 404 ..... <== by way of example [06:00] or: 1.2.3.4 bugs.launchpad.net - [13/Apr/2010:06:39:50 +0100] "GET /@@/edit HTTP/1.1" 200 5100 .... <== for otehr domains not specifically logged on their own [06:00] url is always absolute, yes. [06:01] ah but it's only the path part, not including the hostname [06:01] ok [06:01] right [06:02] * mwhudson spots awk lumbering over the horizon [06:02] i'd suggest 1 other part to look for - get a breakdown by Agent. it's not accurate, but *can* be instructive. if only to help identify noise to strip away. eg "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" [06:03] mwhudson: heh; I'll just shove my logfiltering scripts at you guys and let you search'n'replace :-) [06:04] mwhudson: poolie: ancient robot filter: https://pastebin.canonical.com/30558/ [06:04] as in ancient script; not ancient robots. [06:05] Can someone please land lp:~wgrant/launchpad/bug-344165-i-hate-buildd-sequencer? PQM rejected it while in testfix last night. [06:06] wgrant: can you come up with a more.... descriptive branch name? :-P [06:06] spm: http://www.deviceguru.com/files/heath_he-robot.jpg [06:07] >> if ($6 !~ /bot([-./)(_s@ ]|$)| [06:07] heh [06:07] wow, that bug report is written in pure cprov :) [06:08] poolie: I wrote that and still can't figure out what the regex means :-D [06:08] wgrant: so the branch passed ec2? [06:09] mwhudson: Yes. [06:09] it's a steamroller threatening a wombat? [06:10] wgrant: sent to pqm [06:11] okis. heading for some lunch and to let corbs run around and burn off school holidays energy. bbl. [06:11] mwhudson: Thanks. [06:11] spm: You're still in school holidays up there? [06:11] just started end of last week [06:11] Oh. Ours ended then. [06:12] yes. well. we can't have all states on the eastern seaboard as a 1st step align on school holidays! that'd be too logical! <== come and see the cynicism on display! step right up! [06:13] mm [06:13] anyways, me and my cynicism are bbl :-) [06:13] * mwhudson tries to remember how to turn statement logging back on in postgres... [06:13] mwhudson: /etc/postgresql/8.3/postgresql.conf [06:14] log_statement='all' [06:14] wgrant: ta [06:18] hmmm [06:18] INSERT INTO Branch is blocking here [06:18] Awesome. [06:21] stub: do you have any tips for seeing why a particular sql statement is hanging? [06:22] Look at pg_stat_activity to see what else is runnin [06:22] g [06:22] i think i found it [06:23] stub: all the other connections were [06:23] but i guess one of them had taken a lock [06:24] If they were , they didn't have a lock. [06:24] ' in transaction' might [06:24] ah yeah, one was in transaction [07:09] mwhudson: is there an LP API call where i can pass in a url and it gives me the branch-if-any ? [07:10] mwhudson: I might have an http url, or a bzr+ssh one [07:20] thumper: ^ wgrant: ^ [07:20] it might be a mirrored branch too === dpm-afk is now known as dpm [08:14] good morning [08:36] lifeless: there's something like that at the python api level i think, getByURL ? [08:37] don't know if it's exported [08:37] mwhudson: could you peek for me? [08:37] lifeless: https://edge.launchpad.net/+apidoc/devel.html <- it is exported [08:41] mwhudson: thanks! [08:56] whats the 'right' service root to use at the moment ? [09:00] lifeless: LPNET_SERVICE_ROOT, version='1.0' for stability or EDGE_SERVICE_ROOT, version='devel' for tracking changes I would say [09:32] james_w: so you need to pass two parameters these days ? [09:32] james_w: the code examples on the wiki are stale then [09:35] lifeless: you don't have to, version has a default [09:39] ok [09:40] what is it ? [09:52] lifeless: depends on the version of launchpadlib [09:52] 1.0 currently I believe [10:17] mthaddon: ping [10:19] mthaddon: spm: http://paste.ubuntu.com/414192/ - I'd like to know if thats clear enough docs on setting up LP API keys for pqm [10:30] Interesting. [10:31] With Python 2.5, TALES obeys SourcePackageName's __unicode__. [10:31] With Python 2.6, we instead get '' [10:40] is that with an exception or regular object? [10:40] there were some changes in that area [10:40] lifeless: Regular object. [10:40] bigjools: Isn't the explanation in bug #562451 incorrect? [10:40] Bug #562451: developer-membership-board should be able to edit ArchivePermissionSet [10:41] AFAICT, the TB can edit it because they are in ~ubuntu-drivers, which owns the primary archive, so they can do just about anything (which is pretty broken). [10:41] The only methods restricted to launchpad.Edit on ArchivePermissionSet are packageset-related, which is also pretty broken, but not the main problem here. [10:43] wgrant: yeah I was going to comment on that - the code is still wrong, but for other reasons [10:43] I mean "wrong" for philosophical reasons [10:44] AFAICT, it should all work if newPackagesetUploader and deletePackagesetUpload are moved to the block, and the DMB added to ~ubuntu-drivers... but I really don't think most of the members of ~ubuntu-drivers should have the privs they do now... [10:46] yes - see the team description [10:46] In fact, their current permissions seem to somewhere between rather stupid and horrifyling dangerous. [10:46] I am leaning towards the latter. [10:46] Yes... but that has been there for a number of years. [10:54] lifeless: No other ideas? [10:55] Oh gah, I'm sure I remember investigating __unicode__ vs. __str__ issues last python migration push, but I've forgotten the details :-( [10:56] The easy fix is to alter the expression to take /name, like all but two places in the code already do. [10:56] I am tempting to take that path. [10:56] Er, tempted. [11:00] Morning, all. [11:07] wgrant: ? [11:07] wgrant: oh right, -_unicode_- [11:08] I think using explicit accessors is clearer [11:08] I could look at CPython if you're stuck [11:08] Certainly. I'm just a bit suspicious that something deeper has broken that I might be about to hide. [11:08] * wgrant will trust the tests and just add /name. [11:23] I wonder if launchpad-code will blowup if i attach 40 MB comments to it ? [11:29] lifeless: don't know about launchpad-code, but in malone we block comments above reasonable size [11:36] lifeless: 50000 bytes is the limit I think, or 50000 characters. [11:37] ... in malone. [11:41] allenap: intellectronica: So, I guess we need an attachment facility for merge proposals. [11:41] I'll file a bug requesting that. [11:42] lifeless: sounds like a useful thing to have. as a short-term solution what we usually do it attach files to the bug corresponding to the MP and link to the attachment from a comment. [11:43] intellectronica: if there is a bug ... [11:44] lifeless: There already is one. [11:44] lifeless: You just have to submit them by email. [11:44] wgrant: for attachments ? [11:44] Yes. [11:44] lifeless, intellectronica: Actually, I think the limit is on Bug.description (sane_description CHECK constraint). As far as the data model is concerned, it might be okay for comments to be bigger. [11:44] If you attach a diff, it will even render it nicely inline. [11:44] wgrant: oh, I've just sent a mail asking for them again then. [11:45] wgrant: whats the # ? [11:45] allenap: oh, didn't realise that. that's a mis-feature, i think. [11:45] wgrant: and what do you mean 'you just have to submit them by email' ? [11:45] lifeless: As in it's already implemented. [11:45] lifeless: There is no UI to add attachments, but if one is attached to an email then it will work. [11:45] intellectronica: I think there /might/ be a comment limit, but only implemented in the app. [11:46] wgrant: I can't see them on https://edge.launchpad.net/+apidoc/devel.html#branch_merge_proposal [11:46] lifeless: The exposed API is not even close to complete. [11:46] wgrant: care to earn brownie points with me ? :> [11:47] * wgrant has a few too many things on his plate already. [11:48] wgrant: if you can bear the agony, I'm happy to learn stuff [11:48] lifeless: Why do you want it exposed on the API? [11:48] wgrant: so that PQM can attach failure subunit streams, which can be many MB in size [11:49] Ahh. [11:50] Hm, actually, only diff comments are rendered at all at the moment. Others are stored, but rendered only as HTML comments. [11:51] And... hmmmmmmmmmmm. [11:54] Is anyone knowledgeable in bizarre vcs-imports behaviour around? After being reviewed, the initial import of https://code.edge.launchpad.net/~maxb/irssi/trunk was executed 5 times immediately consecutively before it eventually "stuck" and completed for-real [11:55] maxb: bzr-svn and bzr-git initial imports are now done incrementally. [11:55] 1000 revisions in each attempt. [11:55] oh... [11:55] the UI is somewhat mystic about this [11:55] Hence the grey tick the first few times, which should have an informative tooltip. [11:56] (insufficiently obvious, but at least present) [11:56] true (on both counts) [11:59] mthaddon: did you see the pastebin mentioned above ? [11:59] wgrant: and your conclusion on attachments? [12:00] * mthaddon looks [12:00] lifeless: that seems fine [12:01] wgrant: if you're interested in what I'm doing, have a look at lp:pqm - the recent commits [12:01] mthaddon: cool [12:01] mthaddon: I intend to ask spm to try a new pqm for bzr tomorrow (and roll it back if it won't work with the current launchpadlib) [12:01] mthaddon: I wanted to check the docs would be clear enough [12:23] mwhudson/thumper: Either of you still around? [12:30] lifeless: it looks to me as though exposing attachments on merge proposals would be at least one day of solid effort on it [12:31] james_w: thanks for estimating it, thats good to know [12:31] it's possible it would be quicker, but it's all a little odd, and so isn't just a matter of writing tests and slapping exported() on it [12:33] james_w: What do you see as being odd about it? [12:34] you call a method getAtttachments that iterates through chunks on messages and checks their mime type and then returns two lists [12:34] You'd just need a bug-esque addAttachment (and probably linkAttachment). [12:34] Ah, right, for reading them. [12:34] Bugs do the same, but return only one list. [12:34] so to add an attachment you need to add a message with a single chunk [12:35] Right, which is what Bug.addAttachment does. [12:35] so an API approach needs only addAttachment; the web display will need that logic [12:35] Isn't it? [12:35] Oh, it's not. [12:35] Odd. [12:36] That actually uses a separate BugAttachment table. Strange strange strnge. [12:37] oh, it does attach it to a message though, so not as different as I thought [12:37] once again, yay for reinventing comments/attachments/etc. [12:37] There's already a factory method to create the necessary message (I used it a few minutes ago), so it's probably just a matter of shuffling it around. [12:38] yeah [12:38] And maybe strangling the next person who invents a new comment system. [12:38] oh, the description of the attachment is actually the comment that it is attached to? [12:38] interesting [12:38] Hm? [12:39] In which system? [12:39] bugs [12:39] IBug.addAttachement takes comment=Text() [12:40] That's the text of the comment to be attached to, right. [12:40] ah, I'm talking nonsense, ignore me [12:41] I was confusing comment and description [12:41] s/description/title? [12:41] It's title in the DB, at least. [12:41] description in the API [12:41] * wgrant is confused now too. [12:41] Yay. [12:42] but yes, code attachments are sufficiently different that there's not a great deal you could take to implement code attachment addition [12:42] I forgot the two systems were so different :/ === mrevell is now known as mrevell-lunch === matsubara-afk is now known as matsubara [13:41] gmb, is bug 546774 qa-able really? Or just passing a test run is sufficient for this? [13:41] Bug #546774: BugWatchActivity.result should be NOT NULL [13:42] deryck, Well, we can quickly QA the db patch. I'll ask a LOSA once one comes free. [13:42] deryck, But actually, there's probably no point, come to think about it [13:43] deryck, I think we can mark it qa'd [13:43] * gmb does [13:43] gmb, yeah, that's what I wondered, if it really had any value. Thanks! [13:45] heh, we've emptied the landed/qa queue and filled it up again. [13:45] at least we're being productive [13:45] danilos: Can you provide a log of your 'make run' 'pydoc2.4' issue? FYI, the problem is that somehow the value of PYTHON_VERSION isn't being passed down from the root Makefile to the pygettextpo Makefile [13:47] maxb, sure, though after a successful make it doesn't complain anymore so I am doing it in a new branch [13:47] maxb, btw, it dies on the 'make' rather than 'make run' [13:47] maxb, and the output I have seen was totally uninteresting (though, might give you a tip: it happens in pygettextpo) [13:48] maxb, it seems it might have been stale sourcecode as well [13:50] maxb, yeah, it works just fine now [13:50] The pygettextpo sourcecode branch contains PYTHON_VERSION = 2.4 in its Makefile. This isn't a problem, because when the root makefile recurses into sourcecode, it passes its own PYTHON_VERSION as an override to the sub-make [13:51] maxb, well, that's where it was trying to execute pydoc2.4; it doesn't anymore, perhaps I need to change some timestamps so make wants to run it again === mrevell-lunch is now known as mrevell [13:53] wfm in a completely clean environment, so I think it was just staleness hitting you [13:59] maxb, yeah, I've tried after doing 'make clean' in pygettextpo and it still works and even rebuilds docs correctly [14:22] jelmer (author), rockstar (reviewer): Regarding the cscvs "Set the 'converted-from' revision property." change landed on 2009-12-07. It appears it never got used, because sourcedeps.conf was not updated. I now have a later change to cscvs I want activated. Can you advise on the suitability of that change to go live? [14:23] maxb: heh, whoops [14:23] maxb: I guess any external users of cscvs would've been using it though [14:23] Do any of those exist? :-P [14:23] maxb: There's no reason for the converted-from change *not* to go live [14:24] I'm a bit unclear on the policy for bumping revnos in sourcedeps.conf. Does it need a review, or do I just need to get someone to rubberstamp and land? [14:28] noodles775, ping [14:29] deryck: hi [14:33] maxb: I *think* you just need a review given the original change has been reviewed by a launchpad reviewer already [14:34] maxb: it's probably different for projects in sourcecode that aren't maintained by launchpad-pqm [14:35] ok, I'll put a branch up that bumps the revno to include yours and my changes, and leave it to OCR discretion whether to r or rs [14:45] * wgrant points at bug #562943, and bugs Bugs people to unbreak notifications [14:51] wgrant, that bug is on MPs, not bugs, or I'm reading it wrong? [14:51] deryck: The bug is Code, but it is probably Bugs' problem that there will have been no notifications about it. [14:51] Security bugs against Launchpad go into a black hole. [14:52] Nobody except the reporter and a list that is never read get notified. [14:52] ah, I get what you mean now. Yeah, that is likely on us. [14:52] wgrant, is there a bug about that then, about the black hole? [14:53] deryck: It's probably not so much a bug as a config issue. [14:53] A config issue which exists because the Launchpad notification system is pretty awful. [14:53] wgrant, right, agreed. But still would be nice to have a bug to track the issue and see if better general solution couldn't be found. [14:56] intellectronica, can you do a quick pre-imp about bug 556499 now? [14:56] Bug #556499: Set user expectations for Ubuntu bugs after user reports a bug [14:58] deryck: sure. just give me a sec to get on skype again [14:58] intellectronica, great, same for me. thanks! [15:00] abentley: Bug #562943 may interest you. [15:00] deryck: ready when you are === Ursinha-afk is now known as Ursinha [15:08] hi gary_poster, I know you're busy now, but for you to answer later :) I've seen about 200 daily oopses like this one: https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1564CEMAIL1, I wonder if it's the same problem as bug 54005 but with a slightly different symptom? [15:08] Bug #54005: bugs.launchpad.ubuntu.com email ending up in Launchpad mailbox [15:13] Ursinha: I have no idea, unfortunately. stub, are you around and available to look at what Ursinha wrote and share a guess? [15:13] * stub has a look [15:14] I'd say the OOPS system is rooted [15:18] stub, uh? [15:18] The OOPS is almost entirely blank. There is an email listed though, which if I examine looks like it was sent to noreply@ubuntu.com but delivered by the mail system to launchpad@mail.canonical.com [15:18] Have a look at that oops [15:18] Traceback: None None Traceback (most recent call last): None [15:19] I guess it is a handled error that we are just dumping to an OOPS for reporting? [15:19] stub, I did see oops. I didn't know what to think of it either. So you think we have a security compromise on the OOPS machine? matsubara, any thoughts? [15:20] I don't see a security compromise anywhere. [15:20] sorry, then what did you mean by "rooted" [15:21] * gary_poster looks up australian definitions :-) [15:21] * gary_poster thinks he understands [15:21] "broken" [15:21] yes :) [15:21] :-) k [15:21] hehe [15:22] I think it's the same issue described in bug 54005 [15:22] It looks like a wiki update email was sent to launchpad@mail.canonical.com, and our mail processor doesn't know how to handle it. [15:22] Bug #54005: bugs.launchpad.ubuntu.com email ending up in Launchpad mailbox [15:22] I have no idea why that email was routed to us, but as it isn't our wiki and as it isn't our email infrastructure it is just another piece of spam [15:23] stub, matsubara it felt lke it was something like that [15:23] ok [15:23] 4 [15:23] Argh. [15:25] so Ursinha, yes, I think it is similar. I'll add matsubara's and stub's comments. [15:25] matsubara: why would that OOPS be blank? Is the source file blank, or does this indicate a problem? [15:25] gary_poster, that's another bug that Ursinha found. bug 230106 [15:25] Bug #230106: emails interface oops reports need better error messages [15:25] yeah, that :) [15:26] wgrant, irssi? :) [15:26] That is an old, old bug. Its a bit of an assumption to think they are the same (I have no idea if that old one is still valid - I don't even remember opening it 4 years ago!) [15:26] Ursinha: Of course. [15:26] 54005 I mean [15:26] stub, c'mon, I don't remember bugs I opened last month... [15:26] stub, ack. [15:27] Ursinha, matsubara: 230106: ok, cool (for some definition of cool :-) ) [15:27] in any case, it would be good to have bug 230106 fixed [15:27] Bug #230106: emails interface oops reports need better error messages [15:27] hi deryck :) [15:27] heh [15:27] The referenced email in the bug is gone too - garbage collected a few years ago probably :) [15:28] heh [15:28] * deryck sees name and "heh" and gets nervous [15:28] lol [15:29] :-) [15:29] stub: can you make a dump of prod for me to refresh mawson please - it should be quicker than 2 weeks to restore this time I hope? :) [15:29] deryck, we've been having 200 oopses with "None: none" content, how difficult would it be to fix that bug? [15:30] deryck, bug 230106, that is [15:30] Bug #230106: emails interface oops reports need better error messages [15:31] Ursinha, I really have no idea what's involved, sorry. I wasn't aware of that bug until now. Does this mean we have places in the bugs app where we just raise a bare Exception? And we need something specific? [15:32] deryck, to be hones I don't know why is it assigned to bugs, but that bug would be to avoid oopses like https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1563CEMAIL1 to be empty as they are [15:32] *honest [15:32] bigjools: Better if the losas do - I don't have the keys setup [15:32] (this could probably be scheduled) [15:33] stub: it's somewhat awkward on mawson but maybe [15:33] Ursinha, ah, it's to do with errors we raise when failing on bugs email, I think. [15:33] anyway I'll ask them, cheers [15:34] permission denied (public key). Yer. [15:34] * stub wonders what he broke [15:35] Ursinha, so good and bad news -- bad, we won't fix this ASAP, but we can look at it as part of our better subscriptions/notifications story coming next month. [15:36] deryck, that's much better than nothing :) [15:38] in the meantime, gary_poster and stub, could you investigate that issue, please? [15:39] gary_poster, there's another oops to which I just filed a bug, bug 563055 [15:39] Bug #563055: Mail parsing failing with ValueError [15:40] Ursinha: 54005: There are a lot bigger things floating around, I'm afraid. Maybe given the number of OOPSes we'll be able to get to it in a few weeks. I added the notes to the bug. [15:40] looking at other one [15:43] Ursinha: 563055: that's a spam message. low priority unless the OOPSes are high for this. Are they? [15:44] gary_poster, we had 36 yesterday [15:44] ... [15:44] gary_poster, but none today [15:44] so it's intermittent [15:44] (?) [15:44] just not sure how to treat then :-) [15:44] thank you [15:45] gary_poster, no problem, thanks for taking a look in all these issues [15:45] np thank you [15:45] also thanks deryck and stub [15:46] np === danilos is now known as daniloff [15:54] gary_poster, re. bug 563055 I spoke too soon, I see 25 oopses today; not much, just correcting my previous statement [15:54] Bug #563055: Mail parsing failing with ValueError [15:55] ack Ursinha thank you [15:56] does anybody (maybe leonardr, flacoste, or gary_poster) know anything about bug 512832 in lazr.restfulclient? i'm getting hit by this but it's fix released, i'm assuming in lazr.rc 0.9.13. however lucid appears to have 0.9.11. do we need to push an update to lucid? [15:56] Bug #512832: launchpadlib caches based on full URL [16:00] barry: I know this keeps biting us in one way or another but AFAIK the current status is still fix released. It does look like this was fix committed on 2010-02-16, and 0.9.11 was released on 2010-02-11, so it seems pretty clear that at least something sooner is needed. [16:00] leonardr would need to provide more confidence. [16:01] s/would need/could/ [16:01] gary_poster: i think you mean s/sooner/later/ ? :) [16:02] barry: yes, I was actually trying to say "more recent" :-) [16:02] gary_poster: :) [16:02] i'm happy to help push out 0.9.13 if you guys don't have time for it. i'd really like to have this fixed asap [16:02] gary_poster: but i'll wait to see if leonardr responds... [16:03] barry: your help would be much appreciated, of course. [16:04] gary_poster: cool. i'll take a look at this later today [16:04] thanks [16:13] gary, are you sure it's not bug 545197? [16:13] Bug #545197: Cache filenames are (still) too long for ecryptfs [16:13] s/gary/barry/ [16:13] leonardr: that's what I meant by "it keeps biting us" [16:13] yeah [16:14] 0.9.13 should get rid of it for good, and if not, it makes it easy to hack the maximum file length [16:14] leonardr: could be. 563065 what what a quick search found. i will at least put 0.9.13 in my ppa and give it a try [16:14] i do have my home dir crypted [16:23] sinzui, hi, I'm trying to reproduce https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1564B963 but no luck, do you have an idea? [16:32] leonardr: Any chance of fixing bug #401990 some time soon? It makes it pretty awful for non-Ubuntu users to use launchpadlib. [16:32] Bug #401990: Depends on lazr.restful === matsubara is now known as matsubara-lunch [16:33] gary, is that something we can fix given the current state of buildout? [16:36] leonardr: ...I'm not sure on how buildout impacts it. If lazr.restfulclient really doesn't need lazr.restful, we ought to be able to just remove the dependency from setup.py and move on. Does it only depend on it for tests, perhaps? [16:36] gary: yes [16:36] it's a test dependency [16:36] i brought this up a while ago and iirc the conclusion was 'buildout sucks, let's do it later' [16:36] I'm sure I've seen other ZTK packages specify test deps. [16:37] wgrant, if you can point me to an example that would help a lot [16:37] leonardr: I don't think buildout has anything to do with it. We could easily have buildout require lazr.restful for tests, and then remove the core dependency. However, philosophically, that means we don't have any assurance that lazr.restfulclient really works without that dependency (and even it's dependencies!). Therefore, I kind of hate that approach. [16:38] Perhaps there us a middle ground. [16:38] is [16:38] gary_poster: Well, depending on lazr.restful brings in dozens and dozens of completely unnecessary ZTK. [16:38] An option I've done in the past is to define two test suites [16:38] i was going to suggest something like that [16:38] One test suite verifies basic operation with only standard dependencies... [16:38] ok [16:39] yeah, I'd be fine with that [16:39] we do have some tests in lazr.restfulclient that run against fake wsgi 'web services' [16:39] they don't do anything, but they prove that basic lazr.restfulclient functionality works [16:39] I'd be much happier with that. then. [16:40] (sigh, s/it's dependencies/its dependencies/) [16:42] if you're ok with me doing so, i will look into this after the first stage of performance work is done (which could be today) [16:44] leonardr: I'm fine with that. I added notes and comments to bug report. [16:44] ok [17:03] I have decided, strategically, that my day will be better if I have some chocolate. [17:03] :-) [17:05] I think sharing would be a good strategy [17:06] * gary_poster envisions willy wonka and the chocolate factory, sending chocolate over TV^D^Dthe internet === deryck is now known as deryck[lunch] [17:26] jelmer, hi, is soyuz team aware of this oops? https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1564L1960 [17:28] Ursinha: hi [17:28] Ursinha: I can't remember seeing a bugreport about it, so I don't think we are [17:28] jelmer, I'm filing one :) [17:28] Ursinha: Thanks! === matsubara-lunch is now known as matsubara [17:31] jelmer, bug 563176, thanks! :) [17:31] Bug #563176: OOPS accessing a distroseries binary package in a +source page [17:38] rockstar or abentley: I tried to register code mirror of an svn: scheme and got "The URI scheme "svn" is not allowed. Only URIs with the following schemes may be used: bzr+ssh, ftp, http, https, sftp". That's new--I've imported svn: schemes many times before. :-/ Why the change? [17:38] zope's svn traditionally only supported the svn: and svn+ssh: schemes [17:38] gary_poster, you don't want a mirrored branch, you want an import branch. [17:39] rockstar I don't see that option on, for instance, https://code.edge.launchpad.net/zope.event/+addbranch [17:39] gary_poster, imports don't follow the same flow (stupid, I know) [17:39] :-) [17:40] gary_poster, https://code.edge.launchpad.net/+code-imports/+new [17:41] rockstar: ah. I used mirrored branch to create https://code.edge.launchpad.net/~gary/z3c.recipe.filetemplate/svn and it worked fine [17:42] so something changed [17:42] gary_poster, did you do it just now? [17:42] rockstar: five days ago it worked (created that branch then) [17:43] and just now it failed (from +addbranch) [17:43] * jml back to hacking [17:43] gary_poster, *shrug* no idea. I'm pretty sure it shouldn't have worked the first time. [17:43] huh [17:43] ok [17:45] so rockstar maybe last question then ;-) how can I tell if this is using bzr-svn or cscvs (or whatever it is)? If it is using the old juice, how do I (or other people) convert it to the new bzr-svn juice? [17:45] https://code.edge.launchpad.net/~vcs-imports/zope.deferredimport/trunk [17:45] gary_poster, all new svn imports are using bzr-svn [17:46] rockstar: right, this was an old one, 2008. so it is cscvs. is the upgrade path to delete and recreate? [17:46] gary_poster, and unless the cscvs import is failing, we aren't currently converting them, since it's basically just rebasing the branches (bad bad bad bad bad) [17:46] gary_poster, if you're the only one using the branch, delete and recreate is probably fine. Is there something wrong with the branch? [17:48] rockstar, no, but zope folks seem to be interested in trying out more of the code-hosting bits, and in my experience the cscvs imports are much more fragile than the bzr-svn imports. For example, with my bzr-svn imports I can push svn branches to LP and do MPs and everything Just Works in a reallt nice way (except externals, of course :-/ ). I want them to have a similar experience. [17:49] gary_poster, this is absolutely true. I agree that we should put our best foot forward. [17:49] If there's no real fallout from it, let's do it. [17:50] rockstar: ack, thank you. I'll see if I can determine fallout. :-) === gary_poster is now known as gary-lunch === mpt_ is now known as mpt [18:03] Given that cscvs and bzr-svn will generate different revision-ids, the *only* upgrade path is move-aside and recreate. [18:03] james_w, I jinked myself. a gentoo user reported another bug about source packages: Bug 563195 [18:03] Bug #563195: distrotask: lp fails to recognize many gentoo packages in "source package name" [18:06] heh === deryck[lunch] is now known as deryck === beuno is now known as beuno-lunch [18:27] I'll fix the conflict between db-devel and stable [18:40] is there any particular reason the 'combine_css' operation in the Makefile isn't specified as the CSS file it creates? [18:43] hmm, I see. the 'combine-css' script uses a lazr.js method that duplicates some of make's logic. [18:45] gary or james_w, can you give me some guidance on setting up a test dependency? i'm following http://reinout.vanrees.org/weblog/2009/12/17/managing-dependencies.html but just setting up an extras_require stanza isn't working [18:45] can you point me to an example? [18:49] (tests_require also doesn't work btw) [18:51] intellectronica, still around? [18:54] ok, i think i figured it out... === beuno-lunch is now known as beuno === gary-lunch is now known as gary_poster === dpm is now known as dpm-afk [19:20] leonardr, what was the issue? [19:20] leonardr, worth adding a note to doc/buildout.txt? [19:20] jml: i didn't know how buildout worked [19:20] leonardr, ahh ok :) [19:20] i'm getting my test suite working and then i'll need to ask you some more questions about how buildout works === EdwinGrubbs is now known as Edwin-lunch [19:29] jml: ok, my question is now formulated [19:29] well, let me look at buildout.txt first. is that in launchpad? [19:35] deryck: looks like i missed your ping earlier. sorry! still relevant? [19:36] leonardr, yeah, it's under the root doc/ folder [19:36] leonardr, it's been able to answer maybe 90% of my buildout questions [19:37] intellectronica, hey, yeah, so please look at line 71 of the green of this rev: http://bazaar.launchpad.net/~deryck/launchpad/bug-count-filters-503222/revision/10234 [19:37] * maxb chuckles at [r=jfdi] [19:37] intellectronica, does that "
" to create space bother you in this context? [19:39] deryck: no, i think it's a fine pragmatic solution. if you want to be really pedantic you can add a tal:comment explaining why it's there. [19:39] intellectronica, ok, I'll do that. I want a better way, but give all the tables there anyway, it seems the cleanest for the moment. [19:40] cool [19:40] maxb: :D [20:37] mwhudson, ping [20:40] jml: hi [20:40] mwhudson, I've got a couple of branches that need review. I think you'd be the perfect reviewer. [20:41] jml: ok [20:41] jml: feel free to request a review on launchpad [20:41] mwhudson, done [20:42] mwhudson, one of them is slightly over 1000 lines, but that's just moving stuff around [20:42] jml: yeah well, only people on your side of the world care about that [20:43] mwhudson, :\ [20:46] mwhudson, I still haven't figured out European code review. [20:49] there is *a* European code review standard ? :-P [20:51] jelmer, yeah, those guys in Brussels think of everything [21:13] g'night all === Edwin-lunch is now known as EdwinGrubbs === dpm-afk is now known as dpm [22:22] notifications fail :) - http://imagebin.org/93049 [22:25] well, not exactly new [22:25] thanks for doing those approvals though [22:25] I know [22:25] I just laugh every time it happens - I pointed it out in dev [22:25] and stub was 'meh, it will hardly ever happen' [22:27] the reason I'm donig them is that tres did something annoying [22:27] registered 50 [22:27] and then renamed them all [22:27] so the email links we were sent were stale [22:27] Did stub's changes test commit changes make the test suite about an hour faster? [22:28] I have stuff landing in less than four hours now! [22:31] Any LOSAs around? buildd-manager is ignoring some buildds. === matsubara is now known as matsubara-afk [22:32] Total: 25792 tests, 25 failures, 9 errors in 204 minutes 11.495 seconds. [22:32] Python 2.6 approaches... [22:32] lifeless: ah yes, that's (arguably) because we don't allow you to set the owner on the new code import page [22:32] (there's a bug about this, i think) [22:33] ok nothing pendnig review [22:37] lifeless: thanks [22:38] the magic of tabs [22:38] Do we have a LOSA at the moment? [22:38] wgrant: mbarnett and/or Chex should be around [22:38] wgrant: i just returned from feasting [22:39] mbarnett: Ah, your idle time did not raise my hopes. [22:39] mbarnett: Can you check buildd-manager's log for any obvious strangeness? ia64, powerpc and sparc builds are not dispatching at the moment. [22:40] Which does not make Ubuntu release managers very happy. [22:40] yup, taking a peek [22:40] Thanks. [22:40] lamont has been pinged, but appears to not be around. [22:45] wgrant: yeah, he has EODd. i am not seeing anything obvious in the sequencer's logs [22:45] wgrant: though my unfamiliarity might be a liability here :) [22:46] mbarnett: No recent log entries mentioning artigas or sejong? [22:49] wgrant: 2010-04-14 19:45:17+0100 [-] Processing successful build 1691253-3345351 from builder artigas [22:50] wgrant: nothing recent from sejong [22:51] mbarnett: Argh. [22:52] that doesn't sound happy at all! [22:52] Indeed... some archs are rather behind, and we are dangerously close to release. [22:53] wgrant: do you think this warrants restarting the sequencer to see if that picks up the ignored jobs? [22:53] Without lamont, I guess the next thing to try is, in Python, "import xmlrpclib; xmlrpclib.ServerProxy('http://artigas.buildd:8221/rpc').status()" on cesium, and see what the buildd thinks its doing. [22:53] mbarnett: Unlikely. It's not *that* shoddy :P But we could try that if all else fails. [22:55] artgias isn't doing anything [22:55] wgrant: BuilderStatus.IDLE [22:55] but it is getting poked by the build manager [22:55] god I wish that thing had better logging [22:55] I mean srsly [22:57] elmo: We improved logging a *lot* for 10.03. [22:57] But it might still need to be flipped into DEBUG for it to tell us why it is ignoring a few of them :/ [22:57] mbarnett: Sad. That's normal. [23:11] wgrant: Hi. Do you find attaching test logs to the wiki page is useful? I find that the layer-by-layer list of issues is what usefully displays progess and suggests action [23:11] maxb: I was going to get to that eventually. Just got to deal with a couple of other bits and pieces first. [23:12] sure. I was thinking of tacking the tarfile nonsense next. [23:12] *tackling [23:12] Yeah, that's the big one. [23:14] mwhudson: Any ideas on the Mercurial failures on https://dev.launchpad.net/PythonMigrationStatus? [23:14] Fortunately it's a fairly shallow problem [23:14] I suspect that once we fix TestMercurialImport.test_import, the rest will magically vanish too, but I haven't dealt with import slaves before so I don't know where to start [23:14] mwhudson: note that they seems to randomly oscillate between mercurial and git in different test runs [23:15] maxb: What do you make of bugs-emailinterface.txt? It looks to me like the test is testing for broken behaviour!? [23:15] maxb: um, no not really [23:16] wgrant: Well, I guess the question is "why has the behaviour changed?". I've not looked into that one. [23:17] maxb: so it's not reliably reproducible? [23:17] mwhudson: *something* fails in that layer every time I've seen, but it varies whether it's the git tests, the hg tests, or both [23:18] When running just the hg tests locally I've not seen them not fail. [23:25] I am really starting to hate the author of the tarfile module [23:25] it's not one of the most pleasant modules to use [23:25] I dropped it in favour of shelling out to tar eventually [23:25] It seems to break its interface every python version [23:26] that's what code imports do too [23:26] Also, the author refuses to make it safe to extract things with. [23:27] thumper: ping [23:28] wgrant: I know the bug you're referring too; I don't think its that simple a refusal. IIRC he said roughly 'this is the same as tar itself' [23:28] wgrant: just do filename checks in a loop; its not hard. [23:28] lifeless: But it's not the same as tar itself. [23:29] It has had the symlink and directory traversal vulnerabilities fixed for years. [23:34] maxb: ugh, i can only really suggest debugging via printf or something then [23:35] I've added a sleep just before the failure, and it looks like hg.tdb is there, but not hg-v2.db. [23:35] Odd. [23:35] oh [23:36] i guess you have python-tdb installed? [23:36] Ahahah. [23:36] And it's only for 2.6 [23:36] So it uses tdb in preference? [23:36] yeah [23:36] though [23:37] i thought we mostly avoiding importing things from the system locations now? [23:37] maybe i'm confused [23:37] We all know that doesn't work very effectively. [23:37] * wgrant removes python-tdb and reruns the tests. [23:38] tdb allows concurrent access and is a bit faster than sqlite [23:38] sadly bzr-hg doesn't really work :) [23:38] Oh look, the tests pass now. [23:39] ugh ugh ugh. system-environment-dependent test -- [23:39] jelmer: Can we tell bzr-hg to not use tdb somehow? [23:40] We could patch our sourcecode/ bzr-hg [23:40] wgrant: not at the moment, other than patching the source [23:41] i think that's probably sane [23:41] i guess the bzr-git code is now safe from this because it works at the directory level [23:41] * mwhudson vanishes, back online in a bit (subject to cafenet working today...) [23:42] jelmer: Will we want to use tdb soonish? [23:43] wgrant: we is hoping that jam finishes his pack collection refactoring soon so that we can use native bzr objects [23:44] jelmer: Ah, OK. So I guess it is semi-reasonable to just hack the sourcecode copy temporarily until it goes away. [23:45] 44444444444jjj~. [23:45] wgrant: yes