Commit Graph

1728 Commits

Author SHA1 Message Date
Chris Sosa
bc4c1574d0 Add logs for update_engine, devserver, and cros_run_vm_update to test artifacts.
Change-Id: Ib5617612be38bb6d7dafcb2edab887c998a676ab

BUG=chromium-os:12951
TEST=Ran it with Simple.  Saw logs generated (1_update) and in root/dev_server.log.  Ran unittests for cros_build_lib.

Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=f53a8c7

Review URL: http://codereview.chromium.org/6672007
2011-03-14 13:21:16 -07:00
Darin Petkov
34c838918c Blacklist pulseaudio and perl to make sure they don't creep in.
BUG=chromium-os:12984
TEST=x86-mario build_packages, build_image, mod_image_for_test

Change-Id: Ia1fb9c214210c6e58acf25da59f40a7e5ab67d70

Review URL: http://codereview.chromium.org/6674001
2011-03-14 11:16:50 -07:00
Jay Kim
e9d1bbd6d0 Adding "modprobe i2c-dev" before running the script
Change-Id: Iaebc0e55264e5ccda11bea9858438cf67665a357

BUG=chrome-os-partner:2718
TEST=

Review URL: http://codereview.chromium.org/6680021
2011-03-12 19:37:55 -08:00
Duncan Laurie
4deda9c24f Disable the 8042 MUX on our x86 devices.
The use of the mux can cause issues with some EC 8042 controllers and
result in loss of keyboard/trackpad between suspend/resume/reboot cycles.
We will never have more than keyboard+trackpad attached through the 8042
on our devices so using the mux is unnecessary.

BUG=chrome-os-partner:2700
TEST=manual verification that mux is not probed at boot:

Original:
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12

New:
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12

Change-Id: I942ab86eb71941ab072ad6a17d15b067ca94439d

Review URL: http://codereview.chromium.org/6679031
2011-03-12 15:45:19 -08:00
Chris Sosa
0cc50a4077 Revert "Add logs for update_engine, devserver, and cros_run_vm_update to test artifacts."
This reverts commit f53a8c769b.

TBR=dgarret: revert CL to open tree

Change-Id: I03f80c715e9724f0759edcbeb9535948c9316200
2011-03-11 16:17:50 -08:00
Chris Sosa
f53a8c769b Add logs for update_engine, devserver, and cros_run_vm_update to test artifacts.
Change-Id: Ib5617612be38bb6d7dafcb2edab887c998a676ab

BUG=chromium-os:12951
TEST=Ran it with Simple.  Saw logs generated (1_update) and in root/dev_server.log.  Ran unittests for cros_build_lib.

Review URL: http://codereview.chromium.org/6672007
2011-03-11 15:42:31 -08:00
Jim Hebert
314f0642c5 This cros_extract_deps is broken and superceded by chromite/bin/cros_extract_deps
Change-Id: I52fdb083ed9ea1acf8218f559a7b9ea448768532

BUG=chromium-os:12892
TEST=n/a - this removes a script

Review URL: http://codereview.chromium.org/6682007
2011-03-11 13:47:37 -08:00
Chris Masone
6530f1bec8 [crosutils] Remove --use_emerged from cros_run_parallel_vm_tests
cros_run_parallel_vm_tests doesn't work unless you pass --use_emerged; there must be some underlying issue with trying to perform multiple run_remote_tests commands at the same time, even on different VMs.  So, remove the option and force --use_emerged on the calls to cros_run_vm_test.

BUG=8544
TEST=run two tests in parallel with cros_run_parallel_vm_tests and see that they both complete.

Change-Id: I1152ca3dd7f1de37261da894b9b903c90c2e6524

Review URL: http://codereview.chromium.org/6612058
2011-03-09 17:09:06 -08:00
Chris Sosa
cc0c062a3d Remove accidental test/debug regression I added in refactoring.
Not sure how I missed this.

Change-Id: Icd67b6119cbe5ef59bcf2c42784ac8fd011f2ab9

BUG=chromium-os:12953
TEST=Ran it

Review URL: http://codereview.chromium.org/6659009
2011-03-09 14:58:17 -08:00
Tom Wai-Hong Tam
b42af678be Add transitional flag for ARM kernel signing in mod_image_for_recovery.sh.
Enable the ARM kernel signing procedure in the recovery image. Will remove it
when the procedure is stable.

