test: image volume from an already-local image - #14026
Closed
ndeloof wants to merge 1 commit into
Closed
Conversation
Regression test for #14005, pulled-image scenario: with the source image of a type=image volume already present in the local store, compose used to rewrite the mount source to a digest the daemon can't resolve as a mount source under the containerd image store (No such image). TestImageVolume only exercises this path when a previous test happens to have left the image locally; pre-pulling makes it deterministic. Also asserts a second unchanged up doesn't recreate the service. The test fails on main under the containerd image store and passes with the fix from #14011. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This was referenced Aug 11, 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.
What I did
E2E regression test for #14005, pulled-image scenario: with the source image of a
type: imagevolume already present in the local store, compose used to rewrite the mount source to a digest the daemon can't resolve as a mount source under the containerd image store (No such image).TestImageVolumeonly exercises this path when a previous test happens to have left the image in the local store — which is how openQA caught it while CI stayed green. Pre-pulling the image makes it deterministic, and a second unchangedupis asserted not to recreate the service.Verified locally against a containerd image store daemon: fails on
main, passes with #14011 — #14011 is the fix for #14005 (the built-image scenario is already covered byTestImageVolumeRecreateOnRebuild, which its containerd CI job will exercise). Unlike the built-image tests, this one only bites under the containerd image store, so it stays green on the current graphdriver CI jobs and can merge independently.Related issue
Reproduces #14005, fixed by #14011.