Clone this repo:


  1. 9e63493 Fix docs folder docs lint by Xiang Ji · 5 months ago main master
  2. 9e5b477 Fix some trival docs' lint by Xiang Ji · 5 months ago
  3. 72fda0e CELab root folder doc update and format by Xiang Ji · 5 months ago
  4. 5dda631 Remove win7, win10 ui tests support to reduce CI flakiness since they are not used in policy tests by Xiang Ji · 5 months ago
  5. ecbf822 Delete obselete infra file refs.cfg by Xiang Ji · 5 months ago

Chrome Enterprise Lab

Chrome Enterprise Lab is a set of tools for building enterprise experimental labs quickly and easily. The labs so built can be used for system level end-to-end testing of Google Chrome/Chromium. These system tests are required to avoid enteprise regression under some complex enterprise software & networking configurations, such as Microsoft Active Directory.

Have a peek at the Design document.

Also have a peek at the Code of Conduct.

Most of the code is in Go. See Guide to code to get a head start on the code in this repository.



  • Go: Download Go from the Go download page. This project requires Go 1.9.4 or later. The build will fail with prior versions.

  • Depot Tools: Used for managing the checkout and the contributor workflow.

  • Protocol Buffers Compiler: Protocol buffers are used extensively for wranging all the data that needs to be shuttled around. Run protoc --version to check the protoc version. The protoc version should be at least 3.5.1. If protoc is not installed, or if the version is less than 3.5.1, download it from

    Remember that you need to copy the contents of the include directory of the zip file into /usr/local/include/ as well, i.e.

    >> cd tmp
    >> wget
    >> unzip -d protoc
    >> sudo cp protoc/bin/protoc /usr/local/bin/protoc
    >> sudo chmod 751 /usr/local/bin/protoc
    >> cp protoc/
    >> sudo mv include/* /usr/local/include/
    >> rm -rf protoc3
  • Dep : Used for Go depedency management. This can be installed automatically by running ./ deps --install from the root of the source tree.

  • Go support for Protocol Buffers : This can be installed automatically by running ./ deps --install from the root of the source tree.

  • absl-py: This Python package is used by tests. Install it by running pip install absl-py.

Get The Source

There are two ways to get the source. One is to use managed deps, and the other is to use plain go get. The latter workflow doesn't quite work yet due to this repository not being integrated with So this page only mentions the managed dependency workflow.

  1. Setting GO environment variables by adding below lines into ~/.bashrc file

    export GOPATH=$HOME/go
    export GOBIN=$GOPATH/bin
    export PATH=$PATH:$GOBIN
  2. Clone this repository:

    Assumes that $GOPATH is a single path and not a : delimited list.

    mkdir -p ${GOPATH}/src/
    cd ${GOPATH}/src/
    git clone
    cd cel
  3. Get the dependencies:

    python deps --install

    If you see an error message complaining about protoc missing, see the protoc prerequisites above.

Build It

  1. Use the build script:

    python build

    If you see an error message like google/protobuf/descriptor.proto: File not found, see the protoc prerequisites (specifically the includes step).

  2. Also make sure that all unit tests for the Go source files are passing.

    python test




The CELab deployment binary and its Python test framework is uploaded into CIPD as a package.

Here are the general steps to release the package.

  1. After the code review, merge in the change
  2. Wait for windows CI build finished (
  3. Run upload_to_cipd with the link to binaries in the CI build (instructions here:
  4. (Optional) Check the output of that command and update the infra version in the .vpython file for your app