BUG=chromium-os:12352,chromium-os:1305
TEST=run "build_image" and "mod_image_for_recovery.sh
--crosbug12352_arm_kernel_signing" to create a recovery image.
Then use u-boot recovery mode to boot the recovery image. Successfully verify
and boot the kernel.

Change-Id: I1bf911176c6f3adaebf3aa9abc86488a48a60494

Review URL: http://codereview.chromium.org/6635010
2011-03-08 09:55:10 +08:00
Chris Sosa
a2fcb05593 Only print out ERROR log rather than DEBUG log as DEBUG is overly verbose.
Change-Id: If9603879ed4778a2c6bb037ec9ced0eb86482444

BUG=chromium-os:11682
TEST=Ran on tmp dir with failed test.  Saw error log get printed out rather than debug

Review URL: http://codereview.chromium.org/6639001
2011-03-07 14:18:48 -08:00
Nick Sanders
c750ac2c4d crosutils/mod_for_factory_scripts: don't change VT on factory service stop
In http://codereview.chromium.org/6567004 in order to help developers stopping
factory UI, we've added an "chvt 2". However changing foreground terminal may
hang when executing "shutdown -r" inside Wipe test.

Removing the "chvt" call solved this issue. The only side effect is that
developers executing "initctl stop factory" may end seeing a black scren - and
they need to hit Ctrl-Alt-F2 to get the console back.

BUG=chrome-os-partner:2631
TEST=build a factory image then verified following steps:
     (1) in VT2, do "initctl stop factory, then C-A-F2: screen changed to VT2.
     (2) Execute factory tests until Wipe: reboots immediately when X closed
     (3) Execute Reboot in HWID test: reboots immediately when 'reboot' is ACTIVE

Change-Id: Ib6f44a6ad07db08862929179d0fe21cbbcc2b22a

Review URL: http://codereview.chromium.org/6621041
2011-03-07 10:06:31 -08:00
Nick Sanders
4ed0b8680a Rebuild image for factory
BUG=chrome-os-partner:2442
TEST=run locally - not barf

Change-Id: I0d63227253177d6e6314ae315eaec8ca85f26212

Review URL: http://codereview.chromium.org/6626040
2011-03-06 15:21:42 -08:00
David James
7a05e06dc9 Fix breakage in ctest.py.
Spotted the following error on the bots:

Traceback (most recent call last):
  File "bin/ctest", line 318, in <module>
    main()
  File "bin/ctest", line 314, in main
    options.remote, not options.cache)
TypeError: RunAUTestHarness() takes exactly 9 arguments (8 given)

http://chromeos-botmaster.mtv.corp.google.com:8026/builders/x86%20AGZ%20Full/builds/545/steps/cbuild/logs/stdio ( http://bit.ly/fdwOq1 )

This change fixes the error introduced in b54301bb9a.

TEST=Verify that new argument is passed through.
BUG=chromium-os:12211

Change-Id: Ibe8ee2f1fd0001525a5699a9dc107730f9c181de

Review URL: http://codereview.chromium.org/6625035
2011-03-04 19:14:09 -08:00
Mandeep Singh Baines
e39579a9d0 update_kernel: fix to be not rely on kernel command-line
This script recently stopped working when we changed the kernel cmdline.

Fix to be more robust by using rootdev instead.

BUG=12780
TEST=Updated my kernel.

Change-Id: I033f670c5db821863441ea1546c382fce3436c01

Review URL: http://codereview.chromium.org/6628027
2011-03-04 15:58:57 -08:00
Chris Sosa
b54301bb9a Add ability to pass a base test root and create results dirs relative.
Sets up dir paths as follows:

test_root/test_name i.e. SimpleUpdate/<num>_stage

For example:

test_root/testNormalUpdateKeepStateful/2_verify/...test_results...
corresponds to the second invocation of verify image.  The test
results for this stage are stored here.

This is a predecessor for storing arbitrary logs e.g. update into
this test results root.

Change-Id: I7183420b5dcb0d6971aa508a338c048c3557e359

BUG=chromium-os:12211
TEST=With simple a full vm test suite w/ w/out explicit test root
set.

Review URL: http://codereview.chromium.org/6614029
2011-03-04 15:06:01 -08:00
Darin Petkov
47974d4216 Remove obsolete variable pass through.
BUG=chromium-os:12711
TEST=enter_chroot, build_package, build_image

Change-Id: I002ccdaba2c91421da22db2d5a52e82665eab6af

