Skip to content

cuttlefish: Wire up Netsim UDS socket (--grpc_uds_path)#2851

Open
AlpineOolong wants to merge 1 commit into
google:mainfrom
AlpineOolong:feat/netsim-uds-socket
Open

cuttlefish: Wire up Netsim UDS socket (--grpc_uds_path)#2851
AlpineOolong wants to merge 1 commit into
google:mainfrom
AlpineOolong:feat/netsim-uds-socket

Conversation

@AlpineOolong

Copy link
Copy Markdown
Contributor

Inject GrpcSocketCreator into NetsimServerComponent (NetsimServer) and pass --grpc_uds_path=<instance_dir>/grpc_socket/NetsimControlServer.sock when launching netsimd.

This establishes the Unix Domain Socket communication path required for local gRPC service discovery and control (such as CasimirControlService and ServerReflection) while keeping --netsim_nfc disabled by default (#define CF_DEFAULTS_NETSIM_NFC false).

Objective: Verify that adding GrpcSocketCreator and --grpc_uds_path introduces zero regressions to default Cuttlefish behavior and cleanly establishes the Unix Domain Socket when explicitly opted into via --netsim_nfc=true.

Phase 1.1: Local Build & Unit/Host Presubmits

  • Host Compilation: source build/envsetup.sh && lunch aosp_cf_x86_64_phone-trunk_staging-userdebug m run_cvd netsimd Expected Result: Clean build with zero compilation errors or missing component dependencies in fruit.
  • Cuttlefish Host Test Suite: atest -c cvd_host_tests Expected Result: All host unit tests pass.

Test: m run_cvd
Bug: 526689247

@Databean Databean added the kokoro:run Run e2e tests. label Jul 14, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Jul 14, 2026
@AlpineOolong AlpineOolong force-pushed the feat/netsim-uds-socket branch 2 times, most recently from 1e1407a to 897aa77 Compare July 14, 2026 15:38
@Databean Databean added the kokoro:run Run e2e tests. label Jul 14, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Jul 14, 2026
Inject GrpcSocketCreator into NetsimServerComponent (NetsimServer) and pass --grpc_uds_path=<instance_dir>/grpc_socket/NetsimControlServer.sock when launching netsimd.

This establishes the Unix Domain Socket communication path required for local gRPC service discovery and control (such as CasimirControlService and ServerReflection) while keeping --netsim_nfc disabled by default (#define CF_DEFAULTS_NETSIM_NFC false).

Objective: Verify that adding GrpcSocketCreator and --grpc_uds_path introduces zero regressions to default Cuttlefish behavior and cleanly establishes the Unix Domain Socket when explicitly opted into via --netsim_nfc=true.

Phase 1.1: Local Build & Unit/Host Presubmits
  * Host Compilation:
    source build/envsetup.sh && lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
    m run_cvd netsimd
    Expected Result: Clean build with zero compilation errors or missing component dependencies in fruit.
  * Cuttlefish Host Test Suite:
    atest -c cvd_host_tests
    Expected Result: All host unit tests pass.

Test: m run_cvd
Bug: 526689247
@AlpineOolong AlpineOolong force-pushed the feat/netsim-uds-socket branch from 897aa77 to 14d9f8e Compare July 14, 2026 19:57
@Databean Databean added the kokoro:run Run e2e tests. label Jul 14, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Jul 14, 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.

3 participants