test(tmachine): add interactive shell testsuite - #3522
Merged
Merged
Conversation
Signed-off-by: Evan Lezar <elezar@nvidia.com>
elezar
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
September 21, 2026 18:17
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
drew
approved these changes
Sep 21, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 21, 2026
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
Add a named
shelltestsuite that prepares a disposable tmachine guest and opens an interactive SSH session for manual debugging. Add anoneinstaller for entering a prepared environment without installing OpenShell.Related Issue
No issue required: this is a localized developer test-harness enhancement extracted from ongoing Podman test work.
Changes
interactivetestsuite setting with a backward-compatible defaultshelltestsuite and Ansible preparation playbooknoneinstaller that reuses the prepared setup disk without installing OpenShellInteractive shell
Start a prepared Ubuntu Docker guest without installing OpenShell:
nix run .#tmachine -- test ubuntu-docker-rootful none shellInstall the locally staged Debian package before opening the shell:
nix run .#tmachine -- test ubuntu-docker-rootful deb shellExit the SSH session to shut down and discard the disposable guest.
Testing
mise run pre-commitpassescargo test --manifest-path tests/tmachine/Cargo.tomlnix build .#tmachine-config --no-linknix run .#tmachine -- test ubuntu-docker-rootful deb shellentered the OpenShell-installed guest, ranid, and exited cleanlynix run .#tmachine -- test ubuntu-docker-rootful none shellentered the prepared guest, confirmedOPENSHELL_ABSENT, ranid, and exited cleanlyChecklist