Review URL: http://codereview.chromium.org/6614027
2011-03-03 15:55:04 -08:00
Simon Glass
6e448ae31a Select factory image when --factory is given
prepare_test_image would prepare the correct image (test or factory)
but its return value would always specify the test image. This meant
that image_to_usb.sh would pick up the wrong image.

This commit fixes this.

BUG=chromium-os:12377
TEST=./image_to_usb --from=... --to=/dev/sdb
also with --factory
also with --test

Make sure it picks up the correct image in each case.

Change-Id: I165b604b448a6c938a47e57a667bd5f001626efe

Review URL: http://codereview.chromium.org/6609016
2011-03-03 11:20:54 -08:00
Chris Sosa
5566eb1f7b Refactor au_test_harness into modules and refactor to use worker design flow.
This CL is a large refactoring that moves the test_harness from using sub-classed classes of au_test into a one where we have the same AU_Test for all test flows but different test workers that operate on different types of machines.  Specifically we move the VM / Real-image specific logic into real_au_worker and vm_au_worker.  There isn't anything functionally different in this change.

Also, we move the classes into their own modules and clean up use of cros_build_lib to be more stylistically correct.

Change-Id: I3e25141174c3d5ba22962bf94365815e69e5bedf

BUG=chromium-os:11172
TEST=Ran with simple and full w/ w/out delta update payloads and with unittest and without unittest keys.  Ran real test using full suite on test device using full update payloads.

Review URL: http://codereview.chromium.org/6597122
2011-03-02 19:24:52 -08:00
Mandeep Singh Baines
efba42eb10 cros_workon: start process of removing cros_workon from src/scripts
All tools have been modified to use /usr/bin/cros_workon. So we can
start removing from src/scripts.

For now, print an error so users aren't caught off guard. In a couple
of weeks, I'll remove from src/scripts.

BUG=11507
TEST=none

Change-Id: Ia5f9996bc54fd97b1264cddcf4a0f945fbcb01b4

Review URL: http://codereview.chromium.org/6594132
2011-03-02 18:32:09 -08:00
Chris Masone
2eae7c239d [crosutils] Add --quiet to cros_run_parallel_vm_tests
When running tests that generate huge amounts of output (like
desktopui_BrowserTest) it would be nice to suppress stdout and stderr
so that the buildbot logs aren't enormous.  Adding a --quiet flag that
requires the --results_dir_root flag ensures that we can trim the
output while still ensuring that the useful data is captured.

BUG=8544
TEST=run two tests in parallel with --quiet and --results_dir_root and see that the output is where you expect it

Change-Id: I25c7ad2bc1d017a30df0d1ad4604207443e711d7

Review URL: http://codereview.chromium.org/6602098
2011-03-02 16:37:23 -08:00
Anton Staaf
6adf1a3458 Add optional logging prefix to info, warn and error messages.
BUG=chromium-os:11981
TEST=run cros_sign_bootstub with and without CROS_LOG_PREFIX set.

Change-Id: I320622d4161479dcc29ebdee68e160d94f1d3196

Review URL: http://codereview.chromium.org/6596108
2011-03-02 10:13:14 -08:00
Anton Staaf
6f5262d325 Add check_for_file and check_for_tool functions to common.sh
These functions make it easy to do testing in scripts for required
files and tools and provide useful error messages when the files
or tools are not found.

BUG=chromium-os:11981
TEST=run cros_sign_bootstub in configurations that test all paths in
these functions.

Change-Id: Ia63cfabd1eecba6473331b756486745d71e6b699

Review URL: http://codereview.chromium.org/6591056
2011-03-02 09:35:54 -08:00
Darin Petkov
a586930227 Switch build_image to use cros_set_lsb_release directly.
Also remove obsolete customize_rootfs symlink.

BUG=chromium-os:4628
TEST=build_image

Change-Id: Id2af4b87585c3e127cffd02525cc0da5fb11bbfd

Review URL: http://codereview.chromium.org/6602062
2011-03-01 17:15:59 -08:00
Chris Sosa
d39057d242 Wait until we can initiate contact with the update engine before starting update.
Change-Id: I2f741d7866192300946299f9050717721c2a644d

BUG=chromium-os:12605
TEST=Changed impl of check_status to return 1 and made sure timeout got inc'd
correctly and aborted.  Also checked to make sure if status returned 0 i.e.
update_engine_client --status returned 0, we would continue.

Review URL: http://codereview.chromium.org/6594089
2011-03-01 15:16:16 -08:00
Don Garrett
e1b78a7efd Reintroduce RunCommand cleanup and unit tests. Fixed previous issue in which exceptions were thrown if exit_code was set, and added a new unittest to prove that.
This reintroduces the change after commit 3635aaa55e, which reverted 01c8423582.

