image build and composition scripts for Flatcar Container Linux
Go to file
Chris Sosa f2ee5f6871 Passes cache location to tests and runs the tests in parallel.
As a warning, this is a pretty big change.  At a high-level,
this changes the harness to move the managing of the devserver from
image_to_live into the actual test harness.  Paths of the cache locations (for
archive_url) are taken when pre-generating the updates and stored
in a dictionary (maps "path_to_base->path_to_target" (or path for full updates)->
cache paths).

This change also has the tests run in parallel.  Because we now start
X number of VM's at once, each VM needs it's own pid file and ssh_port.
This logic was added as well as running the actual tests in parallel.

Change-Id: I1275d79740c50c2a8028489b43dcbbcf5bbd56c4

BUG=chromium-os:10723
TEST=Ran it ... a lot with -q but without a test_prefix (so full test suite).

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

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

Review URL: http://codereview.chromium.org/6277015
2011-01-26 11:38:14 -08:00
bin Passes cache location to tests and runs the tests in parallel. 2011-01-26 11:38:14 -08:00
bootperf-bin Fix showbootdata handling when invoked with options but no arguments 2011-01-18 16:57:52 -08:00
chromite Switch from gsdview.appspot.com to commondatastorage.googleapis.com. 2010-12-07 13:39:16 -08:00
lib Passes cache location to tests and runs the tests in parallel. 2011-01-26 11:38:14 -08:00
mod_for_factory_scripts scripts: Update factory mod diff for boot-complete job. 2010-12-17 16:36:02 -08:00
mod_for_test_scripts Revert "This change removes the autotest mount-specific change from the mod_for_test scripts as we no longer need executable /tmp or /home for autotest." 2011-01-12 14:36:51 -08:00
.gitignore ignore: tmp files and .pyc files 2010-09-09 14:25:33 -07:00
archive_build.sh Fix the path of chromeos_version.sh in archive_build.sh 2010-12-15 17:35:54 +09:00
archive_hwqual Move RunCommand, and Info/Warning/Die into common pylib 2010-08-30 11:05:50 -07:00
bash_completion Update bash_completion to not use a temp file 2010-08-19 16:18:42 -07:00
binhost_clobber.py Adding in script to clobber build packages that shouldn't be cached. 2010-03-16 14:17:30 -07:00
build_gpt.sh build_image: Merge x86 and ARM where possible. 2010-09-30 14:20:34 -07:00
build_image Don't prompt the build bot to delete its dir on error. 2011-01-24 15:55:46 -08:00
build_kernel_image.sh Revert "build_kernel_image: enable nmi watchdog" 2011-01-18 10:05:21 -08:00
build_packages Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
check_control_files.sh A simple script to check all control files for correctness. 2010-06-17 17:43:50 -07:00
check_deps Add more exceptions to check_deps to allow usage of icedtea. 2010-05-13 11:06:51 -07:00
chromeos_blacklist Don't black list gconf since it's back in. 2011-01-25 14:44:52 -08:00
chromeos-common.sh Switch to GPT-format disk images. 2010-03-30 14:17:34 -07:00
clean_loopback_devices Adds a script to unmount any mount points in your boards image dir and free loopback devices 2010-04-29 14:05:30 -07:00
common.sh Fix common.sh to work in it's new location at /usr/lib/crosutils. 2011-01-26 11:23:50 -08:00
create_esp.sh build_image: Merge x86 and ARM where possible. 2010-09-30 14:20:34 -07:00
create_legacy_bootloader_templates.sh create_legacy_bootloader_templates.sh: ensure grub escapes quotes 2010-11-04 21:58:02 -05:00
cros_deps_diff add cros_deps_diff tool that creates dependency graph diffs 2010-07-08 14:52:37 -07:00
cros_download_latest_image Make cros_download_latest_image echo its newline to stderr 2010-08-25 16:09:25 -07:00
cros_extract_deps cros_extract_deps -j writes JSON, sorted by package name. 2010-08-18 18:46:00 +02:00
cros_generate_breakpad_symbols crosutils: Use upstream dump_syms parameters for supporting splitdebug 2010-12-07 15:10:25 -08:00
cros_generate_deps_graphs Refactor the dot graph generation out of cros_generate_deps_graphs 2010-07-01 13:41:25 -07:00
cros_generate_stateful_update_payload Add new stateful upload payload generator to crosutils. 2010-11-10 17:31:51 -08:00
cros_generate_stateful_update_payload.py Don't allow hardlinks in tarball. 2010-11-12 15:20:27 -08:00
cros_generate_update_payload cros_image_to_target handles test images, less verbose 2010-11-23 15:30:50 -08:00
cros_mark_as_stable First cut at stable script 2010-07-13 15:34:11 -07:00
cros_mark_as_stable_blacklist autotest: unblacklist autotest ebuilds, stop cros_workon start'ing anything 2010-08-26 19:50:18 -07:00
cros_mark_as_stable_unittest.py Fix failing unit test for cros_mark_as_stable. 2010-12-21 12:50:21 -08:00
cros_mark_as_stable.py cros_mark_as_stable: remove old kernel hack 2011-01-21 10:50:12 -08:00
cros_mark_branch_as_stable Update all ebuilds to point to a branch or tag. 2010-10-11 15:04:08 -07:00
cros_run_unit_tests Ignore packages that cannot be found for the target. 2010-11-22 14:36:41 -08:00
cros_show_stacks crosutils: Require cros_show_stacks to run inside chroot 2010-11-10 16:42:43 -08:00
cros_workon cros_workon: allow a stop on a dead package 2011-01-24 14:04:35 -08:00
customize_rootfs Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
dot_helper.py Refactor the dot graph generation out of cros_generate_deps_graphs 2010-07-01 13:41:25 -07:00
emit_gpt_scripts.sh Pack and unpack scripts switched to bash 2010-07-19 10:37:06 -07:00
enable_localaccount.sh build: Make enable_localaccount.sh skip outdated packages. 2010-08-19 18:04:46 -07:00
enter_chroot.sh enter_chroot: copy over ssh configuration 2011-01-05 00:56:32 +01:00
file_copy.py Changes to enable dev in stateful partition for usb and startup 2010-03-11 15:30:38 -08:00
fixup_image_for_qemu.py Changes to use the postinst --esp-part-file flag; postinst fixups removed 2010-07-21 02:04:59 +05:30
generate_au_zip.py Switching most of the logging to debug 2010-12-10 15:16:17 -08:00
generate_test_report Make generate_test_reports a symlink to the py file so it can be imported. 2010-07-09 10:46:53 -07:00
generate_test_report.py Add direct flush calls to stderr / stdout. 2010-10-29 09:33:44 -07:00
get_latest_image.sh Add board option to au test harness so that this works for others without a default board and add ability to reference images without relative paths. 2010-10-04 18:19:29 -07:00
get_package_list Add ability to blacklist packages from chromeos-base/chromeos. 2010-10-20 16:04:23 -07:00
gflags.py Add gflags.py 2010-08-05 10:37:17 -07:00
gmergefs Fix modprobe prob in gmergefs and bring call script into scripts 2010-05-14 12:54:04 -07:00
image_hacks.sh chromite: initial version of image_hacks.sh 2010-09-16 19:14:40 -07:00
image_to_live.sh Passes cache location to tests and runs the tests in parallel. 2011-01-26 11:38:14 -08:00
image_to_usb.sh Revert "Factored out the code to copy an image and modify it for test" 2010-12-08 23:22:15 -08:00
image_to_virtualbox.sh VMWare [1/2]: Fix vmware image generation. 2010-03-10 16:09:46 -08:00
image_to_vm.sh Revert "Factored out the code to copy an image and modify it for test" 2010-12-08 23:22:15 -08:00
inherit-review-settings-ok Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00
kernel_fetcher.sh kernel_fetcher.sh: use ro for rootfs.image 2010-10-20 18:58:05 -05:00
make_chroot Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
make_developer_script_runner.sh make_developer_script_runner.sh: fix using full-sized kernels 2010-11-03 16:45:54 -05:00
make_factory_package.sh Add legacy fixup for diskimg 2011-01-18 22:20:03 -08:00
mk_memento_images.sh cros_utils: refine factory and imaging related scripts 2010-11-18 14:47:38 +08:00
mod_image_for_recovery.sh Copy recovery kernel to syslinux path only on x86. 2010-11-30 17:21:39 -08:00
mod_image_for_test.sh Revert "Factored out the code to copy an image and modify it for test" 2010-12-08 23:22:15 -08:00
mount_gpt_image.sh Allow RO rootfs and writeable stateful. 2010-11-16 20:05:06 -08:00
parallel_emerge Prebuilts should not gate normal builds if the server responds with an error. 2011-01-04 15:36:47 -08:00
prebuilt_unittest.py Update prebuilt to use cros_overlay_list as the definitive answer for which overlay to modify. 2011-01-19 14:38:01 -08:00
prebuilt.py Update prebuilt to use cros_overlay_list as the definitive answer for which overlay to modify. 2011-01-19 14:38:01 -08:00
remote_access.sh Passes cache location to tests and runs the tests in parallel. 2011-01-24 14:48:02 -08:00
resize_stateful_partition.sh mod_image_for_recovery: supprt new recovery model 2010-11-01 17:34:14 -05:00
run_remote_tests.sh run_remote_test.sh: explicitly start/stop ssh-agent 2011-01-13 15:45:42 -08:00
serve_factory_packages.py Run devserver with --factory_config. Add --start_devserver flag. 2010-11-04 12:56:02 -07:00
set_shared_user_password.sh Added restart_in_chroot_if_needed to common.sh. 2010-05-04 16:54:28 -07:00
setup_board Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
ssh_test.sh Wrapper script for remote_access.sh library. Used by Autotest updater. 2010-06-22 14:36:26 -07:00
start_devserver remove update_engine flag from start_devserver 2010-07-12 15:22:53 -07:00
sync_build_test.sh crosutils: enable learning board type and setting localaccount 2011-01-21 17:30:17 -08:00
sysroot_wrapper Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh. 2010-02-19 14:54:50 -08:00
test_cookie_pipe.py Don't crash if the cookie pipe doesn't exist. 2009-11-13 19:17:31 +00:00
test_image Add test_image script for checking that dependencies in image are sane 2010-03-02 15:28:58 -08:00
tracker.sh Start of script for entering tracker reports. 2009-11-18 23:35:51 +00:00
unit_test_black_list.txt unit tests: no need to black list AU's unit tests any more 2010-11-22 09:50:59 -08:00
update_bootloaders.sh crosutils: fix "umount: /tmp/XXX: not mounted" in build_image 2010-11-18 17:27:17 +08:00
update_kernel.sh update_kernel.sh: modify to work inside chroot 2011-01-14 14:20:12 -08:00
upload_symbols crosutils: Detect sym_upload errors by its stdout instead of return value 2010-10-07 17:54:04 -07:00
verify_rootfs_chksum.sh Issue 6821: script to verify rootfs integrity against value stored in kernel 2010-09-21 10:04:32 -07:00
WATCHLISTS Update WATCHLISTS and CRR 2010-06-10 01:36:40 -07:00