Skip to content

USB VCP disconnect during RPC signing tests (pre-existing) #23

@Amperstrand

Description

@Amperstrand

Problem

During test_legacy_sh signing, the device's USB VCP (/dev/ttyACM1) drops and never recovers, causing all subsequent RPC tests to fail with FileNotFoundError.

Impact

  • 12/14 RPC tests fail as cascade from a single USB disconnect
  • Only 2 RPC tests pass before the disconnect occurs
  • Total HIL results: 15/17 pass (all non-USB-dependent tests pass)

Evidence

The failure pattern is identical to the pre-existing test_with_private timeout issue documented upstream. Both involve USB VCP dropping during signing operations.

Likely location

  • src/hosts/usb.py — USB VCP implementation
  • Signing flow in src/apps/wallets/ — may trigger a condition that causes USB re-enumeration

Status

Pre-existing issue, NOT caused by SeedKeeper or HIL changes. Not blocking for SeedKeeper review.

Test results (latest, on seedkeeper branch)

Category Pass Fail Notes
SeedKeeper (test_seedkeeper.py) 10 0 All pass
Basic (test_basic.py) 3 0 All pass
RPC (test_with_rpc.py) 2 12 2 pass before USB VCP disconnect

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructureBuild/test infrastructurepriority: lowNice to have, not blockingupstreamIssues that should be submitted upstream

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions