Skip to content

1.55.1 update#2886

Open
rmuthiah wants to merge 12 commits into
google:version-1.55-devfrom
rmuthiah:1.55.1-dev-update
Open

1.55.1 update#2886
rmuthiah wants to merge 12 commits into
google:version-1.55-devfrom
rmuthiah:1.55.1-dev-update

Conversation

@rmuthiah

Copy link
Copy Markdown
Collaborator

No description provided.

@rmuthiah
rmuthiah force-pushed the 1.55.1-dev-update branch from e0028ab to 0d15103 Compare July 22, 2026 19:13
@rmuthiah
rmuthiah requested review from Databean and ser-io July 22, 2026 19:14
@rmuthiah
rmuthiah force-pushed the 1.55.1-dev-update branch 2 times, most recently from 65197c2 to 8287f0e Compare July 22, 2026 20:23
Comment thread base/debian/changelog Outdated
@rmuthiah rmuthiah added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Jul 22, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Jul 22, 2026
Databean and others added 11 commits July 22, 2026 22:35
When searching for the latest build on a branch for a particular safe
level, it is possible to encounter very old builds. This happens if a
build used to have more validation, and it since has dropped running
that validation.

To find the combination of "latest" and "most safe", the fetcher will
now discard builds from consideration if they are more than a week older
than the latest build at any safe level.

Bug: b/524908123
Test: Use build example build from b/524908123#comment19
…splane device.

Bug: b/502639876
Test: cvd create --media="type=v4l2_emulated_camera_splane" && adb shell "su 0 v4l2-ctl -d /dev/video1 --list-ctrls"
Bug: b/502639876
Test: cvd create --media="type=v4l2_emulated_camera_splane,lens_facing=FRONT" && adb shell "su 0 v4l2-ctl -d /dev/video1 --list-ctrls"
Previously, outgoing buffer timestamps in emulated_camera_mplane and
emulated_camera_splane were calculated directly from the frame sequence
index:

tv_sec = (sequence + 1) / 1000
tv_usec = (sequence + 1) % 1000

This formula caused severe clock drift due to two issues:
1. Incorrect Time Scaling: sequence increments by 1 per frame. Dividing
   by 1000 caused tv_sec to advance by 1 second only after 1,000 frames
   (~33.3 seconds of real wall-clock time at 30 FPS).
2. Microsecond Miscalculation: In timeval, tv_usec is measured in
   microseconds (10^-6 s). Doing % 1000 without scaling caused the
   timestamp to advance by only 1 microsecond per frame.

This change replaces the sequence-based calculation with the host's
actual monotonic clock, avoiding timestamp drift and buffer rejections
in the guest.

Bug: b/474406105
Bug: b/502639876
Test: cvd create --media="type=v4l2_emulated_camera_mplane,lens_facing=FRONT" && adb shell "su 0 v4l2-ctl -d /dev/video1 --list-ctrls"
- Avoid breaking existing virtio-media workflows for auto and XR
  targets.

Bug: b/527931134
Fix netsim vsock proxy parameters for vhost-user-vsock

Cuttlefish host launcher run_cvd fails to pass --vhost_user_vsock=true
to socket_vsock_proxy helper processes (hci_vsock_proxy and
test_vsock_proxy).

This results in the proxy processes binding to the host kernel vsock
interface rather than the vhost-user Unix domain socket when
vhost_user_vsock is enabled, causing guest vsock connections to hang.

Bug: b/520342656
Test: Manual verification on CF target with vhost-user-vsock
- Update load_config.proto to include modem_simulator_sim_type as ModemSimulatorSimType enum in Connectivity.
- Update cf_connectivity_configs.cpp to generate --modem_simulator_sim_type flag from the proto enum, mapping it to integer values.
- Regenerate Go proto code.
- Add unit tests to flags_parser_test.cc covering valid, unspecified, and invalid values.

Bug: b/425371022
Assisted-by: Jetski:GeminiNext
There's a warning that Node 20 is being deprecated.
To quiet it, apply the minimal update to the dep that's pulling
in Node 20.

In this case - that's github actions on v7. Just bumped it to v8
which updates to Node 24 under the hood.
This CL adds the `--netsim_nfc` flag to Cuttlefish, extending the
netsim architecture (similar to the existing `--netsim_uwb` and
`--netsim_bt` flags) to support NFC. When enabled, it allows the
netsim server to manage the NFC radio chip natively by passing the
`NFC` chip block during initialization, overriding the standalone
Casimir NFC simulator.

By default, the `--netsim_nfc` flag is set to FALSE. This ensures
that Cuttlefish continues to use Casimir for NFC simulation by
default, preserving the existing behavior until users explicitly
opt-in to netsim NFC handling.

Bug: 518903299
Test: dpkg-buildpackage (Bazel full compilation and debian packaging)
CONV=3853c663-6c0a-4a51-ad21-27d840668056
TAG=agy
Change-Id: I3eacccd2b876ecf475cf31b12d9d6c00084d5612
Enables netsim to act as the cellular modem simulator for Cuttlefish by passing VSOCK connections directly to netsimd:

1. CLI & Instance Configuration:
   - Adds '--netsim_modem' flag to launch_cvd to route cellular modem traffic to netsim.
   - Disables the legacy standalone modem_simulator process when '--netsim_modem' or '--netsim' is active.
   - Records modem simulator instance count and SIM type in CuttlefishConfig.

2. VSOCK Server Routing ('netsim_server.cpp'):
   - Creates a VSOCK server socket ('SharedFD::VsockServer') listening on each guest modem simulator port.
   - Configures the CELLULAR chip in netsimd's startup JSON ('-s'), passing the inherited listening file descriptor as 'vsockFd' and the SIM configuration as 'simType'.

Refactored netsim radio enabling to use per-instance config checks in netsim_server.cpp to support mixed-mode multi-instance clusters, and removed the global netsim_radio_enabled config.

Bug: 514348948
Bug: 530300761
Bug: 532125591
Test: launch_cvd --netsim_modem
@rmuthiah
rmuthiah force-pushed the 1.55.1-dev-update branch from bcb0ef3 to 8f2d42c Compare July 22, 2026 22:52
@rmuthiah rmuthiah added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Jul 22, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Jul 22, 2026
@rmuthiah
rmuthiah force-pushed the 1.55.1-dev-update branch from 8f2d42c to 3aa3a4f Compare July 22, 2026 23:00
@rmuthiah rmuthiah added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Jul 22, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Jul 22, 2026
@rmuthiah rmuthiah added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Jul 23, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Jul 23, 2026
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.

6 participants