BUG=chromium-os:11717
TEST=Ran new unit tests, and did full build.

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

Change-Id: I598e459ddaa156af47d47d0482cac16ce44f07a4
2011-03-01 14:22:41 -08:00
Zdenek Behan
99f7a5397d scripts: call devserver/payload generators from chroot & delete moved scripts
BUG=chromium-os:5246

TEST=below, During all tests, the directory platform/dev was manually removed
1) Ran cros_au_test_harness.py and saw it succeed
2) Ran generate_au_zip.py, compared the generated .zip with one before this
patch - they were identical
3) Ran cros_image_to_target.py and saw it succeed

Change-Id: Iab2620245a45442b79ee8369f3af1a3990f4644e

Review URL: http://codereview.chromium.org/6576023
2011-03-01 22:57:33 +01:00
Darin Petkov
87dd2be709 Remove obsolete CHROMEOS_REVISION setting in enter_chroot.
BUG=chromium-os:11647
TEST=enter_chroot, build_image

Change-Id: Ib97e27fd0e6292ec7504dbc4312254bc574ba171

Review URL: http://codereview.chromium.org/6598056
2011-03-01 09:25:09 -08:00
Anton Staaf
dec0a5be72 Revert "Add optional logging prefix to info, warn and error messages."
The build bots run things a little different it seems.  I'll look into
what it is that they do that a normal run doesn't do that causes
this change to fail there.  But for now I'm reverting it.

This reverts commit 6d65c0f1b3.

BUG=None
TEST=None

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

Change-Id: I7cdfb25c28f1c139981aaf7382cd3e9dbfd4446b
2011-02-28 17:02:53 -08:00
Zdenek Behan
a400b3f5fa cros_image_to_target: use newstyle updates, followup after switching --nooldstyle to be the default
BUG=n0ne
TEST=run the script and see the update go

Change-Id: Ie767edf85876b7864f6425efed1ac554026ecdff

Review URL: http://codereview.chromium.org/6596062
2011-03-01 01:42:55 +01:00
Anton Staaf
6d65c0f1b3 Add optional logging prefix to info, warn and error messages.
BUG=chromium-os:11981
TEST=run cros_sign_bootstub with and without CROS_LOG_PREFIX set.

Change-Id: I320622d4161479dcc29ebdee68e160d94f1d3196

Review URL: http://codereview.chromium.org/6597053
2011-02-28 16:21:53 -08:00
Zdenek Behan
b9a951a13d scripts: allow calling cros_generate_update_payload from outside the chroot
This was broken by 798d75f3be and there
isn't a proper way to fix it right now, as that commit generally moves
everything inside the chroot. The few remaining scripts that need to be
called from outside need to do a path magic here or there to survive.

BUG=n0ne
TEST=below
1) generate_au_zip.py, unzip it outside the chroot and try running the script
2) cros_au_test_harness

Change-Id: I14bf0267ba2864d7946d657b23812b3dcd512f48

Review URL: http://codereview.chromium.org/6602018
2011-03-01 00:27:19 +01:00
Jim Hebert
5d184029ef jimhebert -> watch for kernel boot param changes so I can maintain tests.
Change-Id: I6a7b6c9ecb4380abb99df9cc12d29d975eb913db

BUG=chromium-os:12582
TEST=none
STATUS=Fixed

