[Buildbot-devel] Bug 187 (Re: Buildbot-0.7.10!)
Axel Hecht
l10n.moz at googlemail.com
Mon Jan 19 17:16:04 UTC 2009
2009/1/19 Marcus Lindblom <macke at yar.nu>
>
>
> Axel Hecht wrote:
>
>> 2009/1/19 Marcus Lindblom <macke-DIcC8dYblPE at public.gmane.org <mailto:
>> macke-DIcC8dYblPE at public.gmane.org>>
>>
>> I'm stuck on bug 187 (support inrepo branches for Mercurial) as the
>> checkoutHTTP-test fails. I've no idea how to debug the 'dirty reactor'
>> error message.
>>
>> Tips here would be welcome.
>>
>> I pulled your bug187 branch (I think), and I could only reproduce your
>> error once. My guess is that you're stopping the trial process before the hg
>> serve process is down. I'd suggest to:
>>
>> add processEnded to MercurialPP, making that notify the TestCase.
>> Something like a deferred. And to return that from tearDown2.
>>
>> Just guessing, as I only reproduced this once, and of course, I don't have
>> the logs of that anymore. Adding a log.msg to processEnded would make things
>> clearer still.
>>
>
> Thx. I'll have a look.
>
> I ran your tests on both 1.1 and 0.9.5, any idea why 1.1 would take twice
>> as long to run through all 5 Mercurial tests? Almost a minute compared to
>> less than a half on my mac.
>>
>
> Not really. I did some refactoring to avoid excessive re-cloning on
> branch-switch at the same time. (It felt like the simplest solution at the
> time.)
>
> I'll see if I can do some profiling as well.
>
Just compared the logs, and then did some stdout tests. Even simple things
like hg version went from below 100 milliseconds to some 300, same for hg
init and ongoing. There seems to be at least some startup hit, and that's
rather consistent throughout the log. Should be less bad for real-life
over-the-wire scenarios, where the actual work isn't done in well under a
second.
/me sobs a little over the perf hit, and goes on with life, I guess that's
just enumerating new commands and their help on startup or something.
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090119/995d3b9e/attachment.html>
More information about the devel
mailing list