Repository navigation
test: e2e smoke tests against a live containerd (2.3 + 2.4, amd64 + arm64) - #13
Merged
Merged
Conversation
scripts/e2e.sh runs the shim through real containerd: - one-shot flake container (nixpkgs#hello) - passthrough of an unlabelled container to runc - clean failure for a nonexistent flake - long-running lifecycle: run -d, exec, SIGTERM, delete (nixpkgs#redis) - no leftover containers `just e2e` runs it on the dev VM. A new CI e2e job runs it on containerd 2.3.7 (oldest supported line) and 2.4.2 (the library version), on amd64 and arm64, using checksum-verified release tarballs and a separate containerd root/state/socket from the runner's own.
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.
Why
Nothing tested the shim against a real containerd daemon. The containerd 2.4 upgrade (#11) was only build-checked until I tested it by hand on the NixOS UTM VM. This PR automates those manual checks.
What
scripts/e2e.shruns these checks against a live containerd:nixpkgs#helloone-shotnix builderror and leaves nothing behindnixpkgs#redisrun -d → execPING→ SIGTERM → deletejust e2einstalls the shim and runs the script on the dev VM.CI job
e2eruns the same script on containerd 2.3.7 (the oldest supported line) and 2.4.2 (the version the shim is built against), each on amd64 and arm64. It uses:nix build .#default;Verified
On the UTM VM (NixOS aarch64, containerd 2.3.0), all 8 checks pass with both the v0.1.0 shim and the current
mainshim.Notes
ctr run's trailing arguments.bin/sleepwith5gets no operand on both v0.1.0 andmain. This is probably worth its own issue.