<br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 10:31 AM, Maritza Mendez <span dir="ltr"><<a href="mailto:martitzam@gmail.com">martitzam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 1:08 AM, Martin Pool <span dir="ltr"><<a href="mailto:mbp@sourcefrog.net" target="_blank">mbp@sourcefrog.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here's another shot in the dark: you may be hitting a Python warning<br>
inside pycurl or something run inside the test. bzr code shouldn't<br>
hit any deprecation warnings but some external libraries do and it can<br>
cause surprising behaviour.<br>
<br>
I can think of two things to investigate this:<br>
<br>
1- try with a different version of python, eg 'python2.5 bzr selftest ....'<br>
2- run with hard warnings: 'python -Werror bzr selftest ....'<br>
<font color="#888888">--<br>
</font><div><div></div><div>Martin <<a href="http://launchpad.net/%7Embp/" target="_blank">http://launchpad.net/~mbp/</a>><br>
</div></div></blockquote></div><br><br></div></div>I will try that. Thanks!<br><font color="#888888"><br>-M<br>
</font></blockquote></div><br>Just to close this loop... -Werr turns up nothing interesting. <br><br>But get this! running with python 2.6.2 fails (stalls, actually) but the tests pass with python 2.5.4 just fine!<br><br>
I'm going to go back and run teh whole test suite using python 2.5.<br><br>I wish I had tried this much sooner! Mea culpa! Here's the good result:<br><br>martitza@rubuntu:~/TEST/1.16$ /usr/bin/python2.5 -Werror /usr/bin/bzr selftest test_http.TestActivity.test_get -v<br>
running 4 tests...<br>testing: /usr/bin/bzr<br> /usr/lib/python2.5/site-packages/bzrlib (1.16 python2.5.4)<br><br>test_http.TestActivity.test_get(urllib,http,HTTP/1.0) OK 4ms<br>
test_http.TestActivity.test_get(urllib,http,HTTP/1.1) OK 7ms<br>test_http.TestActivity.test_get(pycurl,http,HTTP/1.0) OK 335ms<br>
test_http.TestActivity.test_get(pycurl,http,HTTP/1.1) OK 1ms<br><br>----------------------------------------------------------------------<br>
Ran 4 tests in 0.435s<br><br>OK<br>tests passed<br>bzrlib.tests.test_http.TestActivity.test_get(urllib,http,HTTP/1.0) is leaking threads among 3 leaking tests.<br><br>