New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 769397 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Add cros tryjob --cbuildbot.

Project Member Reported by dgarr...@chromium.org, Sep 27 2017

Issue description

The idea is that "cros tryjob --cbuildbot" is like "cros tryjob --local", but skips cbuildbot_launch and the sync stage, then builds in the current chromeos checkout. That makes it suitable for testing cbuildbot changes that happen in the build cycle before sync and cherry-picks work.

Similar to:
  cbuildbut --debug --nosync <build_config>

 
Cc: nxia@chromium.org
Also, --noclean so that it doesn't detach the current branch.
Owner: dgarr...@chromium.org
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 6 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/9d2c470ab0f8592403c91eb8579b5cfa0e7a9145

commit 9d2c470ab0f8592403c91eb8579b5cfa0e7a9145
Author: Don Garrett <dgarrett@google.com>
Date: Tue Feb 06 03:08:46 2018

cros tryjob: Create --cbuildbot option.

cros tryjob --cbuildbot does a local cbuildbot build (without
cbuildbot_launch) using the copy of cbuildbot in your local
checkout. It includes any local CLs or edits unmodified.

This is appropriate for testing changes to cbuildbot that are
difficult to test in production, such as changes to sync stages or
builder classes.

This is equivalent to "cbuildbot --debug --buildbot --nobootstrap
--norexec", but should be somewhat supported going forward, as we
modify the cbuildbot startup code.

BUG= chromium:769397 
TEST=run_tests
     cros tryjob --remote lumpy-compile-only-pre-cq
     cros tryjob --swarming lumpy-compile-only-pre-cq
     cros tryjob --cbuildbot lumpy-compile-only-pre-cq
     cros tryjob --local lumpy-compile-only-pre-cq

Change-Id: If410ee75cec48fbff5e146cfb9f14aacf5b04bd6
Reviewed-on: https://chromium-review.googlesource.com/757986
Commit-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>

[modify] https://crrev.com/9d2c470ab0f8592403c91eb8579b5cfa0e7a9145/cli/cros/cros_tryjob_unittest.py
[modify] https://crrev.com/9d2c470ab0f8592403c91eb8579b5cfa0e7a9145/cli/cros/cros_tryjob.py

Status: Fixed (was: Untriaged)

Sign in to add a comment