Commit Graph

30 Commits

Author SHA1 Message Date
Zelidrag Hornung
90a850ac11 Fixed run_remote_test.sh to work properly with the new location of chrome tests
BUG=none
TEST=none

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

Change-Id: I81a8d57b16e7789b0fd6673d9e3b208ce369a575
2010-09-10 14:25:59 -07:00
Ken Mixter
cc4f1dd14e Script to generate post mortem of all crashes on device
BUG=4887

TEST=tested run_remote_tests and image_to_live still work.  Ran script with machine with no crashes, as well as on a machine with a slew of powerd CHECK(false)'s.

Change-Id: Iffb6571d30d99d876f41972f92a7149a716035ee

Review URL: http://codereview.chromium.org/3276002
2010-08-31 12:07:11 -07:00
Ryan Cairns
1703423a77 Runs our BVT suite in a VM
Change-Id: I758c93596d5cbdd6b52b9acc82f4d6e19a326c9f

BUG=5518
TEST=Tested using all the options. All tests listed in the file pass.

Review URL: http://codereview.chromium.org/3107039
2010-08-30 17:03:50 -07:00
Ken Mixter
6cb2462132 Use generate_test_report to generate the run_remote_test report.
BUG=5359

Review URL: http://codereview.chromium.org/3164008
2010-08-11 17:23:40 -07:00
Zdenek Behan
8817081418 autotest_run: kill the destructive stuff that's pwning the autotest installation
* Also changes the way how "new workflow" is detected in run_remote_tests.sh

	modified:   autotest_run.sh
	modified:   run_remote_tests.sh

Review URL: http://codereview.chromium.org/3048051
2010-08-06 11:26:23 -07:00
Zdenek Behan
ddb0f2c8e3 autotest: create a candidate script for replacement ebuild test (running the tests)
* This script should replace the call to ebuild in autotest wrapper, and essentially
duplicates all the test running functions from autotest-0.0.1.ebuild

* duplicate autotest wrapper into autotest_workon to separate conversion and old functionality

* Add a hack into run_remote_tests to allow using autotest_workon instead

	new file:   autotest_run.sh
        new file:   autotest_workon
        modified:   run_remote_tests.sh

Review URL: http://codereview.chromium.org/2854062
2010-07-26 18:02:29 -07:00
Zelidrag Hornung
61d9768584 added support for an alternative ssh port for autotest (needed for running autotest on Vibrant VM)
Review URL: http://codereview.chromium.org/2845002
2010-06-15 11:55:21 -07:00
Daniel Erat
0db85ef360 Make run_remote_tests.sh support --results_dir_root.
Patch author: Andy Chan <andyc@codeaurora.org>
Original issue: http://codereview.chromium.org/2128016/show
Reviewed by sosa@chromium.org.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2728006
2010-06-09 15:55:03 -07:00
Anton (whywhat) Vayvod
9ffc3b32a3 Added --test_args parameter that passes its value as -a flag to autoserv.
Review URL: http://codereview.chromium.org/1794004
2010-04-28 21:51:16 +04:00
Eric Li
36e192758f Pass chroot flag into enter_chroot.
This is something missing from the original run_remote_tests script.

Review URL: http://codereview.chromium.org/1589022
2010-04-10 11:58:43 -07:00
Eric Li
7a4c081107 remove build_autotest.sh and change run_remote_tests.sh to use new autotest script.
This change should go with

http://codereview.chromium.org/1545014

together.

Review URL: http://codereview.chromium.org/1603004
2010-04-07 12:51:05 -07:00
Chris Sosa
aa1a7fd63d Adds gmergefs. A method of remoting to a target and pushing new
packages using emerge from the host

