-
Notifications
You must be signed in to change notification settings - Fork 40.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e2e_node: fix ImageGCNoEviction test for kubetest2 #130391
base: master
Are you sure you want to change the base?
e2e_node: fix ImageGCNoEviction test for kubetest2 #130391
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bart0sh The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-crio-cgroupv1-node-e2e-eviction |
/retest |
/lgtm |
/priority backlog |
LGTM label has been added. Git tree hash: b91022a442c840dc853c6ea39de5847667be37fc
|
ImageGCNoEviction fails when tests run by kubetest2 as the test depends on the prepulled test images (framework.TestContext.PrepullImages), but kubetest2 --prepull-images command line option is set to false by default. Prepulling images explicitly for the only test that uses them should fix the issue.
2e2813c
to
4c0b24b
Compare
/assign @SergeyKanzhelev @mrunalp |
@kannon92 Can you lgtm again? I've added image pre-pulling at the end of test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: 8c67b810ae7e0e591a7dc79d575acfefae7329dc
|
What type of PR is this?
/kind failing-test
/kind flake
What this PR does / why we need it:
It fixes
ImageGCNoEviction
test, which fails when run bykubetest2
. The test depends on the pre-pulled test images (framework.TestContext.PrepullImages
), but kubetest2 has it disabled by default, i.e. its--prepull-images
command line option is set to false. As a result image GC is not able to reclaim enough inodes to get the test passing.The PR adds explicit image pre-pull for the
ImageGCNoEviction
test, which should fix the issue.Which issue(s) this PR fixes:
Fixes: #130370
Ref: kubernetes/test-infra#32567
Does this PR introduce a user-facing change?
/sig-node