Repository navigation
test(e2e): port gateway restart tests to the continuity suite - #6216
Open
matthewgrossman wants to merge 1 commit into
Open
matthewgrossman wants to merge 1 commit into
matthewgrossman wants to merge 1 commit into
Conversation
Merge gateway_start, podman_gateway_start, vm_gateway_start and the VM token check from local_driver_token_restart into a sandbox_intent continuity scenario. The runner's gateway-restart and upgrade disruptions run it on Docker and Podman; e2e-vm.sh runs seed, restarts its gateway and runs verify until tmachine has a VM row (#5918). Part of #6214 Part of #5297 Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
matthewgrossman
marked this pull request as ready for review
December 4, 2026 01:07
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the legacy gateway restart tests to a
sandbox_intentscenario in the continuity suite, so the runner restarts the gateway betweenseedandverifyand tests never restart it themselves.Related Issue
Part of #6214
Part of #5297
Changes
tests/suites/continuity/src/sandbox_intent.rs:seedcreates a running sandbox and records the time and its SSH host key fingerprint inside it, then creates a second sandbox and stops it.verifychecks:seed, which means it was restartedStoppedtests/support/vm: a new crate that reads the VM driver'ssandbox.pbfromOPENSHELL_TEST_VM_STATE_DIRfor the token check.e2e/rust/e2e-vm.shande2e/support/continuity.sh: the VM lane runsseed, restarts its gateway and runsverifyuntil tmachine has a VM row (test(e2e): run testkit families on the VM lane through a KVM host provisioner #5918).gateway_start.rs,podman_gateway_start.rs,vm_gateway_start.rsandlocal_driver_token_restart.rs, and their entries ine2e/rust/Cargo.toml,e2e-podman.sh,tests/tmachine/artifacts.nixandTESTING.md.scenario::create_and_run.CI rows
gateway_start(Docker)ubuntu-docker-rootful/deb(gateway-restart,upgrade)podman_gateway_startfedora-podman-rootful/rpm(gateway-restart,upgrade)vm_gateway_start,local_driver_token_restartmise run e2e:vm(VM E2E)Testing
cargo clippyandcargo fmt --checkpass fortests/suites/continuityandtests/support; lockfile alignment passes/procprobe parser and JWTexpdecodingChecklist