Merge lp:~mwhudson/lava-dispatcher/lava-test-shell-log-lineno into lp:lava-dispatcher
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Merged at revision: | 529 |
Proposed branch: | lp:~mwhudson/lava-dispatcher/lava-test-shell-log-lineno |
Merge into: | lp:lava-dispatcher |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~mwhudson/lava-dispatcher/lava-test-shell-log-lineno |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andy Doan (community) | Approve | ||
Review via email: mp+143059@code.launchpad.net |
Description of the change
This branch contains the fix for bug 1097094 and incidentally the fix for bug 1099258.
To post a comment you must log in.
On Mon, Jan 14, 2013 at 03:11:22AM -0000, Michael Hudson-Doyle wrote: r/actions/ lava_test_ shell.py' /actions/ lava_test_ shell.py 2013-01-09 20:57:25 +0000 /actions/ lava_test_ shell.py 2013-01-14 03:10:25 +0000 .actions import BaseAction .client. base import wait_for_prompt .device. target import Target .downloader import download_image self.client, testdefs_by_uuid) prompt( runner. _connection, target. deployment_ data['TESTER_ PS1_PATTERN' ], timeout) _connection. sendline( "%s/bin/ lava-test- runner" % target. deployment_ data['lava_ test_dir' ])
> === modified file 'lava_dispatche
> --- lava_dispatcher
> +++ lava_dispatcher
> @@ -125,6 +125,7 @@
> from lava_dispatcher import utils
>
> from lava_dispatcher
> +from lava_dispatcher
> from lava_dispatcher
> from lava_dispatcher
>
> @@ -454,7 +455,7 @@
> signal_director = SignalDirector(
>
> with target.runner() as runner:
> - runner.run("") # make sure we have a shell prompt
> + wait_for_
> runner.
> start = time.time()
> if timeout == -1:
Cool. Every time I look at those wait_for_prompt calls I think that /code.launchpad .net/~terceiro/ lava-dispatcher /wait-for- prompt/ +merge/ 143143
should be a method of the runner object itself. Something like this:
https:/
-- www.linaro. org
Antonio Terceiro
Software Engineer - Linaro
http://