/srv/irclogs.ubuntu.com/2015/01/08/#launchpad-dev.txt

stubwgrant: https://code.launchpad.net/~stub/launchpad/trivial/+merge/24582208:52
stubwgrant: I also notice we currently have requests 1.2, but latest is 2.5.1. Worth updating that too do you think?08:53
wgrantstub: If it doesn't break the test suite, why not.08:53
stubI won't know that until buildbot tells me. I've only run the swift tests.08:54
wgrantI don't think we use requests for anything else.08:54
stubI'll give it a shot, see if there is fallout08:54
stubWe must be using it for something else, as I don't think the previous swiftclient version used it08:58
stubswift tests pass with updated requests, so pushing that.09:00
stubIf this doesn't close the leak, then the next step is to override the default HTTPConnection class and give it a close() method09:01
stubBeyond that, I think we would need instrumentation on your test case. Track down which of the dozen layers is actually holding things open.09:03
wgrantYeah, I was doing that but then production caught on fire.09:05
cjwatsonwgrant: Yep, plugging through getting the plugin tests working but making good progress now.10:16
cjwatsonFinally, got past the "I'm in a maze of Twisted and nothing works" stage with txpkgupload, so now just converting tests one by one to the new world order.18:03
wgrantcjwatson: Sounds like you're just about there. Good news, I expected learning Twisted server bits would take longer :)23:16
cjwatsonThe hard bits turned out to be sorting out the clients for the tests.23:18
cjwatsonNot least because fixtures and Deferreds are not quite totally friends in all the necessary ways.23:19
cjwatsonI think the biggest piece that's left is putting together a mock object to pretend to be the LP xmlrpc authserver thingy.23:23
cjwatsonHm, maybe I can get most of that from lazr.sshserver though.  Tomorrow ...23:24
wgrantThat's a single XML-RPC method, though.23:34
wgrantThere's another nearby codebase you can look at that has an example of a single-method Twisted XML-RPC server emulating Launchpad./23:34
cjwatsonSounds like a test.  Um, bzr?23:38
cjwatsonNo, wait, no Twisted there.23:38
wgrantNot a test, just something that isn't public yet.23:38
cjwatsonOh *that* one.23:38
cjwatsonTa, I see it now :)23:39
wgrantNot dreadfully difficult, fortunately.23:42
cjwatsonNo, quite.23:43
wgrantOh how I enjoy Python garbage collection internals.23:45
cjwatsonHm, Launchpad uses ssh-vulnkey.  Does it have to keep doing so?23:47
wgrantWhat's it been? 6.5 yaers?23:48
cjwatsonSince I dropped that in openssh 1:6.5p1-1, so it's not in trusty.23:48
wgrantYeah, probably worth killing.23:48
cjwatsonAbout that, yes.23:48
cjwatsonI'll stick it in asana23:49
wgrantblr, cjwatson: We should arrange a meeting time on Monday/Tuesday. I guess UK Monday evening, APAC Tuesday morning is probably best?23:54
wgrantOh, Kit's not here.23:54
cjwatsonHm, I'd slightly planned to go out and see some humans on Monday evening23:56
cjwatsonDepends on the time23:57
cjwatson(because I had to miss my pub night tonight because children)23:57
wgrantOh, sure.23:57
cjwatsonIs UK Tuesday evening / APAC Wednesday morning possible?23:57
wgrantThat's fine with me.23:58
cjwatsonI should check with Kirsten if it's going to be a routine thing, but I'm sure we can work something out23:58
cjwatson(and I guess it should be a routine thing)23:59
wgrantRight, I want to fix a meeting time early in the week.23:59
wgrantI'm very flexible.23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!