[00:00] mwhudson: Once the build finishes, buildd-manager should copy it into an upload directory and set the status to UPLOADING. [00:00] i wonder how much faster the chroot would unpack on arm if it was gzipped not bzip2ed [00:00] We then need to run a separate script to upload it. [00:00] ah right, this is the stuff that's changed recent [00:00] ly [00:00] Like 8 hours ago, yes. [00:01] So I haven't run it yet. [00:01] * wgrant fixes that. [00:01] speaking of changes [00:01] I'm now running a couple of ec2 runs with my new, improved ec2 error mail [00:05] email looks something like: http://paste.ubuntu.com/497325/ [00:06] wgrant: it's "Uploading build on Bob The Builder" now [00:06] (this looks like progress) [00:07] mwhudson: Excellent. [00:07] So, now you need to run... [00:08] scripts/process-upload.py ? [00:08] ./scripts/process-upload.py --builds -C buildd -vvv /var/tmp/builddmaster [00:08] I think that should work. [00:08] * mwhudson tries science [00:09] wgrant: http://pastebin.ubuntu.com/497326/ [00:09] mwhudson: I think it worked. [00:10] not quite sure what the bottom two bits are about, probably from the fun i had yesterday [00:10] Except that there were two other uploads from the breakage yesterday. [00:10] Does the build have binaries listed now? === matsubara is now known as matsubara-afk [00:10] wgrant: yes [00:10] lifeless, hello [00:11] process-accepted, publish-distro? [00:11] mwhudson: OK, so it's all working. [00:11] Right. [00:11] lifeless, I'm in an oops tools minisprint with matsubara-afk [00:11] wgrant: if you edit the page, you might want to scatter some -vv s around i think [00:11] Ursinha: hi [00:11] mwhudson: I might indeed. [00:11] Ursinha: I am blocked; I need a hand [00:12] Ursinha: I cannot diagnose why https://devpad.canonical.com/~lpqateam/qa_reports/launchpad-stable-deployment.txt shows 11557 as qa-notok [00:12] although wow scripts/publish-distro.py --ppa -vv is noisy [00:12] Ursinha: I *thought* we had more output than that. [00:12] mwhudson: Most of it was still written on July 22nd last year, so it's not exactly as I'd do it now! [00:12] Ursinha: and I'm wondering where it goes so that I can see it., [00:12] wgrant: :) [00:12] Ursinha: (and the rest of the canonical staff should be able to look at it too) [00:12] lifeless, take a look here: https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html [00:12] and yay, i can download a build [00:13] mwhudson: Is p-a happy? [00:13] Ursinha: that looks old [00:13] wgrant: seems so [00:13] Ursinha: because 11555 is live on production [00:13] lifeless, it's not final, just showing you what must be the report [00:14] Ursinha: let me try a different angle. [00:14] Ursinha: we *had a totally useable debug report* [00:14] Ursinha: what happened to it? [00:14] lifeless, wait, I need context, reading devpad logs [00:15] been in a totally different context the whole day [00:15] Ursinha: ok, lets start over. [00:15] lifeless, just give me a moment [00:15] anyway, see you crazy cats later. [00:15] Ursinha: hi, I've been doing CP's to lpnet based on the qatagger output; and getting folk to QA stuff as needed for ut. [00:15] *it* [00:15] Ursinha: sure; /me hits the pause button [00:15] thanks :) [00:17] wgrant: it seems to have worked [00:18] mwhudson: Great. [00:18] mwhudson: Docs updated. [00:18] With the new process-upload invocation, and liberal application of -v. [00:19] lifeless, when was 11555 deployed? [00:19] lifeless, please, refresh the html report [00:19] Ursinha: this morning [00:19] lifeless, always consider the txt report accurate [00:20] the html one is experimental [00:20] Ursinha: so, I think we want to keep the txt report as it is too - because its safe to show e.g. wgrant [00:20] Ursinha: whereas the html report can potentially report on security bugs [00:20] lifeless, not sure what you mean; txt are for losas, html for developers [00:20] Ursinha: but the html still doesn't address my question [00:20] roughly speaking [00:21] Ursinha: why is 11557 blocked? [00:21] lifeless, I need to finish some tests and will put that in production, so we'll have both [00:21] wgrant: thanks for the help [00:21] Ursinha: it wasn't mentioned by the commit message [00:21] lifeless, linked to the branch [00:22] Ursinha: its an in-progress bug later on the branch [00:22] the problem I told you reusing branches would cause [00:22] fair enough [00:22] mwhudson: np [00:22] there's a bug open to support this better though? [00:22] because neither ec2 or bzr lp-land or the tagger support this use case [00:22] lifeless, of course [00:22] Ursinha: coolio [00:22] librarian downloads are slow :( [00:22] I wonder why. [00:23] Ursinha: could you please tell the txt report to refresh ? [00:23] lifeless, the HTML report says bug 618375 has not been QA'd. the 'qa-notok' status should really be 'qa-needstesting'. However, the bug has no tags? [00:23] <_mup_> Bug #618375: BugTrackerSet:+index consistently slower than 10 seconds [00:23] lifeless, bug 638468 for ec2 land, bug 640566 [00:23] <_mup_> Bug #638468: ec2 land: do not include already fix-committed or fix-released bugs in commit message [00:23] Ursinha: I recognise I'm shooting myself in the foot [00:23] <_mup_> Bug #640566: qa-tagger should not consider linked bugs to branches when bugs are already Fix Released [00:23] for qa-tagger [00:23] mars: it has no tags because its from later on; its further work. [00:23] yes, hehe [00:23] that's what reusing branches cause [00:23] Ursinha: the big reason to handle reused branches properly is developers shouldn't need to remember if they used the name before. [00:24] but I'm working on a workaround [00:24] Ursinha: we should 'just work' [00:24] Ursinha: cool, and thanks. [00:24] lifeless, that's fine, I'm just saying this case wasn't considered [00:24] yeah [00:24] Ursinha: theres another case I think we missed. [00:24] look at rev 11566 [00:24] and that's why such things are happening [00:24] wgrant: what does [00:24] this was one part of a 2-part branch [00:25] 2010-09-20 23:24:03 WARNING Upload was rejected: [00:25] 2010-09-20 23:24:03 WARNING nominatedarchindep is not present in legal_archseries: armel [00:25] mean? [00:25] oh i think i know [00:25] the upload contains _all packages and i only have a armel builder configured [00:25] What's nominatedarchindep set to? [00:25] lifeless, let me see [00:26] no idea [00:26] it's on distroseries? [00:26] It should be on distroseries:+edit [00:26] Or maybe +admin. [00:26] Set it to armel. [00:26] Ursinha: so this is fixable by a rollback [00:26] Ursinha: -or- by doing a fix [00:26] ah, wasn't the package i wanted to build anyway [00:26] Ursinha: so we need a matching thing like rollback=11566 fixes=11566 [00:27] Ursinha: same logic for the tagger - can only deploy 11566 with the fix-for-11566, but humans would be confused by a rollback=11566 [00:27] Ursinha: lastly, we also need to be able to annotate this things after the fact: commit messags are nice, but we make mistakes. [00:28] lifeless, if we're reusing branches, I need to rely in commit messages [00:28] Ursinha: that seems orthogonal to me. [00:28] for commit messages to be reliable, i.e. only contain valid in progress bugs, people all need to use ec2 land or bzr lp-land [00:29] wgrant: +edit and +admin look basically the same (?) and neither have nominatearchindep [00:29] lifeless, qa-tagger needs to consider something besides linked bugs to branches [00:29] Ursinha: perhaps. We're iterating here, I recognise that. [00:29] Ursinha: now that we have something working - and it is, cause we're deploying :P - we're finding out things that were not obvious up front [00:30] yes :) [00:30] that's nice [00:30] I was expecting that [00:30] I've very excited and happy with what we've achieved so far. [00:31] lifeless, me too [00:31] lifeless, next step is to make html reliable and available, after that fix this problem of reused branches (that's messing with old bugs, argh) [00:31] mwhudson: Maybe you'll need to set it with SQL. [00:32] wgrant: yeah, maybe [00:32] Ursinha: part of the issue there is the many week delay between landing and deploy, as that gap narrows it will be easier. [00:32] I'm boring and just use i386. [00:32] it wasn't the package i wanted to build though, so i don't really care [00:32] agreed [00:32] * mwhudson is building pyton2.6 so he can compare build times with the official builders [00:33] lifeless, what's the problem with 11566? that's an incremental qaable fix, right? [00:33] Ursinha: thanks for interrupting your sprint; I think I'm good now, I know hat to look for for more revs [00:33] so the bug will be qa-needstesting [00:34] lifeless, it's late now, 8h40PM [00:34] I have to take matsubara-afk home :) [00:34] Ursinha: no, the branch is broken [00:34] lifeless, is the bug qa-bad? [00:34] Ursinha: if its rolled out without its second half it will break. [00:34] hm [00:35] I put bad-revision-11566 in the bug tags [00:35] Ursinha: 5 *6* 6 , not 5 *5* 6 [00:35] lifeless, I know [00:35] (I got confused between them yesterday :P) [00:36] lifeless, so it shouldn't be committed without the second part? why only half of the fix was committed? [00:36] lifeless, hehe [00:36] I almost did now :P [00:36] Ursinha: it wasn't meant to be [00:36] Ursinha: it was reviewed in two parts, meant to be landed in one. [00:36] sorry bad-commit-11566 [00:36] lifeless, right, so we should tell developers to don't do that [00:36] hah [00:36] first of all [00:37] yes, I agree its undesirable. [00:37] lifeless, I can't make the script work without some assumptions :) [00:37] or I'll spend 90% of the time trying to teach it how to workaround bad use of the process [00:37] but I understand it has to be considered [00:38] agreed [00:38] so you think using the same mechanism of rollback tag should work [00:38] I agree [00:38] that would be nice exercise of the script, btw [00:38] https://devpad.canonical.com/~lpqateam/qa_reports/launchpad-stable-deployment.txt [00:39] Ursinha: I'd really like to see the other output from the script [00:39] Ursinha: can you get it to go to the same file, or a different file? [00:39] you know the stuff where it says what revs it looked at as it goes and so on. I know its not pretty, but its very helpful. [00:39] what's the other output? the html one? [00:40] Ursinha: no, there were debug messages [00:40] ah [00:40] AH [00:40] I see [00:40] you want the true log [00:40] :) [00:40] yes! [00:40] :) [00:40] debug log, cool [00:40] wallyworld: thumper: https://bugs.edge.launchpad.net/launchpad-code/+bug/404131 needs QA [00:40] <_mup_> Bug #404131: tales linkify create broken links [00:41] lifeless: ack [00:56] lifeless, https://devpad.canonical.com/~lpqateam/qa_reports/qa-tagger-stable.log [00:57] Ursinha: \o/ [00:57] :) [00:57] lifeless, should be there from now on [00:57] Ursinha: thank you! [00:58] lifeless, my pleasure, sir :) [00:58] now when 404131 is qa'd we should have another big batch CP'ing today [00:58] yay [01:00] hi, happy performance tuesday! [01:01] wallyworld: good question! [01:05] istr there's a way i can run process-mail.py feeding it from a test mailbox [01:05] to interactively test gpg/dkim stuff [01:05] is that true? [01:06] lib/canonical/launchpad/doc/mailbox.txt [01:10] thanks [01:58] lifeless: I've received an ec2 failure regarding runJobHandleError and with a Fake exception. Did you work on that last week or so? [02:00] bdmurray: I changed some code in that area [02:00] pastebin ? [02:03] https://pastebin.canonical.com/37437/ [02:03] lifeless, hey [02:04] lifeless, thought about one workaround for 11566 [02:04] lifeless, if we wait for the second branch to land, just leave it as qa-needstesting [02:04] when the second branch lands, it will mention the same bug, and it will be QAable [02:04] as soon as this bug gets then QAed ok, the first revision will be marked as ok to land [02:04] voila [02:04] Ursinha: right, but we need to make sure that nothing lands without both. [02:05] the bugs ensures that [02:05] Shouldn't the first branch just never land? [02:05] *bug [02:05] Ursinha: how so ? [02:05] wgrant, land in qa environment [02:05] not production [02:05] bdmurray: try with https://code.edge.launchpad.net/~lifeless/launchpad/lessGetLastOops/+merge/35994 merged in [02:05] lifeless, the first and the second branches mention the same bug [02:05] If the first branch is going to break things, it should never even hit devel alone, probably. [02:06] Ursinha: yes, but a branch in the middle might be bad [02:06] wgrant, but it's only known as breaking things because it's already in the qa instance [02:06] lifeless, what do you mean? [02:06] Ursinha: In 11566's case it was known that it would break things. [02:06] wgrant, so it shouldn't have landed in first place, but that happened and I don't know how to avoid that to happen again [02:06] Ursinha: 11566=X, 11567=Y,11568=Z [02:07] lets say that Z fixes X [02:07] if we use a bug, as you say, then X and Z can be qa-ok on the same bug [02:07] but Y may be qa-needstesting [02:07] lifeless, that's fine, but the special case of 11566 it's not bad, just incomplete [02:07] if X is qa-ok then the rules say it can be deployed, but it can't, we have to deploy nothing, or X+Y+Z [02:07] both are part of the same bug fix [02:07] Ursinha: its bad unless its complete. [02:07] Ursinha: because it will break the buildmaster. [02:08] lifeless, but it will break anyway, because it will land in edge [02:08] that's the QA instance [02:08] Ursinha: edge doesn't [yet] deploy to the buildmaster [02:08] ah [02:08] but that's not my point [02:08] for qastaging, it would break yes. [02:08] that's the point [02:08] or whatever tom is going to call the domain. [02:09] as long as we do exercise soyuz there. [02:09] thing I want to say is that's not bad, but qa-needstesting that cannot be tested without the second part [02:09] or hm well [02:10] that's bad because it landed in the first place, so it should be rolled back... [02:10] yes, but what if the rollback just contains the fix. [02:10] lifeless, in this special case the fix is the other part, right? [02:10] from the deployment story its identical. X on its own = boom, X+Z together = ok. [02:10] Ursinha: yes. [02:10] so keeping the branch qa-needstesting would block it from deployment, right? [02:10] branch no, bug [02:10] as will bad-commit-xxxxxx [02:11] but why use that [02:11] which I think is accurate. [02:11] because it is a bad commit, all commits are -meant- to keep trunk stable [02:11] it's because it's not just a partial fix, but it's breaking stuff? [02:11] right [02:11] I see [02:11] its not incremental [02:11] its damaged without its soul mate [02:12] it's bad [02:12] nothing much special about it, just bad [02:12] break stuff, should not be there [02:12] I'm proposing a pqm commit messag elike fixcommit=12345 to handle roll-forward rathr than rollback [02:12] Ursinha: yes, it shouldn't have happened, but we need to deal when it does [02:13] the only difference fixcommit and rollback would have is: [02:13] lifeless, I'm thinking out loud to check if I make sense [02:13] rollback tags in-progress again, fixcommit doesn't change the bug 'status' field. [02:13] hm [02:15] so we'd need to say that it not just is a rollback but a fix itself [02:15] yes [02:23] mwhudson: How's python2.6 going? [02:25] wgrant: it seems to be running the tests [02:25] Aha. [02:25] https://edge.launchpad.net/ubuntu/+source/python2.6/2.6.6-5ubuntu1/+build/1961090 -> (took 3 hours, 35 minutes, 1.1 seconds) [02:25] been going for close to 2 on my board, so a while yet, i expect [02:28] Hm, the xM looks rather nice. [02:28] wgrant: o [02:28] bah [02:29] wgrant: i've been blogging about it! http://voices.canonical.com/michael.hudson/ [02:31] I may have to acquire one. My previous ARM board is now acting as the home servery/routery thing, so I need something to experiment on. [02:45] anyone know the status of 'mentoring' [02:46] lifeless: i think it's "kill code on sight", not 100% sure though [02:47] "Under trial withdrawal" is the official status. [02:47] Removed from the UI and condemned, but code not yet deleted. [02:49] Although the reference to it in the feature listing seems to have now been entirely removed. [02:53] and it causes extra queries. [02:53] le sigh [02:54] thumper: I think its better to do this via a garbo patch: [02:54] - gets rid of the interrupt on spm [02:54] - long term solution [02:54] lifeless: yes, so you have said multiple times already [02:54] - same basic code as we'd be cowboying, but tested [02:54] and it will be [02:55] thumper: I've been thinking more about it [02:55] thumper: that was summary; nuff said. [02:55] oh, and man echannel too. [02:55] * lifeless hides in shame [02:56] chuckles [03:31] * thumper code dives [03:32] zomg [03:32] the celebrity code queries every time ... [03:33] I thought it cached IDs. [03:33] That's how you can get MutatedCelebrityErrors. [03:33] now when you do ).admin [03:34] or perhaps my test is just catching the cache loading [03:34] still [03:34] ECRY [03:34] It will have to load the object if it's not in the cache. [03:34] But I believe it's meant to cache the ID over transactions. [03:53] lifeless, https://devpad.canonical.com/~lpqateam/qa_reports/logs/ [03:53] I've changed them all to a separate folder [03:58] thanks for letting me know [04:00] I wonder how badly LP breaks on pg 9.0. [04:09] mwhudson: LaunchBag is spectacularly ugly [04:09] lifeless: yes [04:28] silly question [04:28] is it ok to have __init__ on SQLBase classes [04:28] or .. ah _init? [04:35] I'm done for today === Ursinha is now known as Ursinha-zzz [04:40] lifeless, could you please file a bug for the fixes-xxxxx problem? [04:43] Ursinha-zzz: go sleep [04:43] :) [04:51] * thumper goes offline briefly while IRC proxy goes to maverick [04:55] I'm making progress [04:55] viewing a single bug page with no subscribers is now down to 99 queries. [04:56] ! [04:56] from where? [04:56] 110 when I started this branch [04:56] lifeless: How many comments/tasks? [04:56] wgrant: 1/1 [04:57] ..... ew. [04:57] wgrant: I took my view scaling test (14 queries), made it render... [04:57] and blinked. [05:00] i was thinking this morning about the idea of giving sql planner logs back to the client [05:00] and it occurred to me that giving them to the web app (to put in an oops) would be nice but isn't strictly necessary [05:00] *if* it turns out that logging them is not noticeably expensive, perhaps we could log them all the time and just make them available on devpad [05:01] we have detailed logging off on the master due to load. [05:02] it does show up? [05:02] Have I done the numbers myself ? no. Ask stub :P [05:02] I presume its turned off because someone measured. [05:02] i believe you, i'm just curious [05:03] just thought it would be nice to cut out the roundtrips to get this [05:03] anyhow, I'd expect query plan serialisation to be similar overhead: totally fine from time to time but significant if on all the time [05:03] poolie: personally, ignoring performance, I'd rather have it in the oops. [05:03] nicely interleaved with the queries. [05:03] rather than in a separate file i have to go read [05:03] i agree [05:03] i was just thinking it would be less work to record it to a log [05:04] have a look at requesttimeline [05:04] its nice [05:04] shove it in there, it turns up in the oops, bada boom bada bing [05:04] where is it? [05:04] lp.services.timeline [05:06] ok, thanks [05:06] hmm, we query the tags for the js fragment twice... sigh [05:07] no, something else [05:13] wgrant: if you're free could you do a security-oriented review of https://code.edge.launchpad.net/~mbp/launchpad/dkim/+merge/35985 [05:14] nah, he charges ;P [05:15] lifeless: could you please land https://code.edge.launchpad.net/~mbp/launchpad/flags-webapp/+merge/32967 for me [05:15] Let's see. [05:18] + canonicalise_line_endings(mail.signedContent), signature) [05:18] WTF [05:18] mixedCase attributes? [05:18] Must be old code. [05:18] not my fault [05:18] I know. [05:18] Makes me cringe anyway :) [05:19] what is the standard meant to be? underscored attributes, camelcase methods? [05:19] Right. [05:19] PEP-8 with a pinch of Zope. [05:20] urk [05:20] biab [05:27] is bugtask.distribution always set when bugtask.sourcepackagename is ? [05:27] hmm [05:27] I hope so. [05:28] actually [05:28] it never is [05:28] * lifeless suspect official bug tag adaption mojo [05:28] Er. [05:29] What? [05:29] sourcepackagename on its own is useless. [05:29] distribution and distroseries should be mutually exclusive. [05:29] But sourcepackagename should always have one of those two, although it's not enforced by the DB. [05:29] it is [05:29] CONSTRAINT bugtask_assignment_checks [05:30] Ah, true. [05:43] AssertionError: not equal: [05:43] a = set([u'revision-id319180', u'revision-id319182', u'revision-id319184', u'revision-id319186', u'revision-id319188', u'revision-id319198', u'revision-id319196', u'revision-id319194', u'revision-id319192', u'revision-id319190']) [05:43] b = set([u'revision-id319180', u'revision-id319182', u'revision-id319184', u'revision-id319186', u'revision-id319188', u'revision-id319198', u'revision-id319196', u'revision-id319194', u'revision-id319192', u'revision-id319190']) [05:43] is it me or is that crackful? [05:44] are those actually strings or storm objects with pretty reprs? [05:45] lifeless: good point [05:45] * thumper double-checks [05:45] s/pretty/shocking/ [05:46] it says unicode [05:47] It's not assertIs? [05:47] assertEqual [05:47] Bah. [05:47] wgrant: != - assertEqual in testtools prints out like that [05:48] thumper: yes, thats cracked. [05:48] a == b in the python interpreter [05:48] So the repr is bogus [05:49] woo python2.6 built on the beagle xm [05:49] took 4 hours, 53 minutes, 23.1 seconds [05:49] so a bit slower than the official buildd [05:49] So not too slow. [05:49] not too shabby though [05:50] given that you can buy xm's by the crate now [05:50] Is the buildd hardware publicly available yet? [05:50] mwhudson: They're actually on backorder pretty much everywhere. [05:50] you mean, the details of what it is? [05:50] But yes. [05:50] No, the actual devices. [05:50] For a while the buildds were unreleased hardware. [05:50] lifeless: http://pastebin.ubuntu.com/497480/ [05:50] lifeless: I'm in the pdb session [05:50] wgrant: ok, well linaro has about 40 or something now [05:51] maybe not that many [05:51] but >10 anyway [05:52] wgrant: eh, the buildds are some kind of fancy dev board i think, i'm not sure that it's ever going to be publicly available in the sense of being able to just pony up a credit card number and buy one [05:52] icbw though [05:53] thumper: wth! [05:53] (Pdb) print list(expected) == list(observed) [05:53] True [05:53] (Pdb) expected == observed [05:53] False [05:53] thumper: types of the set classes? [05:53] print type(expected) == type(observed) [05:53] one of these is not like the other [05:54] Maybe it's security proxied. [05:54] But that should normally be fine. [05:54] Unless set has some horrible optimisation. [05:54] * wgrant throws Django's URL system into the "cruel joke" bin. [05:55] if observed is proxied, i bet observed == expected would be true [05:55] (Pdb) print type(expected) == type(observed) [05:55] True [05:55] ... [05:56] print type(expected), type(observed) [05:56] Are they both actually sets? [05:56] That. [05:56] ok [05:56] starting to think weird ass bugs now [05:56] fucking proxies [05:56] ah [05:56] They're both proxied? [05:56] * lifeless chalks another one up to 'lets remove the proxies' [05:57] That shouldn't mess with == :-/ [05:57] yes, both proxies [05:57] stub: they are both proxied sets [05:58] Yes, but the wrappers are supposed to be transparent to pretty much everything (everything but 'is' / 'is not' IIRC) [05:59] stub: probably the testtools implementation of assertEquals [05:59] rockstar: you forgot the link [05:59] No, == says they're not equal. [06:00] It's nothing to do with testtools. [06:01] wgrant: good point [06:02] def __eq__(self, other): [06:02] if isinstance(other, BaseSet): [06:02] return self._data == other._data [06:02] else: [06:02] return False [06:03] But surely the proxies are smarter than that. [06:04] lifeless, ? [06:05] wgrant: return **False** ! [06:05] surely that should be NotImplemented [06:05] unless comparison is different [06:05] Hm. Except that's sets.Set, which is not set. [06:05] Now, where is set... [06:06] wgrant: Modules/setsmodule.c [06:06] Oh. [06:06] lifeless, ah, I see. [06:06] * rockstar _should_ go to bed. [06:06] I was looking at setobject [06:06] mwhudson: I have no setsmodule.c [06:07] oh right [06:07] yes setobject [06:07] sorry [06:09] grah [06:09] so, if I've added an attribute to the Interface [06:09] how do I specify access permissions for it ? [06:09] lifeless: it depends [06:09] ForbiddenAttribute: ('official_tags', ) [06:09] lifeless: on how the interface itself has the permissions set [06:09] mwhudson: Looks like it has the same bug as the Python one. [06:10] official_tags = Attribute("The official bug tags relevant to this bug.") [06:10] It does the type check and returns false, rather than NotImplemented like makes sense, and others seems to do. [06:12] lifeless: Bug doesn't use interfaces for security. [06:12] It lists the attributes in ZCML. [06:12] siiiiiiigh [06:12] lifeless: lib/lp/bugs/configure.zcml line 574ish [06:12] lifeless: also that file has lots of references to canonical.launchpad.database.* [06:12] lifeless: which it shouldn't [06:13] thats so bong [06:13] sinzui: Why are maps dying? [06:13] * thumper rings lifeless's bong [06:13] wgrant: cost is one reason [06:13] wgrant: they want lots of money to serve on ssl [06:13] wgrant: and they changed the api [06:13] Yay. [06:13] thumper: to be fair, thats orthogonal [06:14] the primary problem was our account expired. [06:14] yeah, it is [06:15] ohhhh [06:15] TypeError: [] is not JSON serializable [06:15] Um. [06:15] * lifeless is not sure if a practical joke is being played or not [06:15] What? [06:15] ooooh [06:16] I bet I know [06:16] Proxies? [06:16] the list is security proxied [06:16] Heh. [06:16] so the browser code which was doing a redundant sorted(list( <- and yes thats also self redundant [06:16] was hiding that [06:16] Is this still BugTask:+index? [06:16] yes [06:16] will save, about 40 queries on bug 1 [06:17] <_mup_> Bug #1: Microsoft has a majority market share < [06:17] its got waay to many bugtasks. [06:17] wgrant: any other comments on that patch? [06:17] poolie: That getUtility(ILaunchpadBag).to_user looks like a sed gone wrong. [06:17] yay, finally, squashed that one. [06:17] lifeless: work on deleting a bug task next? :-) [06:17] i could make it more testable by tearing apart the methods more [06:18] mwhudson: nah, I'm going to defeat this foul beast. [06:18] but i anticipate an uncomfortable interval where the patch gets bigger but the tests don't get safer [06:18] of course, the patch is going to be a) ugly and b) insufficiently tested. [06:18] But [06:18] poolie: Apart from that it looks OK. But the code needs refactoring. [06:18] It has the only test I care about right now: query scaling :) [06:19] ah you're right about the '.to_user' well spotted [06:20] i think my next refactoring would be to separate "determine who this comes from and how strongly they're trusted" from "become that user" [06:20] cleaner to test that way i think [06:21] poolie: That suggests a missing test. [06:21] Or you just didn't find it. [06:21] it does, doesn't it [06:21] Hm. [06:21] is there a debug mode to tal? [06:21] I wonder if the LP favicon should be that of the current context. [06:21] i didn't run everything but i ran 'bin/test mail' which you'd think would catch it [06:21] that is, to print the thing being evaluated? [06:21] or similar [06:22] i think it is a missing test and i could add one [06:22] and see if it would have trapped on that line [06:53] down to 88 [06:53] lifeless, wgrant, how about something like http://pastebin.ubuntu.com/497509/ as a test? [06:55] seems fine to me; lines 8,9 and 10 look like they will want to be reusable [06:56] mm [07:01] a lot of it should be [07:05] maxb: Is python-debian really still needed in the PPA? It's in sourcecode now. [07:09] wgrant i'm pretty sure there was no test for mail to help@ but there is one now [07:09] poolie: Great. [07:16] can you two help me decide whether to add more tests to this or just leave it? [07:17] i don't want to break incoming mail but i also want to leave this and work on something else [07:21] poolie: how big is the change? is it flag controllable? that would make it easy to back out. [07:21] it's https://code.edge.launchpad.net/~mbp/launchpad/dkim/+merge/35985 [07:21] poolie: For refactoring I tend to remove all but one old-place test, and move them to the new place, and not try to add coverage [07:22] it's not flag controllable atm and it's refactoring code that seems poorly tested at the moment [07:22] thus my discomfort [07:22] It's also rather ancient code. [07:23] poolie: do you think it needs more tests? [07:23] in general, yes, it does [07:23] does it need me to add them right now? i hope not :) [07:23] poolie: to be comfortable landing this change I mean? [07:25] i don't know [07:26] i have a sinking feeling that to be able to test it more i'll have to change more stuff [07:26] so [07:26] stop [07:26] land it, qa on staging, rather than edge, done. [07:26] in particular, to make it have less side effects [07:27] fair enough [07:27] staging receives mail, even thought it doesn't send it? [07:27] and we can now see the mail logs from it, or we should be able to [07:34] it should be able to yes [07:34] if not, I'll RT that :P [07:38] i replied to the rt asking for logs from staging too [07:39] they don't seem to be visible atm === almaisan-away is now known as al-maisan [07:41] 84 [07:42] ok, so with that off the plate i'll look at a flags editor [07:45] \o/ [07:45] you wanted a chat with wallyworld [07:45] I'm up for that nowish [07:45] is he? [07:45] [07:46] dah de dah dah de dah [07:46] wallyworld, lifeless: mumble/skype/pots? [07:46] skype is ok for me [07:47] i don't have any specific agenda [07:47] some of my random musings have already been aired in the mailing list [07:47] poolie: skype plox [07:54] 76 [09:01] 74 [09:01] It's a countdown! [09:01] But to what? [09:04] sob [09:05] return list(MilestoneVocabulary(self.context)) != [] [09:05] Bwahah. [09:05] At least it is scoped. [09:06] guess how many milestones bug 1 has [09:06] ... [09:06] <_mup_> Bug #1: Microsoft has a majority market share < [09:06] Why's it doing that? To work out whether to display the milestone selector? [09:08] wgrant: yes [09:08] Yay. [09:08] browser/bugtask.py 3632 [09:09] jeez, someone added 200 builds this morning [09:09] buildds? [09:10] jml: Are you going to get that BuilderSlave.clean thing merged? [09:10] https://lpstats.canonical.com/graphs/BuildersActiveVirtual/20100920/20100922/ [09:10] doo-di-dee-dooo, doo-di-dee-do, doo-di-dee-dooo, doo-di-dee-do-do-di, doo-do-de-doo doo-de-de-do-do-do-do-dooo... [09:10] IT's THE FINAL COUNTDOWN! [09:10] THE FINAL SOL^WCOUNTDOWN [09:11] good morning [09:12] wgrant, yes, I'm going to do that next thing. [09:12] lifeless: My religion forbids me from opening a file that large. [09:13] jml: Great, thanks. Everything seems to work well with that fixed. [09:14] wgrant: bug 644059 [09:14] <_mup_> Bug #644059: buildd upload processor explodes if source produced by binary build [09:14] can you write that in English? :) [09:15] bigjools: Description updated. [09:15] grassy ass [09:15] Heh. [09:16] wgrant, how did mwhudson trigger the bug in first place? it would be nice to have some kind of test for that. [09:16] as well as a direct one for clean. [09:16] jml: I triggered it too. [09:16] Let me check my logs. [09:16] no matter [09:16] bigjools has just given me a few pointers [09:16] mrevell, hello [09:17] wgrant: was it getting called from rescueBuilderIfLost ? [09:17] bigjools: No, updateBuild. [09:18] ok [09:18] Although rescueBuilderIfLost probably had the same issue. [09:18] Hello [09:18] yes [09:18] hey mrevell [09:18] We also sometimes get into a situation where a BuilderSlave is used during dispatch to. [09:18] NFI how. [09:19] if all goes well, that won't matter at the end of the week. [09:20] Indeed. [09:22] Although I wonder how much of a performance boost it will be. [09:22] I would like someone to review this please: https://code.edge.launchpad.net/~jml/launchpad/split-mail-and-summary/+merge/36111 [09:23] wgrant, probably not much. [09:23] wgrant, the sanity boost is not to be sneezed at [09:23] That's true. [09:30] bigjools, you might be interested in this bug: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/419685 [09:30] <_mup_> Bug #419685: Buildbot sends emails that require no action [09:36] sigh [09:36] the per row stuff here is still going to be terrible. [09:41] It's such a good branch. [09:43] jml: ask me how many queries viewing a trivial bug page with no subscribers, 2 product tasks takes. [09:44] lifeless, I've been wondering, ... [09:44] 110 [09:44] lifeless, :( [09:44] jml: I got pissed off enough this morning [09:44] that I'm doing something about it [09:44] I'm down to 72 [09:45] lifeless, woot! [09:45] 1 15 files changed, 157 insertions(+), 86 deletions(-) [09:45] ! [09:45] jml: I may want a very pragmatic review for this :P [09:45] lifeless, ok. :) [09:45] lifeless, swap you. [09:45] sure, what up [09:45] https://code.edge.launchpad.net/~jml/launchpad/split-mail-and-summary/+merge/36111 [09:45] better mail from ec2 [09:46] \o/ [09:49] done [09:54] 68 [09:56] lifeless, thanks. [09:56] (also, wuuu) [09:56] lifeless: I suppose it also now scales better? [09:57] have you seen how many HTTP requests there are for a bug page with a cold browser cache? [09:58] What are they all? [09:58] I can't think of too many. [09:58] try it in .dev [09:58] .dev is special. [09:58] The JS isn't merged, is it? [10:01] ummm I dunno [10:01] anyway [10:01] * bigjools -> sprint [10:02] wgrant: somewhat [10:02] wgrant: I haven't reached the last query yet. [10:02] it will still do 4 queries per nomination. [10:02] :( [10:02] lifeless: Was your mass-CP rolled out everywhere? [10:03] Even Soyuz? [10:04] checkwatches + appservers [10:04] not quite everywhere [10:04] AIUI [10:04] there was a singular CP done at the same time [10:05] Looks like it did make it to cocoplum anyway. [10:05] * lifeless headdesks [10:05] SELECT COUNT(*) FROM Bug WHERE Bug.duplicateof = %s [10:05] Hmm? [10:05] ummm that's bad if you updated cocoplum [10:05] bigjools: Why? [10:05] The buildd-manager thing wasn't in the last batch. [10:05] if the b-m change made it there [10:05] ah ok [10:05] *phew* [10:06] And b-m is OK now, anyway. [10:06] well no, it needs a cronjob [10:06] Just needs the extra cron job set up before the next CP. [10:06] Right. === bigjools is now known as bigjools-afk [10:06] wgrant: we have a denormalised field to avoid that particular query [10:06] wgrant: ... [10:07] Hah, so we do. [10:07] It shouldn't be too slow, though. [10:08] wgrant: hah [10:08] wgrant: hah [10:08] wgrant: hah [10:08] Really? [10:08] count(*) is one of the slower operations you can do [10:08] No bug ever has more than a few hundred. [10:09] So there's not a huge number of rows to go through. [10:09] wgrant: right, but it still requires a index operation that is not significantly cheaper than select.. [10:10] Yeah. [10:10] AND WE HAVE THE NUMBER RIGHT THERE. [10:10] (emphasis mine) [10:12] 66 [10:13] wgrant: hey, guess how bug privacy duplicates interact [10:17] Badly? [10:18] well, and I'm just guess [10:18] ing [10:18] one query per private dupe [10:18] maybe 2 [10:19] Only 1? [10:19] Yeah... [10:19] guess what happens when apport backlogs [10:19] [10:20] have those windmill failures been addressed? [10:24] not that I know of [10:24] mars says he's oging to look at bb soon [10:24] also \u/ for duplicate methods that do exactly the same thing [10:25] personIsDirectSubscriber == isSubscribed [10:25] 64 [10:27] lifeless, hey, your fixture thing is an lp dep? [10:31] jml: yes [10:32] lifeless, ok. should we deprecate the lp.testing.fixtures business? [10:32] jml: its mostly moved over to context managers already; I moved fakelibrarian [10:32] there's one use remaining I think. [10:32] lifeless, looking at lp.testing.fixtures, it's not using ctxmgrs at all [10:33] I may be confused. ELate+BugTask:+index is consuming me [10:33] 63 [10:35] 8 to go! [10:35] lifeless, fixtures... sourcedeps, package or eggs? [10:36] (cos it ain't working) [10:36] jml: its in the dist-cache [10:36] dist-cache [10:36] jml: versions.cfg etc [10:36] downloadcache/dists [10:36] ahh, thanks. [10:36] jml: works for me; check the fake librarian [10:36] you may have an old branch? [10:37] lifeless, I don't see *anything* that imports 'fixtures' [10:38] lifeless, the branch is current as of Monday morning. [10:38] lib/lp/testing/fakelibrarian.py [10:38] line 22 [10:38] 16 files changed, 197 insertions(+), 122 deletions(-) [10:39] lifeless, thanks. merging in latest stable gets it. [10:42] jml: https://code.edge.launchpad.net/~lifeless/launchpad/bugtask+index/+merge/36117 [10:42] noodles775: ping [10:42] Hi lifeless [10:42] hiya [10:43] so you've got a branch called 'expose distro diff' or thereabouts [10:43] YEs [10:43] I wanted to check that you're happy for that to happen on lpnet, *now* (in principle) [10:43] and that you're not basing it on 'this release cycle' [10:43] erm, It's for db-devel? [10:43] noodles775: ah, I didn't see that :P [10:44] I mighht not have set it... [10:44] safe enough then (though personally I'd still use a flag, in case you find a bug at the last minute or post release and want to pull the feature) [10:44] Is the API flaggable? [10:44] should be [10:45] same request object IIRC [10:45] you can't change whats exported [10:45] True. [10:45] I've flagged the UI, but didn't see it as necessary to flag the API for it (since there will not be any data to access). [10:45] but you can control what it does [10:45] I would't stress about the API [10:45] I still don't see how the current derivation model can work. [10:45] But I guess we'll see. [10:45] wgrant: in what way? [10:46] noodles775: We need multiple parents. [10:46] jml: I got that branch exactly the right size it seems (800 lines) [10:46] Changing parent_series after initialisation will break a few things and seems a bit ew. [10:46] wgrant: ah, right. AFAIK multiple parents was discussed by bigjools-afk with others, but not included in the initial release. I don't know the details. [10:50] jml: its getting late, so I'd like to know if you're going to look now, or later. [10:50] lifeless, am looking now [10:52] lifeless, is MilestoneTarget.has_milestone a property? [10:52] yes [10:52] ta [10:52] if you mean has_milestones [10:53] its about a brazillion times faster than the vocab [10:56] lifeless, yeah. [10:56] lifeless, I've approved modulo some clarity/style tweaks. [10:56] lifeless, great patch. thanks. [10:56] thanks [11:03] Has anyone seen "psycopg2.ProgrammingError: server closed the connection unexpectedly" when running `make schema`? http://pastebin.ubuntu.com/497604/ [11:04] jml: dumps(security_proxied_list) goes boom [11:04] jml: thats why the comment; I've expanded it. [11:04] lifeless, thanks. [11:04] noodles775: I haven't seen that. Does the postgres log say anything useful? [11:05] jml: also I mean 'tp' query - 'tp = ' is 4 lines up. [11:05] wgrant: yes - I should have checked there first. FATAL: the database system is in recovery mode [11:05] Aha. [11:05] lifeless, heh. ok. [11:05] noodles775: nuke your db [11:06] noodles775: and start over; its the easiest way [11:06] k, thanks lifeless, wgrant [11:24] gmb: did you talk to the mozilla folk [11:26] lifeless, Can you be more specific? I might have missed something whilst sifting through my mail pile yesterday [11:27] lifeless, Ah [11:27] https://bugs.edge.launchpad.net/malone/+bug/642418 you mean? [11:28] <_mup_> Bug #642418: Detect when remote Bugzilla bugs are duplicates and link to the duped-to bug instead [11:28] lifeless, Exactly to whom should I be talking and what needs to be said? [11:29] $folk and $mozilla that are $concerned [11:29] I dunno [11:29] lifeless, That's $unhelpful. [11:30] I just got told you knew all about this stuff :) [11:30] so I helpfully palmed the enquirers off with yourname and a glib assertion that you'd be helpful/ [11:30] Haha. [11:30] poolie: would appreciate any insight you have into https://bugs.edge.launchpad.net/launchpad-foundations/+bug/634342 [11:30] Helpful doesn't start until this afternoon. [11:30] <_mup_> Bug #634342: need a features 'scope' for page ids [11:30] lifeless, I know the code, at least. Let me dig further into this. I'll add it to my todo list for today. [12:00] Morning, all. [12:18] hmm, clearly I'm up too late. [12:19] lifeless: yes [12:27] gary_poster: you're around now, I take it ? [12:27] lifeless, yes on call but what are you doing up?! [12:28] well, I had a itsy bitsy morning [12:28] and then I got my teeth into BugTask:+index [12:28] still winding down from that ;) [12:29] gary_poster: when do you think you'll be off the call? [12:29] 10 min? [12:29] hmmm, if you're up for a catch up post that, I might hang about a little more [12:34] lifeless, you are crazy, but I am off the call and available for ~20 min. mumble, irc, skype...? [12:34] like a fox [12:34] :-) [12:34] lets say skype [12:35] ok [12:35] rbtcollins [12:36] We really need to work out a better bug notification strategy. [12:37] Since my top timeout is probably mostly that :( [12:37] wgrant, completely agree [12:37] I wonder if it's as easy as removing BugNotificationRecipient and calculating it when we send them. [12:37] Or if that will miss some things (like bugs being reassigned) [12:39] I think it could be more complex than that, but it's an easy check to remove it and run tests to see what breaks. [12:45] Yeah, it's not that simple, sadly. [12:45] Since the recipients can change if the task target does, and the existing code will notify the old recipients as well. === al-maisan is now known as almaisan-away [12:50] right [12:50] we will have to deal with this notification overhead sooner rather than later, though. [12:50] So someone from the bugs team will look at this in the short term. if you don't beat us to it, wgrant. ;) [12:51] It makes kernel bugs just about impossible to file. === mrevell is now known as mrevell-lunch [12:53] * gmb lunches [13:38] sinzui, when you come in, i'm getting an incomprehensible error message when i ec2 my branch, but not when i run the test locally: [13:38] http://pastebin.ubuntu.com/497660/ [13:38] Uhoh. [13:38] Not this again :( [13:38] wgrant, ? [13:39] It's the off-by-one OOPS ID thing. [13:39] is there a bug for it? [13:39] I forget. [13:42] try it with https://code.edge.launchpad.net/~lifeless/launchpad/lessGetLastOops/+merge/35994 [13:42] gnight [13:42] Night lifeless. [13:44] I can't find a bug for it [13:54] mmmm === bigjools-afk is now known as bigjools [13:55] jml just munched on two faggots for the first time and loved it === mrevell-lunch is now known as mrevell [14:09] mars: Hey, did you get my e-mail? [14:15] Ursinha, ping [14:16] gmb, hi [14:16] Ursinha, Howdy. So, I keep getting the "Please try again" page when I try to delete this bugwatch: https://bugs.edge.launchpad.net/bugs/642418/+watch/81562/+edit [14:16] <_mup_> Bug #642418: Detect when remote Bugzilla bugs are duplicates and link to the duped-to bug instead [14:16] what my script did wrong [14:16] :) [14:16] ah [14:16] Ursinha, I don't know why it's not getting an OOPS raised, but do you know where I might be able to look to see if one's been raised but isn't showing up in the UI? [14:17] I'm kinda clutching at straws here, by the way :) [14:17] gmb, all oopses are on devpad, let me take a look [14:17] Ursinha, Thanks. [14:17] R%^&QG£YUEHIUDJHIUFHIWUE!!!!! [14:18] You have *got* to be kidding me. [14:18] We add the "bug watch foo has been deleted" notification before we delete the bugwatch. [14:19] What gets really amusing is when transaction retries come into play. [14:19] So you end up with lots and lots of notifications. [14:21] wgrant, Indeed. As I just discovered. [14:21] * gmb branches and fixes. That one's not hanging around. [14:24] gmb, I can't find oopses on devpad [14:24] they're synced every 10 minutes, so I guess should be there already [14:24] but I can't find anything grepping them [14:25] Ursinha, Thanks. I've found (possibly) a separate problem (see my rant above). [14:26] hehe, np [14:26] Ursinha, I'll grep later. === almaisan-away is now known as al-maisan [15:11] gmb, I need to reboot, but then I'd like to chat about the wizard widget. [15:18] rockstar, Sure. thing. [15:18] Er. Sure thing. [15:27] rockstar, I'm ready whenever you are. === leonardr_ is now known as leonardr [16:22] lifeless: I like the stump speech ;) [16:34] leonardr, you missed this fix for your EC2 issue: https://code.edge.launchpad.net/~lifeless/launchpad/lessGetLastOops/+merge/35994 [16:35] StevenK, yes, I got it. Have been working on other things, will get back to mainline build engineer work this week. [16:36] mars: is it landed? [16:37] leonardr, I don't think so. Robert said to merge it into yours and then try again. [16:37] mars: i see [16:46] has anyone seen basic auth challenges popping up when running windmill, e.g. http://people.canonical.com/~bac/Screenshot-Authentication%20Required.png [16:47] they don't seem to interfere with the tests but are annoying [16:47] bac, yes, a known problem since the summer. Did this just start now? [16:47] mars: yeah [16:48] mars: just ignore it? [16:48] bac, did you just upgrade to Maverick? [16:48] mars: last week, yes [16:50] bac, so it could be a problem with the test harness under Maverick, or it could be bug 609190 [16:50] <_mup_> Bug #609190: Login problem in windmill test [16:51] mars: thanks [16:51] bac, try '$ bin/test lp.translations.windmill.tests.test_import_queue', see if that fails [16:51] if so, then it is systemic [16:52] if not, then it is an issue introduced by new code [16:58] Which style is the right style for headings in doctest? I for get .. [16:59] mars the translations test did throw up a bunch of those auth windows but proceeded without error [16:59] == Heading == [16:59] or [16:59] Heading [16:59] ======= [16:59] henninge: latter [16:59] cheers bac ;) [16:59] henninge: some do [16:59] ====== [16:59] Heading [16:59] ========= [16:59] which seems to be ok unless gmb is your reviewer. :) [16:59] :) [17:00] (but only for the first) [17:00] I was about to ask that ... === beuno is now known as beuno-lunch [17:02] bac, ok, noted. I can check after I do the Maverick upgrade myself. Was this a fresh system install? [17:02] Oi! [17:02] mars: yes [17:06] bigjools, hi, if I was to take on bug 644464, what would be the best approach? [17:06] <_mup_> Bug #644464: Template generation jobs are not aggregated [17:07] henninge, danilos, any idea what is up with the latest buildbot failure? It died in canonical.buildd.tests.test_translationtemplatesbuildmanager.TestTranslationTemplatesBuildManagerIteration.test_iterate_fail_GENERATE [17:07] henninge, danilos, https://lpbuildbot.canonical.com/builders/lucid_lp/builds/171/steps/shell_7/logs/summary [17:07] mars, hum, no, let me take a look [17:07] danilos: you need to see if a job already exists for the same context; I don't know the best way of doing that for TTBJs [17:08] henninge, danilos, nevermind, misread. It failed in "Error in test lp.buildmaster.tests.test_builder.TestSlave.test_clean", not the translations stuff. [17:08] bigjools, well, I know that much :), I was asking more along the lines of where do you do that for other jobs in soyuz, and if it would be a good thing to do it at the same time? [17:08] danilos: for soyuz, we allow it, but we detect a more recent version and supersede the old build request instead of dispatching it [17:09] danilos: but I am worried that you had *so many* requests all queued up [17:09] bigjools, well, we don't have a limit per project yet, but we probably could add that too [17:10] I think it's a good idea [17:10] bigjools, when you are finished talking to Danilo, buildbot died with 'Error in test lp.buildmaster.tests.test_builder.TestSlave.test_clean' - are you the right person to handle that? [17:10] bigjools, anyway, dispatch time is probably the best time if we want to aim for minimum amount of repeated work [17:10] mars: jml is working on it right now [17:10] it's a test we added recently and then promptly broke [17:10] bigjools, thanks. jml, could you please send a message to the list about it? [17:11] what. [17:11] mars, yes, of course [17:11] thank you [17:11] danilos: I would address it on both fronts === benji is now known as benji-lunch [17:12] bigjools, well, if I address it on one (considering we are always getting tip of the branch, I can put that limit at 2 which would avoid all the concurrency issues) [17:12] bigjools, I don't see much need for addressing on the other... and vice versa [17:13] bigjools, btw, what was the number of builds that we had scheduled? [17:13] danilos: ok, I'm no so familar with the dynamics of how and when you generate the jobs so I trust whatever you say [17:13] bigjools, good :) [17:13] bigjools, or not so good, but anyway :) [17:13] :) [17:13] danilos: I don't know how many were scheduled [17:13] but, one sec [17:15] bigjools, I see we did at least 360 for software-center [17:15] ! [17:15] bigjools, in one day :( [17:15] https://lpstats.canonical.com/graphs/BuildersActiveVirtual/20100921/20100923/ [17:15] ummm [17:16] bigjools, it definitely sounds as if something was wrong elsewhere as well [17:17] I expect someone uploaded a bunch of stuff, somewhere [17:17] bigjools, because that particular branch only had 9 commits on 21st (when it did 360 template build jobs) [17:18] danilos: that's.... special [17:18] bigjools, yeah, so somewhere on the code side we generated a bunch of duplicated jobs needlessly [17:19] bigjools, so, I'd like to investigate this a bit, and will end up limiting the number of entries in the table per project to 2 anyway, but would like to check out why is this happening in the first place [17:20] bigjools, or perhaps we are retrying them for some reason? under what conditions does build-manager retry a build (just so I can check we are not causing it to do that)? [17:21] danilos: that's down to the behaviour class for templates [17:21] the b-m just picks the next item from the queue and dispatches it [17:21] bigjools, ok, since we haven't implemented that, we should not worry about it [17:22] bigjools, thanks, useful input, I'll go dive into code a bit [17:23] danilos: np [17:25] danilos: can you kill off all the unnecesary duplicated TTBJs in production? [17:25] and unnecessary, even [17:25] abentley, btw, do you know of any way to check if branch-scanner has recently been detecting a single change more than once (I am looking at logs but I can't find current branch-scanner logs on devpad) [17:25] abentley, never mind, it's scan-branches.log [17:27] bigjools, sure, though it will take me a bit to rediscover all the tables that I need to purge from [17:29] danilos: see mawson:~/handy_sql/kill_a_build.sql for inspiration [17:29] bigjools, thanks === salgado is now known as salgado-lunch === gary_poster is now known as gary-lunch [17:46] jtv, around? [17:51] abentley, he should be long gone [17:52] danilos, mostly, but I have seen him around in the past. I'm having problems with the FakeLibrarian. [17:52] danilos: hi [17:52] bigjools, hi :) [17:53] abentley, yeah, he does sometimes stick for much, much longer, but we are also trying to get that habit out of him :) [17:53] there's a rather large problem with builder histories being absent since about 6 hours ago, did you guys change anything for your history? [17:53] bigjools, those changes only landed on devel a few days ago, are you talking about production? [17:53] yes [17:54] bigjools, unless this was CPed in line with lifeless' new approach to rolling out stuff, then we haven't changed anything recently [17:54] danilos: that's what I am wondering [17:55] it seems remarkably coinciding [17:55] what time did it get rolled out [17:55] today [17:55] bigjools, did it get rolled out? [17:56] I;'ve no idea, I only just started looking at this === beuno-lunch is now known as beuno [17:59] bigjools, this is the last one: https://code.edge.launchpad.net/~lifeless/launchpad/cp/+merge/35965 [18:00] danilos: what revno did the ttbj history land in? [18:00] and was it on db-devel or devel? [18:00] bigjools, I am looking that up now === al-maisan is now known as almaisan-away [18:01] bigjools, fwiw, it's still marked as qa-needstesting for us, so I doubt it was CPed [18:01] bigjools, it's db-stable r9793 [18:02] bigjools, so, my guess is that it ain't that [18:02] bigjools, it's neither listed as part of any of the CPs [18:03] * bigjools scratches head === matsubara is now known as matsubara-lunch === Ursinha is now known as Ursinha-lunch [18:12] bigjools, fwiw, I am struggling very much coming up with appropriate queries for the DB (I started using the new table jtv added and the query failed on production) [18:12] bigjools, that, at least, confirms that the code was not rolled out, but also makes my head hurt [18:12] the new model is a total headache :/ [18:13] bigjools, two models are a bigger one when you rarely use either :) [18:14] aye === benji-lunch is now known as benji === deryck is now known as deryck[lunch] [18:35] spiv: you awake yet? [18:36] or really any losa - there is a chance that there may be a memory issue on maverick ppa builders ... we're seeing a drizzle test failure there that we're not seeing on our builders, and looking at the output it looks very similar to a weird failure we had on a machine a month ago that was also due to bad memory [18:37] I mean, it could also be a bug in our code - but I thought it might be worth someone looking at [18:40] http://launchpadlibrarian.net/52012953/buildlog_ubuntu-maverick-i386.drizzle_2010.03.1347-1_FAILEDTOBUILD.txt.gz [18:42] hrm - perhaps nevermind ... similar but different is occuring in multiple places ... [18:59] * rockstar lunches [19:00] quick followup - it is our bug, but for some reason it's only showing up on the launchpad ppa 32 builders and not our 32 build machines ... are you guys doing anything weird on your 32bit builders which would cause them to deal with memory differently? (asking to see if I can set up something similar to try to more easily reproduce) [19:01] mtaylor, there's an issue that we are investigating right now [19:02] mtaylor, but apparently that's a different problem [19:02] cool [19:05] deryck[lunch], on 642418 is it LP or the bugzilla lp plugin that sets the See Also link? [19:05] mtaylor: the PPA builders are virtual, which might be something, I dunno [19:05] mtaylor: but it's best to check with lamont === gary-lunch is now known as gary_poster === matsubara-lunch is now known as matsubara === Ursinha-lunch is now known as Ursinha [19:34] deryck[lunch], lp:~bryceharrington/bugzilla-launchpad/no-dupe-link-update === salgado-lunch is now known as salgado [19:37] * lifeless stretches === deryck[lunch] is now known as deryck [19:40] nigelb: ? [19:40] bryceh, not sure if it's the plugin or lp. If it's the plugin, it may not be worth worrying too much about, since people will need to install new, and newer bugzillas won't be affected. [19:41] deryck, since it sounds like it's a bugzilla policy whether to update links on dupe bugs, the plugin seems like the "right" place to fix it [19:42] deryck, as that'd prevent the incorrect behavior regardless of who was using the api [19:42] deryck, but for our case at least, i think we can conditionalize calling the set_link() api on it being a dupe... I'm checking [19:43] (and it still leaves the more general issue of making us point to the proper bug, but I *think* that may be a more involved issue) [19:43] * deryck is thinking.... [19:44] bryceh, so the plugin is already configurable about whether or not to update links on dupe bugs? [19:45] deryck, no [19:45] heh that would make it especially easy [19:45] lifeless! I'm surprised you don't have some way of accessing IRC when you're sleeping [19:46] bigjools, isn't that called a telephone? [19:46] or is this your morning clone I am speaking to [19:46] bigjools: I plug an ethernet cable into my ear. [19:46] wifi drains too much power in sleep mode [19:47] bryceh, ok, so I think we should do the right think on our end. [19:47] bryceh, if it's just a simple conditional to be quiet on upstream closed bugs, that's enough. [19:48] deryck, yes, it looks like I can slot in a check in linkLaunchpadBug() [19:48] bryceh, ok, excellent. [19:49] hello everyone [19:49] deryck, this will only prevent it from setting the bug link on the upstream bug though... are there other updates we want to prevent done to upstream dupes? [19:49] bigjools & I just finished busting up a bunch of doctests [19:49] but we need to land the change, and I think someone ought to give it a cursory review first [19:49] lifeless: I just said your stump speech http://bit.ly/9mTfdf looks awesome :) [19:49] it's death to .txt [19:49] who would like to review https://code.edge.launchpad.net/~jml/launchpad/buildd-slavescanner-bustage/+merge/36187, which is 1k+ lines of doctest-removing fun? [19:50] nigelb: ah right, I had no idea what you were referring to by 'stump speech' [19:50] bryceh, perhaps you and gmb should do a pre-imp on this tomorrow before he EODs. I'm not sure about other updates honestly. [19:50] nigelb: I'm glad you like it. [19:50] lifeless: the bzr team called it that [19:51] anyway, I'm off to the pub [19:51] nigelb: its ok, I was just confused ;) [19:51] whoever reviews that branch gets a complimentary compliment at the next Epic [19:51] maybe a beer too [19:51] lifeless: considering that it must be something like 5 for you, totally understandable [19:52] nigelb: 7 :P [19:52] lifeless: still way to early ;) [19:52] bryceh, the only other updates we would do would be comments, if supported, right? [19:52] deryck, dunno [19:53] deryck, yes [19:53] bryceh, I think so, but not 100% sure. I can argue boths pros and cons here, so let's allow gmb the final say. [19:53] # Only sync comments and backlink if the local bug isn't a [19:53] # duplicate and the bug watch is associated with a bug task. [19:53] # This helps us to avoid spamming both upstream and [19:53] # ourselves. [19:53] ok, lets see how bad this bugtask index test breakage is [19:54] haha, we avoid updating if the bug is a dupe on *our* end, but not *their* end :-P [19:54] heh [19:54] right, so there's your answer. [19:54] bryceh, if there's is a dupe, do nothing. [19:55] deryck, ok, so don't bother with fixing the plugin, just fix locally? [19:55] bryceh, yes [19:55] ok easy enough === almaisan-away is now known as al-maisan [20:02] sigh, bug.getBugTask makes me sad. [20:03] lifeless: I seem to be getting spurious failures when asking people to ec2land branches for me. I'm not really sure who to ask for help [20:03] but I see you online :) [20:04] jam: hi, what sort of failures? [20:05] lifeless: I can send you the email if that would be easier [20:05] but 2 in soyuz [20:05] sure [20:05] one in buildmaster [20:07] good night all [20:07] lifeless: my change just updates the default location of 'codebrowse's config files after a clean 'make' [20:12] lifeless: to elaborate, when starting with a clean machine, the build instructions didn't create the 'codebrowse.launchpad.dev' directory but they *do* create a 'bazaar.launchpad.dev' directory, which is also what is configured elsewhere in the code. I honestly wouldn't expect any tests to fail from this, as it is a setup thing. [20:12] certainly it doesn't touch soyuz code [20:13] jam: do those tests pass locally ? [20:13] jam: note that ec2 doesn't do a full setup, it starts partially setup AIUI [20:13] jam: perhaps talk with mars [20:14] lifeless: well, the last code I submitted was a comment-only change, and it still failed the ec2land test suite (for one person, for the other person it passed) [20:14] as such, I don't have huge faith in ec2land... [20:14] though that time was a different test that failed [20:21] jam: will be a minute [20:47] gary_poster: got a minute for a question about z3c.recipe.scripts? having problems importing lazr.restfulclient in /usr/lib/pymodules after importing the generated site.py file [20:51] bac: ^^ [20:51] oh, great [20:51] so if the tests are already failing, it may be a particular version of devel that I merged, etc [20:51] I suppose I should have merged something 'stable' ? [20:51] jam: did you not start with the latest devel? [20:52] i mean the latest rev of devel [20:52] bac: I started the branch a while back, you asked me to update against devel so I did [20:53] jam: right. [20:53] I also may have started it as a db-devel branch, etc [20:53] I would have thought by now the two would have converged, though, and the diff was the tiny one I expected [20:54] jam: i started with a clean version of the latest devel and merged in your two-line change [20:54] and you still got the failure? [20:54] jam: and that is what i'm testing locally [20:55] jam your branch on LP is what ec2 tested [20:55] (missing shows that I am without about 48 devel patches) [20:59] bac: are you running the full suite? Or just the tests that failed? [20:59] jam: just the failed [20:59] good to know they fail in isolation :) [21:02] (I'm still trying to just get the test suite to run again, after updating to the latest lp/devel) [21:02] jam: ec2 had 4 failures. devel locally has 1. [21:02] jam: will re-run your branch again and see what fails [21:03] bac: well one of the failures definitely looked to be an isolation issue, since it was checking for OOPS...6 and found OOPS...7 [21:03] ok [21:03] ok [21:03] so this is the same uniquefileallocator thing [21:04] try with my branch? [21:04] I'm waiting for *anyone* to tell me it works/doesn't work [21:04] https://code.edge.launchpad.net/~lifeless/launchpad/lessGetLastOops/+merge/35994 [21:05] lifeless: what is the right way to update your branch? I tried "utilities/update-sourcecode" and now zc.buildout is failing at 'make' time [21:05] jam: your branch has 1 failure locally, not the OOPS one [21:05] cr3: do you have include-site-packages = true in your .cfg file? That will be the default in 1.5.2 but false is default before then [21:05] bac: is it the same one that 'devel locally' has ? [21:05] lp.soyuz.tests.test_buildpackagejob.TestBuildPackageJobScore.test_score_unusual_component [21:06] jam:no. devel has the OOPS failure. your branch has ^^ [21:06] gary_poster: yes [21:06] bac: well having it fail 3-different ways doesn't make me very trusting [21:06] nope [21:07] gary_poster: I'm kinda confused why import can't find restfulclient under /usr/lib/pymodules/python2.6 when that path is actually in sys.path [21:07] jam: you may need an apt-get update && apt-get upgrade in there [21:08] cr3: can you give me instructions to dupe maybe? want to help, but also have some other people to support right now [21:08] gary_poster: it seems that if I introduce /usr/lib/pymodules/python2.6 in the buildout_paths, in site.py, before the zope.exceptions egg path, then I can import lazr.restfulclient [21:08] lifeless: did that, now I'm trying an update of the "download-cache" directory [21:08] (bzr update) [21:09] not a good long-term solution cr3: setuptools won't work the right way like that [21:09] which did pull in a bunch of stuff [21:09] gary_poster: I'll try to figure a way to easily dupe and get back to you [21:09] thanks cr3 [21:09] gary_poster: zc.recipe.egg seems to order paths correctly though [21:09] I don't know why it didn't update with everything else... [21:09] at this point, I'm ready to turn to a voodoo doll [21:09] cr3 what definition of correc? [21:09] gary_poster: works :) [21:10] fair enough, cr3. does not work in other circumstances though. [21:10] lifeless: updating download-cache was enough to get 'make' to run [21:11] gary_poster: ugh, so if I use both zc.recipe.egg and z3c.recipe.scripts, I don't work in all circumstances :) [21:11] cr3: correct. z3c.recipe.scripts is supposed to be your one-stop-shop. [21:11] (the fact that it is not is a bug, obviously) [21:12] zc.recipe.egg will not change [21:12] gary_poster: I'll concentrate on porting my existing zc.recipe.egg stuff to z3c then [21:12] cool, cr3. [21:13] don't you hate it when adding an assert makes things work ... [21:20] leonardr, still around? Did you get a chance to try lifeless's OOPS patch? [21:20] mars: well, it's in ec2. i didn't get the problem locally [21:20] Ursinha: could we have a 'latest' or 'current' symlink for the oops report html file ? [21:21] lifeless, it's always the deployment-stable one [21:21] different hting [21:21] like https://devpad.canonical.com/~lpqateam/oops-summaries/lpnet-oops-last-hour.txt [21:21] but for the day [21:21] jam, any luck? Normally to update LP you can run 'rocketfuel-get; cd mybranch; bzr merge ../devel' [21:22] I thought there was one, but I can only find things for specific dates, not one I can put in by bookmarks. [21:22] leonardr, the branch with the patch is in EC2? Or just the plain old branch? [21:23] the branch with the patch is in ec2 [21:23] lifeless, ^ [21:23] mars: well, things almost seem to work, but I still am trying to determine how to run a subset of the test suite based on failures from ec2 [21:23] at least the test runner starts up and runs some tests and exits appropriately [21:23] leonardr: cool, thanks [21:24] jam: testr load < subunit-stream; testr run --failing [21:24] jam, ok, in the branch: testr init; (save log.gz from ec2 to disk); zcat foo.log.gz | testr load; testr failing [21:25] ah [21:25] jam, lifeless: the failure i'm seeing is real and is going to put us in testfix mode very soon now. https://lpbuildbot.canonical.com/builders/lucid_lp/builds/172/steps/shell_7/logs/stdio [21:25] search for test_score_unusual_component [21:25] \o/ [21:25] lifeless, I see what you want [21:26] Ursinha: for that one html would be nice :) [21:26] Ursinha: just needs to be a symlink to 2010-09-21.html, etc etc [21:26] lifeless, I got it [21:26] bac: so ec2land doesn't pre-merge the target branch and run the tests on the result? [21:26] bac: was that landed without ec2land? do we know? [21:26] jam: yes it does [21:26] jam, ec2 land branches devel, then merges your branch, then runs the tests [21:27] lifeless: we have no way of knowing [21:27] ah, I was hoping so [21:27] jml: yo [21:27] since it is soyuz i'd say not [21:27] i should rephrase [21:27] https://lpbuildbot.canonical.com/builders/lucid_lp/builds/172/ is about to die and you're in the blame list. Should we rollback your commits ? [21:27] bigjools does his testing locally. [21:28] lifeless: who was that directed to? [21:28] jml: [21:28] jam, it was written by bzr folk - pre-merge is not natural, but all of you have learned to The Right Way To Do It [21:28] mars: pre-merge? [21:29] lifeless, is that not what jam just called it? "so ec2land doesn't pre-merge the target branch and run the tests on the result?" [21:29] lifeless: yes, it is certainly jml's r11586 [21:29] mars: 'EPARSE' on your last [21:29] bac: land a backout of it [21:29] bac: if you would === al-maisan is now known as almaisan-away [21:29] and 11588 I guess, I'm assuming that that was an attempt to fix it that didn't [21:30] lifeless: so how would i do that? [21:30] bac, please use "ec2 land --rollback 11586", or 'bzr lp-land --rollback 11586' [21:31] bac, that way the QA flags will be correct [21:31] mars: you rock! [21:31] bac: bzr lp-land --rollback 11586 [21:31] bac: bzr lp-land --rollback 11588 [21:31] and then it should go its merry way [21:31] actually [21:31] mars: is that only commit message glue, or does it do the roll back merge too ? [21:32] bac, by the way, you have to acutally run 'bzr merge 11586..11585' [21:32] so, the full story then: [21:32] bzr branch devel testfix [21:32] in testfix [21:32] (this is all in the not-yet-seen-but-does-exist user guide) [21:32] bzr merge . -r 11586..11585 [21:32] bzr merge . -r 11588..11587 --force [21:33] bzr commit -m "Rollback 11586 and 11588" [21:33] bzr lp-land --rollback 11586 --rollback 11588 [21:33] mars: ^ sane? [21:33] lifeless, I hope so. I don't know if the tagger or lp-land can take multiple --rollbacks [21:33] seems right to me, though i would've forgotten the . [21:33] mars: if it doesn't, it will need to ;) [21:34] if it doesn't, we can roll each back on it's own maybe? [21:34] bac, try it [21:34] test flight! [21:34] mars: trying [21:34] still generating me some wadl [21:34] * mars hope's bac's branch doesn't end up in a smouldering crater [21:35] I can watch the tagger logs [21:36] ah, maybe not. There is a 4? hour lead time on landings [21:36] puts is around 8:30 or 9pm here [21:36] mars: what plugin provides lp-land? mine doesn't have --rollback [21:37] bac, bzr-pqm [21:37] mars: i need to install from lp:pqm? [21:37] bac, sorry, 'pqm' is the plugin, bzr-pqm is the ubuntu package [21:37] mars: is there a ppa? [21:37] bac, yes, it is in the LP ppa - what version do you have? [21:38] apt-cache policy bzr-pqm [21:38] ii bzr-pqm 1.4.0~bzr69-1 bzr plugin to submit an email to a Patch Queue Manager [21:38] out of date [21:38] 1.4.0~bzr73-0ubuntu1-launchpad1~lucid1 [21:38] why, it needs a maverick build? [21:38] not. on. lucid. [21:38] no one should be on lucid [21:39] we all have to jump the broom together [21:39] or something like that [21:39] i think i confused roots with thelma and louise [21:40] mars would you mind trying the rollback since i'm crippled? [21:40] ok, having no series on the PPA page package list is a little annoying [21:40] jam, please ping me tomorrow and i'll try again [21:40] wasn't there supposed to be JavaScript on this page? [21:41] bac, ok, what is the branch, just devel? [21:41] mars: yes, devel. [21:41] bac, here is your problem: https://edge.launchpad.net/~launchpad/+archive/ppa?field.series_filter=maverick [21:41] trying to undo changes 1 and 3 from https://lpbuildbot.canonical.com/builders/lucid_lp/builds/172/ [21:42] compare to: https://edge.launchpad.net/~launchpad/+archive/ppa?field.series_filter=lucid [21:42] yes, many fewer [21:42] some are legitimate, like python-debian [21:42] others are oversights [21:42] adding that to my TODO list [21:43] bac, running it now [21:44] is celso really still uploading PPAs for us? [21:44] re: geoip on maverick [21:48] bac: I'll say hi tomorrow, thanks for working with me on this [21:48] jam: sorry we had so much fail for what should've been easy [21:50] lifeless: so how in the 'testr' stuff do you run just the failing tests? [21:50] testr run looks like it runs everything [21:50] testr run --failing [21:51] ah, testr run --failing [21:52] bac, waiting for the MP to show up, I'll need you or lifeless to approve it to appease lp-land [21:52] mars: rs=me [21:52] rs=theworld [21:52] mars: oh, right, on the MP [21:53] Wow, Chromium consistently crashes X for me now. [21:53] rockstar, eeew [21:54] mars, what's worse is that it seems to happen whenever I'm REALLY focused on what I'm doing. [21:54] X crashes are not fun. I've had my share of those. [21:54] yeah [21:54] at least an application freeze is humane. An X crash is just brutal. [21:55] lifeless, hello. what's up? [21:55] lifeless: trying to run "testr run --failing" gives me: http://paste.ubuntu.com/497981 [21:55] which seems like a test system infrastructure issue [21:56] bac, https://code.edge.launchpad.net/~mars/launchpad/rollback-11586-and-11588/+merge/36212 [21:57] morning [21:57] jam, yeah. I've been meaning to chase down that bug. [21:57] jml: bb found a flaw in your branch [21:57] jml: we're backing it out [21:57] lifeless, :( [21:57] lifeless, can't I just fix it instead? [21:58] jml: well, it *does* take 4 hours to land the reversal [21:58] jml: it looks like you've tried once already; its an unknown amount of time before we find all the issues and we don't want to be in testfix for that long. [21:58] lifeless, wrong. [21:58] ok, trying lp-land [21:58] lifeless, different problem. [21:58] ... [21:58] mars: hang a sec [21:58] (nice timing) [21:58] jml: please expand; [21:59] lifeless, the first test fix was for a different failing test with a completely different problem: not having a clean() method on build [21:59] jml: [separately, meta] are you landing these things via ec2 land ? [21:59] lifeless, the failure you see now is due to a different problem due to a change to the API of a factory method [21:59] lifeless, no, I'm not. [21:59] jml: please do. [21:59] lifeless, I normally do. [21:59] jml: well, please do what you normally do. [21:59] lifeless, ok. [22:00] jml: not doing it has spent about 1/2 an hour of engineer time [22:00] x3 [22:00] jml: how confident are you that there are no other issues behind this one [22:00] mars:done [22:00] lifeless, sure. I know how tedious it is to fix other people's broken builds. [22:01] lifeless, quite confident. [22:01] ok, I'm happy with 'fix it' - but if we head back into testfix from another issue in the same patch in 4 more hours, I'll roll it back and let you debug tomorrow, ok? [22:01] lifeless, +1 [22:02] lifeless, jml, so if need be, we roll back both with https://code.edge.launchpad.net/~mars/launchpad/rollback-11586-and-11588/+merge/36212 ? [22:02] lifeless, or will you prepare a new patch? [22:02] mars, I'd rather you rollback only 11588 [22:02] jml: landing without ec2 land is ok from time to time - you know me and pragmatism; I guess I'm saying that the work you're doing is stuff I wouldn't have attempted to land without full tests :) [22:02] mars: I'll leverage that one, if needed [22:02] lifeless, ok, I'll leave it to you and jml then [22:03] mars: thanks [22:03] mars: can you confirm that when bb *starts* a build pqm opens again ? [22:03] yeah, thanks mars [22:03] lifeless: that is true [22:03] lifeless, as I said, normally, I wouldn't either. [22:04] bac, the 'pqm opens again' is true? [22:04] I don't actually know [22:04] when bb starts on at [testfix] it optimistically takes us out of testfix mode [22:05] bac: thats a different question [22:05] bac: what I asked is 'starts a build' - thats 'receives a testfix commit' [22:05] bac: many testfixes are spurious [22:06] lifeless, waiting eight hours before I can meaningfully integrate is particularly trying at a sprint. :\ [22:06] yeah [22:06] lifeless: what do you mean many testfixes are spurious? [22:07] bac: I mean our test suite is as flaky as 'Flake(tm)' chocolate [22:07] lifeless: i assumed you meant pqm was closed due to testfix mode [22:07] yes, thats what I mean [22:07] then bb won't start again until it receives a testfix, right? [22:07] a non trivial amount of the time just running the test suite again will work. [22:07] bac: no, you can press 'force build' [22:08] but that does not open PQM again [22:08] lifeless: so you are asking if forcing a build while in testfix mode opens pqm. that i do not know [22:08] mars: it doesn't? Ok, can we make it do so? [22:09] lifeless, no idea. That means the poller bit would have to know the difference between a forced build and a testfix build. Would take some work. [22:09] mars: why would it need to know the difference? [22:09] mars: making it know the difference would argue that it currently would open pqm [22:10] yep, you are right. I was thinking 'if you only want to open PQM when a build is forced, then you need to do some footwork' [22:10] lifeless, I object to your statement about our test suite being flaky. The tests themselves very, very rarely fail spuriously. [22:10] tunnel vision, not helpful, sorry [22:11] jml: layers fail to come up; windmill on the lp builder is almost always dying, we have hung librarian processes a lot of the time [22:12] lifeless, yes, but the tests themselves... [22:12] lifeless, everything else never works, sure. [22:13] jml: I referenced the 'test suite', which is the whole [22:13] lifeless, ? I haven't seen any of those issues in a while. Recently it has been the DB connections thing. and XMLRPC code pulls fail. [22:13] :D [22:13] mars: yesterday. [22:13] mars: lp build, lp_db, go boom. [22:13] also [22:13] this is bad: [22:13] gary_poster: it seems the problem might be related to bug #599332, now I'm getting: Error: Couldn't find a distribution for 'elementtree'. Still working on it... [22:13] <_mup_> Bug #599332: python-lazr.enum makes python-lazr.restfulclient no longer be visible [22:13] Danger Zone. [22:13] enter makeBugTask. [22:13] 233525392 16 [22:13] 233525392 16 [22:13] 233525392 16 [22:13] 234934992 16 [22:14] enter makeBugTask. [22:14] 233525392 16 [22:14] thats id(bug), bug.id [22:14] in one call to makeBugTask() [22:14] notice that we have two objects claiming to be the same bug, live at once. [22:14] thumper: standup? [22:15] lifeless, if you are wondering about the hardy builders, we haven't been maintaining them [22:15] yes, they blow up, because we aren't fixing the problems [22:15] mars: which demonstrates my point about flakiness ;) [22:15] cr3: :-) I'm sorry. If you can just give me dupe instructions, I'll swim in themorass for you [22:15] the lp test environment is not a 'fire and forget' one. [22:16] its forget, and you're on fire. [22:16] cr3: IOW, I advise trying to keep from figuring out what's actually going on--but if you do, that's great [22:16] gary_poster: heh, that's really nice but I'm trying to spare you too much distraction [22:17] gary_poster: in that case, I'll try to push a branch which can reproduce the problem for you. one moment... [22:18] cr3: great thanks. You may have to give me apt package names that you have installed that you suspect are causing the problem. It may also be lucid or maverick or something, so let me know what that is [22:18] one line diff: https://code.edge.launchpad.net/~jml/launchpad/fix-factory-change/+merge/36215 [22:19] jml, if you are asking 'does this pass our code standards', then yes! r=mars. If you are asking if you missed anything critical in this patch, well, I have no idea :) [22:20] mars, good enough for me. [22:21] jml, done [22:21] mars, ta. [22:22] landing now. [22:22] I'd really quite like to delete most of our coding standards I think. [22:22] they seem, the more code I read, to be a poor surrogate for what we say we care about [22:26] lifeless, to be honest, I mostly review for readability now - a Smalltalk-influenced ideal I believe we should strive towards [22:26] and all-around quality - more robust tests, using the right test type for the purpose and such [22:28] mars: things like lines ending on 78/79/80, (,) vs (, ), what case to use for function names seem largely content free [22:28] oh, and for codebase design improvements - "we have a helper for that", or "this would be great as a new helper" [22:28] gary_poster: email sent [22:28] mars: thats sensible [22:29] lifeless, true, but standards are nice. When one person codes to C, one to Java, and one to Smalltalk, things look... not as nice as they could be, to the other people [22:29] and in Python as a whole, I have seen all three [22:29] cr3, ack, investigating [22:29] styles, that is [22:29] mars: if we're going to use a standard, we should use a standard. [22:29] mars: not make our own [22:29] mars: because we interoperate with the rest of the python world [22:30] mars: I would simply say 'be roughly PEP8, make it readable, thanks.' [22:30] cr3: maybe I don't have privs to see? [22:30] PEP 8 (alternatively, bzrlib's or Google's Python standard) [22:31] gary_poster: maybe I've been working too hard on this and I forgot to push that branch :) [22:32] gary_poster: it's done now, sorry about that [22:32] jml, lifeless, mars, changing coding standards in the middle of a codebase, particularly when you are talking about things that affect API, like camelcase versus underlines, doesn't seem like a great idea to me, but...eh, flyby :-) . [22:32] gary_poster, yeah, that's the other issue [22:32] cr3: got it, thanks :-) [22:33] gary_poster, especially now that we've got an external API to preserve [22:33] well, we can adjust that [22:33] but still [22:33] unless we have a magic "change everything at once" [22:33] I'm -1 [22:34] Which is funny in a way [22:34] But I need to move on :-) [22:34] jml: I've I'm writing a brand spanking new API, is there anything I should consider from this conversation about coding style? [22:34] cr3, no. [22:34] PEP 8 :-) [22:34] cr3: make it tasteful. [22:34] gary_poster: changing public apis has consequences, yes. [22:34] lifeless: to me, it tastes just the same camelcase vs underlines [22:34] lifeless: ... as long as it's consistent with the context [22:34] use whitespace then, to add flavour [22:35] * cr3 adds salt (random bits) to taste [22:36] don't give me that branch, cr3 ;-) [22:36] cr3: maybe you haven't checked in things to download-cache? [22:36] missing wsgi-interceptm for instance [22:37] can work around [22:38] anyway, my yak stack is pretty deep with things that actually bug me about LP development. coding standard is well low. [22:38] gary_poster: installed as package, I should add to setup.py [22:38] cr3: ok. got it as egg here [22:40] * jml is hanging around until PQM says my branch has landed [22:40] gary_poster: ./bin/test, are you getting the same error as me? [22:41] hello all [22:41] cr3, doing it a different way, but I think so :-) [22:41] poolie: hi [22:41] hi lifeless [22:41] early for you? Anyhow I could use a hand [22:41] https://bugs.edge.launchpad.net/launchpad-foundations/+bug/634342 [22:41] <_mup_> Bug #634342: need a features 'scope' for page ids [22:41] slightly early [22:41] yes i saw [22:41] i would presume from that output that it is getting the value for memcache in that scope [22:42] unless you defined it at a lower prioirity than the default [22:42] clearly there's room for better docs and tests there [22:42] there was only one rule defined in the db [22:42] gary_poster: regarding wsgi.intercept, I'll probably be testing it differently once I get the bin/test script running [22:42] cool [22:42] poolie: is 0 ultimate high or low pri ? [22:42] i will file a bug [22:42] lifeless, https://code.edge.launchpad.net/~rockstar/launchpad/build-farm-job-constraint/+merge/36219 [22:42] lifeless, I'd be interested in your opinion here. [22:42] rockstar: I need to pop out to the shops briefly, will look when I return [22:43] it uses the rule that is relevant and has the numerically highest priority [22:43] so 0 is ultimate middle :) [22:43] you could go negative [22:43] but i imagined we would use 0 for the defaults [22:43] lifeless, ack. [22:43] hello gary_poster, rockstar [22:43] hey poolie :-) [22:43] poolie, hi. [22:50] ~30 mins :( [22:50] g'night all. [22:50] hi jml! sleep well [22:51] lifeless: i'm trying to work out what the doc/usability bug should be [22:52] lifeless: fyi, after merging your branch my branch ran ec2 with no test failures, but for some reason the ec2 run failed anyway [22:52] Tests failed (exit code 1) [22:52] make: *** [check] Error 1 [22:52] well, https://bugs.edge.launchpad.net/launchpad-foundations/+bug/644751 [22:52] <_mup_> Bug #644751: should be easier to tell which flags are active [22:52] feel free to add more [22:55] rockstar, poolie, since you are on the topic of feature scopes: the docs don't say how to install a scope or feature for just one test. Did either of you have an idea about how it could be done? [22:56] rockstar, unping [22:56] lifeless, that last was meant for you [22:56] i'm just replying to noodles's mail about exactly that [22:56] haven't looked today - on lp-dev? [22:56] cr3: ah-ha! You have encountered https://bugs.edge.launchpad.net/ubuntu/+source/python2.6/+bug/621348 ! [22:56] <_mup_> Bug #621348: .pth and .egg-info files in /usr/lib/pymodules/python2.6 are not being processed [22:56] congratulations! ;-) [22:57] poolie, ok. The other thing I was wondering - why do I need a full database to fire up a feature? Can we just do a simple dict-based controller for that? [22:57] gary_poster: reading and scrutinizing for workaround :) [22:57] cr3: :-) workaround I would suggest is to use the packaged eggs. Would that work for you? [22:58] poolie, or some way to install a custom FeatureController that is just a dict :p. Maybe a bit more with scopes if need be. [22:58] sorry, "packaged eggs" was two mistakes in two words cr3 [22:58] I meant the .tgzs available from PyPI [22:58] Or launchpad in this case [22:58] mars istm that for most tests you shouldn't care about the rules and scopes [22:59] gary_poster: packaged eggs just for lazr.restfulclient? [22:59] you just want to say "with active_features([blah, blah, blah])" [22:59] gary_poster: err, "tgz" just for lazr.restfulclient? :) [22:59] :-) yeah. is that acceptable cr3? I'd actually recommend all the lazr things be from Python source packages (tgzs) [23:00] you could do that probably pretty easily [23:00] poolie, "with active_features()" - is that documented? [23:00] poolie, because I have yet to see it [23:00] gary_poster: I tried that earlier and got something about not being able to find distribution for elementtree, but that might've been because of the wsgi stuff. let me try again real quick [23:00] * gary_poster needs to turn into pumpkin, cr3 [23:01] mars, that was science fiction [23:01] i'm saying that's what the api should be [23:01] lol [23:01] like a famous announcement from our ex-government telco "no email should have been lost during this upgrade" [23:01] yeah, "shoudl" [23:01] *should [23:02] gary_poster: darn, I'll try me best then and try to get some rest even if it doesn't work :) [23:02] Error: Couldn't find a distribution for 'elementtree'. [23:02] crap, no clue where that's coming from [23:02] cr3: ack. Send me an email (and a branch!) and I'll look at it tomorrow morning [23:03] let me try [23:05] poolie, so Michael's helper is a start. It would be nice to break the database dependency, but that can be done later [23:05] cr3, worked for me [23:05] right [23:05] i'll try to do that in my next slice on it [23:05] got to do some bzr things today [23:06] gary_poster: 1. added lazr.restfulclient-0.10.0 to download-cache; 2. added lazr.restfulclient to eggs under [buildout]; 3. make build? [23:07] cr3: http://pastebin.ubuntu.com/498023/ [23:07] bryceh: Why not just fix the link to go to the non-dupe bug? [23:07] 8-9: hack to get packages [23:07] as in, go up the chain [23:07] 4-15 also [23:07] 14-15 I mean [23:07] bryceh: and update launchpad with the actual bug [23:07] rather than the dupe [23:07] 23 says :don't get my dependencies from site-packages [23:07] 31 is a convenience to get an interpreter to play around with [23:08] 41-43 should mean that you can reinstate allow-picked-versions = false [23:08] reed|work, right that's how I'd *like* to fix it [23:09] cr3: argh import still fails [23:09] also, it didn't get packages; looking [23:09] need to go RSN [23:09] bryceh: I was just reading your initial commit, which didn't seem like a very good fix ;) [23:09] reed|work, unfortunately launchpad appears to capture the fact that the watched bug has status DUPLICATE, but afaict does not record what the remote dupe bug was [23:09] gary_poster: at least I'm reassured this is not a trivial problem :) [23:09] so, can that be fixed? [23:10] cr3: well, the debian one isn't. this is suposed to be [23:10] well [23:10] reed|work, aside from fixing a symptom rather than root cause why do you think it is a bad fix? [23:10] john has a big, useful patch stalled [23:10] r [23:10] https://code.edge.launchpad.net/~jameinel/launchpad/lp-service/+merge/35877 [23:10] because launchpad won't be showing the *real* status of the upstream bug [23:10] if i read it, will someone from the lp team join me? [23:10] which is what this is supposed to be providing [23:11] it will just be showing the status of some dupe bug that nobody upstream is looking at [23:11] poolie, I can try, but can't promise anything this week. [23:12] reed|work, I think you're jumping the gun a bit. ;-) [23:12] reed|work, as I see it there are three possible ways to address the complaint [23:12] reed|work, two of the three are fairly trivial, and I did implementations of both of those [23:12] the third, making the bugwatch auto-update, is not as easy as it seems [23:13] because while we capture the fact that the upstream bug is marked RESOLVED DUPLICATE, we do not capture the identity of the bug it was duped against [23:13] cr3: your builout doesn't actually install your software :-P :-) [23:13] in any case, I have emailed gmb for advice on how to do that third approach, and shown him the other two [23:14] gary_poster: if I can't run the tests, it's a feature that it doesn't actually install :) [23:14] lol [23:14] mars, gary_poster: lucid_lp builder failed with "Cannot rebuild database. There are 1 open connections." is that fixable by a forced rebuild? [23:14] bryceh: where is the code that pulls from bugzilla? [23:14] like, pathwise or filewise [23:14] * reed|work is pulling launchpad [23:14] bac, yes, force rebuild [23:15] bac, it could take a few tries to clear it [23:15] reed|work, recall the original complaint was that mozilla was feeling spammed by updates to dupe bugs; that complaint is easy to solve [23:15] sure [23:15] mars, gary_poster: thanks [23:15] people are also whining about launchpad touching old bugs [23:15] * gary_poster just watched, and started to reply [23:15] that haven't had activity forever [23:16] but I care less about that [23:16] mars: it just started and says "ETA of 2h 14m". what is it smoking? [23:16] reed|work, well like I said that was probably just because we started tracking Importance now [23:16] bryceh: sure [23:17] https://bugzilla.mozilla.org/show_bug.cgi?id=597786 [23:17] https://bugzilla.mozilla.org/show_bug.cgi?id=597902 [23:17] see those two bugs [23:17] bac, I think that is close to normal now. Might be the time from the last run? [23:17] those are complaints people have been having [23:17] reed|work, heh when my son whines we make a point not to give him what he's whining for so we don't reinforce the behavior ;-) [23:17] bac, there is a lot of overhead in there besides running the suite [23:17] lol bryceh [23:18] bryceh: do you squirt him with water? [23:18] bryceh, that works, except when he's right. [23:18] ;) [23:18] bac, in the bathtub and he loves it ;-) [23:18] reed|work, anyway just stay tuned, I'm way ahead of you ;-) [23:19] * bac just watched the big bang theory "positive reinforcement" episode... [23:19] bac, lol [23:20] bryceh, you saw the complaint about launchpad re-adding the link when people remove it, right? [23:20] especially if it's wrong [23:20] reed|work, no didn't see that [23:20] see the two bugs I linked above ;) [23:21] reed|work, but having just looked at the update code I know why - if the field is blank it updates it [23:21] reed|work, obvious workaround would be to just put garbage in the field and it won't update. "NOTHING" would do it [23:21] wait, which field? [23:22] you can't put "NOTHING" in a see also field [23:22] in bugzilla [23:22] well, any value except blank would prevent launchpad from filling it in [23:22] cr3: 21 minutes late, must go! but this works. http://pastebin.ubuntu.com/498032/ . Builds a whole buncha buncha stuff. Needs more cleanup. [23:22] yeah, can't put anything but urls, and specific URLs at that [23:22] There are some similar probs in your cfg [23:22] so, that's not really a fix or workaround [23:22] reed|work, anyway, you'd need to raise this with deryck, I'm just hired gun here :-) [23:23] That is, related to not actually building your package [23:23] sure [23:23] Can look tomorrow cr3 [23:23] gary_poster: thanks, I'll catchup with you tomorrow! [23:23] bye [23:23] deryck around, or is he gone for the day? [23:23] reed|work, sounds like there'd need to be some way to record "not bug such-and-such" that would clue launchpad in [23:23] reed|work, he's probably gone for the day [23:24] mmm [23:24] let me think how that could work [23:26] thumper, I'm going to go for walk. I'll be back in a bit. [23:26] mars: what was for me ? [23:26] leonardr: was there any other data? [23:27] lifeless, leonardr's run of the patch [23:27] ohright [23:29] lifeless, oh, the other thing - the API suggesting. Martin answered my question with artistic fiction - can't easily top that :) [23:33] gmb: Do you have a Mozilla Bugzilla account? [23:33] Looks like not. [23:33] yes, he's graham@canon [23:34] Ahh. [23:34] I cc'd him on the first bug [23:34] not the second one yet [23:34] poolie: so I'm still confused about the scopes bug thing; its not getting the value back. [23:35] mars: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/631884 [23:35] <_mup_> Bug #631884: feature flags get out of sync easily [23:35] lifeless, eh? [23:35] jtv: You should probably warn people that setting a contact address will break all their bugmail. === matsubara is now known as matsubara-afk [23:37] mars: something to be aware of if working up poolies sci fi [23:37] right. I think noodles' patch covers that [23:39] lifeless, would the helpers go in lp.testing, lp.testing.features, or lp.features.testing ? [23:39] I need some help with the convention here [23:40] or on lp.testing.TestCase as a helper method [23:40] poolie: the memcache code still runs, so I think that the 'disabled' is not propogating correctly. [23:40] nah, that wouldn't work for views [23:41] lifeless, sorry to bug you with the questions, but you are the Test Engineering Ninja for this shift :) [23:41] lp.services.features.testing.py [23:41] great, thanks [23:41] lp/services/features/testing.py I mean, obviously ;) [23:41] jml: Yay, you're killing buildd-slavescanner.txt [23:43] wgrant: a letting. [23:43] wgrant: a little, I mean. [23:44] brain no longer connected to fingers. good night :) [23:44] Night. === salgado is now known as salgado-afk