8000 vivarium: block and unblock in the nixos-test shim · Issue #1344 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

vivarium: block and unblock in the nixos-test shim #1344

Open

Description

@Lillecarl

The nixos-test shim (nixos_test.py) has no machine.block() / machine.unblock(). #1327 added a host-side cut, vms.segment(name).cut(member), that could serve both: block is a cut of every segment the machine joins, unblock the restore.

It depends on the hub: a nixos-test vlan with two members is a direct socketpair, and the runner cannot cut it. Two ways:

  • Make every segment of a fromNixosTest run a hub. Costs half the throughput at MTU 1500 (7.0 against 3.6 Gbit/s on UML, vivarium: capture and cut a segment on the host, for every backend #1327), on every nixos test, used or not.
  • Make a hub of only the vlans of a test that calls block. Needs the shim to know that before boot, from the script's text or an option.

Needs a decision on which; the second keeps other tests at full speed.


Assisted-By: Claude Opus 5.5

Activity

  1. added
    source: vivarium
    needs decision
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs decisionsource: vivarium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0