Skip to content

test(e2e): port gateway-restart and additional-CA tests from e2e/rust #6214

In progress

Description

@matthewgrossman

User Story

As a maintainer retiring e2e/rust, I want the gateway-restart and additional-CA tests on testkit, so no test restarts the gateway or edits gateway host files itself.

Description

This is PR6-rest in the #5297 plan comment (decisions A, D and E).

Legacy test Action Destination Notes
gateway_start::docker_…, podman_gateway_start::podman_…, vm_gateway_start::vm_gateway_restart_preserves_running_and_stopped_intent merge tests/suites/continuity (gateway-restart disruption) One seed/verify scenario on the Docker, Podman and VM rows. verify checks the running sandbox's container was restarted (start time after seed). Also absorbs the restart part of the SSH host identity test and the VM part of local_driver_token_restart (with its token-expiry check).
additional_ca::additional_ca_trusts_matching_and_public_hosts_and_rejects_mismatch split tests/suites/features/additional-ca + tests/suites/drivers/* Trust checks in the feature suite; CA delivery checks in the driver suites. The tamper and CA-removal checks are dropped (D; #5917). The Helm branch moves with the Kubernetes port.

Helpers and environment

  • No gateway stop/start variables (A). The runner applies the gateway-restart disruption between seed and verify.
  • tmachine sets gateway.config.additional_ca and publishes OPENSHELL_TEST_ADDITIONAL_CA_CERT and _KEY (paths); the test signs leaf certificates for servers it starts (E).
  • The VM row runs from e2e-vm.sh: seed, restart its gateway, verify (test(e2e): run testkit families on the VM lane through a KVM host provisioner #5918's interim step).

Files deleted

gateway_start.rs, podman_gateway_start.rs, vm_gateway_start.rs, local_driver_token_restart.rs, and additional_ca.rs once the Helm branch has moved.

Context

Definition of Done

  • Every test in the table is merged or split as listed.
  • Each new OPENSHELL_TEST_* variable is documented in the per-crate docs table.
  • The listed files are deleted, with every reference to them in wrapper scripts, tasks/*.toml and nextest config.
  • The continuity scenario runs on the Docker and Podman continuity rows and from e2e-vm.sh.

Activity

  1. added
    topic:testing
    on Dec 3, 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