feat(critest): Add image manager consistency and idempotency tests#1959
Open
SergeyKanzhelev wants to merge 1 commit intokubernetes-sigs:masterfrom
Open
feat(critest): Add image manager consistency and idempotency tests#1959SergeyKanzhelev wants to merge 1 commit intokubernetes-sigs:masterfrom
SergeyKanzhelev wants to merge 1 commit intokubernetes-sigs:masterfrom
Conversation
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: SergeyKanzhelev The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
1f29cec to
c042889
Compare
SergeyKanzhelev
commented
Dec 12, 2025
Member
|
@SergeyKanzhelev do you mind a rebase? |
e0f104f to
3d68d48
Compare
7b0382e to
3d68d48
Compare
bitoku
reviewed
Jan 27, 2026
f618fec to
9ce9666
Compare
Member
Author
|
Failures seems not related to this PR. |
Member
Author
|
@saschagrunert can you please try rerun tests? Failures seem unrelated. If passing - this is OK to merge |
Adds a new test suite in to validate the idempotency and immediate consistency of CRI image operations. This suite includes tests to ensure: - An image is available in ListImages and ImageStatus immediately after being pulled. - An image is absent from ListImages and ImageStatus immediately after being removed. - Concurrent RemoveImage calls for the same image are handled gracefully without errors, and the image is confirmed to be removed immediately after each call returns. Additionally, this commit enhances the existing Image Manager test suite in with tests for removing images that have multiple tags, including tags that point to the same image digest from different registry domains (e.g., registry.k8s.io and its k8s.gcr.io mirror). The tests are written to be resilient to other images pre-existing on the test environment.
9ce9666 to
c04bc90
Compare
Member
|
Tests are green now, that one containerd test flakes all the time on windows. |
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.
Adds a new test suite in to validate the idempotency and immediate consistency of CRI image operations.
This suite includes tests to ensure:
Additionally, this commit enhances the existing Image Manager test suite in with tests for removing images that have multiple tags, including tags that point to the same image digest from different registry domains (e.g., registry.k8s.io and its k8s.gcr.io mirror). The tests are written to be resilient to other images pre-existing on the test environment.
/kind feature
This code was generated by Gemini
Special notes for your reviewer:
Follow up from #1911
Does this PR introduce a user-facing change?