[00:00] Oh. [00:01] I see why this happens now. [00:01] There's a proper fix, but this reversion is probably better. [00:01] (for now) [00:01] why? [00:02] wallyworld: ^^ [00:02] wgrant: ? [00:03] wallyworld: I (and everyone else, it seems) was misunderstanding the code. write_htpasswd is given the name of a temporary file which was just created, with mode 600. [00:03] Not the old .htaccess file. [00:03] So this makes sense. [00:04] I now understand why that patch works. [00:05] no solution to my problem? [00:06] thumper: i need that cowboy eyeballed asap. see mp ^^^^^^^^^ [00:06] thumper: only one losa left and he is waiting [00:06] weather15: What happens if you try to retrieve testopenid.dev from the server? [00:06] wallyworld: The MP looks empty to me :/ [00:06] wallyworld: looking [00:06] Ah, there. [00:06] wgrant: fixed. i was being dumb [00:07] Service Temporarily Unavailable [00:07] weather15: You killed 'make run'? [00:07] wallyworld: you aren't really reverting the fix are you? [00:07] wgrant see this: http://pastebin.ubuntu.com/533655/ [00:07] thumper: no. but that effectively what it does [00:07] it a new branch [00:07] bad comments i guess [00:08] ah... [00:08] Preferably don't merge that fix, but please cowboy it. [00:08] what is really changing here? [00:08] it will be cleaned up. i justed wanted to get the cowboy done [00:08] wgrant: doesn't open(..., 'w') overwrite? [00:08] thumper: Yeah, but it doesn't set the mode. [00:08] thumper: see pastebin http://paste.ubuntu.com/533638/ [00:09] wgrant: so really what is the difference for the cowboy? [00:09] thumper: What do you mean? [00:10] thumper: The problem is that write_htpasswd is being called on a tempfile. [00:10] The tempfile is 600. [00:10] wallyworld: pong [00:10] thumper: open(..., 'w') truncates, but does not set the mode to the 644 that we require. [00:10] thumper: This is unobvious, and apparently a drive-by cleanup a week or so ago. [00:12] abentley: hi, just was looking for some eyeballs to review a cowboy. see mp a few lines above ^^^^^^ thumper is onto it [00:12] if the file doesn't exist at all (in the case of a newly privatized PPA) is the file going to be initially created with the correct permissions? [00:13] wgrant what can I do? [00:13] mbarnett: That's irrelevant. It creates a new tempfile, writes to that, then renames it over the top of the old one, if any. [00:13] (to attempt to be atomic) [00:14] wgrant: I just don't see why this is any different [00:14] wgrant: how confident are you that this works? [00:15] thumper: It deletes the file and creates it again. [00:15] Umask is 0022 [00:15] and the existing file is 600 why? [00:15] I've tested it locally, and it's just the same as the old code which worked. [00:15] thumper: Because that's what mkstemp does. [00:15] mbarnett: do the cowboy plz [00:15] Yay. [00:16] thumper: thanks [00:16] wgrant: why is the existing filename mkstemp? [00:16] wgrant: I'm just trying to understand [00:16] thumper: did we want the cowboy to become the accepted fix [00:16] wallyworld: probably not [00:16] wallyworld: in fact, it's something that looked wrong when I reviewed the code, and I said so at the time. [00:17] wallyworld: I think it should be looked at as it isn't obviously wrong [00:17] thumper: generate-ppa-htaccess creates a new temp file (using mkstemp), calls write_htpasswd on it, then renames it to .htpasswd. [00:17] thumper: thanks. [00:17] thumper: abentley: np. who should i assign the bug to? [00:17] I can't see the original MP (it's a private branch), but it looks like something which could have been fixed as part of a review. [00:18] wallyworld: don't assign it to anyone [00:18] patched [00:18] wallyworld: but pass it on to soyuz [00:18] mbarnett: thanks! [00:18] now we need to update a subscirption and make sure it worked! [00:18] mbarnett: Have you fixed existing file modes? [00:18] thumper: ack [00:18] wgrant: would it be better to look at the mode of the file rather than depend on the umask? [00:18] thumper: Of course. [00:18] And it should be tested. [00:18] wgrant: yeah, all were set properly [00:19] But I lack time to do that right now. [00:19] wgrant: re-running my find to make sure no more snuck in [00:19] Traceback (most recent call last): File "bin/killservice", line 23, in import lp.scripts.utilities.killservice File "/home/weather15/launchpad/lp-branches/devel/lib/lp/scripts/utilities/killservice.py", line 25, in from canonical.lazr.pidfile import ( ImportError: No module named pidfile make: *** [initscript-stop] Error 1 [00:19] ??? [00:21] wgrant: Yeah, it was considered a security vulnerability that we were publishing private PPAs before setting up their auth. [00:21] abentley: I know the bug and fix, but I can't see the comments in the MP. [00:22] I was wondering if the problematic change was a review fix. [00:23] no errors in the logs on the subsequent ppa generation runs. gonna change a subscription now and make sure it is happy [00:26] wgrant: it was. [00:26] Hah. [00:28] wgrant: rev 11842.1.12 of stable. [00:30] ... why did I not think to check the revision history. [00:36] and the build farm seems to still be alive. [00:49] Is PQM untestfixed at the moment? [00:52] who knows? [01:21] seiflotfy: hey [01:21] hi poolie [01:21] hi all [01:21] seif is interested in feeding launchpad actions into zeitgeist [01:21] so [01:21] which i think would give an incredible experience [01:21] "that bug i touched the other day" [01:21] Using Zeitgeist as a backend in Launchpad will allow users to have a personal timeline of their activities regarding themselves or specific project. This will allow easier tracker of when things were done commited and view a chronicle of the project in terms of all (blueprints/bugs/etc..) mashed together. [01:21] To do so Zeitgeist will just need 1 minor change which is use a different SQL DB to allow multiple read and write. [01:21] seif i just saw this general topic of zeitgeist-like-things was mentioned in the Economist last week [01:22] really [01:22] where? [01:22] iiiiiiiiiiiiiiiiithe magazine [01:22] sorr [01:22] sorry typo [01:22] sor [01:22] ok [01:22] fixed the keyboard [01:22] sorry [01:22] ok [01:22] ........... [01:22] :) [01:23] seiflotfy, what's the db backend of zeitgeist? Can it be replicated? [01:23] sqlite [01:23] james_w, we have an extension that forwards zeitgeist stuff to couchdb [01:23] seiflotfy: http://www.economist.com/node/17388382?story_id=17388382 [01:24] james_w, its easy to exchange the backend [01:24] the trick is in what shoudl be stored [01:24] seiflotfy, so LP could write a different backend to use a more appropriate technology for it? [01:25] yes [01:25] i was thinking of postgre sql [01:25] ok, what would zeitgeist provide in that situation, over some hacked up timeline view? [01:25] james_w, i dont understand you question [01:26] seiflotfy, just trying to understand what benefit using zeitgeist itself would have [01:26] hello [01:26] yeah [01:26] I agree that the functionality would be good for LP, but I'm unsure whether the code itself makes sense [01:26] james_w, i dont understand the question though [01:26] if you're talking about having zeitgeist directly access the launchpad pgsq, that's probably not feasible [01:26] no no no [01:26] are you talking about having zeitgeist run on the client, or also having it run in the datacentre? [01:27] poolie, it shoudl run on the datacenter with its own DB [01:28] james_w, the code is stable [01:28] seiflotfy, my concern would be that zeitgeist was designed for activity tracking on desktops. Using it in a webapp is quite different. I want to separate the concept from the implementation. [01:28] and being used by canonical already for unity [01:28] james_w, not really [01:28] how about having lp emit data into couch, in the dc, and then having zeitgeist pull some per-user parts of that? [01:28] we developed it for using it with webapps too [01:29] james_w, i can track twitter stuff easily [01:29] james_w, poolie , zeitgeist supports exchangable backends per default :) [01:30] so the DB where the data is stored is not a problem [01:30] its about how it is stored [01:30] james_w, I already started mapping out how user activities on launchpad will be logged [01:30] and tbh its pretty easy [01:30] I'd suggest that you send it to the mailing list, you'll reach a larger fraction of LP developers that way [01:32] james_w, sure thing [01:32] http://pastebin.ca/1995138 [01:33] poolie, this is how a bug report would look like [01:33] i can save this as it is in zeitgeist [01:33] this will allow me to query a timeline for user/project/team/bug [01:35] ok.. [01:35] spiv and i might get some lunch, biab [01:35] agree with james, sending it to the list too could be good [01:35] seiflotfy, what about privacy? [01:36] james_w, in which sense [01:37] james_w, its easy to set the privacy issues of who gets to see what as a layer between zeitgeist and launchpad [01:37] its a simple logic [01:37] right, but you need to account for that [01:37] bugs can be private [01:37] depends on how the team is set up [01:38] thumper: could you plz stamp this so i can progress it https://code.edge.launchpad.net/~wallyworld/launchpad/person-mergequeue-listview/+merge/41122 [01:38] james_w, the logic part for privacy is an issue that should be taken seriously and I agree on that, but its easier than oyu think [01:38] james_w, can u give me the launchpad list [01:41] seiflotfy, I'm not saying it's hard, I'm saying it's a requirement for LP, so if your proposal doesn't mention it then it will be the first objection that people make [01:41] james_w, taken into consideration [01:41] james_w, the problem i dont have it all thought out yet [01:41] i would like to do it with the launchpad team [01:41] think it through with u guys [01:42] https://launchpad.net/~launchpad-dev [01:45] james_w, join the team or write to launchpad-dev@lists.launchpad.net ? [01:46] I think you have to do the former to do the latter [01:50] ok [01:50] i am applying to join then [02:09] === Top 10 Time Out Counts by Page ID === [02:09] Hard / Soft Page ID [02:09] 198 / 62 Person:+commentedbugs [02:09] 138 / 5176 Archive:+index [02:09] 78 / 267 BugTask:+index [02:09] 44 / 308 Distribution:+bugtarget-portlet-bugfilters-stats [02:10] 36 / 1 Bug:EntryResource:newMessage [02:10] 28 / 267 Distribution:+bugs [02:10] 26 / 53 Archive:+copy-packages [02:10] 21 / 135 POFile:+translate [02:10] 17 / 24 DistroArchSeries:+index [02:10] 15 / 10 ProjectGroup:+milestones [02:10] Yay, we aren't winning any more :D [02:11] sum the two figures ;) [02:13] :( [02:28] seiflotfy: yeah, privacy seems to be the hard thing [02:28] wallyworld: Pong [02:28] poolie, not at all [02:29] i think it can be done as a logic between launchpad and the server-zeitgeist [02:29] excellent [02:29] poolie, its pretty easy [02:29] StevenK: hi, no matter now. there was an cherry pick i wanted to get eyeballed. all sorted, thanks [02:29] poolie, i am sending out an email to the launchpad and zeitgeist lists [02:29] wallyworld: I'm not working this week in any case :-) [02:29] this would get us into good discussion :) [02:29] StevenK: lucky bastard. you on leave? [02:30] wallyworld: Yup, until Monday [02:30] StevenK: well get off irc then and enjoy your holiday :-) [02:37] poolie, i sent out an email to the dev list :) [02:39] poolie, i am off to bed again [02:39] its 3:40 am here [02:39] ok [02:39] sleep! :) [02:39] n8 === seiflotfy is now known as seiflotfy|sleepi [02:41] wallyworld: can you have a look at bug 674581 [02:41] <_mup_> Bug #674581: Sourceforge Mercurial Import Fails [02:42] and say whether it's a dupe or a known limitation? [02:42] poolie: ok, i'll look [02:44] poolie: not sure - i'm a bit uneducated as yet on this stuff. perhaps thumper could comment? ^^^^ [02:44] ah... whut? [02:45] thumper: could you take a quick look at poolie's bug above. i can dig further. i thought you may just look at it and know what was happening based on past experience [02:46] wallyworld: most hg imports fail [02:46] around 80% [02:46] bzr-hg is not really going anywhere [02:46] ok. so it's a limitation in our importer [02:46] I'm looking at the imports [02:50] wallyworld: the only thing I could suggest is to try the import locally [02:51] thumper: thanks. poolie see thumper's comment ^^^^^^ [02:51] it's failing to connect to the server [02:52] poolie: I see that, have you tried it locally? [02:52] i can connect tothe url [02:52] i didn't actually try bzr-hg [03:02] * thumper tries === Ursinha-bbl is now known as Ursinha-afk [03:07] poolie: bzr-hg fails miserably with that import [03:07] I've commented on the bug [03:07] I think that the server is looking at the client type [03:07] hg client works fine [03:07] bzr gets the http redirect [03:08] and so fails on the unknown bzrdir format [03:08] poolie: I added a bzr-hg task [03:10] i see === timrc is now known as timrc_zzz [04:30] anyone seen 'Module canonical.launchpad.webapp.login, line 440, in expireSessionCookie [04:30] value = request.response.getCookie(session_cookiename)['value'] [04:30] on launchpad.dev logging in ? [04:30] TypeError: 'NoneType' object is unsubscriptable
' [04:34] No. [04:34] I blame Cassandra! [04:38] hah [04:38] so, did you gain much from my notes? [04:41] Mm. It looks good for some stuff (like the session bits you mentioned). But I need to look into it more deeply to see how it could feasibly replace much more than that. [04:50] * thumper EODs [04:58] sinzui: ping [05:00] wgrant: its what, 4pm for you ? [05:00] lifeless: 4pm, yeah. [05:00] hmm, actually, I can just look at my mail in the morning. [05:00] I have a fix for Person:+commentedbugs [05:01] Its a one-word fix. [05:01] Hah. [05:01] https://code.launchpad.net/~lifeless/launchpad/malone/+merge/41127 === almaisan-away is now known as al-maisan [08:32] good morning === adeuring1 is now known as adeuring [08:46] danilos: Hi! [08:50] wallyworld_, wgrant: Thanks for dealing with the permissions issue crisis! I'm looking at a proper fix now. [08:51] jelmer: no problem at all. i updated the incident report with a few extra details which i also included in the email [08:53] wallyworld_: Thanks. === didrocks1 is now known as didrocks [09:17] hello [09:37] jelmer: Great. [09:37] jelmer: An unobvious bit of code, that one :/ [09:37] jml: Thanks for landing that. [09:37] wgrant: my fix seems to have worked [09:38] bigjools: Yup, looks OK today. [09:38] no, to work out wtf they take so long to respond [09:38] bigjools: The "fix" being the removal of failure count assessments? [09:38] now* [09:38] Or increasing timeouts? [09:38] yes [09:38] nothing would have got failed if the assessment method had been left [09:38] Huh. [09:39] Interesting. [09:39] * bigjools will land the fix properly today [09:39] So you increased the TCP timeouts across the board? [09:40] all xmlrpc connections [09:40] Hmm. [09:41] that's the *connection* timeout [09:41] Can we grab logs from palmer and co. and see what was happening around the time of the timeouts? [09:41] Also, do we have resource graphs from the non-virt builders? I'm guessing not. [09:41] yeah I'll sort that out [09:41] :( [09:41] we do [09:41] ! [09:41] Yay. [09:41] There may be hope yet. [09:41] as in like the one I showed you for the virtual ? [09:42] No, I mean load and memory usage and stuff. [09:42] oh that [09:42] ummm [09:42] I'll check [09:42] do you know which ones (apart from palmer) to save me looking them up? :) [09:42] All of them, I believe it was. [09:43] One or two may have survived. But I don't recall which. [09:58] wgrant: it did it automatically [09:59] jml: Huh? [09:59] wgrant: I think there was some kind of mail queue delay [10:00] Ah. [10:00] wgrant: because another branch that I had forgotten about also landed. [10:00] Heh. [10:00] stub: any idea why our makefile has "schema" depending on "clean_codehosting"? [10:01] No idea [10:01] Having it depend on build definitely looks like overkill—we don't _really_ need new WADL to build a new DB, do we? [10:02] Or should I say 'because that Makefile has become utterly unmaintainable' [10:02] Too late—I'm hacking & slashing at it. [10:02] I don't know when we need WADL. [10:02] jtv: make schema will be deleting branches, so it probably makes sense to clean up their directories too... [10:03] wgrant: make schema deletes branches? That's surprising. [10:03] jtv: It resets your DB. [10:03] So... [10:04] wgrant: I'm waiting with bated breath for you to finish that sentence! [10:04] jtv: Is Codehosting going to be wonderfully happy if it tries to create a branch and there's already something there? [10:05] wgrant: I still fail to see the connection between that and the DB schema. [10:05] jtv: 'make schema' will remove all your extra branches. If you create a new one, it's going to use an ID that's already on disk. [10:06] wgrant: nope, I'm still not getting it. What are my "extra branches"? [10:06] jtv: Any branches you create on top of the sampledata. [10:06] Oh, you're saying it needs to reset the local codehosting state in conjunction with the schema. [10:06] Which are probably the same as those that are in the directories that clean_codehosting deletes. [10:07] (Why not the local librarian state though, I have to wonder) [10:07] Yes, schema also depends on clean_codehosting. [10:07] Hmm. clean seems to remove just about everything except the dev librarian. [10:08] Oh. [10:08] schema removes the dev librarian. [10:14] ISTM schema may only need to depend on $(PY) and clean_codehosting. [10:14] Not even compile? [10:15] Looks like you may be right. [10:16] I can't see compile doing anything more fundamental than UI-level work. [10:17] Or wait, no, compile also did mailman. [10:17] (Which it could do perhaps 10 seconds faster with a judicious -j option, but the change I have in PQM right now should make that sort of pointless) [10:18] But I imagine mailman is not necessary for what we want from "make schema." [10:18] I would hope not. [10:18] Unless something imports it. [10:19] Which ew. [10:19] We'll see, when my current branch clears PQM. [10:19] What does it do? [10:19] Not break when you "make -j2" :-) [10:19] Hah. [10:20] It's a pretty even break between "generate WADL" and "do everything else," so gratifyingly close to a 2× speedup. [10:20] benji & I got worked up about build speeds last night. He may have a way to skip the half a million optparse "add_option" calls from the WADL generation. [10:20] Unexpected? It was to me. [10:21] In a 4-minute profiling run of wadl generation, add_option accounted for about one minute. [10:21] wow [10:21] (Profiling added less than 100% runtime overhead for me, so estimate the gains at 30s) [10:21] jtv: Oh, last time I tried to profile the WADL generation it didn't finish... [10:22] See? Things aren't so bad these days! :-) [10:22] Heh. [10:23] It could be worth doing separate wadl generation runs for separate API versions, though single-cores shouldn't sniff at the repeated zcml overhead either. [10:24] Ironically, "make" would be just the tool for limiting that job to only the files that need updating. But the finer details are hidden away in a python script. [10:24] Yes :( [10:45] That was quite a mail backlog. [11:47] jml: did you change something recently in testtools? I am getting errors about "can't import StartsWith" and I've dist-upgraded and updated-sourcecode... === matsubara-afk is now known as matsubara [11:48] And updated download-cache and remade? [11:48] I've never had to do that before [11:48] And the dozens of other dependency mechanisms? :D [11:48] that's the nice thing about standards, there's so many to choose from [11:48] But really, testtools is an egg. Update download-cache and run make. [11:49] utilities/update-sourcecode does all that [11:49] Doesn't that just update sourcecode? [11:49] rocketfuel-get is the one that does it all. [11:49] it just calls the latter [11:49] I think you have it the wrong way around. [11:49] last time I looked, anyway [11:49] rocketfuel-get calls update-sourcecode. [11:49] that's what I said [11:49] update-sourcecode pulls everything in sourcecode/ [11:56] make clean seems to have fixed it [11:56] the Windows solution [11:56] Oh. [11:57] Morning, all. [11:57] wotcha deryck [11:57] bigjools: There was an email about that a week ago. [11:57] An egg was changed. [11:57] ahhhhhhh I remember now [11:58] I fixed it on one box but not my other [11:58] * bigjools goes back to tracking down PoolFileOverwriteErrors [11:58] :( [11:58] Copies? [11:59] trying to work that out but I 99% suspect so [11:59] :( [12:00] wgrant: https://launchpad.net/~rhpot1991/+archive/ppa/+packages [12:00] see mythbuntu-lirc-generator [12:01] I wonder if it's down to .debs moving between sources [12:05] bigjools: Let's see.. [12:05] That doesn't sound likely. [12:05] *sigh* why do we put up with this internet thing? [12:05] But this is Soyuz. [12:06] wgrant: the files were put in the librarian a few hours apart [12:06] currently hunting down where they are published [12:06] bigjools: I am confuse. [12:07] bigjools: That file isn't in any of the other sources in the PPA. [12:07] 2 files with the same name [12:07] yep [12:09] bigjools: Something is really screwed. [12:09] There was never a binary by that name published. [12:09] Of any version. [12:09] On any arch. [12:09] So WTF is it doing on disk? [12:10] It's not a half-written file? [12:11] no idea [12:11] hmmmm [12:11] it might be a merged account [12:11] Ahh. [12:12] the same file is in rhpot1991-merged [12:12] That would do it. [12:12] That is good news. [12:12] sigh [12:12] so I can either block merges of persons with ppas [12:13] or work out htf to merge them [12:14] I say you should block merges if there are undeleted PPAs on the source. [12:14] We have no hope of merging them. [12:15] bigjools: Can we convince the publisher to rename PPAs once it's deleted them, like we do with account deactivation? [12:16] we'd need to track the old and new names to do that [12:16] Why? [12:16] oh - once they are deleted it's fine [12:16] missed that but [12:16] Exactly. [12:16] bit [12:17] * bigjools prepares sql to fix data [12:17] then, I need to solve the double-copy thing [12:17] Just the one PPA? [12:17] my life is fun-filled [12:18] wgrant: argh, there's a PFOE in ubuntu too [12:18] bigjools: Which file? [12:18] bigjools: hey [12:18] can I ask a favour [12:18] a few [12:19] https://pqm.launchpad.net/ - see the second job there from me - '[r=lifeless][ui=none][bug=668138] Add a DISTINCT to the commentedbugs subselect for performance.', bzr+ssh://bazaar.launchpad.net/~lifeless/launchpad/malone [12:19] gfortran-arm-linux-gnueabi_4.4.4-9_amd64.deb, gcc-arm-linux-gnueabi_4.4.4-9_amd64.deb, gobjc-arm-linux-gnueabi_4.4.4-9_i386.deb ... [12:19] well basically all the debs for gcc-defaults-armel-cross [12:19] lifeless: yo [12:19] :( [12:19] That package gave me nightmares. [12:19] bigjools: that should, in theory, be merged in about 1/2 an hour to an hour [12:20] bigjools: then buildbot, then qastaging etc [12:22] bigjools: it should fix our current highest frequency oops - but I'm going to be in transit ... [12:22] lifeless: you want me to watch it, or what? [12:22] yeah [12:23] if it disappears out for some reason, can you resurrect it - it passed ec2 overnight [12:23] bug 668138] [12:23] <_mup_> Bug #668138: Person:+commentedbugs timeouts [12:23] lifeless: sure [12:23] lifeless: why is that not "in progress" ... [12:23] when you EOD, if you can tag flacoste or someone [12:23] yarp [12:23] great [12:23] I'll try to check in from airports etc [12:24] thank you [12:24] I've subscribed the bug so I will expect a qatagger email [12:24] np [12:24] now, back to my thousands of oopses [12:25] bigjools: So, the package is fairly evil, and epochs are involved. [12:25] But filename conflicts should still have been caught :/ [12:26] I hate epochs. [12:29] wgrant: there's a bug somewhere, should be easy to re-create [12:30] bigjools: we added StartsWith to testtools recently and removed it from lp === henninge is now known as henninge-lunch [12:32] bigjools: I don't think we ever check for binary file conflicts on upload... [12:33] bigjools: We do for copies. And we check that the version isn't older than one already in the archive. [12:33] But I cannot see a binary file check anywhere :/ [12:35] hmmm [12:35] I thought there was one [12:35] So did I. [12:35] There's one in dscfile [12:36] And PackageUploadSource does it as well. [12:36] But not PackageUploadBuild. [12:37] doesn't the source upload check inspect the debs mentioned in the control file? [12:37] There is no source. [12:37] This is a binary upload. [12:37] in the original source I mean [12:37] Hmm? You can't get binary details directly from the source. [12:38] I guess not file names [12:38] crap [12:38] You can't get anything at all. [12:38] Normally they will sort of match. [12:38] you can get the package name [12:38] Not necessarily :/ [12:39] It's conventional, but I don't believe policy requires it. [12:39] And lots of packages violate it. [12:40] We probably just need to do the binary file check. [12:40] And thwack people who write packages like that :) [12:40] yay [12:44] policy can't require it, because folk have transitional packages and so forth [12:44] Right. [12:45] I mean more to thwack people who write packages which duplicate versions. [12:48] well the lack of a check in the uploader is thwackable [12:48] Certainly. [12:48] especially since it's done in the package copier! [12:48] It's just distressing that it has been missing for nearly five years. [12:48] sounds like some code refactoring is in order [12:49] I'd like to push all copies and uploads through PackageUpload, really. [12:50] mmmm maybe, I dunno [12:50] need to think about that, because I want to put copies through a job at some point [12:59] bigjools: I think we probably need to attempt to discuss and think about redesigning all the upload and copy stuff at some point... the current model seems to be creaking. [12:59] Badly. [12:59] if you can define exactly where and why it's creaking, yes [13:00] A few things immediately spring to mind... We have no copy tracking. We unnecessarily reupload files on privacy changes. We have incorrectly duplicated inefficient checking logic. archiveuploader is madness. [13:02] We ideally want NSS to not suck. And backports would be nice. And we have issues with copying between series and archives with different architectures. [13:02] And any solutions to these are going to be hacked onto a system that was designed before archives existed, and even before pocket copies were envisioned. [13:08] reuploading actually helps, it stops the request from timing out when the security team unembagoes something! [13:08] but yeah, it's unnecessary. Wish we'd known that at the time. [13:08] Yeah :/ [13:09] I need fud [13:18] lp.translations.windmill.tests.test_languages.LanguagesFilterTest.test_filter_languages [13:18] bb test failure [13:23] https://bugs.launchpad.net/rosetta/+bug/676980 [13:23] <_mup_> Bug #676980: lp.translations.windmill.tests.test_languages.LanguagesFilterTest.test_filter_languages failing [13:24] hi [13:24] hi [13:24] (oops) [13:24] Arrgh. Why does LaunchpadFormHarness use '127.0.0.1' rather than 'launchpad.dev'? That's odd. [13:25] I was just about to raise the test failure issue [13:25] lifeless: what should I do about it? [13:25] jml: you could analyse the test to see if it has race conditions like those fixed in other tests recently. [13:25] jml: you could run it locally and see if it passes. [13:25] jml: both of those would be useful to do, I think. [13:25] lifeless: you mean, actually address the root cause of the problem? [13:26] [13:26] ok. [13:26] I really did have better things to do today. [13:27] jml: amen [13:27] or we could just disable the windmill tests entirely ;) [13:28] deryck: the sky would fall in [13:28] jml, clearly, some are of this opinion. [13:29] * deryck isn't afraid of falling sky [13:29] deryck: oh good morning [13:29] hi lifeless [13:30] deryck: can you take on the +commentedbug thing I handed off to Julian before - you'll be awake longer, and its right up your alley :) [13:30] lifeless, I don't remember seeing that test fail ever in the past, and I am sure we haven't changed anything remotely related :( [13:30] danilos: ouch [13:30] lifeless, sure, I don't mind. [13:30] danilos: I'm sure we'll figure it out soon enough [13:30] * deryck looks at scrollback [13:31] deryck: its in devel now, needs to get to stable, be qa on qastaging and then (assuming all other bits are qa'd) deployed : will fix the highest oops we have :) [13:31] lifeless, yeah, let's see if it's spurious first, and if it is, then really ouch... I prefer reliably failing tests :) [13:31] lifeless, sure, I'll keep an eye on it. [13:32] deryck: cool [13:34] jml, lifeless, danilos -- there is no timeout value on the assert in the windmill tests. passing in the past has likely been timing luck. [13:35] deryck: I know next to nothing about windmill tests. Got something I can look at to figure out what you mean? [13:35] deryck, quite some luck for roughly 6 months or so since the test was introduced, but I won't dispute it [13:36] indeed, this is browser testing for you ;) [13:36] ok, must run [13:36] good luck! [13:36] jml, danilos -- http://pastebin.ubuntu.com/533852/ [13:37] jml, danilos -- so what happens is this: there is a page load wait and then the assert, but if the page load is complete but the page not entirely initialized, these sort of asserts can fail. the timeout buys you some time but can potentially make the test slower. [13:38] however, the assert will pass as soon as the element is available. so doesn't always wait the full timeout. [13:38] deryck: I see. [13:39] deryck, yeah, makes sense, thanks [13:39] deryck, since you've already gone through the trouble, do you mind landing a fix as well? :P [13:40] * danilos whistles innocently [13:40] heh [13:40] sure, I can do it. rs=danilos? :-) [13:40] deryck, yep [13:40] deryck, even r=danilos — I did look at it and see no problems :) [13:41] excellent :-) [13:41] * deryck branches and runs test for paranoia [13:41] deryck, assigned bug 676980 to you, thanks again :) [13:41] <_mup_> Bug #676980: lp.translations.windmill.tests.test_languages.LanguagesFilterTest.test_filter_languages failing [13:41] np at all! [13:42] this is all I've been doing for 3 weeks anyway... trying to get windmill tests to pass. *sigh* ;) [13:42] deryck: thanks. [13:45] anyone working on bug 636193? [13:45] <_mup_> Bug #636193: feature flags need to self document [13:49] deryck: disabling windmill.... what a great idea.. :) [13:49] bigjools, you know, no one ever says differently, until you ask on a mailing list about that option. ;) [13:50] deryck: we're a bunch of 2-faced.... [13:50] although, I think we need a new process doc.... if you're in favor of keeping windmill, you are required to do the next lazr-js upgrade branch. [13:50] lol [14:16] all hail the great free internet gods [14:19] wgrant: https://bugs.launchpad.net/soyuz/+bug/66974 [14:19] <_mup_> Bug #66974: Binary versions not checked correctly [14:19] wgrant: that is an *old* bug :/ [14:33] mars, hi. you learn anything from that test run I sent you yesterday? [14:35] deryck, no, unfortunately. [14:36] I looked through, and looked at the windmill source code a bit. Nothing jumped out at me. [14:36] But I did find that the socket code was doing something odd [14:36] it only logs socket connections after they are connected. So the connections causing problems may not be logged, or they could be left open [14:37] mars, ok, so what do I do here? I'm 3 weeks in on this. rockstar has 3 weeks prior to that. it's majorly blocking work, but I need to get the new lazr-js in. How do I get it landed? [14:39] deryck, I am thinking about it. There should be some way around this. [14:39] * rockstar votes "dump windmill" and runs away. [14:44] deryck, what test did you run that had the thread trash? [14:44] deryck, locally, the exact command please [14:45] mars, pick a test, pick any test, ;) but I did: xvfb-run ./bin/test -cvvt test_bug_commenting [14:45] mars, the bug commenting test runs pretty quickly, which is why I picked it. [14:46] deryck, I am going to trying running it through wireshark, maybe that will catch something [14:47] mars, ok. I'll just hang out and wait on you. Thanks for the help! === jaycee is now known as jcsackett [14:53] jml, around? danilos just sent a list mail about a testtools failure in a twisted test case. It sounds like something you may know about? [14:53] mars: it's not a testtools failure [14:53] jml: whats the tag to say 'this is a feature request' [14:53] lifeless, "feature" :) [14:53] lifeless: feature, iirc. there's a wiki page w/ bug tags [14:54] jml: I feel a strong desire to mark all 'feature' bugs as wishlist. [14:54] jml: but I'm restraining myself. [14:54] lifeless: thank you [14:54] jml, ah, by 'testtools failure' I meant 'it may be something to do with testtools', not within testtools itself [14:54] mars: it doesn't have anything to do with testtools [14:54] lifeless, well, we've basically stopped using wishlist priority and usually mark feature bugs as 'low' instead [14:54] my mistake [14:54] jml: thank you for restraining myself :) ? [14:54] lifeless: yes. [14:55] jml: you're welcome [14:55] danilos: why don't we use wishlist? [14:55] * jml so does not have headspace for this discussion right now [14:55] lifeless, because it's orthogonal to priorities, I guess... but it was an ancient discussion and I don't remember the specifics anymore; I am sure sinzui does, though :) [14:56] jml: for reference - https://bugs.launchpad.net/launchpad-project/+bugs?field.importance=High&field.tag=-feature [14:57] lifeless, https://dev.launchpad.net/BugTriage [14:58] lifeless, ^ since there are three states, and Lp defines the use of critical, we have two importance states left, high, because we only work on high things, and low, because we might do fix the issue in the future [14:58] sinzui: that diesn't discuss wishlist at all [14:59] sinzui: I'm fine with not using medium - there is a similar experiment running in testtools and related projects. [14:59] however, I'm not sure bugs /are/ a work queue. Nevertheless - thanks for the link [14:59] I use medium in my own projects. I rejected critical [15:00] I want real words. do now, do soon, do when at an opportunity [15:02] sinzui: I think thats a different concept to bugs per se, but related. [15:02] anyhow, I have to go through security, I hope to be back online again in a bit [15:11] mars: oh, I'm sorry, I didn't see the *actual* error that's in the full log but not the email [15:13] jml, no problem, I should not have punted to you without understanding it first myself === salgado is now known as salgado-lunch === timrc_zzz is now known as timrc [15:28] deryck, argh, I keep running into the 'text=bytea' problem. I can't even run launchpad.dev :( [15:29] this after a database drop and rebuild [15:31] back to code inspection, maybe that will spark something [15:37] mars, ok. I didn't have that issue. === jaycee is now known as jcsackett [15:49] mars, are you running against my branch? [15:49] deryck, yes [15:50] mars, ok, cool [15:57] danilos: answered. hopefully enough for you to go on. [15:57] jml, thanks [15:57] jml, I've ran the tests locally already, and just submitted directly to pqm [15:59] danilos: are you going to try to address the problem? [16:00] deryck, I am looking at the windmill.server.https code now, maybe there is some way to figure out which threads are still around, and why [16:00] deryck, taking an early lunch, back in a little while [16:00] jml, most likely not, since I'm off after tomorrow and I got a few pressing issues for today and tomorrow [16:00] :( [16:01] well, maybe someone else will pick it up [16:01] mars, ok, on call. talk to you soon. === matsubara is now known as matsubara-lunch === salgado-lunch is now known as salgado === Guest52674 is now known as jelmer [16:44] leonardr: ping [16:51] james_w: do you know if https://bugs.launchpad.net/launchpad-code/+bug/365098 has been fixed? [16:51] <_mup_> Bug #365098: Anyone who can write to a sourcepackage should be able to set the official package branch [16:51] I don't think so [16:51] ok. [16:51] thanks [16:52] edwingrubbs, hi [16:55] leonardr: I was wondering if I should just add some parameters to a REST method to slice it, or if can re-use the REST API's ability to slice collections. I would just convert the method to a collection, but it has other parameters. [16:57] EdwinGrubbs: if your method returns a resultset, it should already be sliceable [17:00] leonardr: right now, it returns a list so that only one call is necessary to get all the data that the timeline graph needs. Would I be able to use a DecoratedResultSet, or does each item in the result need to be an exported entry? [17:01] EdwinGrubbs: a list should also be sliceable, but at that point what's the point? are each of these items huge? [17:04] leonardr: each item is not huge. If it just needs to be sliceable, then the DecoratedResultSet should work. [17:04] EdwinGrubbs: yes, or just returning a list should also work [17:04] try it and see === deryck is now known as deryck[lunch] === matsubara-lunch is now known as matsubara [17:37] leonardr: can I poke you about a webservice problem for a moment? === benji is now known as benji-lunch [17:51] bigjools, sure [17:51] leonardr: thanks - you reviewed a branch of mine a while ago and I am just getting around to land it [17:52] https://code.edge.launchpad.net/~julian-edwards/launchpad/api-expose-builders/+merge/39379 [17:52] I've not changed it and it's now failing tests: http://pastebin.ubuntu.com/533928/ [17:52] I can't figure out why [17:52] ok [17:53] I suspect some wadl problem but I've done "make clean;make" before running the test [17:54] bigjools: yes, you'd get that problem if nopriv_launchpad was using an old wadl. do you have any caches from launchpad.dev in your ~/.launchpadlib? [17:54] it would be a bug for the testrunner launchpadlib to look there, but it could be happening [17:54] I am getting deja vu [17:55] yes there's a cache there [17:55] remove that cache and see what happens [17:56] ok, running ... [17:56] if it works, then file a bug against launchpad saying that launchpadlib_for is still looking in .launchpadlib instead of a temp directory. it might be something that can be fixed by upgrading launchpad's version of launchpadlib, or it might have been _caused_ by upgrading launchpad's version of launchpadlib so the order of arguments are different [17:56] ok [17:57] still failing :/ [17:57] I removed ~/.launchpadlib/api.launchpad.dev/ [17:58] bigjools: ok, step into launchpadlib_for and see what cache directory it comes up with [17:58] then, keep an eye on that cache directory [17:58] look at the wadl and see if 'builders' is mentioned [18:02] leonardr: the code has "cache = tempfile.mkdtemp ...." [18:02] hey guys. does the source package recipe builder stuff not use the same buildds as PPA builds to build the source packages? [18:03] dobey: why do you say that? [18:03] bigjools: https://code.edge.launchpad.net/~ubuntuone-hackers/+recipe/protocol-dailies/+build/7779 [18:03] dobey: natty is not ready for recipe builds === al-maisan is now known as almaisan-away [18:06] bigjools: what is prevening it from being "ready" exactly? it makes it hard to build dailies for the ubuntu development release :-/ [18:06] dobey: talk to abentley [18:07] abentley: hi. :) ^^ what's blocking source recipes from working on natty? [18:08] dobey: What's preventing it from being ready is that bigjools thinks maybe it caused the build farm failures of a couple weeks ago. [18:08] bigjools: Success with memory limit on recipe build: http://librarian.dogfood.launchpad.net/57529959/buildlog.txt.gz [18:08] https://code.dogfood.launchpad.net/~abentley/+recipe/test/+build/4803 [18:08] hrmm [18:09] abentley: nice [18:09] abentley: the new manager is better about timeouts now so we should try again tomorrow [18:09] well, when I get it rolled out tomorrow [18:09] bigjools: I thought the new manager was already rolled out? [18:10] cowboyed [18:10] well - the timeout fix to it is cowboyed [18:10] the fix landed today on devel [18:10] I'll roll it tomorrow [18:11] bigjools: cool. I'll get this rlimit branch reviewed, and we can throw that in the mix, too. [18:11] leonardr: "builders" is not in the wadl that's in the cache dir :/ [18:11] bigjools: in that case your top-level collection is not being properly published [18:11] leonardr: I wonder if the recent interfaces apocalypse broke it - I bet that's it actually [18:11] I need to register it in the zcml [18:12] abentley: excellent - we can coordinate tomorrow [18:12] thanks for the help leonardr [18:13] sure [18:13] * bigjools -> fud [18:14] bigjools, after fud... could you please give your ideas on bug 673985? [18:14] <_mup_> Bug #673985: Provide a way to mark something as QA done before it was landed [18:17] leonardr: btw, i added the print of the team object yesterday, and it still failed, but the object was valid and pointed at the right thing. trying a 3 second sleep now to see if that helps at all. [18:17] dobey: remind me what the exact problem was? [18:18] leonardr: the two calls to getMembersByStatus [18:18] the planet is down :( === deryck[lunch] is now known as deryck [18:23] jml: And the sky is up. Unless you're in Australia :-) [18:23] abentley: :D [18:36] I'm off for the day. Tomorrow, email email email and maybe some naughty programming. [18:37] dobey: i don't have any advice beyond stepping through the code and seeing what's different about the data structure or the code execution path in the first time vs. the second time [18:38] leonardr: right. i was just letting you know where i was at now :) [18:38] sure === benji-lunch is now known as benji [18:42] bdmurray, ping [18:44] deryck: hey [18:45] bdmurray, hey. So we're expiring Ubuntu bugs now each day. Doing 200 a day as we discussed.... [18:45] bdmurray, and I'll let this run for about month until we clear the ~6000 bug backlog. [18:45] deryck: right [18:45] bdmurray, and then we'll open it up to expire for every project. [18:45] bdmurray, so if you see any issues, let me know. [19:05] mars, hi. Any luck on my branch? (he says too anxiously) :-) [19:05] hehe [19:07] deryck, I had some time to think about it. The problem is figuring out which threads are still around, and why [19:08] mars, right. That's where I got stuck, too. I pdb'ed into the middle of windmill.server.https and just couldn't figure out how to work that out. [19:08] deryck, I was thinking, as a first step, could we debug the https server to print a threadID whenever a new thread is started, and again when it is told to shut down? [19:09] deryck, and a threadid when it makes a socket connection [19:09] that way you could see "tID 2: started; tID 2: http://blah; tID2: stopping" [19:09] sure, that makes sense to me. [19:09] any thread that does not print "stopping" is a problem [19:10] right [19:10] mars, are you trying this now? [19:10] I dislike this approach, it's dirty, inelegant, but it might work [19:10] deryck, I thought about it. Do you think you could try patching for it? [19:11] mars, I don't think I understand where windmill is starting and stopping threads completely, but I can try to work it out. Also, I had issues with print statements being swallowed earlier and had to pdb to get at objects. [19:12] deryck, try printing to sys.stderr, it should work [19:12] ah, ok [19:12] deryck, perr = functools.partial(print, file=sys.stderr) [19:13] ok [19:13] mars, thanks. That gets me going again. Will try again here in a second. [19:14] deryck, no problem. I think windmill.server.https is the right place to start. Each server instance is a ThreadingMixin, so you will have a bunch of them. [19:14] right, that's what I thought, too. [19:14] thankfully that part is close to the standard library, [19:16] deryck, ah, just saw WindmillHTTPServer.process_request() (line 433). It calls thread.start(). That is one good option to begin at. [19:17] mars, gotcha. Thanks. [19:17] deryck, let me know how it goes. I am going to start hacking on my other deadline-driven work. [19:17] will do [19:39] mars: do you happen to remember where we configure certain object types not to be security proxied? [19:39] EdwinGrubbs, sorry, I have no idea [19:39] sinzui: ^^^ [19:39] thumper, ping [19:40] EdwinGrubbs, pick an object you know is not proxied, then grep the ZCML for it? [19:40] Edwin Utility verses SecuredUtility in ZCML [19:43] sinzui: that just determines whether the returned utility is security proxied. It doesn't set a policy for a class [19:43] sinzui: yes, but a dict, str, and I believe some other classes we have specified do not get security proxied when they are returned from a secured utility. [19:43] EdwinGrubbs: there is some Python code that does this for a Storm type in storm/zope/__init__.py [19:45] jamesh_: thanks [19:56] leonardr: ah-hah. i've found the problem [19:56] dobey: ? [19:57] leonardr: foo = team.getMembersByStatus(); foo.extend(team.getMembersByStatus()) [19:57] leonardr: apparently the .extend() there causes launchpadlib to attempt to alter the list via the API [19:58] leonardr: which of course fails (though the traceback is whacky) [19:58] dobey: so it thinks that 'extend' is a webservice method? [19:59] leonardr: i guess. if i do foo = [x for x in team.getMembersByStatus()] to assign it, and then do foo.extend(team.getMembersByStatus()) after, it seems to work [20:00] ok, good to know [20:01] leonardr: is that a bug i should file against lplib/wadllib/restfulclient? or is it just me trying to be too clever and i shouldn't do that? [20:02] dobey: i think you're trying to be too clever. objects you get from the web service play by different rules than normal python objects, and part of our next project is making this more clear [20:03] ok === Ursinha is now known as Ursinha-afk [20:08] booyah! I have some knowledge now, mars! [20:09] deryck, great! What did you find out? [20:09] mars, so all the threads that are left behind are the launchpad.js file. [20:10] mars, http://pastebin.ubuntu.com/533988/ [20:10] I thought we used lp.js now? [20:10] mars, it's called launchpad.js, I thought. [20:11] mars, lp.js is a file in lp.app.javascript [20:11] ah [20:11] deryck, please please /please/ send me patch that made this possible :) [20:11] mars, and launchpad.js on disk is 1.3 Mb now. [20:12] about 450k compressed. [20:12] ok, that's a bit better [20:12] mars, presumably windmill is trying the compressed form, right? but I guess the browser and/or server is hanging making sense of it? [20:13] hmm, could be. I wonder, it must be working, right? Otherwise the page would not function. === jelmer is now known as Guest67633 [20:13] deryck, that is the only javascript file? [20:14] no, Mochikit.js as well [20:14] mars, but it is the only js file when not in devmode that we build. and playing locally in devmode or not, everything works fine. Thought in devmode the browser can slow in firebug because of all the individually linked files. [20:15] mars, meant only file besides mockikit [20:16] mars, and here's my windmill patch to make all this noise. :-) http://pastebin.ubuntu.com/533990/ [20:20] mars, does this suggest our only way forward is making the file smaller or getting dynamic loading via a combo loader working? === salgado is now known as salgado-afk [20:34] deryck, I am not sure [20:35] if that suggests the only way forward [20:35] ok [20:35] deryck, did the file size change much across versions? [20:35] mars, oh way bigger. [20:35] ? [20:35] why? [20:35] did the YUI core grow? [20:35] yes, many more files now. [20:36] they assume combo loading not concating. :-) [20:36] so we may need to look at unloading some stuff from our own bundle then [20:36] new functionality that we do not need [20:37] yeah, that's one way. [20:37] I can consider the options now. at least I know what's going on. [20:39] Project devel build (228): FAILURE in 3 hr 42 min: https://hudson.wedontsleep.org/job/devel/228/ [20:39] * Launchpad Patch Queue Manager: [r=danilos][ui=none][bug=676980] Fix up a translation windmill test [20:39] to be more stable by adding a timeout value to an assertProperty. [20:39] * Launchpad Patch Queue Manager: [r=EdwinGrubbs][r=benji][ui=none][bug=318842][bug=383615][bug=488491] [20:39] Enable tests. [20:39] * Launchpad Patch Queue Manager: [r=julian-edwards][ui=none][no-qa] Changes to [20:39] cron.publish-copy-archives copied from the actual changes made [20:39] in production to get it working [20:39] * Launchpad Patch Queue Manager: [r=julian-edwards][ui=none][no-qa] launchpad-buildd updates for [20:39] SIGILL to not automatically retry the build [20:39] * Launchpad Patch Queue Manager: [r=jelmer][ui=none][bug=676479] Make XMLRPC connections to builder [20:39] slaves respect the config's timeout value. Also add more logging. [20:39] * Launchpad Patch Queue Manager: [r=benji,edwin-grubbs][ui=none][no-qa] Support "make -j2" [20:39] * Launchpad Patch Queue Manager: [r=lifeless][ui=none][bug=668138] Add a DISTINCT to the commentedbugs [20:39] subselect for performance. [20:39] * Launchpad Patch Queue Manager: [r=benji, [20:40] edwin-grubbs][ui=none][bug=676489] fix bug 676489 by adding code in [20:40] the apache log parsing to handle a space in the path. [20:40] <_mup_> Bug #676489: librarian apache log parser failing to parse bogus line in access log [20:40] * Launchpad Patch Queue Manager: [r=thumper][ui=none][no-qa] Add person merge queue listing page [20:40] * Launchpad Patch Queue Manager: [r=allenap,gmb][ui=none][bug=594247] use JOIN and LEFT JOIN to link [20:40] tables needed to search for bugtask releated to a structural [20:40] subscriber; [20:40] refactoring of BugTaskSet.search() and BugTaskSet.serachBugIds(); [20:40] more tests for BugTaskSet.search() [20:40] * Launchpad Patch Queue Manager: [r=jtv][ui=none][bug=675562] Fail requests for master stores if we [20:40] are in read-only mode, [20:40] no matter what database policy is currently installed. [20:40] * Launchpad Patch Queue Manager: [r=gmb][ui=none][bug=654372] Optimise source domination down from a [20:40] few minutes to less than a second. [20:40] Thanks LPCIBot. I was trying to read mars and deryck's conversation... [20:40] lol [20:42] I wonder why IRC bots aren't aware when a conversation is going on - they could just wait 10 seconds for an idle moment in the channel [20:42] good point, mars [20:43] deryck, mars, so, YUI's *-min files concatenated together, the files are about 850K [20:44] leonardr: I'm not sure if you would consider this a bug, since I can get around the issue by returning a DecoratedResultSet of IEntry objects instead of dicts. ResourceOperator.should_batch() decides not to batch list objects, which is why a list of dictionaries is encoded fine, but a DecoratedResultSet of dicts does not work. BatchingResourceMixin.batch() pukes on dicts in result sets because it tries to call checkPermission() [20:44] and EntryResource() on the dict. For some reason, checkPermission() blows up because it tries to pass the dict to weakref.ref(). [20:44] rockstar, IIRC we rolled our own bundle before [20:44] rockstar, plus all our files. [20:44] deryck, mars, yeah, this is WITHOUT lazr-js (I've just submitted the lazr-js abandonment branch to PQM) [20:45] mars, deryck, roll your own bundle is actually rather complicated now, since the dependency graph is a little frustrating to follow in any scale. [20:45] :( [20:45] rockstar, what do you mean send to pqm? You've another yui upgrade branch? [20:45] edwingrubbs: in general our support for named operations that return lists of non-entries is poor [20:45] leonardr: I guess the security proxy knows not to bother calling checkPermission() on dicts, so maybe the REST API should copy its logic. [20:45] deryck, sorry, I'm working in the U1 context now... [20:45] ah [20:45] rockstar, deryck, not fun. We are fighting the grain of the library then. [20:45] we need to get a proper loader going. tis the one true way [20:46] EdwinGrubbs: go ahead and file a bug, i don't think we'll get to it for a good while though [20:46] mars, deryck, this is not a bug that's ever going to get fixed, I suspect. [20:46] leonardr: ok, thanks [20:46] deryck, that would be nice, but we need to find one possibly lame way if we want to land your patch right now :) [20:47] rockstar, what but isn't going to get fixed? [20:47] bug [20:47] hi all [20:47] Hi poolie! [20:47] mars, the 512K bug. [20:47] right [20:47] mars, did I tell you that mikeal said "windmill is dead?" [20:47] rockstar, I disagree. I think it will be fixed, but it will be 5 years from now :) [20:48] rockstar, yes, we discussed that [20:48] mars, no one is working on windmill anymore. [20:48] rockstar, wait, was the 512K bug in windmill, or in Firefox? [20:48] mars, I know I keep banging this drum, but windmill is not the tool of the future. [20:49] mars, it was in windmill, because we could run in the non-devmode and it worked fine for us. [20:49] rockstar, that may be true, and I am all for investigating other alternatives, but I don't think tossing out windmill will help us land the YUI 3.2 patch right now. [20:50] mars, I don't see why it wouldn't. Windmill is what's blocking the landing. [20:50] that should read, I don't think we can take tossing out windmill as an option to get this patch landed [20:50] mars, so then we wait until the next time someone needs to update the javascript [20:51] rockstar, you mean, we will have to wait until then to evaluate and replace the tool? [20:52] I think we need to sort out the tool asap, and I also don't think the tool gains us that much right now. ;) [20:52] mars, well, if we don't do something drastic, we'll continue to roll our own. [20:52] mars, deryck, it's on my list of things to do for the next six months to set up our own combo loader. This might help in the future. [20:53] so I think in the short term, I'll see what files we can exclude. But this is non-trivial, too. Requires build changes, even if minor build changes. [20:53] mars, deryck, just today, beuno and I weighed the cost of rolling our own yui v. just having a larger file, and we just decided on the larger file, because rolling your own becomes a maintenance nightmare. [20:53] deryck, I think you just have to change the file list in base-template-macros, no? [20:53] I thought it was just a for file in dir: concat script. [20:53] deryck, you know how I feel about this. As we workaround it this time, we forget about it until we hit it again, and then we try and work around it again. [20:54] but maybe it gets the list from the base macro template. [20:54] rockstar, you know I *totally* agree :-) [20:54] these tests aren't even really very good. [20:54] I don't think they gain us anything. [20:54] but I've said all this before ;) [20:55] well, gain us much. ;) [20:55] afternoon :) [20:55] deryck, so you can roll your own, but be prepared for some really obscure errors. [20:56] rockstar, yeah, I'm not found of this option either. But I don't see I have any other option. It's disable tests or roll my own smaller file (and hope for the best). [20:56] deryck, also, make sure you run with filter: 'debug' in your LAZR_CONFIG, otherwise, you won't see breakages. [20:56] deryck, I'm not convinced that we can get much smaller. We have A LOT of javascript. [20:57] deryck, fwiw, if we had some insight on browser-level testing from U1, Landscape, ubuntu.com/ISD, or current industry best practice, then cool. But it will take that level of investigation to convince everyone to toss the tool out. [20:57] rockstar, deryck was saying the YUI core grew between versions - that is features, isn't it? [20:58] we may need to switch to -base.js everywhere [20:58] and then build up [20:58] mars, I disagree. No one understands the tool or any other option. There is just fear and paranoia. I'm not willing to do such research for a pointless lost argument... [20:58] mars, and it's too much to change on my own. [20:58] i.e. a weekend hacking to proof of concept. [20:59] right, I understand [20:59] mars, well, not entirely, and some of those features are for new core things. [20:59] mars, remember, we're going from 3.0 to 3.2. That's a pretty big jump. [20:59] deryck, fwiw, I picked windmill in the first place (2 years ago now). If you want, I can explain the reasoning some time. [21:00] Anim, for instance, now wants to use Transition in some browsers. [21:00] mars, no, that's ok. :-) I'm not against your original choice. There are things I quite like about windmill even.... [21:00] rockstar, yeah, and unfortunately I have not been tracking the library - I don't know much about the changes [21:00] mars, I'm against the blind loyality to a system that at this point doesn't provide us much. [21:00] jam: aren't there two north american losas? [21:00] As I understand it [21:00] jam, here, unless it's private [21:00] poolie, Chex and mbarnett [21:00] I'm not sure why mthaddon is the primary one working on my request [21:00] I assume it is a comfort level thing? [21:01] He's the only one who has posted to the rt [21:01] anyway, I need to EOD mars and rockstar. I'll see what I can work out tomorrow. [21:01] deryck, okay, keep me posted. [21:01] bye deryck [21:01] deryck, I agree, and I am for evaluating alternatives - all software has a lifecycle. (Even zombies like Emacs and vi!) [21:01] lifeless, I think your branch is still playing in buildnot. [21:02] heh, didn't mean that typo. [21:02] hehe [21:02] mars, mikeal said that basically everything they hated about Selenium when they started Windmill is basically fixed now. [21:02] deryck: kk === Guest67633 is now known as jelmer [21:02] but one last thing on this.... it's not *just* the tool.... it's that we have no idea why to even use the tool. browser testing can't be approached like unit testing. [21:03] deryck, good point [21:03] we will end up with the same crappy tests run by another tool [21:03] :D [21:03] funny, and true [21:03] which is why I advocate disabling the tests. :-) Kill the pain. Get on with work, and figure out to how to do this right before trying again. [21:03] mars, U1 is probably going to go with YETI. [21:04] rockstar, no idea what that is [21:04] something else that needs shaving [21:04] ? [21:04] anyway, bye all. [21:05] mars, YETI = Yahoo Easy Testing Interface. It's how the YUI tests get run. [21:05] poolie: as an aside, I haven't seen any real l-osa interaction on any channel other than -ops, and even then I've gotten misses (though probably if I haven't heard a response in 30min, I should just send it again) === matsubara is now known as matsubara-afk [21:05] rockstar, got it: http://yuilibrary.com/projects/yeti/ [21:06] mars, yeah. It's more for pre-commit tests than it is for CI. [21:06] "Yeti is designed to help you run tests before you commit. It compliments existing CI tools like Selenium and Hudson which run tests post-commit. Yeti is not a replacement for those tools." [21:06] But I don't see why it can't also be used for CI, but reid advised against it. [21:07] * lifeless looks for another handoff [21:07] rockstar, windmill and stuff test the full house of cards - that is why we started using them, and why they fall over all the time [21:07] jam, like francis said, they're just swamped === flacoste changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 10.11 | PQM open for 10.12 | firefighting: - | https:/​/​dev.launchpad.net/​ | Get the code: https:/​/​dev.launchpad.net/​Getting [21:07] perhaps it's worth just shelving it entirely until they can give you some dedicated time? [21:08] mars, yeah, but windmill was actually developed for CI type tests. [21:08] hi flacoste [21:08] hi poolie [21:08] And the tests we wrote for it are very much CI type tests. [21:08] /wave [21:08] hi jam [21:08] rockstar, yep. Deryck's argument partly hinges on our understanding of, and deriving value from, that fact. [21:09] poolie: I certainly think that the best use of time would be to just pre-arrange a couple of hours, and have a live conversation and testing of it. [21:09] I'm not all that great at sysadmin stuff, the production config is nothing like local config, etc. [21:09] rockstar, we also have the complimentary xUnit suite with YUITest [21:09] I don't have access to production to see what it is actually like [21:09] it seems like you could (are?) waste a lot of mental energy waiting around to see if they've responded [21:09] rockstar, so, two tools, two roles. What do other projects do in the industry, and at this company? [21:10] mars, I think that Launchpad is kinda the leader in js testing, actually. This means we're kinda feeling around in the dark. [21:10] poolie: well, today I mostly switched off, and was doing code review, etc, so not a lot of waste [21:10] but certainly I spent some time making sure the init script worked on my machine [21:10] but it doesn't match production [21:10] rockstar: within Canonical? [21:10] lifeless, yes. [21:11] qa folk - https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html seems to be missing 10 new commits, am I just eager, or is something wrong ? [21:11] rockstar, mars: yeah, nobody else is really paying that much attention to automated JS testing [21:11] lifeless, you can check the logs on devpad, if you want. [21:12] mars: https://devpad.canonical.com/~lpqateam/qa_reports/logs/output-launchpad-stable.log does not have a timestamp in it [21:12] flacoste, landscape is, and they're having problems too. jstestdriver randomly decides not to run tests. [21:12] lifeless, really? That's an oversight [21:12] rockstar, mars: Landscape started with Selenium and dropped it [21:12] lifeless, we should fix that [21:13] rockstar, mars: now Landscape is ysing yuitest with jstestdriver as a harness [21:13] mars: have a look :) [21:13] flacoste, yeah. I assume, at some point, we'll swing for the fences and actually get a home run. [21:13] rockstar, mars: ISD started using Selenium, than Windmill now looking into Selenium2 (never really systematized on anything) [21:13] ...Or 6 runs, if you're in that part of the world. [21:13] flacoste, ok, so is the whole integration testing idea a mountain not worth climbing, or are we just not committed enough? [21:14] i'm going to try to pilot more today, depending what else is in my inbox [21:14] mars: deryck would say not worth climbing, i say not commited enough [21:14] mars: industry standard is selenium-grid [21:14] flacoste, yeah, we're in a black hole. U1's fix seems to be "don't go to long before we can fix it" and lifeless' recent changes might be helpful there. [21:14] flacoste, rockstar, or possibly, no one save BigCos like Yahoo have made it to the top. The OSS world is still building convenient, stable tools to work with? [21:14] or any custom solution built on top of selenium, (like google does) [21:15] mars, Yahoo still struggles with it. [21:15] mars, only small groups test at Yahoo. [21:15] hudson has selenium-grid glue I think [21:15] FWIW [21:15] mars, rockstar: go read Bjorn's report from last year Google Testing conference [21:15] rockstar, I remember the Google "If you try it, don't go here, or there" slides :) [21:15] lifeless, yeah, YUITest has hudson glue as well. [21:16] flacoste, ah, I remember now [21:16] poolie: i'm free for the next 1h45 if you want to talk, but i'm fine with resuming next week if you rather not [21:17] rockstar, only small groups test at Yahoo?? [21:17] mars, rockstar: iirc, google was working on webc or something like that would should be more reliable than selenium for piloting the browser, but not sure where this is at now [21:17] rockstar, so the industry standard is still manual testing? [21:18] flacoste: now's good for me; we haven't spoken for a while [21:18] mars: industry standard is probably user complaints. [21:18] mars: depending on how you define industry, and standard. [21:18] lifeless, haha [21:18] flacoste, are you talking about jstestdriver? That's what Google uses to test gmail. [21:18] lifeless, we are working at the bleeding, gory edge of the whole thing [21:19] rockstar: i don't think so, it was also in Bjorn's report [21:19] mars, yeah, I was surprised too. I had lunch with the Yahoo Sports team, and they just farm it out to their QA team. [21:19] flacoste, are you talking about that project that became Selenium2? [21:19] rockstar, could just be institutional momentum [21:20] Remember what a shock it was to start on LP and find how far ahead the practice here is [21:20] rockstar, could also be ease of implementation: perhaps everyone in the industry knows how to do manual JS+QA. Few know automated testing. [21:21] mars: it might be [21:21] So, do we have some options here? [21:21] mars, yeah. U1 makes sure that the barrier for rolling out a fix in cases like that is very small. [21:22] rockstar, right, and that helps a lot, I'm sure. [21:22] rockstar: MooTools seems to be one of the more test-driven JS libs, and they're using Windmill: http://www.getwindmill.com/ <= you guys ever try it (i haven't) [21:22] "cap deploy" [21:23] jderose, you cant' see the backchat where I say terrible things about the mothers of the windmill developers. [21:24] hehe, okay, that answers my question [21:24] jderose, the Launchpad project has a decent sized windmill test suite, all Python, integrated as python unittests. [21:24] jderose, launchpad uses windmill, and no one believes me when I say we shouldn't. :) [21:25] rockstar: so what should you use? [21:25] * mars notices they redid the windmill homepage [21:25] sinzui: do we support safari? [21:26] sinzui: - https://bugs.launchpad.net/launchpad-web/+bug/97266 [21:26] <_mup_> Bug #97266: Suggestions menu next to "Choose..." doesn't do anything [21:26] yes, in the form of webkit engine that underlies safari, konqueror, and chromium [21:27] sinzui: do you think that that bug is high ? I'm torn. [21:28] it is not high because the work around is to type what you see in the list for item 1 [21:28] lifeless, "Safari 1.3"? [21:28] that is broken in chromium now [21:28] sinzui: it is ? [21:28] yes [21:28] I think I'll leave it high and add confusing-ui [21:29] jderose, that's still up for discussion. [21:29] we're making chromium default in Ubuntu I think, aren't we? [21:29] mars: EOldBug [21:30] yep, still broken [21:30] lifeless, if Curtis didn't say it affects current Chromium, I would say it is not a supported browser. We only support Safari 3+ now. [21:30] hmm [21:30] is https://bugs.launchpad.net/malone/+bug/86352 still relevant [21:30] <_mup_> Bug #86352: SchoolTool imported bugs have invalid reporters [21:30] we've changed our email handling, haven't we? [21:31] lifeless, old, but here was the plan, back when I played webmaster: https://dev.launchpad.net/GradedBrowserSupport [21:31] mars, please listen to what I said. This is a webkit issue. I just tested the bug (again) and it is still broken in chromium Maverick [21:31] It is broken in Kubuntu maverick [21:32] * sinzui tags the bug so it is with its friends [21:33] sinzui, I understand. Unfortunately a GBS table like the one I wrote doesn't take root-level engine bugs into account well. [21:33] It assumes you can't easily discern a bug in the engine vs. a bug in the browser's integration of said engine [21:33] I tag most of the bugs in launchpad-web with the browser engine when it is known [21:33] opera is another class of victim [21:33] sinzui, +1, that is a big step forward then [21:36] I was pondering how to tad IE issues last night. I think the versions with undocumented changes make it difficult to say if a issue is ie, 6, 7, or 8. I believe we have one bug that is definitely IEs problem, but it is only fixed in version 8 [21:36] sinzui: 'usersthathatefreedom'? [21:38] The inline help iframe sitting invisible over the login button is a nightmare. I think the only fix is to re-implement the the feature with ajax instead of an iframe [21:40] does anyone who uses opera have a moment to check two presentation issues [21:40] ok [21:40] boarding [21:40] ciao [21:41] Hello Everyone [21:41] After configuring Apache to access Launchpad from a remote machine I get this error: Secure Connection Failed An error occurred during a connection to launchpad.dev. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) [21:42] My Apache config looks right any idea as to what's wrong? [21:42] that usually means that you're not talking ssl when something is expecting you to i think [21:42] not really a launchpad issue [21:55] is this something know that the instructions in the documentation do not work? [21:55] *known [22:05] Everything here is as said in the documentation [22:10] I would think this would work! [22:18] ?? [22:20] wgrant are you outthere? [22:21] *out there [22:39] It seems that Mod-ssl is not loading [22:44] any idea as to why this does not work? It seems to that it has to do with Launchpad's Apache Config [23:04] Looks to like Apache is not even running on port 443:tcp6 0 0 :::443 :::* LISTEN [23:10] leonardr: is there a specific IField that works for exporting a dict that can just be converted to json? [23:11] EdwinGrubbs: i don't know. i have no experience with named operations that return dicts. you might ask bdmurray [23:13] wallyworld_, hi [23:13] rockstar: otp [23:14] EdwinGrubbs: I don't think you declare it as anything. [23:14] EdwinGrubbs: It just works. [23:15] wallyworld_, okay. I was just pinging you to see how the war was going. [23:20] It seems that leaving the code import machines deactivated for 2 days has left the import queue seriously backlogged [23:23] Hm, really? [23:23] Aren't most imports tried every 6 hours? [23:23] Hmm, actually no, but something's screwed up [23:23] The importds are full of imports, but new imports registered on Monday haven't had their initial import run yet [23:24] Hmm. [23:24] Something is up, yeah. [23:24] Lots of branches haven't imported since the 15th. [23:24] Wasn't there an incident where we disabled the importds? [23:25] Over the weekend, yeah. [23:25] But they were reenabled. [23:25] https://code.launchpad.net/~vcs-imports/sope/debian-tfh is the earliest new import that has not been processed [23:25] A suspicious number are stuck like this: [23:25] To put a time box on when the problem started [23:25] 2010-11-18 23:19:40 INFO Getting exising bzr branch from central store. [23:25] 2010-11-18 23:19:40 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3) [23:25] 2010-11-18 23:19:40 INFO 35 bytes transferred [23:26] Even some that started an hour ago. [23:26] eg https://code.launchpad.net/~rpm5/rpmlint/trunk has been going for 51 minutes, but normally takes 20 seconds. [23:27] In fact, I wonder if there's a single successful import since the 15th [23:28] The never used to log "[chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3) [23:28] ", afaik, before [23:28] * mwhudson looks at a graph [23:28] They seem to time out after an hour. [23:28] So we will be backlogged. [23:29] Yeah, they time out after almost exactly 60 minutes. [23:30] Oh, killed with KeyboardInterrupt. [23:30] rockstar: off the phone now. how's life in greener pastures? [23:31] wallyworld_, it's a nice evening in Buenos Aires. [23:31] wallyworld_, how goes merge queues? [23:31] rockstar: wow i didn't realise you were there. lucky you :-) [23:32] rockstar: i have a branch almost ready to land (for the product queues etc). but it's been on hold most of the week due to other tasks [23:33] rockstar: i landed the person listing branch yestersay into devel [23:33] wallyworld_, awesome. [23:33] wallyworld_, so I guess that means you haven't pulled out the json constraint on the configs? [23:34] rockstar: no :-( i have a few items left on my todo list. should get to it monday or tuesday. is that too late. i can do something over the w/e if you need it [23:35] wallyworld_, okay. I'll see if I can get to it this weekend, in any case. I'm also going to work on getting the merge proposals queueable. [23:36] uh yes, the codeimport graphs is terrible [23:36] rockstar: i would think that make the mp queueable would take priority? [23:36] rockstar: the json cleanup can happen after that? [23:38] wallyworld_, yeah, but it's small. [23:40] rockstar: that's a sad problem for you to have but what does it have to do with json? :-) [23:41] :) [23:42] rockstar: i'll ping you then before i start on anything and we'll take a view from there [23:44] wallyworld_, cool. [23:44] wallyworld_, jml went over the LEP, might be good for you to read it. [23:44] hang on [23:44] rockstar: will do [23:44] why is bzr on the importds using the paramiko transport [23:47] IIUC, the implication from the various logs on https://code.edge.launchpad.net/~vcs-imports/transaction/trunk suggests it was back when it was working too