Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 519041: Simple way to run client/server autotest(s) from server (Closed)

Created:
10 years, 11 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov, seano, ericli, sosa
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

Simple way to run client/server autotest(s) from server. This is a script to run client or server autotests on a live Chromium OS instance, collect results, and optionally upload the to an autotest database. This includes functional and performance tests. We assume the remote instance is running an appropriate image installed (one created using mod_image_for_test.sh and possibly installed using image_to_live.sh). An example run might be run_remote_tests.sh --remote=192.168.1.5 BootPerfServer -o results.txt This example will run src/platform/testing/server_tests/system_BootPerfServer 5 times on instance at 192.168.1.5 and collect results in result.txt. Also refactors and improves readability in image_to_live.sh.

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Patch Set 3 : A few more minor changes #

Patch Set 4 : Handle multiple subtests #

Patch Set 5 : Make image_to_live reuse remote_access.sh #

Total comments: 20

Patch Set 6 : Respond to comments and add -u option #

Total comments: 2

Patch Set 7 : No longer necessary to graft #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -88 lines) Patch
M src/scripts/image_to_live.sh View 5 7 chunks +77 lines, -88 lines 0 comments Download
A src/scripts/remote_access.sh View 1 2 5 1 chunk +48 lines, -0 lines 0 comments Download
A src/scripts/run_remote_tests.sh View 1 2 3 4 5 6 1 chunk +178 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kmixter1
10 years, 11 months ago (2010-01-05 06:38:00 UTC) #1
sosa
Sorry about missing this. Overall looks good, I have a few questions inlined. http://codereview.chromium.org/519041/diff/4001/5003 File ...
10 years, 11 months ago (2010-01-05 22:31:28 UTC) #2
petkov
See comments below. Also, image_to_live could be cleaned up further by using the force update ...
10 years, 11 months ago (2010-01-05 22:32:38 UTC) #3
kmixter1
Responded to all comments. http://codereview.chromium.org/519041/diff/4001/5002 File src/scripts/remote_access.sh (right): http://codereview.chromium.org/519041/diff/4001/5002#newcode7 src/scripts/remote_access.sh:7: . "$(dirname "$0")/common.sh" Think it's ...
10 years, 11 months ago (2010-01-07 23:29:16 UTC) #4
sosa
LGTM On 2010/01/07 23:29:16, kmixter1 wrote: > Responded to all comments. > > http://codereview.chromium.org/519041/diff/4001/5002 > ...
10 years, 11 months ago (2010-01-08 00:31:10 UTC) #5
ericli
Hi Ken, Sorry to jump on this CL late. I am interested in this CL ...
10 years, 11 months ago (2010-01-08 01:28:24 UTC) #6
ericli
10 years, 11 months ago (2010-01-08 01:28:57 UTC) #7
publishing my inline comments.

http://codereview.chromium.org/519041/diff/6002/7003
File src/scripts/run_remote_tests.sh (right):

http://codereview.chromium.org/519041/diff/6002/7003#newcode163
src/scripts/run_remote_tests.sh:163: ${autoserv} -m "${FLAGS_remote}"
"${option}" "${control_file}" \
the way to figure out options and results_dir is a duplication of autoserv
function itself.

http://codereview.chromium.org/519041/diff/6002/7003#newcode182
src/scripts/run_remote_tests.sh:182: if [[ ${FLAGS_update_db} -eq ${FLAGS_TRUE}
]]; then
This is also a dup.

Powered by Google App Engine
This is Rietveld 408576698