Skip to content

test(e2e): run testkit families on the VM lane through a KVM host provisioner #5918

Todo

Description

@matthewgrossman

User Story

I'm moving the e2e/rust tests onto testkit (#5281). The VM driver can't run in a tmachine environment, so its rows run from e2e/rust/e2e-vm.sh on the KVM runner. I need the VM lane to run the same testkit families as every other environment, so the VM restart test can move and the host-lane scripts can be deleted.

Description

Two steps, from decision B in the #5297 plan:

  1. Interim (needed by test(e2e): decide which e2e/rust tests to port and in what order #5297 PR6-rest): e2e-vm.sh runs the continuity family (test(continuity): add suites for gateway restart and package upgrade #3521): the seed tests, then a restart of the gateway it started, then the verify tests, with CONTINUITY_RUN_ID set. That lets vm_gateway_start (and the VM part of local_driver_token_restart, if it restarts the gateway) become continuity scenarios on the VM row.
  2. Long term (milestone 2): a small KVM host provisioner that starts the VM-driver gateway, writes the same OPENSHELL_TEST_* file tmachine writes, and stages a gateway-restart disruption. openshell-test-runner accepts it as a second provisioner, so the VM row runs conformance, features and continuity like any other row, and e2e-vm.sh can be deleted.

Context

  • Decisions A (restarts go through continuity) and B in the #5297 plan.
  • tmachine stays unaware of testing; the provisioner only publishes the environment contract.
  • GPU has the same problem and may reuse the provisioner.

Definition of Done

  • e2e-vm.sh runs the continuity seed, gateway restart and verify steps on the KVM lane.
  • A KVM host provisioner writes the OPENSHELL_TEST_* environment file and stages gateway-restart, and the runner accepts it.
  • The VM row runs through the runner, and e2e-vm.sh is deleted.

Activity

  1. added
    topic:testing
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

topic:testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions