aboutsummaryrefslogtreecommitdiff
path: root/setup_chromeos.py
AgeCommit message (Collapse)Author
2017-05-31Verify manifest is in paladin before trying to use it.Caroline Tice
With increasing frequency the lumpy nightly test fails very early because it ends up trying to get a manifest that only exists in Android, not in ChromeOS. This CL adds code to verify the manifest version actually exists in the paladins list before trying to use it. BUG=chromium:726778 TEST=Tested this code in the nightly build tests and it worked. Change-Id: I86f8eb9c8e28fd4a404bc63d49d8d9fb27de8b3b Reviewed-on: https://chromium-review.googlesource.com/517266 Commit-Ready: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
2017-04-08[toolchain-utils] Fix remaining lint errors in toolchain-utils.Caroline Tice
In addition to fixing the lint errors, this also fixes the Python formatting issues (ran tc_pyformat on nearly all the files). BUG=chromium:570450 TEST=Ran all crosperf & bisect tool unit tests. Ran afe_lock_machine.py (check machine status) Ran full crosperf test (octane, speedometer, BootPerf) on alex. Change-Id: Ic86f9192801ac67769f3de30f1c5f0d203ce0831 Reviewed-on: https://chromium-review.googlesource.com/471886 Commit-Ready: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
2016-01-22Fix cros lint errors.Caroline Tice
Also move deprecated scripts to the 'deprecated' directory. BUG=chromiumos:570464 TEST=tested scripts to make sure they still work. Change-Id: I3442a86d898104591233a0849ea0bafb52ecf1f7 Reviewed-on: https://chrome-internal-review.googlesource.com/244221 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
2015-12-16Run pyformat on all the toolchain-utils files.Luis Lozano
This gets rid of a lot of lint issues. Ran by doing this: for f in *.py; do echo -n "$f " ; if [ -x $f ]; then pyformat -i --remove_trailing_comma --yapf --force_quote_type=double $f ; else pyformat -i --remove_shebang --remove_trailing_comma --yapf --force_quote_type=double $f ; fi ; done BUG=chromium:567921 TEST=Ran simple crosperf run. Change-Id: I59778835fdaa5f706d2e1765924389f9e97433d1 Reviewed-on: https://chrome-internal-review.googlesource.com/242031 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@google.com>
2014-11-04Remove the default=1 for --jobs option to setup_chromeos.py.Rahul Chaudhry
If the --jobs argument is not given, simply run repo sync without -j and use repo's default (8). BUG=None TEST=Ran setup_chromeos.py with/without the flag. Runs repo sync as expected. Change-Id: I89220496aa065db77b6e32cb97f7e50f6f9e73bc Reviewed-on: https://chrome-internal-review.googlesource.com/182269 Reviewed-by: Caroline Tice <cmtice@google.com> Commit-Queue: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
2014-10-23Replace "svn ls" with "git ls-remote".Rahul Chaudhry
Check for the chrome repository access in git instead of svn. BUG=None TEST=Ran setup_chromeos.py after the change and it worked. Change-Id: I1fed7cb0caa97ce55f0963894c011b783bb5f9e5 Reviewed-on: https://chrome-internal-review.googlesource.com/180926 Reviewed-by: Rahul Chaudhry <rahulchaudhry@google.com> Commit-Queue: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
2013-11-06Make changes to run Telemetry tests in nightly infrastructure tests.cmtice
BUG=None TEST=Tested this running the nightly infrastructure cron jobs. Change-Id: I6cccee222b074e9410b45df6750c097430207746 Reviewed-on: https://chrome-internal-review.googlesource.com/147515 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
2013-09-10For the new git repositories, we need to use https instead of http and ssh.Luis Lozano
Bug=None Test=Tested setup_chromeos, build_chromes, remote_gcc_build Change-Id: I95833ed07692ea04f396233ab87aa7b47ff6b106 Reviewed-on: https://chrome-internal-review.googlesource.com/144397 Reviewed-by: Han Shen <shenhan@google.com> Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org>
2013-09-04Modified the script to use the new internal and external gerrit repositories.Luis Lozano
BUG=None TEST=Minimal testing done. Need to let the nightly testing test this. Change-Id: I8273d5e90e5fb3ed96d9782cae651d4144f135dc Reviewed-on: https://chrome-internal-review.googlesource.com/144015 Reviewed-by: Han Shen <shenhan@google.com> Tested-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Luis Lozano <llozano@chromium.org>
2013-08-01Changes to allow getting images from the remote bot when the testing failsLuis Lozano
- Allow remote_gcc_build to return image even in the case where the build bot testing has failed. Testing may have failed but an image may have been generated. - Move the handling of the manifest repo to a new module. - Various clean up BUG=None TEST=Tested by running with several inputs. Used for vtable verification testing Change-Id: I1abf01c56d1159dfae76c45e2de4c2a9e385d386 Reviewed-on: https://gerrit-int.chromium.org/42123 Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org>
2013-03-15Cleaned up directory after copy of tools from perforce directoryLuis Lozano
Got rid of stale copies of some tools like "crosperf" and moved all files under v14 directory (that came from perforce) into the top directory. BUG=None TEST=None Change-Id: I408d17a36ceb00e74db71403d2351fd466a14f8e Reviewed-on: https://gerrit-int.chromium.org/33887 Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Luis Lozano <llozano@chromium.org>