Review URL: http://codereview.chromium.org/6588059
2011-02-28 13:09:04 -08:00
Vadim Bendebury
8e623f6ea5 Modify x86 kernel command line to enable nmi watchog.
For the kernel nmi to be activated and function properly it
must be enabled in the kernel command line. This CL adds
`nmi_watchdog=panic,lapic' (which is equivalent of
nmi_watchdog=2) to the command line. The reason '2' was used
and not '1' is that nmi_watchdog=1 is known to break audio
functionality on chromeos devices.

Note that only x86 platforms are affected by this change,
ARM platforms will be added later.

This CL is required by the autotest CL

http://codereview.chromium.org/6596002

Change-Id: Ie8a9ba3f0de6d236cbe098e402b0240aa64ddcd0

BUG=chromium-os:12463, chromium-os:12464
TEST=see below

. build new image for test and install it on the target
. restart the target
. observe the contents of /proc/sys/kernel/nmi_watchdog (it
  should read '1' after reboot)
. run autotest as follows
 (chroot) ~/trunk/src/scripts $ ./run_remote_tests.sh \
   --board=x86-mario --remote=172.22.75.163 \
   platform_KernelErrorPaths kernel_BootMessagesServer \
platform_HighResTimers
. observe the results:

INFO   : Test results:
---------------------------------------------------------
kernel_BootMessagesServer                           PASS
kernel_BootMessagesServer/kernel_BootMessagesServer PASS
  coldboot_active_mb                                50
  coldboot_anonpages_mb                             36
  coldboot_buffers_mb                               3
  coldboot_cached_mb                                166
  coldboot_inactive_mb                              156
  coldboot_memfree_mb                               1649
platform_HighResTimers                              PASS
platform_HighResTimers/platform_HighResTimers       PASS
platform_KernelErrorPaths                           PASS
platform_KernelErrorPaths/platform_KernelErrorPaths PASS
---------------------------------------------------------
Total PASS: 6/6 (100%)

No crashes detected during testing.
Elapsed time: 4m28s

Review URL: http://codereview.chromium.org/6597001
2011-02-28 10:28:31 -08:00
Dale Curtis
2e671be911 Remove the crash whitelist for chromeos-wm sig 6 now that a fix has been pushed and cycled through the builders.
Change-Id: I91ebdcd62630011bb55c7d65d947bcab51533633

BUG=chromium-os:12212
TEST=Ran against a result set with crashes.

Review URL: http://codereview.chromium.org/6598010
2011-02-25 14:15:58 -08:00
Raymes Khoury
9e1084c7b8 Modified build_image to support new crossdev.
BUG=none
TEST=Ran build_image with and without the crossdev upgrade. Made sure it was picking up the correct tarball.

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

Change-Id: I83e1c35b0d971aa9a5d69fb404a69f2a712bbe38
2011-02-25 14:01:10 -08:00
Mandeep Singh Baines
7b86ec098e run_remote_tests: fix bug where new symlink got created instead of update
The one symlink should be update instead of new links being created.

BUG=12233
TEST=Ran run_remote_test.sh many time and verified that the link is updated.

Change-Id: I63f325e03439e5c922e9fe2300444193146182f9

Review URL: http://codereview.chromium.org/6576051
2011-02-25 10:18:41 -08:00
Dmitry Polukhin
0a649b57d9 Remove /mnt/partner_partition
BUG=chromium-os:6840
TEST=Build and install Chrome OS image, no issues observed

Change-Id: I24ea3a96490a81c8926852eff6d2451e57e196f7

Review URL: http://codereview.chromium.org/6546045
2011-02-24 13:02:52 +03:00
Benson Leung
393c17b0cc Allow run_remote_tests to learn board instead of default board
If no board is specified for run remote tests,
learn board from device under test instead of using
default board.

BUG=none
TEST= ./run_remote_tests.sh without --board. Verify detects board and
deploys appropriate version for that board.
./run_remote_test.sh with --board x86-mario. Verify that it deploys
that specific board, regardless of target.

Change-Id: I6e71f0f1bf4b2bcfcd3430b29adc16531c6a8c81
Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Chris Sosa <sosa@chromium.org>

Review URL: http://codereview.chromium.org/6580017
2011-02-24 01:46:14 -08:00
Hung-Te Lin
fa2dd93743 crosutils: fixing factory upstart script to allow stopping factory test ui.
Developers may want to run their own factory test UI after finishing the
Google official one, so the "factory" test should be stoppable.

BUG=chrome-os-partner:2456
TEST=build a factory image, install and start factory testing UI,
     then switch to VT2, login and type: "initctl stop factory"
     the screen should switch to a virtual terminal (VT2) without
     hanging / reboot.

Change-Id: I6a9d1c951d48d448f5c83c5f645ea531e8fd1499

Review URL: http://codereview.chromium.org/6567004
2011-02-24 16:32:35 +08:00
Che-Liang Chiou
75ac2beb67 Add transitional flag for enabling arm kernel signing
For now arm kernel partitions are not signed. This CL is a transitionsl.
That is, the added flag should be removed after arm verified boot is stable.

To properly create an arm kernel partition, we also need another CL for
vbutil_kernel utility that turns off x86-only modifications on kernel
image. See CL:6538015.

BUG=chromium-os:3790,chromium-os:12352
TEST=see below

Build images for x86 and arm successfully, and notice that load_kernel_test
passes for x86 and signed arm image.

$ build_image --board=tegra2_seaboard --crosbug12352_arm_kernel_signing
$ build_image --board=tegra2_seaboard --nocrosbug12352_arm_kernel_signing
$ build_image --board=x86-generic

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

Change-Id: I1be381bae2fc367a0603ac2ec67ee70fc9a257e4
2011-02-24 12:00:16 +08:00
Luigi Semenzato
3635aaa55e Revert "RunCommand was catching and rethrowing an exception, which seemed to generate"
This reverts commit 01c8423582.

BUG=chromium-os:11717
TEST=none

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

Change-Id: I4e66e7b2fcf01a4cb35557bdf208f990e6d8eb2b
2011-02-23 19:14:53 -08:00
Don Garrett
01c8423582 RunCommand was catching and rethrowing an exception, which seemed to generate
extra noise in the final exception output.

This change stops catching and rethrowing the same exception, and generally
makes the RunCommand slightly more readable (if longer).

Some unit tests are added, but they only test RunCommand, and not all options
to RunCommand.

BUG=chromium-os:11717
TEST=Manual, and new lib/cros_build_lib_unittest

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

Change-Id: Ibe9b13ff302621e93196008f86914cb65a232d61
2011-02-23 17:36:52 -08:00
David James
e8875485ea Update build_image to link to make.globals directly, instead of to directory.
The xorg-server ebuild creates /usr/share/portage on the rootfs partition. This
breaks build_image which wants to point the same directory at the stateful
partition.

To work around this we just link to make.globals directly. This workaround fixes
gmerge but doesn't address the problem that there might be more files inside
/usr/share/portage. A better fix should be addressed as part of
crosbug.com/11502

BUG=chromium-os:12441
TEST=Run build_image and verify /usr/share/portage/config/make.globals points to
     /usr/local/share/portage/config/make.globals and that the latter also
     exists.

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

Change-Id: I52fd9d34bf29573fbf6ca013ba49d1c8608e066d
2011-02-23 15:24:14 -08:00
Chris Sosa
4de24322bd Revert "Add build flag for iterative vm testing."
This reverts commit 519a6560e4.

BUG=For AU harness failures.
TEST=TBR

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

Change-Id: I6001bf4c52951e4d9698985285538b162ae6b6f6
2011-02-23 14:22:39 -08:00
Will Drewry
b910de849c kernel build: use %U+1 for dm-verity booting
Using %U+1 will ensure that we avoid device enumeration issues during recovery mode
boots.

TEST=build_image+dev recovery kernel and boot to it on new cros fw / fixed enumeration problem
         used build with mp recovery kernel on cr-48 -> installed then booted fine
         used dev recovery kernel on a legacy machine; installed fine, booted fine
         tested with cr-48, mp recovery kernel, and noenable_rootfs_verification to ensure /dev/sd%D%P still worked as normal.

Change-Id: I5b1277a47536738a78c18988fd912cc05ebddd4b

BUG=chromium-os:5470

Review URL: http://codereview.chromium.org/6549034
2011-02-23 13:26:50 -06:00
Chris Sosa
519a6560e4 Add build flag for iterative vm testing.
Change-Id: Ib8258b33f87aeadfbaee145bdf7ab460af66c39f

BUG=N0ne
TEST=Ran it with --build

Review URL: http://codereview.chromium.org/6368129
2011-02-22 17:56:14 -08:00
Zdenek Behan
18d5703fd7 scripts: use /sbin/ifconfig where appropriate
BUG=n0ne
TEST=cros_au_test_harness

Change-Id: Ic26cc191fdb995b091d910f1c8a46e37085fea72

Review URL: http://codereview.chromium.org/6538067
2011-02-19 00:36:23 +01:00
Mandeep Singh Baines
0cb1d1def8 run_remote_tests: create a symlink to the last test that completed
Having this symlink is extremely useful if your running the same
test over and over again.

BUG=n0ne
TEST=Verified that the symlink is there.

Change-Id: I625a48ce4348082db05951ffd67929687ad461cc

Review URL: http://codereview.chromium.org/6543021
2011-02-18 14:04:18 -08:00
Zdenek Behan
c264a45ba8 au_test_harness: fix a function call, add sudo in front of ifconfig
Note: sudo before ifconfig is for running on distros which do not
have /sbin or /usr/sbin in common user's paths, like gentoo.

Change-Id: I85bd379ad059d6ecaa8c11f3167fae27987479dd

BUG=5246
TEST=run cros_au_test_harness and see it not fail

Review URL: http://codereview.chromium.org/6541008
2011-02-18 06:06:55 +01:00