Generic selftest questions
Maritza Mendez
martitzam at gmail.com
Wed Jun 24 05:51:23 BST 2009
On Tue, Jun 23, 2009 at 10:31 AM, Maritza Mendez <martitzam at gmail.com>wrote:
>
>
> On Tue, Jun 23, 2009 at 1:08 AM, Martin Pool <mbp at sourcefrog.net> wrote:
>
>> Here's another shot in the dark: you may be hitting a Python warning
>> inside pycurl or something run inside the test. bzr code shouldn't
>> hit any deprecation warnings but some external libraries do and it can
>> cause surprising behaviour.
>>
>> I can think of two things to investigate this:
>>
>> 1- try with a different version of python, eg 'python2.5 bzr selftest
>> ....'
>> 2- run with hard warnings: 'python -Werror bzr selftest ....'
>> --
>> Martin <http://launchpad.net/~mbp/ <http://launchpad.net/%7Embp/>>
>>
>
>
> I will try that. Thanks!
>
> -M
>
Just to close this loop... -Werr turns up nothing interesting.
But get this! running with python 2.6.2 fails (stalls, actually) but the
tests pass with python 2.5.4 just fine!
I'm going to go back and run teh whole test suite using python 2.5.
I wish I had tried this much sooner! Mea culpa! Here's the good result:
martitza at rubuntu:~/TEST/1.16$ /usr/bin/python2.5 -Werror /usr/bin/bzr
selftest test_http.TestActivity.test_get -v
running 4 tests...
testing: /usr/bin/bzr
/usr/lib/python2.5/site-packages/bzrlib (1.16 python2.5.4)
test_http.TestActivity.test_get(urllib,http,HTTP/1.0)
OK 4ms
test_http.TestActivity.test_get(urllib,http,HTTP/1.1)
OK 7ms
test_http.TestActivity.test_get(pycurl,http,HTTP/1.0)
OK 335ms
test_http.TestActivity.test_get(pycurl,http,HTTP/1.1)
OK 1ms
----------------------------------------------------------------------
Ran 4 tests in 0.435s
OK
tests passed
bzrlib.tests.test_http.TestActivity.test_get(urllib,http,HTTP/1.0) is
leaking threads among 3 leaking tests.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090623/9cccaf5f/attachment.htm
More information about the bazaar
mailing list