Skip to content

Conversation

@cjreynol
Copy link
Collaborator

Bug: 450049144

@cjreynol cjreynol self-assigned this Oct 23, 2025
@cjreynol cjreynol force-pushed the initial_guest_metrics branch 8 times, most recently from 6ed99b1 to 4baf950 Compare October 30, 2025 03:33
@cjreynol cjreynol added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Oct 30, 2025
@cjreynol cjreynol requested a review from Databean October 30, 2025 03:34
@cjreynol cjreynol marked this pull request as ready for review October 30, 2025 03:34
@cjreynol cjreynol enabled auto-merge October 30, 2025 03:34
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Oct 30, 2025
Also, create a container type to hold the expanding number of fields
that need to be passed.
The new constructor for the `Avb` class is necessary because the default
lookup relies on `ANDROID_HOST_OUT` or `HOME` from the environment.
`cvd` tends to set those values specifically in the context of `Command`
construction to avoid unexpected behavior for users.  The `Avb` class
hides its `Command` construction, so it seemed better to surface the
path dependency rather than try to expose the internal `Command`
environment.

Bug: 450049144
Convert input parameters to `GetGuestInfo` into a format I can easily
turn into a vector.

Bug: 450049144
@cjreynol cjreynol force-pushed the initial_guest_metrics branch from 4baf950 to fb99e5a Compare October 30, 2025 23:28
Despite semantically being errors, users will have no context for any of
the error messages.  They will still be logged in full in the
`metrics/metrics.log` file.  Given that metrics errors do not abort a
`cvd` run, there is no reason for the console noise.

Also, use the nicely formatted error output.
Previously, metrics were only gathered for the first device.  Now, there
should be a `CuttlefishGuest` message for each device.

Bug: 450049144
For consistency with other paths.
@cjreynol cjreynol force-pushed the initial_guest_metrics branch from e7a7b1c to a013cce Compare October 30, 2025 23:39
@cjreynol cjreynol disabled auto-merge October 31, 2025 21:06
Preferring the user or `cvd` identifiers rather than generating
sequential numbers.

Bug: 450049144
@cjreynol cjreynol added the kokoro:force-run Trigger a presubmit build unconditionally. label Oct 31, 2025
@cjreynol cjreynol added the kokoro:run Run e2e tests. label Oct 31, 2025
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Oct 31, 2025
@cjreynol cjreynol added this pull request to the merge queue Nov 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants