selftest prompts for ssh password ??

Maritza Mendez martitzam at gmail.com
Wed Jun 24 05:19:58 BST 2009


On Tue, Jun 23, 2009 at 12:26 AM, Vincent Ladeuil
<v.ladeuil+lp at free.fr<v.ladeuil%2Blp at free.fr>
> wrote:

>
> Another thing you can try: Ctrl-\ should drop you under the
> python debugger, from there issuing 'bt' will show you a
> backtrace that may help us understand what happens.
>
>

I am attaching a very small backtrace obtained by hitting ctrl-\ at the
point where

bzr selftest test_http.TestActivity.test_get

is stalled.  The backtrace would seem to implicate ssl.  I just found this
result and need to start digging into it...

Thoughts?

-M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090623/cdce4b3a/attachment-0001.htm 
-------------- next part --------------
martitza at rubuntu:~/TEST/1.16$ bzr selftest test_http.TestActivity.test_get -v
running 8 tests...
testing: /usr/bin/bzr
   /usr/lib/python2.6/dist-packages/bzrlib (1.16 python2.6.2)

test_http.TestActivity.test_get(urllib,http,HTTP/1.0)                                                                                                                 OK                   5ms
test_http.TestActivity.test_get(urllib,http,HTTP/1.1)                                                                                                                 OK                   3ms
test_http.TestActivity.test_get(urllib,https,HTTP/1.0)                                                                                                             ^\** SIGQUIT received, entering debugger
** Type 'c' to continue or 'q' to stop the process
** Or SIGQUIT again to quit (and possibly dump core)
> /usr/lib/python2.6/dist-packages/bzrlib/breakin.py(33)_debug()
-> signal.signal(signal.SIGQUIT, _debug)
(Pdb) bt
  /usr/bin/bzr(130)<module>()
-> exit_val = bzrlib.commands.main()
  /usr/lib/python2.6/dist-packages/bzrlib/commands.py(987)main()
-> ret = run_bzr_catch_errors(argv)
  /usr/lib/python2.6/dist-packages/bzrlib/commands.py(998)run_bzr_catch_errors()
-> return exception_to_return_code(run_bzr, argv)
  /usr/lib/python2.6/dist-packages/bzrlib/commands.py(729)exception_to_return_code()
-> return the_callable(*args, **kwargs)
  /usr/lib/python2.6/dist-packages/bzrlib/commands.py(924)run_bzr()
-> ret = run(*run_argv)
  /usr/lib/python2.6/dist-packages/bzrlib/commands.py(560)run_argv_aliases()
-> return self.run(**all_cmd_args)
  /usr/lib/python2.6/dist-packages/bzrlib/builtins.py(3359)run()
-> result = selftest(**selftest_kwargs)
  /usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py(3160)selftest()
-> suite_decorators=suite_decorators,
  /usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py(2743)run_suite()
-> result = runner.run(suite)
  /usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py(585)run()
-> test.run(result)
  /usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py(2846)run()
-> test.run(result)
  /usr/lib/python2.6/dist-packages/bzrlib/tests/__init__.py(1420)run()
-> testMethod()
  /usr/lib/python2.6/dist-packages/bzrlib/tests/test_http.py(2008)test_get()
-> t.get('foo/bar').read())
  /usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py(126)get()
-> code, response_file = self._get(relpath, None)
  /usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib.py(118)_get()
-> response = self._perform(request)
  /usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib.py(79)_perform()
-> response = self._opener.open(request)
  /usr/lib/python2.6/urllib2.py(383)open()
-> response = self._open(req, data)
  /usr/lib/python2.6/urllib2.py(401)_open()
-> '_open', req)
  /usr/lib/python2.6/urllib2.py(361)_call_chain()
-> result = func(*args)
  /usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py(701)https_open()
-> return self.do_open(HTTPSConnection, request)
  /usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py(595)do_open()
-> headers)
  /usr/lib/python2.6/httplib.py(911)_send_request()
-> self.endheaders()
  /usr/lib/python2.6/httplib.py(868)endheaders()
-> self._send_output()
  /usr/lib/python2.6/httplib.py(740)_send_output()
-> self.send(msg)
  /usr/lib/python2.6/httplib.py(699)send()
-> self.connect()
  /usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py(313)connect()
-> self.connect_to_origin()
  /usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py(316)connect_to_origin()
-> ssl_sock = _ssl_wrap_socket(self.sock, self.key_file, self.cert_file)
  /usr/lib/python2.6/ssl.py(350)wrap_socket()
-> suppress_ragged_eofs=suppress_ragged_eofs)
  /usr/lib/python2.6/ssl.py(118)__init__()
-> self.do_handshake()
  /usr/lib/python2.6/ssl.py(293)do_handshake()
-> self._sslobj.do_handshake()
> /usr/lib/python2.6/dist-packages/bzrlib/breakin.py(33)_debug()
-> signal.signal(signal.SIGQUIT, _debug)
(Pdb) 


More information about the bazaar mailing list