Automatically select PreCQ coverage by inspecting package dependencies. |
||||
Issue descriptionIt would be nice to auto-detect PreCQ builders by looking at ebuild packages dependencies and ensuring that at least one of the builds performed will compile/unittest CLs being tested. I don't have a good way to do this.
,
Oct 15 2017
setup_board would be sufficient to start probing dependency graphs
,
Oct 16 2017
Running setup_board for all boards in a single chroot is something we already do for binhost test. What's the best way to map an ebuild to a git repository in the manifest? Are there tools, or do we just parse the ebuild directly?
,
Oct 16 2017
if you're looking at cros-workon packages, there are helpers in portage_util.py for getting source repo details out of it. for other ebuilds, you can look at their source repo* to map to an ebuild overlay, but that's as far as you can get easily. which should be good enough i think.
*: Look at the BuildPackages output to see what i mean:
[ebuild U ] chromeos-base/libweave-0.0.1-r659::chromiumos [0.0.1-r658::chromiumos] to /build/amd64-generic/ USE="cros-debug -asan -cros_host -profiling {-test*}" 0 KiB
the "::chromiumos" part says it's coming from the chromiumos-overlay.
,
Oct 16 2017
,
Oct 16 2017
Thanks. That's looking feasible, if not trivial.
,
May 31 2018
Hi, this bug has not been updated recently and remains untriaged. Please acknowledge the bug and provide status within two weeks (6/8/2018), or the bug will be closed. Thank you.
,
Jun 1 2018
CI should triage this, and evaluate if it's still relevant.
,
Jun 4 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by dgarr...@chromium.org
, Oct 15 2017Summary: Automatically select PreCQ coverage by inspecting package dependencies. (was: Select PreCQ coverage auto-inspecting package dependencies.)