Chromium OS‎ > ‎Chromium OS Build‎ > ‎

Build FAQ


cbuildbot

Overview of cbuildbot

How to add metadata to cbuildbot

How to run processes in parallel (chromite.lib.parallel)

Why is the HWTest phase stage 'orange'?

The hardware test phase is 'orange' when it fails with a warning. These warnings occur either than experimental tests fail. They can also occur with the tests are aborted (see below).

Why was the hardware test phase aborted on this builder?

When one of the commit queue builders fails, it aborts the hardware tests on the rest of the builders. Aborted hardware tests are shown as 'orange' warnings and are not shown as failures.

We show aborted test runs as warnings rather than failures because we do not want to give the false impression that the test actually failed. If we had not aborted the test, it might have either succeeded or failed.

How do I test that my change does not break an incremental build?

To test whether your change breaks an incremental build, you will need to create a pristine local checkout, build it, and then add your change and verify that your change does not break anything. First you will need to find a builder to run both your tests on so that you can test a build. These are listed under "Buildslaves" on this page: http://chromegw.corp.google.com/i/chromiumos.tryserver/builders/x86-generic-paladin

Once you have found your builder, you can run your test. I have given an example below with a 'buildXX-m2' placeholder, but please replace this placeholder with the build slave you would like to use.

cbuildbot --remote mario-incremental --slaves=buildXX-m2
cbuildbot --remote mario-incremental --buildbot --debug --slaves=buildXX-m2

In cbuildbot_config.py, what does important=False mean?

From the documentation in cbuildbot_config.py: If important=False then this bot cannot cause the tree to turn red. Set this to False if you are setting up a new bot. Once the bot is on the waterfall and is consistently green, mark the builder as important=True.

Google Storage

What bucket can I use for testing?

If you are a Googler, you can use gs://chromeos-throw-away-bucket for testing. Keep in mind that the contents can be read or deleted by anyone at Google.

We also have another similar bucket named gs://chromeos-shared-team-bucket . Probably using gs://chromeos-throw-away-bucket makes more sense since it is clear that the contents there can be deleted by anyone at Google.

If you are not a Googler, you should create your own bucket in Google Storage. 

Portage/Emerge

How do I force emerge to use prebuilt binaries?

emerge -g --usepkgonly

(Note: The --getbinpkg only flag for emerge does not actually work)

How do I check the USE flags for a package I am emerging?

Emerge will tell you what USE flags are used when the -pv flags are provided e.g.

emerge-$BOARD chromeos-chrome -pv

Development 

FAQ items covering general development questions

What should I read first/Where do I start?

How do I work on multiple changes based on unsubmitted changes?

https://sites.google.com/a/chromium.org/dev/chromium-os/how-tos-and-troubleshooting/gerrit-dependent-changes

How can I make changes depend on each other with CQ-DEPEND?

How do I create a new bucket in gsutil?

How do I port a new board to Chromium OS?

Making changes to the Chromium browser on ChromiumOS (AKA Simple Chrome)


How to install an image on a DUT via xBuddy aka cros buddy

Comments