Repository navigation
test(podman): install util-linux-script in the e2e guest - #4423
Open
politerealism wants to merge 1 commit into
Open
politerealism wants to merge 1 commit into
politerealism wants to merge 1 commit into
Conversation
politerealism
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
October 12, 2026 14:16
|
Label |
Member
|
/ok-to-test e2bd2a0 |
This was referenced Oct 12, 2026
The e2e tests that attach a PTY to sandbox create spawn the script command through openshell_tty_cmd, which the Fedora guest does not provide, so four sandbox_lifecycle tests failed to spawn it. Install util-linux-script before the archive runs and stop excluding sandbox_lifecycle. With the package installed all 19 sandbox_lifecycle tests passed in the rootless guest. Contributes to NVIDIA#3712. Signed-off-by: politerealism <burdcat17@gmail.com>
politerealism
force-pushed
the
test/3712-install-script-in-podman-e2e-guest/politerealism
branch
from
October 15, 2026 19:40
e2bd2a0 to
4fd8865
Compare
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
Install
util-linux-scriptin the rootless tmachine guest before thee2e-podmanarchive runs, and stop excludingsandbox_lifecycle. Four of its tests attach a PTY toopenshell sandbox createthroughopenshell_tty_cmd, which spawnsscript; the Fedora guest does not provide it, so those tests failed to start.Related Issue
Contributes to #3712
Changes
tests/ansible/playbooks/drivers/podman/e2e.yaml: add a task that installsutil-linux-script(the Fedora package that providesscript) before the archive tests run.tests/artifacts.nix: removesandbox_lifecycleand its comment frompodmanE2eFollowUpBinaries.The package comes from the distro repository when the playbook runs, the same way setup already downloads other tools. Moving it into the guest image build would be a possible follow-up if we want no network use after setup.
Testing
spawn openshell sandbox create: No such file or directory:canonical_main_exit_zero_completes_persistent_sandbox,canonical_main_nonzero_exit_preserves_status,sandbox_create_with_no_keep_cleans_up_after_tty_command,sandbox_create_with_no_keep_preserves_failure_then_cleans_up. With the package installed (run 38246241655) all 19sandbox_lifecycletests passed in the rootless Fedora guest.ansible-playbook --syntax-checkon the playbook andnix-instantiate --parse tests/artifacts.nixsucceed.test:e2elabel and a re-run are needed to run thee2e-podmanarchive.e2e-podmanarchive runs rootless only).Checklist