selftest prompts for ssh password ??

Maritza Mendez martitzam at gmail.com
Tue Jun 23 01:28:27 BST 2009


On Mon, Jun 22, 2009 at 5:14 PM, Martin Pool <mbp at sourcefrog.net> wrote:

>
> Well, it certainly seems like it is prompting you for it, but it's not
> meant to.  The test suite is supposed to be (and is, when I run it)
> entirely non-interactive and automated.
>
> If this is coming from test_config it looks like it's just asking the
> configuration file object for the right password.  In a brief look it
> does not seem like that code should be asking the user for the
> password.  It's possible that what you saw was echoed to a trace file
> during the test and bzr printed it out when a test failed.
>
> If you run just 'bzr selftest test_http' does that fail?
>
> --
> Martin <http://launchpad.net/~mbp/ <http://launchpad.net/%7Embp/>>
>


Yes and no.  :)  'bzr selftest test_http' stalls on my jaunty machine.

This was true for bzr 1.15 and remains true for bzr 1.16.

The stalls are always in the same place(s).  I posted details to the list a
few days ago.

The first place is test_http.TestActivity.test_get(urllib,https,HTTP/1.0)

So the test_http does not fail in the usual sense.  It fails by just not
finishing.

The exact sequence was

COLUMNS=195
export COLUMNS
bzr selftest http_test -v >> results_001.txt

and the prompt for an ssh password appeared on the console (which should be
receiving only stderr, unless selftest is manipulating the tty directly!)
and is not echoes in the file receiving stdout.

As I mentioned, attempts to reproduce by repeating exactly the same steps
have failed.  But that does nto surprise me too much, since a stalled
selftest could have left all kinds of artifacts in temp directories.  So I
think I need to do some cleanup, maybe uninstall and reinstall 1.16 from
PPA, and try again.

File this under "strange but maybe a clue to something"

Thanks,
-M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090622/29c89b19/attachment-0001.htm 


More information about the bazaar mailing list