Review URL: http://codereview.chromium.org/1515011
2010-04-02 14:06:29 -07:00
Ken Mixter
d99d5e3181 Add -b option to run_remote_tests to build tests before running
Review URL: http://codereview.chromium.org/1548002
2010-03-29 18:59:48 -07:00
Ken Mixter
cad6ceb186 only consider control files of control or control.* form
Review URL: http://codereview.chromium.org/1345003
2010-03-27 16:34:11 -07:00
Darin Petkov
9cff73ea8c Look for ERROR too. Not sure if BAD actually ever shows up.
Review URL: http://codereview.chromium.org/1216001
2010-03-23 15:04:34 -07:00
Ken Mixter
3c6a73ba69 Enable run_remote_tests to run in chroot and clean up output
Make this script's output better formatted.  Better describe how
to disambiguate control files when multiple match.  Get rid of
the output_file concept since it's not needed.  Don't output
a results directory if there's an ambiguity.

Review URL: http://codereview.chromium.org/1090005
2010-03-22 15:45:52 -07:00
Ken Mixter
8142fd6b35 Add restrictions to files considered control files
Review URL: http://codereview.chromium.org/1155003
2010-03-19 18:05:46 -07:00
Ken Mixter
8400a40350 Minor bug fixes for run_remote_tests
By default keep around result directories.
Also find control* named control files.

Review URL: http://codereview.chromium.org/1097003
2010-03-18 16:57:07 -07:00
Ken Mixter
a2c6844e2c learn board and print better status messages
Review URL: http://codereview.chromium.org/668036
2010-03-03 18:57:45 -08:00
Ken Mixter
eb31903982 build_autotest runs as part of build_packages given a flag.
sync_build_test runs build_autotest that way.
archive_build bzips up the autotest artifacts.
run_remote_tests can run autotest artifacts from a prepackaged directory.  Note that because build_platform is in a different repository than these other files, it's unfortunately forced to be reviewed separately in http://codereview.chromium.org/661197 and committed independently.

Review URL: http://codereview.chromium.org/660189
2010-02-26 17:33:51 -08:00
Eric Li
cbbb239570 Change run_remote_tests from portage build env.
Review URL: http://codereview.chromium.org/606054
2010-02-16 08:49:16 -08:00
Chris Sosa
431a7904ef Repatch
Review URL: http://codereview.chromium.org/596051
2010-02-10 17:19:24 -08:00
Ken Mixter
d00425ef50 Support multiple chroots
this is necessary for portage-based builds which change the
chroot.  You must pass --chroot to the run_remote_tests in this
case.

Review URL: http://codereview.chromium.org/588010
2010-02-08 19:26:07 -08:00
Ken Mixter
8a4af3a999 Make run_remote_tests also update the chroot autotest
Don't punish the good people trying to write python-only autotests by
requiring them to sit through a long build_autotest run to test
every change.  run_remote_tests and build_autotest both update
the chroot copy now.

Review URL: http://codereview.chromium.org/578027
2010-02-05 19:22:35 -08:00
Ken Mixter
1cca01402a Enable building autotests in test loop and sbt script
Review URL: http://codereview.chromium.org/556060
2010-02-01 19:05:54 -08:00
Sean O'Connor
9969ce9238 Make run_remote_test's use of ssh-agent more predictable.
Review URL: http://codereview.chromium.org/560005
2010-02-01 17:10:03 -08:00
Sean O'Connor
a6db82ed3e Cleanup and merge autotest wrappers.
Review URL: http://codereview.chromium.org/546137
2010-01-27 12:11:08 -08:00
Ken Mixter
c0921383c0 Improvements for to continuous test loop.
Run a basic check on a buildbot grabbed image to make sure it has a
kernel installed in it.

Better failure recovery.

Review URL: http://codereview.chromium.org/553063
2010-01-25 11:02:32 -08:00
Ken Mixter
57d2a6bd12 Add functionality required for perf dashboard.
image_to_live.sh - fix problem where errorvalue is non-zero even when
  reimage was successful.
run_remote_tests.sh - add ability to stow build description in the
  autotest database so we can track the exact build for which
  tests succeed/fail.

Review URL: http://codereview.chromium.org/547018
2010-01-18 10:58:25 -08:00
Ken Mixter
689b9ee48e 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.

Review URL: http://codereview.chromium.org/519041
2010-01-07 18:23:52 -08:00