=== Ursinha-afk is now known as Ursinha === Ursinha-afk is now known as Ursinha [00:57] wgrant: /srv/launchpad.net/builddmaster is also used on mawson by buildd-manager as queue for binaries from the buildds? [01:05] StevenK: Sure, and it should be on alphecca do [01:05] too [01:05] It's used on builddmaster hosts [01:05] Right [01:05] But it only exists on other upload hosts because of P-a-s. [01:05] Yeah [01:06] wgrant: So my QA plan is to destroy the P-a-s checkout on mawson, and upload acpi to my ppa and see what happens [01:06] That would be correct. [01:14] 2013-06-03 01:13:46 DEBUG Creating PENDING publishing record. [01:14] 2013-06-03 01:13:47 DEBUG Created amd64 build of acpi 0.09-3ubuntu2 in ubuntu precise RELEASE [4560808] in PPA for Steve Kowalik (2505) [01:14] 2013-06-03 01:13:47 DEBUG Created i386 build of acpi 0.09-3ubuntu2 in ubuntu precise RELEASE [4560809] in PPA for Steve Kowalik (2505) [01:14] 2013-06-03 01:13:47 DEBUG Not closing bugs for PPA source. [01:14] So that works fine [01:16] StevenK: Not quite [01:16] StevenK: Only i386 and amd64 chroots exist for saucy [01:16] So that's not necessarily a good test [01:17] wgrant: But I didn't upload to saucy [01:17] Ah, true [01:17] And I don't think I cleaned out the precise chroots [01:21] wgrant: You didn't, there are 5 chroots for precise on DF [01:41] wgrant: Right, I uploaded acpi to a devirt PPA in precise and only get amd64 and i386 too === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [02:23] * StevenK nails wallyworld to IRC. [02:23] i think my wireless router is fighting with my laptop [02:24] And which is winning? [02:24] neither :-( [02:24] reboot time, but i'm in the middle of something [02:46] Ohhh, clever [02:48] wgrant: aoetools to a devirt PPA creates all five build records, too [02:48] StevenK: Excellent [02:49] wgrant: So, previewdiff work, or shall I create an API to update a chroot like infinity wants? [02:50] StevenK: We're not very good about accepting large file uploads atm, but it might work [02:51] See if we regularly have apport attachments that are roughly chroot-sized. [02:58] Oh Zope [02:58] You are so awful sometimes [02:58] I just cut 20% off the Launchpad start time by fixing zope.component.registry to not be completely moronic [03:00] (registering or unregistering a utility compares each new registration against every existing one) [03:03] Haha [03:04] wgrant: Still waiting for my terrible query to finish hurting mawson. [03:05] < wgrant> You are so awful sometimes <-- sometimes?! [03:08] There we go, registerUtility down from 47.73% (7.19%) to 5.29% (0.27%), and I doubt I broke anything. [03:09] wgrant: What's the diff, so I can laugh and/or cry? [03:11] http://pastebin.ubuntu.com/5728141/ [03:11] InterfaceClass.__hash__ is also pretty slow now [03:12] 5% of no-op script runtime [03:12] Actually, that patch is a bit buggy now [03:12] But the fix shouldn't change performance [03:14] wgrant: Interesting choice of variable name [03:14] I was none too pleased to see the original code :) [03:15] Ah, the new code is actually marginally faster, even. [03:15] I bet [03:15] http://pastebin.ubuntu.com/5728149/ [03:15] wgrant: Could it be due to older Python? [03:15] StevenK: No [03:16] O(n²) is never a good idea :) [03:16] Interface.__eq__ was being called a few million times. [03:16] WCPGW [03:16] wgrant: So, you plan on upstreaming it? [03:17] Seeing if I can get start time below 50% first [03:18] wgrant: No fair if your patch contains speech like GLaDOS addressing Wheatley. [03:25] Ah [03:25] Maybe if I drop lazr.restful registrations from scripts [03:25] That could give me another 20% [03:31] :( [03:31] Barely a second [03:48] And zope.sendmail adds 3s to shutdown [03:52] wgrant: http://pastebin.ubuntu.com/5728202/ [03:53] StevenK: That just shows that 16 requests ever exceeded 200MB, which isn't exactly encouraging. [03:54] StevenK: Perhaps try uploading some chroots to +storeblob and see if they always succeed [03:55] wgrant: Right, hitting up RootObject:+storeblob (I guess) on DF as soon as I can grab a chroot [03:55] Oh look, there's on [03:55] *one [03:55] StevenK: Needs to be prod [03:55] DF means nothing [03:56] It's likely to succeed on DF/staging but fail on prod [03:56] wgrant: I'm a little restiscent to toss a few hundred Mb at prod [03:56] StevenK: Why? [03:57] +storeblob will get pruned in ~48h [03:57] Right [04:02] Near-sane test startup time is near my grasp :) [04:03] Heh [04:03] No-op script time is below 3s [04:03] (moving webservice and browser stuff to appserver-only, and with the zope.sendmail and zope.component fixes. zope.interface is also a bit slow, but the slowness was added for a good reason) [04:03] It was about 9.8s before [04:04] wgrant: 'Sending request to launchpad.net...' -- this could involve a bit of waiting [04:04] Quite [04:04] It'll probably time out from here [04:04] But we'll see [04:05] Some way to gauge progress would be nice, but I can't have everything [04:05] http://pastebin.ubuntu.com/5728220/ is the zope.sendmail diff [04:06] Previously every LP process would have to wait 3s for that thread to shutdown [04:06] That's why everything takes so long to finish [04:28] Come ON firefox [04:28] So yeah, 11.6s to 3.6s for a script run [04:29] I mostly want this for less awful test times [04:29] librarian start times, subprocess startup/teardown times [04:29] Hmmm [04:29] 'Waiting for launchpad.net' [04:29] wgrant: Is the blob ticket secret? [04:30] StevenK: What do you mean? [04:30] There's no way to look up the blob from the outside without it [04:30] And you can only get it from the response to a POST to +storeblob [04:30] wgrant: Your ticket is "2f66004a-cc06-11e2-a37c-002481e7f48a" [04:30] From a chroot upload [04:30] So it worked? [04:31] Yeah, it just took 25 minutes to upload. [04:31] wgrant: Shall I repeat the test? [04:33] StevenK: Might as well [04:33] I wonder if the timeout is 30 minutes [05:21] wgrant: Right, that works as well [05:22] StevenK: Not sure how well launchpadlib exposes uploads. I'd try to work out that next. [05:23] wgrant: In terms of progress or how they're exposed? [05:23] IBug.addAttachment() was my plan [05:24] There's certainly no progress [05:25] wgrant: Current plan is DAS.setChroot(data (exported as Bytes), sha1sum) [05:27] StevenK: Why sha1sum? [05:27] wgrant: Because infinity would like to be damn sure the client and server agree about a checksum before we set PocketChroot.chroot [05:27] OK. [05:28] Hmm [05:29] wgrant: Going to write a security adapter that limits to the owner of the relevant distribution main_archive, too === tasdomas_afk is now known as tasdomas === tasdomas is now known as tasdomas_afk === tasdomas_afk is now known as tasdomas === alexlist` is now known as alexlist === wedgwood_away is now known as wedgwood === wedgwood is now known as Guest21017 === wedgwood_ is now known as wedgwood === tasdomas is now known as tasdomas_afk === olli_ is now known as olli === dpm is now known as dpm-afk