New issue
Advanced search Search tips

Issue 782391 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Switch fetch_benchmark_deps.py to use CIPD

Project Member Reported by martiniss@chromium.org, Nov 7 2017

Issue description

https://cs.chromium.org/chromium/src/tools/perf/fetch_benchmark_deps.py?q=fetch_benchmark&sq=package:chromium&l=1 currently just does google storage fetches right now. When this gets enabled for compile builders in https://chromium-review.googlesource.com/c/chromium/src/+/756353, it will add several minutes to most cycle times.

CIPD is a package manager that would add caching to the mix, so that this wouldn't be that expensive to run on our builders. I'm not sure how much work it would be to use cipd here, but I think it'd be worthwhile.

Filing more for tracking; I'm not planning on working on this now.
 
How does CIPD work? One thing worths noting is Telemetry dependency files are all over different folder at the moment, so if CIPD requires all the files to be in one folder, it could be a challenge.
The conceptual model for cipd:
1) Each cipd package is essentially a zip archive with arbitrary structure.
2) When installing packages you feed cipd a special manifest file (aka "ensure file") (documented here https://godoc.org/go.chromium.org/luci/cipd/client/cipd/ensure), it specifies where to unpack each individual package, like so:

@Subdir stuff
package/name1 pkg-version
package/name2 pkg-version

@Subdir stuff/deeper
package/name2 pkg-version

(and so on)

So it will unpack each zip archive in corresponding folder.

It is fine to construct this manifest on the fly, if necessary, from a wrapping script that calls cipd.

Some more info about what packages exactly are: 
https://chromium.googlesource.com/infra/luci/luci-go/+/master/cipd/README.md
https://chromium.googlesource.com/infra/infra/+/master/appengine/chrome_infra_packages/cipd/impl.py#5
Project Member

Comment 3 by sheriffbot@chromium.org, Nov 8

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment