History log of /external/autotest/client/bin/harness_simple.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8a12e800f05f6862fc39c6a45c9c57d9051b795e 17-Feb-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into master.

Merged to upstream autotest @5216~@5235.

Most of the stuff are from Olof's arm cross compiling and some misc changes from Dale Curtis.

As usual,the entire change list description is too big to enlist here. Please refer to upstream (http://autotest.kernel.org/browser) for more details.

BUG=none
TEST=1. emerge-arm-generic autotest autotest-deps autotest-tests
2. emerge-x86-generic autotest autotest-deps autotest-tests
3. run bvt from both src/third_party and inside emerged
chroot/..usr/local/autotest.
Seems fine. No regression found.

Review URL: http://codereview.chromium.org/6539001

Change-Id: I613929ec9c29849db5110ae8234bc68a80f4d2d5
/external/autotest/client/bin/harness_simple.py
12b45582c04b2417036a6f11afc843ac5fddea50 11-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Massive permission fix

Fix permissions for all the development tree

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4094 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
0afbb6369aa5aa9a75ea67dd9e95ec4b21c0c181 06-Jun-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Convert all python code to use four-space indents instead of eight-space tabs.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
0e6192aa2853fb4dd98cbad705471b3fb135e70e 03-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Risk: High
Visibility: Any test run using client/bin/autotest would not go ahead.

Fix up the the core files to explicitly import common_lib/utils and bin/autotest_utils instead of using 'import *'. Prevents the showstopper where tests were not being run through client/bin/autotest

Signed-off-by: Ashwin Ganti <aganti@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1592 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
d528d30ade9c0ea04777555908053f324f5ca56d 19-Dec-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Extend the status logging mechanism to handled multiple tests in
parallel on a single machine without interleaving the status logs from
each test. This introduces some delay into the processing of these
logs since the status logging has to delay writing out the status
logs until it can impose a serial order on them.

However, it does NOT delay the writing of the logs to stdout; since
stdout is intended for human consumption and not machine processing it
is much more convenient for the logging to be visible in the logs at
the point in time where the event occured.

This implementation tries to avoid introducing a sitation where logs
are dropped on the floor because their being held back from the status
log. In the worst case on the client side the logs if autotest fails
before accumulating the logs in status then the intermediate logs will
still be available in individual status.* files, and on the server side
the server will automatically write out whatever logs it has
accumulated so far in the case of a failure (under the assumption that
it is still possible to write to status.log).

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1089 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
2bf2db6379790645e2ffc45102ee729d271cf3ba 27-Nov-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> When sending status logs back through the ssh stderr, we need to
prepend the logs with some sort of indicator that the error came
from autotest and not ssh so that errors generated by ssh itself
don't get mixed in with status information.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@993 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
c343016711f17d8ad4c6bb1239944eee13279f0f 15-Nov-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Move a lot of the ad hoc logging out of harness_simple and into job.py,
and make sure that multi-line logs (e.g. logs with tracebacks) are
not trucated to a single line in the status.log file.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@941 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
7942d39e39a12340de2b2dd1db33d0459af0c17f 02-Nov-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Move the five second sleep that we perform on the client before
rebooting out of the python code and into the system("reboot") call.
This gives the client a chance to exit cleanly before the reboot
command tells the client process to die.

From: John Admanski <jadmanski@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@871 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
9c5ac32b5f8ca90f46510540cd6c603c9c770669 31-Oct-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix up error handling of aborts. Make sure we print tracebacks for
unknown exceptions.

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@864 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
c9f67b51b0f133b82dcce3d8d01b2576589107b1 19-Sep-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> fix up spaces vs tabs in harness code




git-svn-id: http://test.kernel.org/svn/autotest/trunk@673 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
09f288a122c511f582b627c30ab3513f56ddb4c7 18-Sep-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Standardize the format in the status file to:

<status code>\t<subdir>\t<operation>\t<status>

everywhere. This makes it a lot saner to parse.

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@672 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
4726b0988a5270b0ece3584aae937dcfaa043881 12-Mar-2007 apw <apw@592f7852-d20e-0410-864c-8624ca9c26a4> ensure we call the general harness initialiser

We should be calling the general harness initialiser to get our
job mapping etc and any other base initialisation. Used in a later
patch to load the default configuration set.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@503 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
61a6c1adf99442aa52e513d671c15344a335cdd6 25-Dec-2006 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> There was no ABORT function when the job went wrong.
Tried to fix this up.

Also removed the status arg to job_complete, as it was unused.

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@447 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py
570e93e712f838aa8044760b8810add7ebaf8ba4 26-Nov-2006 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add simple server harness support to autotest client

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@388 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/bin/harness_simple.py