New issue
Advanced search Search tips

Issue 892273 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 10
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

make platform2 use COMMIT-QUEUE.ini

Project Member Reported by pmalani@chromium.org, Oct 4

Issue description

Chrome OS has support for Per-project Commit Queue (and Pre CQ) settings.

These don't seem to be followed for packages within platform2/, and instead default to a catch-all configuration.

Many projects (biod, hermes) don't need to run on all devices.

Therefore, we should add support for COMMIT-QUEUE.ini in platform2.

This can help reduce Pre CQ completion times, and also reduce the strain on builder resources.


Assigning this to myself initially, but will CC build infra folks to direct me.
 
For reference, here is the page that details Per-project commit queue settings: https://sites.google.com/a/chromium.org/dev/chromium-os/build/bypassing-tests-on-a-per-project-basis
Jason, any suggestions? I've tried putting COMMIT-QUEUE configs in biod as well as in platform2/ but it doesn't seem to have an effect when I run a TryBot :
https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1262235

Is there a list of directories for which COMMIT-QUEUE.ini is honored. Codesearch didn't show anything up.
Labels: -Type-Bug -Pri-3 Pri-2 Type-Feature
Status: Assigned (was: Unconfirmed)
I haven't really done much with COMMIT-QUEUE.ini. IIRC, a tryjob won't really show you anything since it doesn't actually commit code.
Hmm, so that means the COMMIT-QUEUE.ini changes won't take effect until the code is committed? In that case it might be worthwhile to just submit it and try :)
Status: Verified (was: Assigned)
Seems to work!

Marking closed.

Next potential step: Is there a way we can make a "macro" of representative pre-cq builds that packages can use (if they just want a representative set, and not the more comprehensive pre CQ default config set). That way each individual package doesn't have to be updated to include the recent architectures.


e.g we can have something like:

lite-config: betty-pre-cq kevin-arcnext-no-vmtest-pre-cq eve-no-vmtest-pre-cq nocturne-no-vmtest-pre-cq

The above can be defined in a common location (chromite/lib ?) and then individual packages can just reference that:

biod/COMMIT-QUEUE.ini would be:

pre-cq-config: lite-config

Sign in to add a comment