OverviewThe try server lets committers try uncommitted patches on multiple platform in an automated way.
Workflow
How to specify a subset of tests to run-b, --bot to specify the bot-b, --bot is additive, except that if you don't specify it at all you'll get default botsAllowed uses:
Specify multiple builders using the default tests:
-b buildername1 -b buildername2 -b buildername3-m, --master to specify a tryserver master.For Linux and Android builders, the master is
tryserver.chromium.linux, for Mac and iOS - tryserver.chromium.mac, and for Windows - tryserver.chromium.win. Note, that all the builders specified with -b will be launched on the same master. Issue separate git cl try command for each master.Examplesgit cl try -b win_chromium_rel -m tryserver.chromium.wingit cl try -b linux_blink_rel -m tryserver.blinkTroubleshooting failed try jobsPlease, before contacting maruel, please look at these items:
Requesting new bots
File a bug to get a bot request going. Do this as early as possible and provide as many details as you can.
FAQI'm modifying a DEPS, will it work?Yes.
I'm modifying a GYP file, will it work?Yes.
I'm modifying gyp scripts under src/tools/gyp, will it work?Yes, but you have to use
--no_search, otherwise patch will fail saying it cannot find files to patch.Get detailed command-line helpUse: git try -h (git will redirect --help to man which fails for git-try)
Or: trychange.py --help
Disable automatic try on gcl uploadTo do this for 'gcl try': create a file at '~/.gcl_upload_no_try'
For 'git try' : Edit src/codereview.settings thusly: "TRY_ON_UPLOAD: False"
I have an awesome patch for depot_tools!Use the same way to contribute code that for chromium in general, e.g.
gcl or git-cl.How can I see what will happen before I submit the job?Use the
--dry_run flag (which implies --verbose) to (a) see what your patch is and (b) not actually submit the job when using git try or gcl try.apply_issue failedBy default the trybot will patch your change against HEAD, so there might be differences in the files you are modifying between the revision you've been working on and HEAD. The easiest way to fix this is check which revision you were using, and then pass it to the try job with --revision, e.g., git cl try -rHEAD. If this still doesn't work and:
git try instead of git cl try as follows:
Keep in mind that this means your branch cannot be committed until all upstream branches are committed first, even if the trybots succeed. compiling failedPossible issues:
My patch includes updated webkit baselines (binary files) and it's not workingCorrect! The try servers do not currently support binary patches.
I want to cancel my job, should I press the 'Stop' button?No! DON'T EVER DO THAT. This button is for maintainers and is quite tricky to use correctly. Just let it go.
Why! you ask. You may stop it during the update step and leave the svn checkout locked, breaking the following tries. You may stop it during compilation, corrupting the PDB database, breaking the following jobs. You may stop it during ui_tests, leaving zombies around. You may stop it during unit_tests, leaving temp files around.
Run the try job only on one platformUse
--bot win or whatever 'builder' name you want to use from the waterfalls.Run the try job for "real" Chrome OSAs of June 2014 the Chrome try server provides chromium.chromeos builders, which are 64-bit Linux builds of Chromium with OS_CHROMEOS=1. This means the CQ and try server will not compile or test 32-bit Intel or ARM Chrome OS builds. But you can try your changes on the Chrome OS side with cbuildbot. See How to patch in a Reitveld CL in the Chromium OS remote trybot docs. git cl patch -b new-branch-name Rietveld-issue-id
git cl issue Rietveld-issue-id git cl try Where new-branch-name and Rietveld-issue-id should be replaced accordingly (give it a new branch name and link it with the id for the non-committer's CL on Rietveld). I need to hack on a try slave for a few hours?Sorry, only Googlers can do this for now. You can get more information at the internal link. What is the difference between 'git try' and 'git cl try'?
Where can I find the results of webkit layout tests for a try bot build?Under the builder's build results page, look for the step entitled archive_webkit_tests_results. A zip archive of the entire results directory is available the (zip) link under this step. |
For Developers > Testing and infrastructure >
