tryjobs should support "--chrome_version HEAD" |
|||||
Issue description(Pasting from email discussion) Whenever I modified the chromeos-chrome-9999.ebuild I used to do something like this to test: cbuildbot --remote -g 831347 --chrome_rev=tot --hwtest falco-release I had to use --chrome_ver=tot otherwise it would not uprev the 9999 version of the ebuild. But with tryjob, I dont know how to do that: Using the --chrome_version flag seems to want a chrome HASH. I tried the following: cros tryjob -g 831347 --hwtest --chrome_version=tot falco-release-tryjob I should have used "tot" instead of "latest", but I don't think that will work (trying now) because the error seems to indicate it is waiting for an actual HASH. see the error at: https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/release/builds/18413 on the other hand, if I just try to launch a tryjob without specifying chrome_rev=tot, I don't think chrome is upreved. See https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/release/builds/18381
,
Feb 7 2018
,
Feb 7 2018
Do you agree that --chrome_version HEAD would be reasonable? If so, I'd like to address this by making it work and then dropping the old option fully. However, since you have a workaround (though an ugly one), I'd like to keep this backburner for now.
,
Feb 10 2018
,
Feb 14 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/eeca171f947d5849db7c0d3a5e74809e6c018690 commit eeca171f947d5849db7c0d3a5e74809e6c018690 Author: Don Garrett <dgarrett@google.com> Date: Wed Feb 14 01:40:43 2018 sync_chrome: Add support for revision HEAD. We want to be able to run tryjobs that use --chrome_version=HEAD. The tryjobs pass the chrome_version along to sync_chrome. Sync chrome uses the value to generate a gclient spec before syncing. Accept 'HEAD' as a special case of a git SHA1 value. BUG= chromium:809811 TEST=Unittests cros tryjob -g 912273 --chrome_version=HEAD falco-release-tryjob Change-Id: Iee7514710a5def264300a54fabd9cc0e32b67baf Reviewed-on: https://chromium-review.googlesource.com/912273 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Don Garrett <dgarrett@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org> [modify] https://crrev.com/eeca171f947d5849db7c0d3a5e74809e6c018690/lib/gclient_unittest.py [modify] https://crrev.com/eeca171f947d5849db7c0d3a5e74809e6c018690/lib/gclient.py [modify] https://crrev.com/eeca171f947d5849db7c0d3a5e74809e6c018690/cli/cros/cros_tryjob.py
,
Feb 14 2018
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by llozano@chromium.org
, Feb 7 2018