Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
autotest
/
a6f560f61dd7db1a11d94c7247d712484e98fe58
/
server
/
utils.py
798f952
Import a server/site_utils.py if present.
by mbligh
· 15 years ago
e7dc9d3
Fix up the utils import stucture for server side code
by mbligh
· 16 years ago
a64835c
Remove needless complexity from server/utils.py
by mbligh
· 16 years ago
170873e
Attached is a very large patch that adds support for running a
by showard
· 16 years ago
6d2ada5
Make certain that server.utils.__clean_tmp_dirs is called; currently
by jadmanski
· 16 years ago
bc5a8b1
Don't use verbose run output in SSHHost.run, since it already does
by jadmanski
· 16 years ago
0afbb63
Convert all python code to use four-space indents instead of eight-space tabs.
by jadmanski
· 16 years ago
b0605d9
Fix up a few bits of whitespace silliness, unnecessary/missing newlines, etc.
by jadmanski
· 16 years ago
aa9e674
Add missing changes to utils.py from earlier CL
by mbligh
· 16 years ago
02ff2d5
Risk: Medium - Hits quite a bit of different areas
by mbligh
· 16 years ago
b7dcc7f
Factored parser out into a singleton that can be accessed anywhere. Also allowed the possiblity to
by mbligh
· 16 years ago
d93d7d2
Risk: Medium Visibility: Should improve error messages from failing commands.
by jadmanski
· 16 years ago
c25b58f
Replaced "from common_lib.utils import *" with "from common_lib import utils" and added the necessary methods which just call the methods in common_lib.utils.
by mbligh
· 16 years ago
8fc3b91
Fix reference to utils model, use complete path
by mbligh
· 17 years ago
0b4fe6e
Provides a fraimwork for forming n of m tuples of machines.
by mbligh
· 17 years ago
ccb9e18
Convert all imports on the server to use absolute imports.
by mbligh
· 17 years ago
f5427bb
Fix up the importing in server/hosts to not be so fragile. Importing
by mbligh
· 17 years ago
63073c9
Move the following into common_lib.utils
by mbligh
· 17 years ago
d8b3925
Added support for having site version of autotest.
by mbligh
· 17 years ago
e13239a
Simply right-shifting exit codes is just WRONG. We are loosing all non-signal based errors.
by mbligh
· 17 years ago
35f4395
Convert _wait_for_command (in server.utils) to use Popen.poll instead
by mbligh
· 17 years ago
d60b032
stripped off trailing newline from system_output on server side.
by mbligh
· 17 years ago
3c647c3
Stop using close_fds. The underlying implementation is braindead and
by mbligh
· 17 years ago
ea397bb
Refactor the server and client side test classes into a the common lib
by mbligh
· 17 years ago
c3aee0f
Added timeout to parallel subcommands.
by mbligh
· 17 years ago
34faa28
SSH has an exit code of 255 and prints out an error message when
by mbligh
· 17 years ago
6a2a2df
Ensure all AutoservRunErrors are constructed with a tuple of two objects, as expected. Also change AutoservRunError's docstring to reflect this requirement. Fixed up some formatting in run_grep while I was at it.
by mbligh
· 17 years ago
4d6feff
Fix exceptions not to be strings
by mbligh
· 17 years ago
10b3a08
Make utils.system() print to stdout / stderr as intended
by mbligh
· 17 years ago
ff6b402
We should be raising an AutoservRunError here, not a CmdError.
by mbligh
· 17 years ago
34a3fd7
add a couple of utils to the server side
by mbligh
· 17 years ago
03f4fc7
Pull the server-side errors.py into the common error library.
by mbligh
· 17 years ago
f31b0c0
Move error.py'>error.py'>error.py out of the client and server and into common_lib.
by mbligh
· 17 years ago
c9f342d
Fix the crappy error handling in utils.run() - it doesn't work
by mbligh
· 17 years ago
40f122a
Allow site-local extensions to autoserv, and a custom site install
by mbligh
· 17 years ago
0e4613b
Add run_timed_test to autotest.py kill tests after a certain timeout.
by mbligh
· 17 years ago
59f70aa
Fix trailing /'s for location per msb from last night
by mbligh
· 17 years ago
6e18dab
Fix utils.get not to make gratuitous copies of local dir trees
by mbligh
· 17 years ago
9708f73
At some point, parallel_simple was broken. This updated patch fixes this
by mbligh
· 17 years ago
0526936
Add support for tests on the server side
by mbligh
· 17 years ago
f1c5284
Move the meat of autoserv into a separate job class, and provide logging
by mbligh
· 17 years ago
5f876ad
Add some missing functions from the host class and utils
by mbligh
· 17 years ago
bea5682
Fix to tempdir cleanup behavior in server
by mbligh
· 17 years ago
8b85dfb
From: Benjamin Poirier <poirier@google.com>
by mbligh
· 17 years ago
dc735a2
clean up spacing everywhere
by mbligh
· 17 years ago
0dd2ae0
Fixed leaking of file descriptors in utils.run
by mbligh
· 17 years ago
cf965b0
Add ignorestatus=1 to ssh_host.run
by mbligh
· 17 years ago
c8949b8
Add autotest support in server side
by mbligh
· 17 years ago
dcd57a8
Add initial version of autoserv
by mbligh
· 17 years ago